Skip to content

Commit

Permalink
arm64: dts: fsl-ls1043a-rdb: use common spi-cs-setup(hold)-delay-ns
Browse files Browse the repository at this point in the history
Use SPI common properties 'spi-cs-setup-delay-ns' and
'spi-cs-hold-delay-ns', mark private properties 'fsl,spi-cs-sck-delay'
and 'fsl,spi-sck-cs-delay' as deprecated.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
  • Loading branch information
Frank Li authored and Shawn Guo committed Jul 1, 2024
1 parent 16d41d9 commit 227b474
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@
compatible = "n25q128a13", "jedec,spi-nor"; /* 16MB */
reg = <0>;
spi-max-frequency = <1000000>; /* input clock */
/*
* Standard CS timing properties replace the deprecated vendor
* variants below.
*/
spi-cs-setup-delay-ns = <100>;
spi-cs-hold-delay-ns = <100>;
fsl,spi-cs-sck-delay = <100>;
fsl,spi-sck-cs-delay = <100>;
};
Expand All @@ -112,6 +118,12 @@
compatible = "maxim,ds26522";
reg = <2>;
spi-max-frequency = <2000000>;
/*
* Standard CS timing properties replace the deprecated vendor
* variants below.
*/
spi-cs-setup-delay-ns = <100>;
spi-cs-hold-delay-ns = <50>;
fsl,spi-cs-sck-delay = <100>;
fsl,spi-sck-cs-delay = <50>;
};
Expand All @@ -120,6 +132,12 @@
compatible = "maxim,ds26522";
reg = <3>;
spi-max-frequency = <2000000>;
/*
* Standard CS timing properties replace the deprecated vendor
* variants below.
*/
spi-cs-setup-delay-ns = <100>;
spi-cs-hold-delay-ns = <50>;
fsl,spi-cs-sck-delay = <100>;
fsl,spi-sck-cs-delay = <50>;
};
Expand Down

0 comments on commit 227b474

Please sign in to comment.