[2/3] ARM: dts: am3517-evm: Add I/O expander for User DIP switches and LEDS
diff mbox

Message ID 20180506130049.21701-2-aford173@gmail.com
State New
Headers show

Commit Message

Adam Ford May 6, 2018, 1 p.m. UTC
There is a tca6416 GPIO expander on i2c2. This patch enables the
GPIO expander which has several LED's and some connected DIP
switches

Signed-off-by: Derald D. Woods <woods.technical@gmail.com>
Signed-off-by: Adam Ford <aford173@gmail.com>

Comments

Adam Ford May 18, 2018, 9 p.m. UTC | #1
On Sun, May 6, 2018 at 8:00 AM, Adam Ford <aford173@gmail.com> wrote:
> There is a tca6416 GPIO expander on i2c2. This patch enables the
> GPIO expander which has several LED's and some connected DIP
> switches
>
> Signed-off-by: Derald D. Woods <woods.technical@gmail.com>
> Signed-off-by: Adam Ford <aford173@gmail.com>
>

Tony,

You applied 1/3 of the second series I submitted for the AM3517, but
not 2/3 and 3/3.  Do you think you might be able to review/apply these
as well?


Thanks

adam

> diff --git a/arch/arm/boot/dts/am3517-evm.dts b/arch/arm/boot/dts/am3517-evm.dts
> index f9ebefa735df..e5cc93053539 100644
> --- a/arch/arm/boot/dts/am3517-evm.dts
> +++ b/arch/arm/boot/dts/am3517-evm.dts
> @@ -105,6 +105,13 @@
>
>  &i2c2 {
>         clock-frequency = <400000>;
> +       /* User DIP swithes [1:8] / User LEDS [1:2] */
> +       tca6416: gpio@21 {
> +               compatible = "ti,tca6416";
> +               reg = <0x21>;
> +               gpio-controller;
> +               #gpio-cells = <2>;
> +       };
>  };
>
>  &i2c3 {
> --
> 2.17.0
>
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Tony Lindgren May 18, 2018, 9:10 p.m. UTC | #2
* Adam Ford <aford173@gmail.com> [180518 21:03]:
> On Sun, May 6, 2018 at 8:00 AM, Adam Ford <aford173@gmail.com> wrote:
> > There is a tca6416 GPIO expander on i2c2. This patch enables the
> > GPIO expander which has several LED's and some connected DIP
> > switches
> >
> > Signed-off-by: Derald D. Woods <woods.technical@gmail.com>
> > Signed-off-by: Adam Ford <aford173@gmail.com>
> >
> 
> Tony,
> 
> You applied 1/3 of the second series I submitted for the AM3517, but
> not 2/3 and 3/3.  Do you think you might be able to review/apply these
> as well?

Oops sorry about that. Applied and just pushed out.

Regards,

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch
diff mbox

diff --git a/arch/arm/boot/dts/am3517-evm.dts b/arch/arm/boot/dts/am3517-evm.dts
index f9ebefa735df..e5cc93053539 100644
--- a/arch/arm/boot/dts/am3517-evm.dts
+++ b/arch/arm/boot/dts/am3517-evm.dts
@@ -105,6 +105,13 @@ 
 
 &i2c2 {
 	clock-frequency = <400000>;
+	/* User DIP swithes [1:8] / User LEDS [1:2] */
+	tca6416: gpio@21 {
+		compatible = "ti,tca6416";
+		reg = <0x21>;
+		gpio-controller;
+		#gpio-cells = <2>;
+	};
 };
 
 &i2c3 {