Commit de77e52d authored by Javier Martinez Canillas's avatar Javier Martinez Canillas Committed by Kukjin Kim

ARM: dts: Use GPIO constants for flags cells in exynos3250 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: default avatarJavier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: default avatarKukjin Kim <kgene@kernel.org>
parent 27e6699c
...@@ -52,13 +52,13 @@ vemmc_reg: voltage-regulator-0 { ...@@ -52,13 +52,13 @@ vemmc_reg: voltage-regulator-0 {
regulator-name = "V_EMMC_2.8V-fixed"; regulator-name = "V_EMMC_2.8V-fixed";
regulator-min-microvolt = <2800000>; regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>; regulator-max-microvolt = <2800000>;
gpio = <&gpk0 2 0>; gpio = <&gpk0 2 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
}; };
i2c_max77836: i2c-gpio-0 { i2c_max77836: i2c-gpio-0 {
compatible = "i2c-gpio"; compatible = "i2c-gpio";
gpios = <&gpd0 2 0>, <&gpd0 3 0>; gpios = <&gpd0 2 GPIO_ACTIVE_HIGH>, <&gpd0 3 GPIO_ACTIVE_HIGH>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -266,14 +266,14 @@ ldo11_reg: LDO11 { ...@@ -266,14 +266,14 @@ ldo11_reg: LDO11 {
regulator-name = "V_EMMC_1.8V"; regulator-name = "V_EMMC_1.8V";
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
samsung,ext-control-gpios = <&gpk0 2 0>; samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
}; };
ldo12_reg: LDO12 { ldo12_reg: LDO12 {
regulator-name = "V_EMMC_2.8V"; regulator-name = "V_EMMC_2.8V";
regulator-min-microvolt = <2800000>; regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>; regulator-max-microvolt = <2800000>;
samsung,ext-control-gpios = <&gpk0 2 0>; samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
}; };
ldo13_reg: LDO13 { ldo13_reg: LDO13 {
......
...@@ -49,7 +49,7 @@ power_key { ...@@ -49,7 +49,7 @@ power_key {
i2c_max77836: i2c-gpio-0 { i2c_max77836: i2c-gpio-0 {
compatible = "i2c-gpio"; compatible = "i2c-gpio";
gpios = <&gpd0 2 0>, <&gpd0 3 0>; gpios = <&gpd0 2 GPIO_ACTIVE_HIGH>, <&gpd0 3 GPIO_ACTIVE_HIGH>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -188,8 +188,8 @@ panel@0 { ...@@ -188,8 +188,8 @@ panel@0 {
reg = <0>; reg = <0>;
vdd3-supply = <&ldo16_reg>; vdd3-supply = <&ldo16_reg>;
vci-supply = <&ldo20_reg>; vci-supply = <&ldo20_reg>;
reset-gpios = <&gpe0 1 0>; reset-gpios = <&gpe0 1 GPIO_ACTIVE_HIGH>;
te-gpios = <&gpx0 6 0>; te-gpios = <&gpx0 6 GPIO_ACTIVE_HIGH>;
power-on-delay= <30>; power-on-delay= <30>;
power-off-delay= <120>; power-off-delay= <120>;
reset-delay = <5>; reset-delay = <5>;
...@@ -368,14 +368,14 @@ ldo11_reg: LDO11 { ...@@ -368,14 +368,14 @@ ldo11_reg: LDO11 {
regulator-name = "V_EMMC_1.8V"; regulator-name = "V_EMMC_1.8V";
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
samsung,ext-control-gpios = <&gpk0 2 0>; samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
}; };
ldo12_reg: LDO12 { ldo12_reg: LDO12 {
regulator-name = "V_EMMC_2.8V"; regulator-name = "V_EMMC_2.8V";
regulator-min-microvolt = <2800000>; regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>; regulator-max-microvolt = <2800000>;
samsung,ext-control-gpios = <&gpk0 2 0>; samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
}; };
ldo13_reg: LDO13 { ldo13_reg: LDO13 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment