Skip to content

Commit 04afb51

Browse files
Rafał Miłeckiffainelli
authored andcommitted
ARM: dts: BCM5301X: Use updated "spi-gpio" binding properties
Switch away from deprecated properties. This fixes: arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dtb: spi: gpio-sck: False schema does not allow [[6, 7, 0]] From schema: Documentation/devicetree/bindings/spi/spi-gpio.yaml arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dtb: spi: gpio-mosi: False schema does not allow [[6, 4, 0]] From schema: Documentation/devicetree/bindings/spi/spi-gpio.yaml arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dtb: spi: 'sck-gpios' is a required property From schema: Documentation/devicetree/bindings/spi/spi-gpio.yaml arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dtb: spi: Unevaluated properties are not allowed ('gpio-mosi', 'gpio-sck' were unexpected) From schema: Documentation/devicetree/bindings/spi/spi-gpio.yaml Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Link: https://lore.kernel.org/r/20230602151023.8607-1-zajec5@gmail.com Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
1 parent e925743 commit 04afb51

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

arch/arm/boot/dts/bcm4708-buffalo-wzr-1166dhp-common.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
spi {
1717
compatible = "spi-gpio";
1818
num-chipselects = <1>;
19-
gpio-sck = <&chipcommon 7 0>;
20-
gpio-mosi = <&chipcommon 4 0>;
19+
sck-gpios = <&chipcommon 7 0>;
20+
mosi-gpios = <&chipcommon 4 0>;
2121
cs-gpios = <&chipcommon 6 0>;
2222
#address-cells = <1>;
2323
#size-cells = <0>;

arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
spi {
2929
compatible = "spi-gpio";
3030
num-chipselects = <1>;
31-
gpio-sck = <&chipcommon 7 0>;
32-
gpio-mosi = <&chipcommon 4 0>;
31+
sck-gpios = <&chipcommon 7 0>;
32+
mosi-gpios = <&chipcommon 4 0>;
3333
cs-gpios = <&chipcommon 6 0>;
3434
#address-cells = <1>;
3535
#size-cells = <0>;

arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
spi {
2929
compatible = "spi-gpio";
3030
num-chipselects = <1>;
31-
gpio-sck = <&chipcommon 7 0>;
32-
gpio-mosi = <&chipcommon 4 0>;
31+
sck-gpios = <&chipcommon 7 0>;
32+
mosi-gpios = <&chipcommon 4 0>;
3333
cs-gpios = <&chipcommon 6 0>;
3434
#address-cells = <1>;
3535
#size-cells = <0>;

arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
spi {
2929
compatible = "spi-gpio";
3030
num-chipselects = <1>;
31-
gpio-sck = <&chipcommon 7 0>;
32-
gpio-mosi = <&chipcommon 4 0>;
31+
sck-gpios = <&chipcommon 7 0>;
32+
mosi-gpios = <&chipcommon 4 0>;
3333
cs-gpios = <&chipcommon 6 0>;
3434
#address-cells = <1>;
3535
#size-cells = <0>;

0 commit comments

Comments
 (0)