ARM: dts: imx6q-phytec-pbab01: Remove duplicate "chosen" node
Subsystems (2)
PATCH 1/4 ARM: dts: imx6q-phytec-pbab01: Remove duplicate "chosen" node
"chosen" is already present in imx6qdl-phytec-pbab01.dtsi. Patch removes this duplicate.
--- arch/arm/boot/dts/imx6q-phytec-pbab01.dts | 4 ---- 1 file changed, 4 deletions(-)
arch/arm/boot/dts/imx6q-phytec-pbab01.dts +0 -4
@@ -16,10 +16,6 @@ / { model = "Phytec phyFLEX-i.MX6 Quad Carrier-Board"; compatible = "phytec,imx6q-pbab01", "phytec,imx6q-pfla02", "fsl,imx6q"; - - chosen { - stdout-path = &uart4; - }; }; &sata {
Signature · 7 lines
2.10.2 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 2/4 ARM: dts: imx6q/dl-phytec-pfla02: Remove duplicate nodes
"model", "compatible" and "memory" nodes is already present in corresponed imx6q-phytec-pfla02.dtsi and imx6dl-phytec-pfla02.dtsi files. Patch removes this duplicates.
--- arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 7 ------- 1 file changed, 7 deletions(-)
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +0 -7
@@ -12,13 +12,6 @@ #include <dt-bindings/gpio/gpio.h> / { - model = "Phytec phyFLEX-i.MX6 Quad"; - compatible = "phytec,imx6q-pfla02", "fsl,imx6q"; - - memory@10000000 { - reg = <0x10000000 0x80000000>; - }; - regulators { compatible = "simple-bus"; #address-cells = <1>;
Signature · 7 lines
2.10.2 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 3/4 ARM: dts: imx6qdl-phytec-pfla02: Replace magic numbers
In reply to Alexander ShiyanUse GPIO_ACTIVE_LOW/HIGH for GPIO description.
--- arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +5 -5
@@ -23,7 +23,7 @@ regulator-name = "usb_otg_vbus"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; - gpio = <&gpio4 15 0>; + gpio = <&gpio4 15 GPIO_ACTIVE_HIGH>; enable-active-high; };
@@ -33,7 +33,7 @@ regulator-name = "usb_h1_vbus"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; - gpio = <&gpio1 0 0>; + gpio = <&gpio1 0 GPIO_ACTIVE_HIGH>; enable-active-high; }; };
@@ -43,12 +43,12 @@ green { label = "phyflex:green"; - gpios = <&gpio1 30 0>; + gpios = <&gpio1 30 GPIO_ACTIVE_HIGH>; }; red { label = "phyflex:red"; - gpios = <&gpio2 31 0>; + gpios = <&gpio2 31 GPIO_ACTIVE_HIGH>; }; }; };
@@ -69,7 +69,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_ecspi3>; status = "okay"; - cs-gpios = <&gpio4 24 0>; + cs-gpios = <&gpio4 24 GPIO_ACTIVE_LOW>; flash@0 { compatible = "m25p80", "jedec,spi-nor";
Signature · 7 lines
2.10.2 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Re: [PATCH 3/4] ARM: dts: imx6qdl-phytec-pfla02: Replace magic numbers
Quoted 45 lines · Alexander Shiyan
Use GPIO_ACTIVE_LOW/HIGH for GPIO description.
Signed-off-by Alexander Shiyan <[email protected]>--- arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +4
-4@@ -23,7 +23,7 @@ regulator-name = "usb_otg_vbus"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; - gpio = <&gpio4 15 0>; + gpio = <&gpio4 15 GPIO_ACTIVE_HIGH>; enable-active-high; };@@ -33,7 +33,7 @@ regulator-name = "usb_h1_vbus"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; - gpio = <&gpio1 0 0>; + gpio = <&gpio1 0 GPIO_ACTIVE_HIGH>; enable-active-high; }; };@@ -43,12 +43,12 @@ green { label = "phyflex:green"; - gpios = <&gpio1 30 0>; + gpios = <&gpio1 30 GPIO_ACTIVE_HIGH>; }; red { label = "phyflex:red"; - gpios = <&gpio2 31 0>; + gpios = <&gpio2 31 GPIO_ACTIVE_HIGH>; }; }; };
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi line 72
Quoted 5 lines
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +1
-1@@ -69,7 +69,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_ecspi3>; status = "okay"; - cs-gpios = <&gpio4 24 0>; + cs-gpios = <&gpio4 24 GPIO_ACTIVE_LOW>;
GPIO_ACTIVE_LOW is defined as 1 rather than 0.
Shawn
Quoted 6 lines
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +0
-0flash@0 { compatible = "m25p80", "jedec,spi-nor";Signature · 1 line
2.10.2
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 4/4 ARM: dts: imx6qdl-phytec-pfla02: Add some labels
In reply to Alexander ShiyanThis patch adds labels to devices that can be reused in top-level dts.
--- arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +5 -5
@@ -41,12 +41,12 @@ gpio_leds: leds { compatible = "gpio-leds"; - green { + led_green: led_green { label = "phyflex:green"; gpios = <&gpio1 30 GPIO_ACTIVE_HIGH>; }; - red { + led_red: led_red { label = "phyflex:red"; gpios = <&gpio2 31 GPIO_ACTIVE_HIGH>; };
@@ -71,7 +71,7 @@ status = "okay"; cs-gpios = <&gpio4 24 GPIO_ACTIVE_LOW>; - flash@0 { + flash: flash@0 { compatible = "m25p80", "jedec,spi-nor"; spi-max-frequency = <20000000>; reg = <0>;
@@ -99,12 +99,12 @@ pinctrl-0 = <&pinctrl_i2c1>; status = "okay"; - eeprom@50 { + eeprom: eeprom@50 { compatible = "atmel,24c32"; reg = <0x50>; }; - pmic@58 { + pmic: pmic@58 { compatible = "dlg,da9063"; reg = <0x58>; interrupt-parent = <&gpio2>;
Signature · 7 lines
2.10.2 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Re: [PATCH 4/4] ARM: dts: imx6qdl-phytec-pfla02: Add some labels
Quoted 12 lines · Alexander Shiyan
This patch adds labels to devices that can be reused in top-level dts.
Signed-off-by Alexander Shiyan <[email protected]>--- arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +0
-0
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi line 44
Quoted 5 lines
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +1
-1@@ -41,12 +41,12 @@ gpio_leds: leds { compatible = "gpio-leds"; - green { + led_green: led_green {
We usually use hyphen than underscore in node name, so led-green for node please.
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi line 49
Quoted 6 lines
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +1
-1label = "phyflex:green"; gpios = <&gpio1 30 GPIO_ACTIVE_HIGH>; }; - red { + led_red: led_red {
Ditto
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi line 74
Quoted 9 lines
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +1
-1label = "phyflex:red"; gpios = <&gpio2 31 GPIO_ACTIVE_HIGH>; };@@ -71,7 +71,7 @@ status = "okay"; cs-gpios = <&gpio4 24 GPIO_ACTIVE_LOW>; - flash@0 { + flash: flash@0 {
Please use a specific name for labelling, for example:
m25p80: flash@0 {arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi line 102
Quoted 9 lines
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +1
-1compatible = "m25p80", "jedec,spi-nor"; spi-max-frequency = <20000000>; reg = <0>;@@ -99,12 +99,12 @@ pinctrl-0 = <&pinctrl_i2c1>; status = "okay"; - eeprom@50 { + eeprom: eeprom@50 {
Ditto
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi line 107
Quoted 6 lines
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +1
-1compatible = "atmel,24c32"; reg = <0x50>; }; - pmic@58 { + pmic: pmic@58 {
Ditto
Shawn
Quoted 6 lines
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +0
-0compatible = "dlg,da9063"; reg = <0x58>; interrupt-parent = <&gpio2>;Signature · 1 line
2.10.2
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel