Hi Matthias,

On Mon, Aug 24, 2020 at 6:10 AM Matthias Schiffer
<[email protected]> wrote:

> diff --git a/arch/arm/boot/dts/imx6qdl-tqma6.dtsi 
> b/arch/arm/boot/dts/imx6qdl-tqma6.dtsi
> index 9513020ddd1a..7aaae83c1fae 100644
> --- a/arch/arm/boot/dts/imx6qdl-tqma6.dtsi
> +++ b/arch/arm/boot/dts/imx6qdl-tqma6.dtsi
> @@ -20,7 +20,7 @@
>  &ecspi1 {
>         pinctrl-names = "default";
>         pinctrl-0 = <&pinctrl_ecspi1>;
> -       fsl,spi-num-chipselects = <1>;
> +       num-cs = <1>;

You could simply remove fsl,spi-num-chipselects without passing num-cs.

The spi core is able to count the number of chipselects passed via
cs-gpios in the device tree.

Reply via email to