Skip to contentSkip to conversation

arm64: am65/am64: Fix ti,pindir-d0-out-d1-in property to boolean

PATCH Applied Aswath Govindraju 4 participants 8 messages Jun 8, 2021 – Jun 11, 2021

Subsystems (2)

v2 of 3 Applied Latest is v3 →

lore
Share & tools
lore
#0 lore raw

v2 cover arm64: am65/am64: Fix ti,pindir-d0-out-d1-in property to boolean

The following series of patches fix "ti,pindir-d0-out-d1-in" property to boolean.

changes since v1:
- added fixes tags
- split the series according to their respective trees

link to v1:
https://lore.kernel.org/patchwork/project/lkml/list/?series=502255

Aswath Govindraju (2):
arm64: dts: ti: am65: align ti,pindir-d0-out-d1-in property with
dt-shema
arm64: dts: ti: k3-am642-evm: align ti,pindir-d0-out-d1-in property
with dt-shema

 arch/arm64/boot/dts/ti/k3-am642-evm.dts            | 2 +-
 arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi | 2 +-
 arch/arm64/boot/dts/ti/k3-am654-base-board.dts     | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
2.17.1
#1 lore raw

PATCH v2 1/2 arm64: dts: ti: am65: align ti,pindir-d0-out-d1-in property with dt-shema

ti,pindir-d0-out-d1-in property is expected to be of type boolean. Therefore, fix the property accordingly.

Fixes e180f76d0641 ("arm64: dts: ti: Add support for Siemens IOT2050 boards")
Fixes 5da94b50475a ("arm64: dts: ti: k3-am654: Enable main domain McSPI0")
---
 arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi | 2 +-
 arch/arm64/boot/dts/ti/k3-am654-base-board.dts     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi +1 -1
index f4ec9ed52939..23d51b6a9cf2 100644
@@ -575,7 +575,7 @@
 
 	#address-cells = <1>;
 	#size-cells= <0>;
