Re: [PATCH] ARM: dts: pxa300-raumfeld: Replace deprecated spi-gpio properties

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/16/23 15:16, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@xxxxxxx>
> 
> As stated in Documentation/devicetree/bindings/spi/spi-gpio.yaml,
> 'gpio-miso', 'gpio-mosi' and 'gpio-sck' are deprecated properties.
> 
> Use the recommeded 'miso-gpios', 'mosi-gpios' and 'sck-gpios' instead.
> 
> Signed-off-by: Fabio Estevam <festevam@xxxxxxx>

Reviewed-by: Daniel Mack <daniel@xxxxxxxxxx>

> ---
>  arch/arm/boot/dts/pxa300-raumfeld-common.dtsi | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/pxa300-raumfeld-common.dtsi b/arch/arm/boot/dts/pxa300-raumfeld-common.dtsi
> index 147c99191dc2..5e93f315588a 100644
> --- a/arch/arm/boot/dts/pxa300-raumfeld-common.dtsi
> +++ b/arch/arm/boot/dts/pxa300-raumfeld-common.dtsi
> @@ -74,9 +74,9 @@ spi: spi {
>  		#size-cells = <0>;
>  		pinctrl-names = "default";
>  		pinctrl-0 = <&spi_pins>;
> -		gpio-sck = <&gpio 95 GPIO_ACTIVE_HIGH>;
> -		gpio-miso = <&gpio 98 GPIO_ACTIVE_HIGH>;
> -		gpio-mosi = <&gpio 97 GPIO_ACTIVE_HIGH>;
> +		sck-gpios = <&gpio 95 GPIO_ACTIVE_HIGH>;
> +		miso-gpios = <&gpio 98 GPIO_ACTIVE_HIGH>;
> +		mosi-gpios = <&gpio 97 GPIO_ACTIVE_HIGH>;
>  		cs-gpios = <
>  			&gpio 34 GPIO_ACTIVE_HIGH
>  			&gpio 125 GPIO_ACTIVE_HIGH




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux