diff mbox

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

Message ID 1370015122-26792-1-git-send-email-dmurphy@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Dan Murphy May 31, 2013, 3:45 p.m. UTC
Update the dt property ti,audpwron-gpio to use the
gpio macro definition for GPIO_ACTIVE_HIGH.

Signed-off-by: Dan Murphy <dmurphy@ti.com>
---
 arch/arm/boot/dts/omap4-panda-common.dtsi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Florian Vaussard May 31, 2013, 4:12 p.m. UTC | #1
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 <dmurphy@ti.com>
> ---
>   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 <florian.vaussard@epfl.ch>
Benoit Cousson June 3, 2013, 2:20 p.m. UTC | #2
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 <dmurphy@ti.com>
>> ---
>>   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 <florian.vaussard@epfl.ch>

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

Thanks,
Benoit
diff mbox

Patch

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>;