Linux-OMAP Archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: omap3-gta04: Add hdqw1 support
@ 2015-04-28 20:54 Marek Belisko
  2015-05-20 17:52 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Marek Belisko @ 2015-04-28 20:54 UTC (permalink / raw
  To: bcousson, tony
  Cc: linux-omap, devicetree, linux-arm-kernel, linux-kernel, hns,
	Marek Belisko

Enable omap-hdq for battery fuel gauge access.

Signed-off-by: Marek Belisko <marek@goldelico.com>
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
---
 arch/arm/boot/dts/omap3-gta04.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi
index b9f6881..6ea1257 100644
--- a/arch/arm/boot/dts/omap3-gta04.dtsi
+++ b/arch/arm/boot/dts/omap3-gta04.dtsi
@@ -200,6 +200,12 @@
 			OMAP3_CORE1_IOPAD(0x210a, PIN_OUTPUT | MUX_MODE0)   /* dss_data23.dss_data23 */
 		>;
        };
+
+	hdq_pins: hdq_pins {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x21c6, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_sda.hdq */
+		>;
+	};
 };
 
 &omap3_pmx_core2 {
@@ -517,3 +523,8 @@
 &mcbsp2 {
 	status = "okay";
 };
+
+&hdqw1w {
+        pinctrl-names = "default";
+        pinctrl-0 = <&hdq_pins>;
+};
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: dts: omap3-gta04: Add hdqw1 support
  2015-04-28 20:54 [PATCH] ARM: dts: omap3-gta04: Add hdqw1 support Marek Belisko
@ 2015-05-20 17:52 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2015-05-20 17:52 UTC (permalink / raw
  To: Marek Belisko
  Cc: bcousson, linux-omap, devicetree, linux-arm-kernel, linux-kernel,
	hns

* Marek Belisko <marek@goldelico.com> [150428 13:55]:
> Enable omap-hdq for battery fuel gauge access.
> 
> Signed-off-by: Marek Belisko <marek@goldelico.com>
> Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>

Applying into omap-for-v4.2/dt thanks.

Tony

> ---
>  arch/arm/boot/dts/omap3-gta04.dtsi | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi
> index b9f6881..6ea1257 100644
> --- a/arch/arm/boot/dts/omap3-gta04.dtsi
> +++ b/arch/arm/boot/dts/omap3-gta04.dtsi
> @@ -200,6 +200,12 @@
>  			OMAP3_CORE1_IOPAD(0x210a, PIN_OUTPUT | MUX_MODE0)   /* dss_data23.dss_data23 */
>  		>;
>         };
> +
> +	hdq_pins: hdq_pins {
> +		pinctrl-single,pins = <
> +			OMAP3_CORE1_IOPAD(0x21c6, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_sda.hdq */
> +		>;
> +	};
>  };
>  
>  &omap3_pmx_core2 {
> @@ -517,3 +523,8 @@
>  &mcbsp2 {
>  	status = "okay";
>  };
> +
> +&hdqw1w {
> +        pinctrl-names = "default";
> +        pinctrl-0 = <&hdq_pins>;
> +};
> -- 
> 1.9.1
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-20 17:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-28 20:54 [PATCH] ARM: dts: omap3-gta04: Add hdqw1 support Marek Belisko
2015-05-20 17:52 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).