-	ti,pindir-d0-out-d1-in = <1>;
+	ti,pindir-d0-out-d1-in;
 };
 
 &tscadc0 {
arch/arm64/boot/dts/ti/k3-am654-base-board.dts +1 -1
index eddb2ffb93ca..1b947e2c2e74 100644
@@ -299,7 +299,7 @@
 	pinctrl-0 = <&main_spi0_pins_default>;
 	#address-cells = <1>;
 	#size-cells= <0>;
-	ti,pindir-d0-out-d1-in = <1>;
+	ti,pindir-d0-out-d1-in;
 
 	flash@0{
 		compatible = "jedec,spi-nor";
Signature · 1 line
2.17.1
Acked-by on v2 1/2
#2 lore raw

Re: [PATCH v2 1/2] arm64: dts: ti: am65: align ti,pindir-d0-out-d1-in property with dt-shema

Quoted 3 lines · Aswath Govindraju

ti,pindir-d0-out-d1-in property is expected to be of type boolean. Therefore, fix the property accordingly.

Is there a patch for Documentation/devicetree/bindings/spi/omap-spi.txt on the way as well that makes this even clearer?

Quoted 13 lines
Fixes e180f76d0641 ("arm64: dts: ti: Add support for Siemens IOT2050 boards")
Fixes 5da94b50475a ("arm64: dts: ti: k3-am654: Enable main domain McSPI0")
---
 arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi | 2 +-
 arch/arm64/boot/dts/ti/k3-am654-base-board.dts     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi +0 -0
index f4ec9ed52939..23d51b6a9cf2 100644

arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi line 580

Quoted 7 lines
arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi +1 -1
@@ -575,7 +575,7 @@
 
 	#address-cells = <1>;
 	#size-cells= <0>;
-	ti,pindir-d0-out-d1-in = <1>;
+	ti,pindir-d0-out-d1-in;
 };
 

Jan

Quoted 15 lines
arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi +0 -0
 &tscadc0 {
arch/arm64/boot/dts/ti/k3-am654-base-board.dts +1 -1
index eddb2ffb93ca..1b947e2c2e74 100644
@@ -299,7 +299,7 @@
 	pinctrl-0 = <&main_spi0_pins_default>;
 	#address-cells = <1>;
 	#size-cells= <0>;
-	ti,pindir-d0-out-d1-in = <1>;
+	ti,pindir-d0-out-d1-in;
 
 	flash@0{
 		compatible = "jedec,spi-nor";
Signature · 2 lines
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
#3 lore raw

Re: [PATCH v2 1/2] arm64: dts: ti: am65: align ti,pindir-d0-out-d1-in property with dt-shema

Hi Jan,

Quoted 8 lines · Jan Kiszka
Quoted 3 lines · Aswath Govindraju

ti,pindir-d0-out-d1-in property is expected to be of type boolean. Therefore, fix the property accordingly.

Is there a patch for Documentation/devicetree/bindings/spi/omap-spi.txt on the way as well that makes this even clearer?

Yes, these fixes are a part of conversion of omap-spi.txt to yaml format. In the yaml file the type for the property is mentioned.

Link to yaml conversion patch,
https://lore.kernel.org/patchwork/project/lkml/list/?series=503240

Quoted 14 lines
Quoted 14 lines
Fixes e180f76d0641 ("arm64: dts: ti: Add support for Siemens IOT2050 boards")
Fixes 5da94b50475a ("arm64: dts: ti: k3-am654: Enable main domain McSPI0")
---
 arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi | 2 +-
 arch/arm64/boot/dts/ti/k3-am654-base-board.dts     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi +0 -0
index f4ec9ed52939..23d51b6a9cf2 100644
@@ -575,7 +575,7 @@
 
Quoted 9 lines

arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi line 580

Quoted 6 lines
arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi +1 -1
 	#address-cells = <1>;
 	#size-cells= <0>;
-	ti,pindir-d0-out-d1-in = <1>;
+	ti,pindir-d0-out-d1-in;
 };
 

Thanks,
Aswath

Quoted 19 lines

Jan

Quoted 15 lines
arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi +0 -0
 &tscadc0 {
arch/arm64/boot/dts/ti/k3-am654-base-board.dts +1 -1
index eddb2ffb93ca..1b947e2c2e74 100644
@@ -299,7 +299,7 @@
 	pinctrl-0 = <&main_spi0_pins_default>;
 	#address-cells = <1>;
 	#size-cells= <0>;
-	ti,pindir-d0-out-d1-in = <1>;
+	ti,pindir-d0-out-d1-in;
 
 	flash@0{
 		compatible = "jedec,spi-nor";
maintainer Reviewed-by on v2 1/2
#4 lore raw

Re: [PATCH v2 1/2] arm64: dts: ti: am65: align ti,pindir-d0-out-d1-in property with dt-shema

In reply to Aswath Govindraju
Quoted 29 lines · Aswath Govindraju

ti,pindir-d0-out-d1-in property is expected to be of type boolean. Therefore, fix the property accordingly.

Fixes e180f76d0641 ("arm64: dts: ti: Add support for Siemens IOT2050 boards")
Fixes 5da94b50475a ("arm64: dts: ti: k3-am654: Enable main domain McSPI0")
---
 arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi | 2 +-
 arch/arm64/boot/dts/ti/k3-am654-base-board.dts     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi +1 -1
index f4ec9ed52939..23d51b6a9cf2 100644
@@ -575,7 +575,7 @@
 
 	#address-cells = <1>;
 	#size-cells= <0>;
-	ti,pindir-d0-out-d1-in = <1>;
+	ti,pindir-d0-out-d1-in;
 };
 
 &tscadc0 {
arch/arm64/boot/dts/ti/k3-am654-base-board.dts +0 -0
index eddb2ffb93ca..1b947e2c2e74 100644

arch/arm64/boot/dts/ti/k3-am654-base-board.dts line 305

Quoted 8 lines
arch/arm64/boot/dts/ti/k3-am654-base-board.dts +1 -1
@@ -299,7 +299,7 @@
 	pinctrl-0 = <&main_spi0_pins_default>;
 	#address-cells = <1>;
 	#size-cells= <0>;
-	ti,pindir-d0-out-d1-in = <1>;
+	ti,pindir-d0-out-d1-in;
 
 	flash@0{
 		compatible = "jedec,spi-nor";

Regards
Vignesh

#5 lore raw

PATCH v2 2/2 arm64: dts: ti: k3-am642-evm: align ti,pindir-d0-out-d1-in property with dt-shema

In reply to Aswath Govindraju

ti,pindir-d0-out-d1-in property is expected to be of type boolean. Therefore, fix the property accordingly.

Fixes 4fb6c04683aa ("arm64: dts: ti: k3-am642-evm: Add support for SPI EEPROM")
---
 arch/arm64/boot/dts/ti/k3-am642-evm.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/ti/k3-am642-evm.dts +1 -1
index dad0efa961ed..2fd0de905e61 100644
@@ -334,7 +334,7 @@
 &main_spi0 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&main_spi0_pins_default>;
-	ti,pindir-d0-out-d1-in = <1>;
+	ti,pindir-d0-out-d1-in;
 	eeprom@0 {
 		compatible = "microchip,93lc46b";
 		reg = <0>;
Signature · 1 line
2.17.1
maintainer Reviewed-by on v2 2/2
#6 lore raw

Re: [PATCH v2 2/2] arm64: dts: ti: k3-am642-evm: align ti,pindir-d0-out-d1-in property with dt-shema

Quoted 15 lines · Aswath Govindraju

ti,pindir-d0-out-d1-in property is expected to be of type boolean. Therefore, fix the property accordingly.

Fixes 4fb6c04683aa ("arm64: dts: ti: k3-am642-evm: Add support for SPI EEPROM")
---
 arch/arm64/boot/dts/ti/k3-am642-evm.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/ti/k3-am642-evm.dts +0 -0
index dad0efa961ed..2fd0de905e61 100644

arch/arm64/boot/dts/ti/k3-am642-evm.dts line 340

Quoted 8 lines
arch/arm64/boot/dts/ti/k3-am642-evm.dts +1 -1
@@ -334,7 +334,7 @@
 &main_spi0 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&main_spi0_pins_default>;
-	ti,pindir-d0-out-d1-in = <1>;
+	ti,pindir-d0-out-d1-in;
 	eeprom@0 {
 		compatible = "microchip,93lc46b";
 		reg = <0>;
maintainer Applied
#7 lore raw
In reply to Aswath Govindraju
Quoted 8 lines · Aswath Govindraju

The following series of patches fix "ti,pindir-d0-out-d1-in" property to boolean.

changes since v1:
- added fixes tags
- split the series according to their respective trees

[...]

Hi Aswath Govindraju,

I have applied the following to branch ti-k3-dts-next on [1]. Thank you!

[1/2] arm64: dts: ti: am65: align ti,pindir-d0-out-d1-in property with dt-shema

      commit: 5c5217c76a26d04e44e7c359cd5f044adb648d31
[2/2] arm64: dts: ti: k3-am642-evm: align ti,pindir-d0-out-d1-in property with dt-shema
      commit: 7c5b7c6071396c9de09048b8ffa21e0b29b99f7b

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent up the chain during the next merge window (or sooner if it is a relevant bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

[1] git://git.kernel.org/pub/scm/linux/kernel/git/nmenon/linux.git

Signature · 3 lines
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D