spi: pl022: remove nonexistent properties from DT binding example
Subsystems (3)
PATCH 1/4 spi: pl022: remove nonexistent properties from DT binding example
The properties "pl022,hierarchy" and "pl022,slave-tx-disable" were initially proposed till patch V4 [1] but then discarded in V5 [2] when the patch set was taken over by another developer, as explained in patch history in [3].
The above properties never landed in mainline code but were then listed in the binding example by a following commit dc715452e914 ("spi: pl022: use generic DMA slave configuration if possible") and later on they were copy-paste in some board's DT.
Remove the nonexistent properties from the example. Also remove a spaces-only line at the end of the file.
[1] https://lkml.org/lkml/2012/7/9/421
[2] https://lkml.org/lkml/2012/8/21/427
[3] https://lkml.org/lkml/2012/8/21/436
---
To: Mark Brown <[email protected]>
To: Rob Herring <[email protected]>
To: Mark Rutland <[email protected]>
Cc: Viresh Kumar <[email protected]>
Cc: Shiraz Hashim <[email protected]>
Cc: Russell King <[email protected]>
Cc: Brijesh Singh <[email protected]>
Cc: Suravee Suthikulpanit <[email protected]>
Cc: Tom Lendacky <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Ray Jui <[email protected]>
Cc: Scott Branden <[email protected]>
Cc: Jon Mason <[email protected]>
Cc: bcm-kernel-feedback-list at broadcom.com
Cc: linux-spi at vger.kernel.org
Cc: devicetree at vger.kernel.org
Cc: linux-kernel at vger.kernel.org
Cc: linux-arm-kernel at lists.infradead.org
--- Documentation/devicetree/bindings/spi/spi_pl022.txt | 3 --- 1 file changed, 3 deletions(-)
Documentation/devicetree/bindings/spi/spi_pl022.txt +0 -3
@@ -56,9 +56,7 @@ Example: spi-max-frequency = <12000000>; spi-cpol; spi-cpha; - pl022,hierarchy = <0>; pl022,interface = <0>; - pl022,slave-tx-disable; pl022,com-mode = <0x2>; pl022,rx-level-trig = <0>; pl022,tx-level-trig = <0>;
@@ -67,4 +65,3 @@ Example: pl022,duplex = <0>; }; }; -
Signature · 1 line
2.12.0
PATCH 2/4 ARM: SPEAr: DT: Remove nonexistent properties
The properties "pl022,hierarchy" and "pl022,slave-tx-disable" are not documented in DT binding and don't exist in the driver code. They have no effect and can be removed.
---
Cc: Mark Brown <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Mark Rutland <[email protected]>
To: Viresh Kumar <[email protected]>
To: Shiraz Hashim <[email protected]>
Cc: Russell King <[email protected]>
Cc: Brijesh Singh <[email protected]>
Cc: Suravee Suthikulpanit <[email protected]>
Cc: Tom Lendacky <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Ray Jui <[email protected]>
Cc: Scott Branden <[email protected]>
Cc: Jon Mason <[email protected]>
Cc: bcm-kernel-feedback-list at broadcom.com
Cc: linux-spi at vger.kernel.org
Cc: devicetree at vger.kernel.org
Cc: linux-kernel at vger.kernel.org
Cc: linux-arm-kernel at lists.infradead.org
--- arch/arm/boot/dts/spear1310-evb.dts | 6 ------ arch/arm/boot/dts/spear1340-evb.dts | 6 ------ 2 files changed, 12 deletions(-)
arch/arm/boot/dts/spear1310-evb.dts +0 -6
@@ -358,9 +358,7 @@ #size-cells = <0>; spi-max-frequency = <1000000>; spi-cpha; - pl022,hierarchy = <0>; pl022,interface = <0>; - pl022,slave-tx-disable; pl022,com-mode = <0>; pl022,rx-level-trig = <0>; pl022,tx-level-trig = <0>;
@@ -391,9 +389,7 @@ spi-max-frequency = <12000000>; spi-cpol; spi-cpha; - pl022,hierarchy = <0>; pl022,interface = <0>; - pl022,slave-tx-disable; pl022,com-mode = <0x2>; pl022,rx-level-trig = <0>; pl022,tx-level-trig = <0>;
@@ -407,9 +403,7 @@ reg = <2>; spi-max-frequency = <25000000>; spi-cpha; - pl022,hierarchy = <0>; pl022,interface = <0>; - pl022,slave-tx-disable; pl022,com-mode = <0x2>; pl022,rx-level-trig = <0>; pl022,tx-level-trig = <0>;
arch/arm/boot/dts/spear1340-evb.dts +0 -6
@@ -451,9 +451,7 @@ spi-max-frequency = <12000000>; spi-cpol; spi-cpha; - pl022,hierarchy = <0>; pl022,interface = <0>; - pl022,slave-tx-disable; pl022,com-mode = <0x2>; pl022,rx-level-trig = <0>; pl022,tx-level-trig = <0>;
@@ -467,9 +465,7 @@ spi-max-frequency = <1000000>; spi-cpha; reg = <1>; - pl022,hierarchy = <0>; pl022,interface = <0>; - pl022,slave-tx-disable; pl022,com-mode = <0>; pl022,rx-level-trig = <0>; pl022,tx-level-trig = <0>;
@@ -501,9 +497,7 @@ reg = <2>; spi-max-frequency = <25000000>; spi-cpha; - pl022,hierarchy = <0>; pl022,interface = <0>; - pl022,slave-tx-disable; pl022,com-mode = <0x2>; pl022,rx-level-trig = <0>; pl022,tx-level-trig = <0>;
Signature · 1 line
2.12.0
Re: [PATCH 2/4] ARM: SPEAr: DT: Remove nonexistent properties
Quoted 25 lines · Antonio Borneo
The properties "pl022,hierarchy" and "pl022,slave-tx-disable" are not documented in DT binding and don't exist in the driver code. They have no effect and can be removed.
Signed-off-by Antonio Borneo <[email protected]>---
Cc: Mark Brown <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Mark Rutland <[email protected]>
To: Viresh Kumar <[email protected]>
To: Shiraz Hashim <[email protected]>
Cc: Russell King <[email protected]>
Cc: Brijesh Singh <[email protected]>
Cc: Suravee Suthikulpanit <[email protected]>
Cc: Tom Lendacky <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Ray Jui <[email protected]>
Cc: Scott Branden <[email protected]>
Cc: Jon Mason <[email protected]>
Cc: bcm-kernel-feedback-list at broadcom.com
Cc: linux-spi at vger.kernel.org
Cc: devicetree at vger.kernel.org
Cc: linux-kernel at vger.kernel.org
Cc: linux-arm-kernel at lists.infradead.org
Quoted 4 lines
--- arch/arm/boot/dts/spear1310-evb.dts | 6 ------ arch/arm/boot/dts/spear1340-evb.dts | 6 ------ 2 files changed, 12 deletions(-)
Signature · 1 line
viresh
PATCH 3/4 arm64: dts: amd: Remove nonexistent property
In reply to Antonio BorneoThe property "pl022,hierarchy" is not documented in DT binding and doesn't exist in the driver code.
It has no effect and can be removed.
---
Cc: Mark Brown <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Viresh Kumar <[email protected]>
Cc: Shiraz Hashim <[email protected]>
Cc: Russell King <[email protected]>
To: Brijesh Singh <[email protected]>
To: Suravee Suthikulpanit <[email protected]>
To: Tom Lendacky <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Ray Jui <[email protected]>
Cc: Scott Branden <[email protected]>
Cc: Jon Mason <[email protected]>
Cc: bcm-kernel-feedback-list at broadcom.com
Cc: linux-spi at vger.kernel.org
Cc: devicetree at vger.kernel.org
Cc: linux-kernel at vger.kernel.org
Cc: linux-arm-kernel at lists.infradead.org
--- arch/arm64/boot/dts/amd/amd-overdrive-rev-b0.dts | 1 - arch/arm64/boot/dts/amd/amd-overdrive-rev-b1.dts | 1 - arch/arm64/boot/dts/amd/amd-overdrive.dts | 1 - arch/arm64/boot/dts/amd/husky.dts | 1 - 4 files changed, 4 deletions(-)
arch/arm64/boot/dts/amd/amd-overdrive-rev-b0.dts +0 -1
@@ -70,7 +70,6 @@ reg = <0>; spi-max-frequency = <20000000>; voltage-ranges = <3200 3400>; - pl022,hierarchy = <0>; pl022,interface = <0>; pl022,com-mode = <0x0>; pl022,rx-level-trig = <0>;
arch/arm64/boot/dts/amd/amd-overdrive-rev-b1.dts +0 -1
@@ -74,7 +74,6 @@ reg = <0>; spi-max-frequency = <20000000>; voltage-ranges = <3200 3400>; - pl022,hierarchy = <0>; pl022,interface = <0>; pl022,com-mode = <0x0>; pl022,rx-level-trig = <0>;
arch/arm64/boot/dts/amd/amd-overdrive.dts +0 -1
@@ -51,7 +51,6 @@ gpios = <&gpio0 7 0>; interrupt-parent = <&gpio0>; interrupts = <7 3>; - pl022,hierarchy = <0>; pl022,interface = <0>; pl022,com-mode = <0x0>; pl022,rx-level-trig = <0>;
arch/arm64/boot/dts/amd/husky.dts +0 -1
@@ -70,7 +70,6 @@ reg = <0>; spi-max-frequency = <20000000>; voltage-ranges = <3200 3400>; - pl022,hierarchy = <0>; pl022,interface = <0>; pl022,com-mode = <0x0>; pl022,rx-level-trig = <0>;
Signature · 1 line
2.12.0
PATCH 4/4 arm64: dts: NS2: Remove nonexistent properties
In reply to Antonio BorneoThe properties "pl022,hierarchy" and "pl022,slave-tx-disable" are not documented in DT binding and don't exist in the driver code. They have no effect and can be removed.
---
Cc: Mark Brown <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Viresh Kumar <[email protected]>
Cc: Shiraz Hashim <[email protected]>
Cc: Russell King <[email protected]>
Cc: Brijesh Singh <[email protected]>
Cc: Suravee Suthikulpanit <[email protected]>
Cc: Tom Lendacky <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Will Deacon <[email protected]>
To: Ray Jui <[email protected]>
To: Scott Branden <[email protected]>
To: Jon Mason <[email protected]>
Cc: bcm-kernel-feedback-list at broadcom.com
Cc: linux-spi at vger.kernel.org
Cc: devicetree at vger.kernel.org
Cc: linux-kernel at vger.kernel.org
Cc: linux-arm-kernel at lists.infradead.org
--- arch/arm64/boot/dts/broadcom/ns2-svk.dts | 4 ---- 1 file changed, 4 deletions(-)
arch/arm64/boot/dts/broadcom/ns2-svk.dts +0 -4
@@ -113,9 +113,7 @@ spi-max-frequency = <5000000>; spi-cpha = <1>; spi-cpol = <1>; - pl022,hierarchy = <0>; pl022,interface = <0>; - pl022,slave-tx-disable = <0>; pl022,com-mode = <0>; pl022,rx-level-trig = <1>; pl022,tx-level-trig = <1>;
@@ -137,9 +135,7 @@ at25,page-size = <64>; spi-cpha = <1>; spi-cpol = <1>; - pl022,hierarchy = <0>; pl022,interface = <0>; - pl022,slave-tx-disable = <0>; pl022,com-mode = <0>; pl022,rx-level-trig = <1>; pl022,tx-level-trig = <1>;
Signature · 1 line
2.12.0
Re: [PATCH 4/4] arm64: dts: NS2: Remove nonexistent properties
Quoted 6 lines · Antonio Borneo
The properties "pl022,hierarchy" and "pl022,slave-tx-disable" are not documented in DT binding and don't exist in the driver code. They have no effect and can be removed.
Signed-off-by Antonio Borneo <[email protected]>
A quick grep confirms that it is not used in the driver. So, I am fine with this.
Quoted 53 lines
---
Cc: Mark Brown <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Viresh Kumar <[email protected]>
Cc: Shiraz Hashim <[email protected]>
Cc: Russell King <[email protected]>
Cc: Brijesh Singh <[email protected]>
Cc: Suravee Suthikulpanit <[email protected]>
Cc: Tom Lendacky <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Will Deacon <[email protected]>
To: Ray Jui <[email protected]>
To: Scott Branden <[email protected]>
To: Jon Mason <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]--- arch/arm64/boot/dts/broadcom/ns2-svk.dts | 4 ---- 1 file changed, 4 deletions(-)arch/arm64/boot/dts/broadcom/ns2-svk.dts +0
-5@@ -113,9 +113,7 @@ spi-max-frequency = <5000000>; spi-cpha = <1>; spi-cpol = <1>; - pl022,hierarchy = <0>; pl022,interface = <0>; - pl022,slave-tx-disable = <0>; pl022,com-mode = <0>; pl022,rx-level-trig = <1>; pl022,tx-level-trig = <1>;@@ -137,9 +135,7 @@ at25,page-size = <64>; spi-cpha = <1>; spi-cpol = <1>; - pl022,hierarchy = <0>; pl022,interface = <0>; - pl022,slave-tx-disable = <0>; pl022,com-mode = <0>; pl022,rx-level-trig = <1>; pl022,tx-level-trig = <1>; --2.12.0
Quoted 9 lines · Antonio Borneo
The properties "pl022,hierarchy" and "pl022,slave-tx-disable" were initially proposed till patch V4 [1] but then discarded in V5 [2] when the patch set was taken over by another developer, as explained in patch history in [3].
The above properties never landed in mainline code but were then listed in the binding example by a following commitdc715452e914("spi: pl022: use generic DMA slave configuration if possible") and later on they were copy-paste in some board's DT.
Quoted 8 lines
Remove the nonexistent properties from the example. Also remove a spaces-only line at the end of the file.
[1] https://lkml.org/lkml/2012/7/9/421
[2] https://lkml.org/lkml/2012/8/21/427
[3] https://lkml.org/lkml/2012/8/21/436Signed-off-by Antonio Borneo <[email protected]>
For the series:
Mark.
Quoted 22 lines
Documentation/devicetree/bindings/spi/spi_pl022.txt +0
-3@@ -56,9 +56,7 @@ Example: spi-max-frequency = <12000000>; spi-cpol; spi-cpha; - pl022,hierarchy = <0>; pl022,interface = <0>; - pl022,slave-tx-disable; pl022,com-mode = <0x2>; pl022,rx-level-trig = <0>; pl022,tx-level-trig = <0>;@@ -67,4 +65,3 @@ Example: pl022,duplex = <0>; }; }; -Signature · 1 line
2.12.0
Mark Brown
maintainerApplied "spi: pl022: remove nonexistent properties from DT binding example" to the spi tree
In reply to Antonio BorneoThe patch
spi: pl022: remove nonexistent properties from DT binding example
has been applied to the spi tree at
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a 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.
Thanks,
Mark
Quoted 1 line
From
e6a72e057fa3e0ad38ec59c4779647a7bd390a37Mon Sep 17 00:00:00 2001
From: Antonio Borneo <[email protected]>
Date: Mon, 20 Mar 2017 10:57:18 +0100
Subject: [PATCH] spi: pl022: remove nonexistent properties from DT binding
example
The properties "pl022,hierarchy" and "pl022,slave-tx-disable" were initially proposed till patch V4 [1] but then discarded in V5 [2] when the patch set was taken over by another developer, as explained in patch history in [3].
The above properties never landed in mainline code but were then listed in the binding example by a following commit dc715452e914 ("spi: pl022: use generic DMA slave configuration if possible") and later on they were copy-paste in some board's DT.
Remove the nonexistent properties from the example. Also remove a spaces-only line at the end of the file.
[1] https://lkml.org/lkml/2012/7/9/421
[2] https://lkml.org/lkml/2012/8/21/427
[3] https://lkml.org/lkml/2012/8/21/436
--- Documentation/devicetree/bindings/spi/spi_pl022.txt | 3 --- 1 file changed, 3 deletions(-)
Documentation/devicetree/bindings/spi/spi_pl022.txt +0 -3
@@ -56,9 +56,7 @@ Example: spi-max-frequency = <12000000>; spi-cpol; spi-cpha; - pl022,hierarchy = <0>; pl022,interface = <0>; - pl022,slave-tx-disable; pl022,com-mode = <0x2>; pl022,rx-level-trig = <0>; pl022,tx-level-trig = <0>;
@@ -67,4 +65,3 @@ Example: pl022,duplex = <0>; }; }; -
Signature · 1 line
2.11.0