Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: Use GPIO constants for flags cells in exynos5440 boards

The board DTS are using numeric values instead of the defined GPIO
constanst to express polarity, use them to make the DTS more clear.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>

authored by

Javier Martinez Canillas and committed by
Kukjin Kim
df829b06 31b9903c

+3 -2
+3 -2
arch/arm/boot/dts/exynos5440-ssdk5440.dts
··· 11 11 12 12 /dts-v1/; 13 13 #include "exynos5440.dtsi" 14 + #include <dt-bindings/gpio/gpio.h> 14 15 15 16 / { 16 17 model = "SAMSUNG SSDK5440 board based on EXYNOS5440"; ··· 30 29 }; 31 30 32 31 &pcie_0 { 33 - reset-gpio = <&pin_ctrl 5 0>; 32 + reset-gpio = <&pin_ctrl 5 GPIO_ACTIVE_HIGH>; 34 33 status = "okay"; 35 34 }; 36 35 37 36 &pcie_1 { 38 - reset-gpio = <&pin_ctrl 22 0>; 37 + reset-gpio = <&pin_ctrl 22 GPIO_ACTIVE_HIGH>; 39 38 status = "okay"; 40 39 }; 41 40