2013-05-31 15:46:01

by Dan Murphy

[permalink] [raw]
Subject: [PATCH v1] ARM: dts: omap4-panda: Update the twl6040 gpio to macro definition

Update the dt property ti,audpwron-gpio to use the
gpio macro definition for GPIO_ACTIVE_HIGH.

Signed-off-by: Dan Murphy <[email protected]>
---
arch/arm/boot/dts/omap4-panda-common.dtsi | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/boot/dts/omap4-panda-common.dtsi b/arch/arm/boot/dts/omap4-panda-common.dtsi
index 800fa4e..00cbaa5 100644
--- a/arch/arm/boot/dts/omap4-panda-common.dtsi
+++ b/arch/arm/boot/dts/omap4-panda-common.dtsi
@@ -190,7 +190,7 @@
/* IRQ# = 119 */
interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>; /* IRQ_SYS_2N cascaded to gic */
interrupt-parent = <&gic>;
- ti,audpwron-gpio = <&gpio4 31 0>; /* gpio line 127 */
+ ti,audpwron-gpio = <&gpio4 31 GPIO_ACTIVE_HIGH>; /* gpio line 127 */

vio-supply = <&v1v8>;
v2v1-supply = <&v2v1>;
--
1.7.5.4


2013-05-31 16:13:06

by Florian Vaussard

[permalink] [raw]
Subject: Re: [PATCH v1] ARM: dts: omap4-panda: Update the twl6040 gpio to macro definition

Hello Dan,

On 05/31/2013 05:45 PM, Dan Murphy wrote:
> Update the dt property ti,audpwron-gpio to use the
> gpio macro definition for GPIO_ACTIVE_HIGH.
>
> Signed-off-by: Dan Murphy <[email protected]>
> ---
> arch/arm/boot/dts/omap4-panda-common.dtsi | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/boot/dts/omap4-panda-common.dtsi b/arch/arm/boot/dts/omap4-panda-common.dtsi
> index 800fa4e..00cbaa5 100644
> --- a/arch/arm/boot/dts/omap4-panda-common.dtsi
> +++ b/arch/arm/boot/dts/omap4-panda-common.dtsi
> @@ -190,7 +190,7 @@
> /* IRQ# = 119 */
> interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>; /* IRQ_SYS_2N cascaded to gic */
> interrupt-parent = <&gic>;
> - ti,audpwron-gpio = <&gpio4 31 0>; /* gpio line 127 */
> + ti,audpwron-gpio = <&gpio4 31 GPIO_ACTIVE_HIGH>; /* gpio line 127 */
>
> vio-supply = <&v1v8>;
> v2v1-supply = <&v2v1>;
>

I missed it during the conversion, thank you.

Reviewed-by: Florian Vaussard <[email protected]>

2013-06-03 14:21:17

by Benoit Cousson

[permalink] [raw]
Subject: Re: [PATCH v1] ARM: dts: omap4-panda: Update the twl6040 gpio to macro definition

Hi Dan,

On 05/31/2013 06:12 PM, Florian Vaussard wrote:
> Hello Dan,
>
> On 05/31/2013 05:45 PM, Dan Murphy wrote:
>> Update the dt property ti,audpwron-gpio to use the
>> gpio macro definition for GPIO_ACTIVE_HIGH.
>>
>> Signed-off-by: Dan Murphy <[email protected]>
>> ---
>> arch/arm/boot/dts/omap4-panda-common.dtsi | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/arch/arm/boot/dts/omap4-panda-common.dtsi
>> b/arch/arm/boot/dts/omap4-panda-common.dtsi
>> index 800fa4e..00cbaa5 100644
>> --- a/arch/arm/boot/dts/omap4-panda-common.dtsi
>> +++ b/arch/arm/boot/dts/omap4-panda-common.dtsi
>> @@ -190,7 +190,7 @@
>> /* IRQ# = 119 */
>> interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>; /*
>> IRQ_SYS_2N cascaded to gic */
>> interrupt-parent = <&gic>;
>> - ti,audpwron-gpio = <&gpio4 31 0>; /* gpio line 127 */
>> + ti,audpwron-gpio = <&gpio4 31 GPIO_ACTIVE_HIGH>; /* gpio
>> line 127 */
>>
>> vio-supply = <&v1v8>;
>> v2v1-supply = <&v2v1>;
>>
>
> I missed it during the conversion, thank you.
>
> Reviewed-by: Florian Vaussard <[email protected]>

I've just applied it with Florian's Reviewed-by.

Thanks,
Benoit