| From foo@baz Fri Mar 16 15:43:17 CET 2018 |
| From: "Andrew F. Davis" <afd@ti.com> |
| Date: Wed, 29 Nov 2017 11:13:59 -0600 |
| Subject: ARM: dts: omap3-n900: Fix the audio CODEC's reset pin |
| |
| From: "Andrew F. Davis" <afd@ti.com> |
| |
| |
| [ Upstream commit 7be4b5dc7ffa9499ac6ef33a5ffa9ff43f9b7057 ] |
| |
| The correct DT property for specifying a GPIO used for reset |
| is "reset-gpios", fix this here. |
| |
| Fixes: 14e3e295b2b9 ("ARM: dts: omap3-n900: Add TLV320AIC3X support") |
| |
| Signed-off-by: Andrew F. Davis <afd@ti.com> |
| Signed-off-by: Tony Lindgren <tony@atomide.com> |
| Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| --- |
| arch/arm/boot/dts/omap3-n900.dts | 4 ++-- |
| 1 file changed, 2 insertions(+), 2 deletions(-) |
| |
| --- a/arch/arm/boot/dts/omap3-n900.dts |
| +++ b/arch/arm/boot/dts/omap3-n900.dts |
| @@ -558,7 +558,7 @@ |
| tlv320aic3x: tlv320aic3x@18 { |
| compatible = "ti,tlv320aic3x"; |
| reg = <0x18>; |
| - gpio-reset = <&gpio2 28 GPIO_ACTIVE_HIGH>; /* 60 */ |
| + reset-gpios = <&gpio2 28 GPIO_ACTIVE_LOW>; /* 60 */ |
| ai3x-gpio-func = < |
| 0 /* AIC3X_GPIO1_FUNC_DISABLED */ |
| 5 /* AIC3X_GPIO2_FUNC_DIGITAL_MIC_INPUT */ |
| @@ -575,7 +575,7 @@ |
| tlv320aic3x_aux: tlv320aic3x@19 { |
| compatible = "ti,tlv320aic3x"; |
| reg = <0x19>; |
| - gpio-reset = <&gpio2 28 GPIO_ACTIVE_HIGH>; /* 60 */ |
| + reset-gpios = <&gpio2 28 GPIO_ACTIVE_LOW>; /* 60 */ |
| |
| AVDD-supply = <&vmmc2>; |
| DRVDD-supply = <&vmmc2>; |