diff mbox series

[1/2] ARM: zynq: Convert at25 binding to new description on zc770-xm013

Message ID ed1f5acb31b373a5474fdfbb0aa648d2341390ad.1622110752.git.michal.simek@xilinx.com
State Accepted
Commit 742fdd1e6b4e94832e1cc3751a077babbaea090e
Delegated to: Michal Simek
Headers show
Series [1/2] ARM: zynq: Convert at25 binding to new description on zc770-xm013 | expand

Commit Message

Michal Simek May 27, 2021, 10:19 a.m. UTC
The Linux commit f8f79fa6bb25 ("dt-bindings: at25: convert the binding
document to yaml") converted binding to yaml and 3 deprecated properties
pop up.

The patch is fixing these warnings:
.../zynq-zc770-xm013.dt.yaml: eeprom@2: 'pagesize' is a required property
.../zynq-zc770-xm013.dt.yaml: eeprom@2: 'size' is a required property
.../zynq-zc770-xm013.dt.yaml: eeprom@2: 'address-width' is a required property
>From schema: .../Documentation/devicetree/bindings/eeprom/at25.yaml

by converting them to new binding.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/be2c1125d98386033e182012eb08986924707a76.1606397101.git.michal.simek@xilinx.com
---

 arch/arm/dts/zynq-zc770-xm013.dts | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

Comments

Michal Simek May 31, 2021, 8:21 a.m. UTC | #1
čt 27. 5. 2021 v 12:19 odesílatel Michal Simek <michal.simek@xilinx.com> napsal:
>
> The Linux commit f8f79fa6bb25 ("dt-bindings: at25: convert the binding
> document to yaml") converted binding to yaml and 3 deprecated properties
> pop up.
>
> The patch is fixing these warnings:
> .../zynq-zc770-xm013.dt.yaml: eeprom@2: 'pagesize' is a required property
> .../zynq-zc770-xm013.dt.yaml: eeprom@2: 'size' is a required property
> .../zynq-zc770-xm013.dt.yaml: eeprom@2: 'address-width' is a required property
> >From schema: .../Documentation/devicetree/bindings/eeprom/at25.yaml
>
> by converting them to new binding.
>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> Link: https://lore.kernel.org/r/be2c1125d98386033e182012eb08986924707a76.1606397101.git.michal.simek@xilinx.com
> ---
>
>  arch/arm/dts/zynq-zc770-xm013.dts | 7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm/dts/zynq-zc770-xm013.dts b/arch/arm/dts/zynq-zc770-xm013.dts
> index bdf0c2f956d1..7218ee3ad8ef 100644
> --- a/arch/arm/dts/zynq-zc770-xm013.dts
> +++ b/arch/arm/dts/zynq-zc770-xm013.dts
> @@ -68,13 +68,12 @@
>         num-cs = <4>;
>         is-decoded-cs = <0>;
>         eeprom: eeprom@2 {
> -               at25,byte-len = <8192>;
> -               at25,addr-mode = <2>;
> -               at25,page-size = <32>;
> -
>                 compatible = "atmel,at25";
>                 reg = <2>;
>                 spi-max-frequency = <1000000>;
> +               size = <8192>;
> +               address-width = <16>;
> +               pagesize = <32>;
>         };
>  };
>
> --
> 2.31.1
>

Applied.
M
diff mbox series

Patch

diff --git a/arch/arm/dts/zynq-zc770-xm013.dts b/arch/arm/dts/zynq-zc770-xm013.dts
index bdf0c2f956d1..7218ee3ad8ef 100644
--- a/arch/arm/dts/zynq-zc770-xm013.dts
+++ b/arch/arm/dts/zynq-zc770-xm013.dts
@@ -68,13 +68,12 @@ 
 	num-cs = <4>;
 	is-decoded-cs = <0>;
 	eeprom: eeprom@2 {
-		at25,byte-len = <8192>;
-		at25,addr-mode = <2>;
-		at25,page-size = <32>;
-
 		compatible = "atmel,at25";
 		reg = <2>;
 		spi-max-frequency = <1000000>;
+		size = <8192>;
+		address-width = <16>;
+		pagesize = <32>;
 	};
 };