arm64: dts: ti: Fix up references to phandles
Subsystems (2)
Nishanth Menon
maintainercover arm64: dts: ti: Fix up references to phandles
When referring to array of phandles, using <> to separate the array entries is better notation as it makes potential errors with phandle and cell arguments easier to catch. Fix the outliers to be consistent with the rest of the usage.
This set was caught by using: git grep '\s&' arch/arm64/boot/dts/ti/ and manually going through the list.
Nishanth Menon (12):
arm64: dts: ti: k3-j721e-sk: Fixup reference to phandles array
arm64: dts: ti: k3-j721e-som-p0/common-proc-board: Fixup reference to
phandles array
arm64: dts: ti: k3-j721e-beagleboneai64: Fixup reference to phandles
array
arm64: dts: ti: k3-am642-phyboard-electra-rdk: Fixup reference to
phandles array
arm64: dts: ti: k3-j7200-som/common-proc-board: Fixup reference to
phandles array
arm64: dts: ti: k3-j721s2-common-proc-board: Fixup reference to
phandles array
arm64: dts: ti: k3-am625-sk: Fixup reference to phandles array
arm64: dts: ti: k3-am64-evm: Fixup reference to phandles array
arm64: dts: ti: k3-am64-sk: Fixup reference to phandles array
arm64: dts: ti: k3-am65-iot*: Fixup reference to phandles array
arm64: dts: ti: k3-am654-base-board: Fixup reference to phandles array
arm64: dts: ti: k3-am68-sk-base-board: Fixup reference to phandles
array
arch/arm64/boot/dts/ti/k3-am625-sk.dts | 4 +-- arch/arm64/boot/dts/ti/k3-am642-evm.dts | 12 ++++---- .../dts/ti/k3-am642-phyboard-electra-rdk.dts | 2 +- arch/arm64/boot/dts/ti/k3-am642-sk.dts | 12 ++++---- .../boot/dts/ti/k3-am65-iot2050-common.dtsi | 17 +++++------ .../arm64/boot/dts/ti/k3-am654-base-board.dts | 4 +-- .../dts/ti/k3-am6548-iot2050-advanced-m2.dts | 18 +++++------- .../boot/dts/ti/k3-am68-sk-base-board.dts | 2 +- .../dts/ti/k3-j7200-common-proc-board.dts | 2 +- arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi | 8 ++--- .../boot/dts/ti/k3-j721e-beagleboneai64.dts | 29 ++++++++++--------- .../dts/ti/k3-j721e-common-proc-board.dts | 4 +-- arch/arm64/boot/dts/ti/k3-j721e-sk.dts | 20 ++++++------- arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi | 18 ++++++------ .../dts/ti/k3-j721s2-common-proc-board.dts | 2 +- 15 files changed, 76 insertions(+), 78 deletions(-)
Signature · 1 line
2.40.0
Nishanth Menon
maintainerPATCH 12/12 arm64: dts: ti: k3-am68-sk-base-board: Fixup reference to phandles array
When referring to array of phandles, using <> to separate the array entries is better notation as it makes potential errors with phandle and cell arguments easier to catch. Fix the outliers to be consistent with the rest of the usage.
--- arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts +1 -1
@@ -287,7 +287,7 @@ &main_sdhci1 { &mcu_cpsw { pinctrl-names = "default"; - pinctrl-0 = <&mcu_cpsw_pins_default &mcu_mdio_pins_default>; + pinctrl-0 = <&mcu_cpsw_pins_default>, <&mcu_mdio_pins_default>; }; &davinci_mdio {
Signature · 1 line
2.40.0
Nishanth Menon
maintainerPATCH 1/12 arm64: dts: ti: k3-j721e-sk: Fixup reference to phandles array
In reply to Nishanth MenonWhen referring to array of phandles, using <> to separate the array entries is better notation as it makes potential errors with phandle and cell arguments easier to catch. Fix the outliers to be consistent with the rest of the usage.
--- arch/arm64/boot/dts/ti/k3-j721e-sk.dts | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-)
arch/arm64/boot/dts/ti/k3-j721e-sk.dts +10 -10
@@ -829,7 +829,7 @@ &tscadc1 { &mcu_cpsw { pinctrl-names = "default"; - pinctrl-0 = <&mcu_cpsw_pins_default &mcu_mdio_pins_default>; + pinctrl-0 = <&mcu_cpsw_pins_default>, <&mcu_mdio_pins_default>; }; &davinci_mdio {
@@ -1056,55 +1056,55 @@ mbox_c71_0: mbox-c71-0 { }; &mcu_r5fss0_core0 { - mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core0>; + mboxes = <&mailbox0_cluster0>, <&mbox_mcu_r5fss0_core0>; memory-region = <&mcu_r5fss0_core0_dma_memory_region>, <&mcu_r5fss0_core0_memory_region>; }; &mcu_r5fss0_core1 { - mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core1>; + mboxes = <&mailbox0_cluster0>, <&mbox_mcu_r5fss0_core1>; memory-region = <&mcu_r5fss0_core1_dma_memory_region>, <&mcu_r5fss0_core1_memory_region>; }; &main_r5fss0_core0 { - mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core0>; + mboxes = <&mailbox0_cluster1>, <&mbox_main_r5fss0_core0>; memory-region = <&main_r5fss0_core0_dma_memory_region>, <&main_r5fss0_core0_memory_region>; }; &main_r5fss0_core1 { - mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core1>; + mboxes = <&mailbox0_cluster1>, <&mbox_main_r5fss0_core1>; memory-region = <&main_r5fss0_core1_dma_memory_region>, <&main_r5fss0_core1_memory_region>; }; &main_r5fss1_core0 { - mboxes = <&mailbox0_cluster2 &mbox_main_r5fss1_core0>; + mboxes = <&mailbox0_cluster2>, <&mbox_main_r5fss1_core0>; memory-region = <&main_r5fss1_core0_dma_memory_region>, <&main_r5fss1_core0_memory_region>; }; &main_r5fss1_core1 { - mboxes = <&mailbox0_cluster2 &mbox_main_r5fss1_core1>; + mboxes = <&mailbox0_cluster2>, <&mbox_main_r5fss1_core1>; memory-region = <&main_r5fss1_core1_dma_memory_region>, <&main_r5fss1_core1_memory_region>; }; &c66_0 { - mboxes = <&mailbox0_cluster3 &mbox_c66_0>; + mboxes = <&mailbox0_cluster3>, <&mbox_c66_0>; memory-region = <&c66_0_dma_memory_region>, <&c66_0_memory_region>; }; &c66_1 { - mboxes = <&mailbox0_cluster3 &mbox_c66_1>; + mboxes = <&mailbox0_cluster3>, <&mbox_c66_1>; memory-region = <&c66_1_dma_memory_region>, <&c66_1_memory_region>; }; &c71_0 { - mboxes = <&mailbox0_cluster4 &mbox_c71_0>; + mboxes = <&mailbox0_cluster4>, <&mbox_c71_0>; memory-region = <&c71_0_dma_memory_region>, <&c71_0_memory_region>; };
Signature · 1 line
2.40.0
Nishanth Menon
maintainerPATCH 4/12 arm64: dts: ti: k3-am642-phyboard-electra-rdk: Fixup reference to phandles array
In reply to Nishanth MenonWhen referring to array of phandles, using <> to separate the array entries is better notation as it makes potential errors with phandle and cell arguments easier to catch. Fix the outliers to be consistent with the rest of the usage.
--- arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts +1 -1
@@ -75,7 +75,7 @@ key-menu { leds { compatible = "gpio-leds"; pinctrl-names = "default"; - pinctrl-0 = <&leds_pins_default &user_leds_pins_default>; + pinctrl-0 = <&leds_pins_default>, <&user_leds_pins_default>; led-1 { color = <LED_COLOR_ID_RED>;
Signature · 1 line
2.40.0
Nishanth Menon
maintainerPATCH 6/12 arm64: dts: ti: k3-j721s2-common-proc-board: Fixup reference to phandles array
In reply to Nishanth MenonWhen referring to array of phandles, using <> to separate the array entries is better notation as it makes potential errors with phandle and cell arguments easier to catch. Fix the outliers to be consistent with the rest of the usage.
--- arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts +1 -1
@@ -304,7 +304,7 @@ &main_sdhci1 { &mcu_cpsw { pinctrl-names = "default"; - pinctrl-0 = <&mcu_cpsw_pins_default &mcu_mdio_pins_default>; + pinctrl-0 = <&mcu_cpsw_pins_default>, <&mcu_mdio_pins_default>; }; &davinci_mdio {
Signature · 1 line
2.40.0
Nishanth Menon
maintainerPATCH 7/12 arm64: dts: ti: k3-am625-sk: Fixup reference to phandles array
In reply to Nishanth MenonWhen referring to array of phandles, using <> to separate the array entries is better notation as it makes potential errors with phandle and cell arguments easier to catch. Fix the outliers to be consistent with the rest of the usage.
--- arch/arm64/boot/dts/ti/k3-am625-sk.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/ti/k3-am625-sk.dts +2 -2
@@ -183,8 +183,8 @@ &sdhci1 { &cpsw3g { pinctrl-names = "default"; - pinctrl-0 = <&main_rgmii1_pins_default - &main_rgmii2_pins_default>; + pinctrl-0 = <&main_rgmii1_pins_default>, + <&main_rgmii2_pins_default>; }; &cpsw_port2 {
Signature · 1 line
2.40.0
Nishanth Menon
maintainerPATCH 11/12 arm64: dts: ti: k3-am654-base-board: Fixup reference to phandles array
In reply to Nishanth MenonWhen referring to array of phandles, using <> to separate the array entries is better notation as it makes potential errors with phandle and cell arguments easier to catch. Fix the outliers to be consistent with the rest of the usage.
--- arch/arm64/boot/dts/ti/k3-am654-base-board.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/ti/k3-am654-base-board.dts +2 -2
@@ -481,13 +481,13 @@ mbox_mcu_r5fss0_core1: mbox-mcu-r5fss0-core1 { &mcu_r5fss0_core0 { memory-region = <&mcu_r5fss0_core0_dma_memory_region>, <&mcu_r5fss0_core0_memory_region>; - mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core0>; + mboxes = <&mailbox0_cluster0>, <&mbox_mcu_r5fss0_core0>; }; &mcu_r5fss0_core1 { memory-region = <&mcu_r5fss0_core1_dma_memory_region>, <&mcu_r5fss0_core1_memory_region>; - mboxes = <&mailbox0_cluster1 &mbox_mcu_r5fss0_core1>; + mboxes = <&mailbox0_cluster1>, <&mbox_mcu_r5fss0_core1>; }; &ospi0 {
Signature · 1 line
2.40.0
Nishanth Menon
maintainerPATCH 9/12 arm64: dts: ti: k3-am64-sk: Fixup reference to phandles array
In reply to Nishanth MenonWhen referring to array of phandles, using <> to separate the array entries is better notation as it makes potential errors with phandle and cell arguments easier to catch. Fix the outliers to be consistent with the rest of the usage.
--- arch/arm64/boot/dts/ti/k3-am642-sk.dts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
arch/arm64/boot/dts/ti/k3-am642-sk.dts +6 -6
@@ -461,8 +461,8 @@ &usb0 { &cpsw3g { pinctrl-names = "default"; - pinctrl-0 = <&rgmii1_pins_default - &rgmii2_pins_default>; + pinctrl-0 = <&rgmii1_pins_default>, + <&rgmii2_pins_default>; }; &cpsw_port1 {
@@ -559,25 +559,25 @@ &mailbox0_cluster7 { }; &main_r5fss0_core0 { - mboxes = <&mailbox0_cluster2 &mbox_main_r5fss0_core0>; + mboxes = <&mailbox0_cluster2>, <&mbox_main_r5fss0_core0>; memory-region = <&main_r5fss0_core0_dma_memory_region>, <&main_r5fss0_core0_memory_region>; }; &main_r5fss0_core1 { - mboxes = <&mailbox0_cluster2 &mbox_main_r5fss0_core1>; + mboxes = <&mailbox0_cluster2>, <&mbox_main_r5fss0_core1>; memory-region = <&main_r5fss0_core1_dma_memory_region>, <&main_r5fss0_core1_memory_region>; }; &main_r5fss1_core0 { - mboxes = <&mailbox0_cluster4 &mbox_main_r5fss1_core0>; + mboxes = <&mailbox0_cluster4>, <&mbox_main_r5fss1_core0>; memory-region = <&main_r5fss1_core0_dma_memory_region>, <&main_r5fss1_core0_memory_region>; }; &main_r5fss1_core1 { - mboxes = <&mailbox0_cluster4 &mbox_main_r5fss1_core1>; + mboxes = <&mailbox0_cluster4>, <&mbox_main_r5fss1_core1>; memory-region = <&main_r5fss1_core1_dma_memory_region>, <&main_r5fss1_core1_memory_region>; };
Signature · 1 line
2.40.0
Nishanth Menon
maintainerPATCH 8/12 arm64: dts: ti: k3-am64-evm: Fixup reference to phandles array
In reply to Nishanth MenonWhen referring to array of phandles, using <> to separate the array entries is better notation as it makes potential errors with phandle and cell arguments easier to catch. Fix the outliers to be consistent with the rest of the usage.
--- arch/arm64/boot/dts/ti/k3-am642-evm.dts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
arch/arm64/boot/dts/ti/k3-am642-evm.dts +6 -6
@@ -467,8 +467,8 @@ &usb0 { &cpsw3g { pinctrl-names = "default"; - pinctrl-0 = <&rgmii1_pins_default - &rgmii2_pins_default>; + pinctrl-0 = <&rgmii1_pins_default>, + <&rgmii2_pins_default>; }; &cpsw_port1 {
@@ -560,25 +560,25 @@ &mailbox0_cluster7 { }; &main_r5fss0_core0 { - mboxes = <&mailbox0_cluster2 &mbox_main_r5fss0_core0>; + mboxes = <&mailbox0_cluster2>, <&mbox_main_r5fss0_core0>; memory-region = <&main_r5fss0_core0_dma_memory_region>, <&main_r5fss0_core0_memory_region>; }; &main_r5fss0_core1 { - mboxes = <&mailbox0_cluster2 &mbox_main_r5fss0_core1>; + mboxes = <&mailbox0_cluster2>, <&mbox_main_r5fss0_core1>; memory-region = <&main_r5fss0_core1_dma_memory_region>, <&main_r5fss0_core1_memory_region>; }; &main_r5fss1_core0 { - mboxes = <&mailbox0_cluster4 &mbox_main_r5fss1_core0>; + mboxes = <&mailbox0_cluster4>, <&mbox_main_r5fss1_core0>; memory-region = <&main_r5fss1_core0_dma_memory_region>, <&main_r5fss1_core0_memory_region>; }; &main_r5fss1_core1 { - mboxes = <&mailbox0_cluster4 &mbox_main_r5fss1_core1>; + mboxes = <&mailbox0_cluster4>, <&mbox_main_r5fss1_core1>; memory-region = <&main_r5fss1_core1_dma_memory_region>, <&main_r5fss1_core1_memory_region>; };
Signature · 1 line
2.40.0
Nishanth Menon
maintainerPATCH 2/12 arm64: dts: ti: k3-j721e-som-p0/common-proc-board: Fixup reference to phandles array
In reply to Nishanth MenonWhen referring to array of phandles, using <> to separate the array entries is better notation as it makes potential errors with phandle and cell arguments easier to catch. Fix the outliers to be consistent with the rest of the usage.
--- .../boot/dts/ti/k3-j721e-common-proc-board.dts | 4 ++-- arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-)
arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts +2 -2
@@ -25,7 +25,7 @@ gpio_keys: gpio-keys { compatible = "gpio-keys"; autorepeat; pinctrl-names = "default"; - pinctrl-0 = <&sw10_button_pins_default &sw11_button_pins_default>; + pinctrl-0 = <&sw10_button_pins_default>, <&sw11_button_pins_default>; sw10: switch-10 { label = "GPIO Key USER1";
@@ -701,7 +701,7 @@ exp5: gpio@20 { &mcu_cpsw { pinctrl-names = "default"; - pinctrl-0 = <&mcu_cpsw_pins_default &mcu_mdio_pins_default>; + pinctrl-0 = <&mcu_cpsw_pins_default>, <&mcu_mdio_pins_default>; }; &davinci_mdio {
arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi +9 -9
@@ -271,55 +271,55 @@ mbox_c71_0: mbox-c71-0 { }; &mcu_r5fss0_core0 { - mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core0>; + mboxes = <&mailbox0_cluster0>, <&mbox_mcu_r5fss0_core0>; memory-region = <&mcu_r5fss0_core0_dma_memory_region>, <&mcu_r5fss0_core0_memory_region>; }; &mcu_r5fss0_core1 { - mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core1>; + mboxes = <&mailbox0_cluster0>, <&mbox_mcu_r5fss0_core1>; memory-region = <&mcu_r5fss0_core1_dma_memory_region>, <&mcu_r5fss0_core1_memory_region>; }; &main_r5fss0_core0 { - mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core0>; + mboxes = <&mailbox0_cluster1>, <&mbox_main_r5fss0_core0>; memory-region = <&main_r5fss0_core0_dma_memory_region>, <&main_r5fss0_core0_memory_region>; }; &main_r5fss0_core1 { - mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core1>; + mboxes = <&mailbox0_cluster1>, <&mbox_main_r5fss0_core1>; memory-region = <&main_r5fss0_core1_dma_memory_region>, <&main_r5fss0_core1_memory_region>; }; &main_r5fss1_core0 { - mboxes = <&mailbox0_cluster2 &mbox_main_r5fss1_core0>; + mboxes = <&mailbox0_cluster2>, <&mbox_main_r5fss1_core0>; memory-region = <&main_r5fss1_core0_dma_memory_region>, <&main_r5fss1_core0_memory_region>; }; &main_r5fss1_core1 { - mboxes = <&mailbox0_cluster2 &mbox_main_r5fss1_core1>; + mboxes = <&mailbox0_cluster2>, <&mbox_main_r5fss1_core1>; memory-region = <&main_r5fss1_core1_dma_memory_region>, <&main_r5fss1_core1_memory_region>; }; &c66_0 { - mboxes = <&mailbox0_cluster3 &mbox_c66_0>; + mboxes = <&mailbox0_cluster3>, <&mbox_c66_0>; memory-region = <&c66_0_dma_memory_region>, <&c66_0_memory_region>; }; &c66_1 { - mboxes = <&mailbox0_cluster3 &mbox_c66_1>; + mboxes = <&mailbox0_cluster3>, <&mbox_c66_1>; memory-region = <&c66_1_dma_memory_region>, <&c66_1_memory_region>; }; &c71_0 { - mboxes = <&mailbox0_cluster4 &mbox_c71_0>; + mboxes = <&mailbox0_cluster4>, <&mbox_c71_0>; memory-region = <&c71_0_dma_memory_region>, <&c71_0_memory_region>; };
Signature · 1 line
2.40.0
Nishanth Menon
maintainerPATCH 10/12 arm64: dts: ti: k3-am65-iot*: Fixup reference to phandles array
In reply to Nishanth MenonWhen referring to array of phandles, using <> to separate the array entries is better notation as it makes potential errors with phandle and cell arguments easier to catch. Fix the outliers to be consistent with the rest of the usage.
--- .../boot/dts/ti/k3-am65-iot2050-common.dtsi | 17 ++++++++--------- .../dts/ti/k3-am6548-iot2050-advanced-m2.dts | 18 ++++++++---------- 2 files changed, 16 insertions(+), 19 deletions(-)
arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi +8 -9
@@ -384,13 +384,12 @@ &main_gpio0 { &wkup_gpio0 { pinctrl-names = "default"; - pinctrl-0 = < - &arduino_io_d2_to_d3_pins_default - &arduino_i2c_aio_switch_pins_default - &arduino_io_oe_pins_default - &push_button_pins_default - &db9_com_mode_pins_default - >; + pinctrl-0 = + <&arduino_io_d2_to_d3_pins_default>, + <&arduino_i2c_aio_switch_pins_default>, + <&arduino_io_oe_pins_default>, + <&push_button_pins_default>, + <&db9_com_mode_pins_default>; gpio-line-names = /* 0..9 */ "wkup_gpio0-base", "", "", "", "UART0-mode1", "UART0-mode0",
@@ -711,11 +710,11 @@ mbox_mcu_r5fss0_core1: mbox-mcu-r5fss0-core1 { &mcu_r5fss0_core0 { memory-region = <&mcu_r5fss0_core0_dma_memory_region>, <&mcu_r5fss0_core0_memory_region>; - mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core0>; + mboxes = <&mailbox0_cluster0>, <&mbox_mcu_r5fss0_core0>; }; &mcu_r5fss0_core1 { memory-region = <&mcu_r5fss0_core1_dma_memory_region>, <&mcu_r5fss0_core1_memory_region>; - mboxes = <&mailbox0_cluster1 &mbox_mcu_r5fss0_core1>; + mboxes = <&mailbox0_cluster1>, <&mbox_mcu_r5fss0_core1>; };
arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced-m2.dts +8 -10
@@ -66,20 +66,18 @@ AM65X_IOPAD(0x001c, PIN_INPUT_PULLUP, 7) /* (C23) GPIO1_89 */ &main_gpio0 { pinctrl-names = "default"; - pinctrl-0 = < - &main_m2_pcie_mux_control - &arduino_io_d4_to_d9_pins_default - >; + pinctrl-0 = + <&main_m2_pcie_mux_control>, + <&arduino_io_d4_to_d9_pins_default>; }; &main_gpio1 { pinctrl-names = "default"; - pinctrl-0 = < - &main_m2_enable_pins_default - &main_pmx0_m2_config_pins_default - &main_pmx1_m2_config_pins_default - &cp2102n_reset_pin_default - >; + pinctrl-0 = + <&main_m2_enable_pins_default>, + <&main_pmx0_m2_config_pins_default>, + <&main_pmx1_m2_config_pins_default>, + <&cp2102n_reset_pin_default>; }; /*
Signature · 1 line
2.40.0
Nishanth Menon
maintainerPATCH 3/12 arm64: dts: ti: k3-j721e-beagleboneai64: Fixup reference to phandles array
In reply to Nishanth MenonWhen referring to array of phandles, using <> to separate the array entries is better notation as it makes potential errors with phandle and cell arguments easier to catch. Fix the outliers to be consistent with the rest of the usage.
--- .../boot/dts/ti/k3-j721e-beagleboneai64.dts | 29 ++++++++++--------- 1 file changed, 15 insertions(+), 14 deletions(-)
arch/arm64/boot/dts/ti/k3-j721e-beagleboneai64.dts +15 -14
@@ -593,7 +593,7 @@ &main_i2c0 { &main_i2c1 { status = "okay"; pinctrl-names = "default"; - pinctrl-0 = <&main_i2c1_pins_default &csi1_gpio_pins_default>; + pinctrl-0 = <&main_i2c1_pins_default>, <&csi1_gpio_pins_default>; clock-frequency = <400000>; };
@@ -623,7 +623,7 @@ &main_i2c4 { &main_i2c5 { status = "okay"; pinctrl-names = "default"; - pinctrl-0 = <&main_i2c5_pins_default &csi0_gpio_pins_default>; + pinctrl-0 = <&main_i2c5_pins_default>, <&csi0_gpio_pins_default>; clock-frequency = <400000>; };
@@ -639,7 +639,7 @@ &main_i2c6 { &wkup_i2c0 { status = "okay"; pinctrl-names = "default"; - pinctrl-0 = <&wkup_i2c0_pins_default &eeprom_wp_pins_default>; + pinctrl-0 = <&wkup_i2c0_pins_default>, <&eeprom_wp_pins_default>; clock-frequency = <400000>; eeprom@50 {
@@ -680,7 +680,8 @@ &main_gpio7 { &wkup_gpio0 { pinctrl-names = "default"; - pinctrl-0 = <&mcu_adc0_pins_default &mcu_adc1_pins_default &mikro_bus_pins_default>; + pinctrl-0 = <&mcu_adc0_pins_default>, <&mcu_adc1_pins_default>, + <&mikro_bus_pins_default>; }; &wkup_gpio1 {
@@ -759,7 +760,7 @@ serdes2_usb_link: phy@1 { &usbss1 { pinctrl-names = "default"; - pinctrl-0 = <&main_usbss1_pins_default &mcu_usbss1_pins_default>; + pinctrl-0 = <&main_usbss1_pins_default>, <&mcu_usbss1_pins_default>; ti,vbus-divider; };
@@ -1001,55 +1002,55 @@ mbox_c71_0: mbox-c71-0 { }; &mcu_r5fss0_core0 { - mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core0>; + mboxes = <&mailbox0_cluster0>, <&mbox_mcu_r5fss0_core0>; memory-region = <&mcu_r5fss0_core0_dma_memory_region>, <&mcu_r5fss0_core0_memory_region>; }; &mcu_r5fss0_core1 { - mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core1>; + mboxes = <&mailbox0_cluster0>, <&mbox_mcu_r5fss0_core1>; memory-region = <&mcu_r5fss0_core1_dma_memory_region>, <&mcu_r5fss0_core1_memory_region>; }; &main_r5fss0_core0 { - mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core0>; + mboxes = <&mailbox0_cluster1>, <&mbox_main_r5fss0_core0>; memory-region = <&main_r5fss0_core0_dma_memory_region>, <&main_r5fss0_core0_memory_region>; }; &main_r5fss0_core1 { - mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core1>; + mboxes = <&mailbox0_cluster1>, <&mbox_main_r5fss0_core1>; memory-region = <&main_r5fss0_core1_dma_memory_region>, <&main_r5fss0_core1_memory_region>; }; &main_r5fss1_core0 { - mboxes = <&mailbox0_cluster2 &mbox_main_r5fss1_core0>; + mboxes = <&mailbox0_cluster2>, <&mbox_main_r5fss1_core0>; memory-region = <&main_r5fss1_core0_dma_memory_region>, <&main_r5fss1_core0_memory_region>; }; &main_r5fss1_core1 { - mboxes = <&mailbox0_cluster2 &mbox_main_r5fss1_core1>; + mboxes = <&mailbox0_cluster2>, <&mbox_main_r5fss1_core1>; memory-region = <&main_r5fss1_core1_dma_memory_region>, <&main_r5fss1_core1_memory_region>; }; &c66_0 { - mboxes = <&mailbox0_cluster3 &mbox_c66_0>; + mboxes = <&mailbox0_cluster3>, <&mbox_c66_0>; memory-region = <&c66_0_dma_memory_region>, <&c66_0_memory_region>; }; &c66_1 { - mboxes = <&mailbox0_cluster3 &mbox_c66_1>; + mboxes = <&mailbox0_cluster3>, <&mbox_c66_1>; memory-region = <&c66_1_dma_memory_region>, <&c66_1_memory_region>; }; &c71_0 { - mboxes = <&mailbox0_cluster4 &mbox_c71_0>; + mboxes = <&mailbox0_cluster4>, <&mbox_c71_0>; memory-region = <&c71_0_dma_memory_region>, <&c71_0_memory_region>; };
Signature · 1 line
2.40.0
Nishanth Menon
maintainerPATCH 5/12 arm64: dts: ti: k3-j7200-som/common-proc-board: Fixup reference to phandles array
In reply to Nishanth MenonWhen referring to array of phandles, using <> to separate the array entries is better notation as it makes potential errors with phandle and cell arguments easier to catch. Fix the outliers to be consistent with the rest of the usage.
--- arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts | 2 +- arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-)
arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts +1 -1
@@ -192,7 +192,7 @@ &wkup_gpio1 { &mcu_cpsw { pinctrl-names = "default"; - pinctrl-0 = <&mcu_cpsw_pins_default &mcu_mdio_pins_default>; + pinctrl-0 = <&mcu_cpsw_pins_default>, <&mcu_mdio_pins_default>; }; &davinci_mdio {
arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi +4 -4
@@ -174,25 +174,25 @@ mbox_main_r5fss0_core1: mbox-main-r5fss0-core1 { }; &mcu_r5fss0_core0 { - mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core0>; + mboxes = <&mailbox0_cluster0>, <&mbox_mcu_r5fss0_core0>; memory-region = <&mcu_r5fss0_core0_dma_memory_region>, <&mcu_r5fss0_core0_memory_region>; }; &mcu_r5fss0_core1 { - mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core1>; + mboxes = <&mailbox0_cluster0>, <&mbox_mcu_r5fss0_core1>; memory-region = <&mcu_r5fss0_core1_dma_memory_region>, <&mcu_r5fss0_core1_memory_region>; }; &main_r5fss0_core0 { - mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core0>; + mboxes = <&mailbox0_cluster1>, <&mbox_main_r5fss0_core0>; memory-region = <&main_r5fss0_core0_dma_memory_region>, <&main_r5fss0_core0_memory_region>; }; &main_r5fss0_core1 { - mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core1>; + mboxes = <&mailbox0_cluster1>, <&mbox_main_r5fss0_core1>; memory-region = <&main_r5fss0_core1_dma_memory_region>, <&main_r5fss0_core1_memory_region>; };
Signature · 1 line
2.40.0
Re: [PATCH 10/12] arm64: dts: ti: k3-am65-iot*: Fixup reference to phandles array
In reply to Nishanth MenonQuoted 73 lines · Nishanth Menon
When referring to array of phandles, using <> to separate the array entries is better notation as it makes potential errors with phandle and cell arguments easier to catch. Fix the outliers to be consistent with the rest of the usage.
Cc Jan Kiszka <[email protected]>Signed-off-by Nishanth Menon <[email protected]>--- .../boot/dts/ti/k3-am65-iot2050-common.dtsi | 17 ++++++++--------- .../dts/ti/k3-am6548-iot2050-advanced-m2.dts | 18 ++++++++---------- 2 files changed, 16 insertions(+), 19 deletions(-)arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi +8
-9@@ -384,13 +384,12 @@ &main_gpio0 { &wkup_gpio0 { pinctrl-names = "default"; - pinctrl-0 = < - &arduino_io_d2_to_d3_pins_default - &arduino_i2c_aio_switch_pins_default - &arduino_io_oe_pins_default - &push_button_pins_default - &db9_com_mode_pins_default - >; + pinctrl-0 = + <&arduino_io_d2_to_d3_pins_default>, + <&arduino_i2c_aio_switch_pins_default>, + <&arduino_io_oe_pins_default>, + <&push_button_pins_default>, + <&db9_com_mode_pins_default>; gpio-line-names = /* 0..9 */ "wkup_gpio0-base", "", "", "", "UART0-mode1", "UART0-mode0",@@ -711,11 +710,11 @@ mbox_mcu_r5fss0_core1: mbox-mcu-r5fss0-core1 { &mcu_r5fss0_core0 { memory-region = <&mcu_r5fss0_core0_dma_memory_region>, <&mcu_r5fss0_core0_memory_region>; - mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core0>; + mboxes = <&mailbox0_cluster0>, <&mbox_mcu_r5fss0_core0>; }; &mcu_r5fss0_core1 { memory-region = <&mcu_r5fss0_core1_dma_memory_region>, <&mcu_r5fss0_core1_memory_region>; - mboxes = <&mailbox0_cluster1 &mbox_mcu_r5fss0_core1>; + mboxes = <&mailbox0_cluster1>, <&mbox_mcu_r5fss0_core1>; };arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced-m2.dts +3
-8@@ -66,20 +66,18 @@ AM65X_IOPAD(0x001c, PIN_INPUT_PULLUP, 7) /* (C23) GPIO1_89 */ &main_gpio0 { pinctrl-names = "default"; - pinctrl-0 = < - &main_m2_pcie_mux_control - &arduino_io_d4_to_d9_pins_default - >; + pinctrl-0 = + <&main_m2_pcie_mux_control>, + <&arduino_io_d4_to_d9_pins_default>; }; &main_gpio1 { pinctrl-names = "default"; - pinctrl-0 = < - &main_m2_enable_pins_default - &main_pmx0_m2_config_pins_default - &main_pmx1_m2_config_pins_default
arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced-m2.dts AM65X_IOPAD(0x001c, PIN_INPUT_PULLUP, 7) /* (C23) GPIO1_89 */ · line 83
Quoted 10 lines
arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced-m2.dts +5
-2- &cp2102n_reset_pin_default - >; + pinctrl-0 = + <&main_m2_enable_pins_default>, + <&main_pmx0_m2_config_pins_default>, + <&main_pmx1_m2_config_pins_default>, + <&cp2102n_reset_pin_default>; }; /*
Jan
Signature · 2 lines
Siemens AG, Technology Competence Center Embedded Linux
Re: [PATCH 03/12] arm64: dts: ti: k3-j721e-beagleboneai64: Fixup reference to phandles array
In reply to Nishanth MenonHi Nishanth
Quoted 34 lines · Nishanth Menon
When referring to array of phandles, using <> to separate the array entries is better notation as it makes potential errors with phandle and cell arguments easier to catch. Fix the outliers to be consistent with the rest of the usage.
Cc Robert Nelson <[email protected]>Signed-off-by Nishanth Menon <[email protected]>--- .../boot/dts/ti/k3-j721e-beagleboneai64.dts | 29 ++++++++++--------- 1 file changed, 15 insertions(+), 14 deletions(-)arch/arm64/boot/dts/ti/k3-j721e-beagleboneai64.dts +2
-2@@ -593,7 +593,7 @@ &main_i2c0 { &main_i2c1 { status = "okay"; pinctrl-names = "default"; - pinctrl-0 = <&main_i2c1_pins_default &csi1_gpio_pins_default>; + pinctrl-0 = <&main_i2c1_pins_default>, <&csi1_gpio_pins_default>; clock-frequency = <400000>; };@@ -623,7 +623,7 @@ &main_i2c4 { &main_i2c5 { status = "okay"; pinctrl-names = "default"; - pinctrl-0 = <&main_i2c5_pins_default &csi0_gpio_pins_default>; + pinctrl-0 = <&main_i2c5_pins_default>, <&csi0_gpio_pins_default>; clock-frequency = <400000>; };
arch/arm64/boot/dts/ti/k3-j721e-beagleboneai64.dts &main_i2c6 { · line 643
Quoted 6 lines
arch/arm64/boot/dts/ti/k3-j721e-beagleboneai64.dts +1
-1@@ -639,7 +639,7 @@ &main_i2c6 { &wkup_i2c0 { status = "okay"; pinctrl-names = "default"; - pinctrl-0 = <&wkup_i2c0_pins_default &eeprom_wp_pins_default>; + pinctrl-0 = <&wkup_i2c0_pins_default>, <&eeprom_wp_pins_default>; clock-frequency = <400000>;
Why we need more than 2 pio lines for i2c node ,
Quoted 2 lines
[...]
Re: [PATCH 08/12] arm64: dts: ti: k3-am64-evm: Fixup reference to phandles array
In reply to Nishanth MenonHi Nishanth
Quoted 15 lines · Nishanth Menon
When referring to array of phandles, using <> to separate the array entries is better notation as it makes potential errors with phandle and cell arguments easier to catch. Fix the outliers to be consistent with the rest of the usage.
Signed-off-by Nishanth Menon <[email protected]>--- arch/arm64/boot/dts/ti/k3-am642-evm.dts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)arch/arm64/boot/dts/ti/k3-am642-evm.dts +0
-0
arch/arm64/boot/dts/ti/k3-am642-evm.dts &usb0 { · line 471
Quoted 7 lines
arch/arm64/boot/dts/ti/k3-am642-evm.dts +2
-2@@ -467,8 +467,8 @@ &usb0 { &cpsw3g { pinctrl-names = "default"; - pinctrl-0 = <&rgmii1_pins_default - &rgmii2_pins_default>; + pinctrl-0 = <&rgmii1_pins_default>, + <&rgmii2_pins_default>;
Please see, if pinctrl-0 can be defined in one line, instead of two, to be inline with most of changes in this series.
Quoted 1 line
[..]
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Nishanth Menon
maintainerRe: [PATCH 03/12] arm64: dts: ti: k3-j721e-beagleboneai64: Fixup reference to phandles array
In reply to Kumar, UditOn 22:31-20230605, Kumar, Udit wrote:
[...]
Quoted 4 lines
Quoted 4 lines
arch/arm64/boot/dts/ti/k3-j721e-beagleboneai64.dts +0
-0
[...]
Quoted 9 lines
arch/arm64/boot/dts/ti/k3-j721e-beagleboneai64.dts &main_i2c6 { · line 643
Quoted 7 lines
arch/arm64/boot/dts/ti/k3-j721e-beagleboneai64.dts +1
-1@@ -639,7 +639,7 @@ &main_i2c6 { &wkup_i2c0 { status = "okay"; pinctrl-names = "default"; - pinctrl-0 = <&wkup_i2c0_pins_default &eeprom_wp_pins_default>; + pinctrl-0 = <&wkup_i2c0_pins_default>, <&eeprom_wp_pins_default>; clock-frequency = <400000>;Why we need more than 2 pio lines for i2c node ,
pio lines? I am not sure I understand. If you are suggesting eeprom_wp_pins to be moved to the eeprom node, It is probably un-related to this series, but OK, i think it is probably a valid change (unless Robert sees a reason why he did it the way he did).
Signature · 3 lines
Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
Nishanth Menon
maintainerRe: [PATCH 08/12] arm64: dts: ti: k3-am64-evm: Fixup reference to phandles array
In reply to Kumar, UditQuoted 13 lines · Udit
Hi Nishanth
Quoted 10 lines · Nishanth Menon
When referring to array of phandles, using <> to separate the array entries is better notation as it makes potential errors with phandle and cell arguments easier to catch. Fix the outliers to be consistent with the rest of the usage.
Signed-off-by Nishanth Menon <[email protected]>--- arch/arm64/boot/dts/ti/k3-am642-evm.dts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
Quoted 15 lines
arch/arm64/boot/dts/ti/k3-am642-evm.dts &usb0 { · line 470
Quoted 11 lines
arch/arm64/boot/dts/ti/k3-am642-evm.dts +2
-2@@ -467,8 +467,8 @@ &usb0 { &cpsw3g { pinctrl-names = "default"; - pinctrl-0 = <&rgmii1_pins_default - &rgmii2_pins_default>; + pinctrl-0 = <&rgmii1_pins_default>, + <&rgmii2_pins_default>;Please see, if pinctrl-0 can be defined in one line, instead of two, to be inline with most of changes in this series.
OK. I think i can respin it with that style change included once other comments flow in.
Signature · 3 lines
Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
Re: [PATCH 03/12] arm64: dts: ti: k3-j721e-beagleboneai64: Fixup reference to phandles array
In reply to Nishanth MenonHi Nishanth,
Quoted 15 lines · Nishanth Menon
On 22:31-20230605, Kumar, Udit wrote:
[...]Quoted 4 lines
Quoted 4 lines
arch/arm64/boot/dts/ti/k3-j721e-beagleboneai64.dts +0
-0[...]
Quoted 8 lines
arch/arm64/boot/dts/ti/k3-j721e-beagleboneai64.dts &main_i2c6 { · line 643
Quoted 7 lines
arch/arm64/boot/dts/ti/k3-j721e-beagleboneai64.dts +1
-1@@ -639,7 +639,7 @@ &main_i2c6 { &wkup_i2c0 { status = "okay"; pinctrl-names = "default"; - pinctrl-0 = <&wkup_i2c0_pins_default &eeprom_wp_pins_default>; + pinctrl-0 = <&wkup_i2c0_pins_default>, <&eeprom_wp_pins_default>; clock-frequency = <400000>;Why we need more than 2 pio lines for i2c node ,
Quoted 4 lines
pio lines? I am not sure I understand. If you are suggesting
eeprom_wp_pinsto be moved to the eeprom node, It is probably un-related to this series, but OK, i think it is probably a valid change (unless Robert sees a reason why he did it the way he did).
correct, I am suggesting to move eeprom_wp_pins_default to eeprom node.
i2c needs 2 lines which are defined in wkup_i2c0_pins_default, Adding eeprom_wp_pins_default will not be true representation of i2c node.
It will be good to have similar changes in main_i2c1 and main_i2c5 node for csi0_gpio_pins_default and csi1_gpio_pins_default.
Nishanth Menon
maintainerRe: [PATCH 03/12] arm64: dts: ti: k3-j721e-beagleboneai64: Fixup reference to phandles array
Quoted 21 lines · Udit
Quoted 15 lines · Nishanth Menon
On 22:31-20230605, Kumar, Udit wrote:
[...]Quoted 4 lines
Quoted 4 lines
arch/arm64/boot/dts/ti/k3-j721e-beagleboneai64.dts +0
-0[...]
Quoted 8 lines
arch/arm64/boot/dts/ti/k3-j721e-beagleboneai64.dts &main_i2c6 { · line 643
Quoted 7 lines
arch/arm64/boot/dts/ti/k3-j721e-beagleboneai64.dts +1
-1@@ -639,7 +639,7 @@ &main_i2c6 { &wkup_i2c0 { status = "okay"; pinctrl-names = "default"; - pinctrl-0 = <&wkup_i2c0_pins_default &eeprom_wp_pins_default>; + pinctrl-0 = <&wkup_i2c0_pins_default>, <&eeprom_wp_pins_default>; clock-frequency = <400000>;Why we need more than 2 pio lines for i2c node ,
Quoted 4 lines
pio lines? I am not sure I understand. If you are suggesting
eeprom_wp_pinsto be moved to the eeprom node, It is probably un-related to this series, but OK, i think it is probably a valid change (unless Robert sees a reason why he did it the way he did).
Quoted 7 lines
correct, I am suggesting to move
eeprom_wp_pins_defaultto eeprom node.i2c needs 2 lines which are defined in
wkup_i2c0_pins_default, Addingeeprom_wp_pins_defaultwill not be true representation of i2c node.It will be good to have similar changes in
main_i2c1and main_i2c5 node forcsi0_gpio_pins_defaultandcsi1_gpio_pins_default.
Robert: your opinion here?
Signature · 3 lines
Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
Re: [PATCH 03/12] arm64: dts: ti: k3-j721e-beagleboneai64: Fixup reference to phandles array
In reply to Kumar, UditQuoted 24 lines · Udit
Hi Nishanth,
Quoted 15 lines · Nishanth Menon
On 22:31-20230605, Kumar, Udit wrote:
[...]Quoted 4 lines
Quoted 4 lines
arch/arm64/boot/dts/ti/k3-j721e-beagleboneai64.dts +0
-0[...]
Quoted 8 lines
arch/arm64/boot/dts/ti/k3-j721e-beagleboneai64.dts &main_i2c6 { · line 643
Quoted 7 lines
arch/arm64/boot/dts/ti/k3-j721e-beagleboneai64.dts +1
-1@@ -639,7 +639,7 @@ &main_i2c6 { &wkup_i2c0 { status = "okay"; pinctrl-names = "default"; - pinctrl-0 = <&wkup_i2c0_pins_default &eeprom_wp_pins_default>; + pinctrl-0 = <&wkup_i2c0_pins_default>, <&eeprom_wp_pins_default>; clock-frequency = <400000>;Why we need more than 2 pio lines for i2c node ,
Quoted 4 lines
pio lines? I am not sure I understand. If you are suggesting
eeprom_wp_pinsto be moved to the eeprom node, It is probably un-related to this series, but OK, i think it is probably a valid change (unless Robert sees a reason why he did it the way he did).
Quoted 7 lines
correct, I am suggesting to move
eeprom_wp_pins_defaultto eeprom node.i2c needs 2 lines which are defined in
wkup_i2c0_pins_default, Addingeeprom_wp_pins_defaultwill not be true representation of i2c node.It will be good to have similar changes in
main_i2c1andmain_i2c5node forcsi0_gpio_pins_defaultandcsi1_gpio_pins_default.
I agree, moving eeprom_wp_pins_default into the eeprom node itself is much cleaner going forward.
While we may have a lot of historical situations in the git tree where we just dumped all pin configurations into the base node, that's not the best practice going forward today.
Regards,
Signature · 2 lines
Robert Nelson https://rcn-ee.com/