* [PATCH 1/2] ARM: zynq: Convert at25 binding to new description on zc770-xm013
@ 2021-05-27 10:19 Michal Simek
2021-05-27 10:19 ` [PATCH 2/2] ARM: zynq: Fix OCM mapping to be aligned with binding on zc702 Michal Simek
2021-05-31 8:21 ` [PATCH 1/2] ARM: zynq: Convert at25 binding to new description on zc770-xm013 Michal Simek
0 siblings, 2 replies; 4+ messages in thread
From: Michal Simek @ 2021-05-27 10:19 UTC (permalink / raw)
To: u-boot, git; +Cc: Michal Simek
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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] ARM: zynq: Fix OCM mapping to be aligned with binding on zc702
2021-05-27 10:19 [PATCH 1/2] ARM: zynq: Convert at25 binding to new description on zc770-xm013 Michal Simek
@ 2021-05-27 10:19 ` Michal Simek
2021-05-31 8:20 ` Michal Simek
2021-05-31 8:21 ` [PATCH 1/2] ARM: zynq: Convert at25 binding to new description on zc770-xm013 Michal Simek
1 sibling, 1 reply; 4+ messages in thread
From: Michal Simek @ 2021-05-27 10:19 UTC (permalink / raw)
To: u-boot, git; +Cc: Michal Simek
The Linux commit f69629919942 ("dt-bindings: sram: Convert SRAM bindings to
json-schema") converted binding to yaml and some missing required
properties started to be reported. Align binding based on it.
The patch is fixing these warnings:
.../zynq-zc702.dt.yaml: sram@fffc0000: '#address-cells' is a required property
.../zynq-zc702.dt.yaml: sram@fffc0000: '#size-cells' is a required property
.../zynq-zc702.dt.yaml: sram@fffc0000: 'ranges' is a required property
>From schema: .../Documentation/devicetree/bindings/sram/sram.yaml
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/87c02786ccd8d7827827a9d95a8737bb300caeb0.1606397101.git.michal.simek@xilinx.com
---
arch/arm/dts/zynq-zc702.dts | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/dts/zynq-zc702.dts b/arch/arm/dts/zynq-zc702.dts
index e45eba3d90b3..4474f4bfd7b2 100644
--- a/arch/arm/dts/zynq-zc702.dts
+++ b/arch/arm/dts/zynq-zc702.dts
@@ -68,6 +68,12 @@
ocm: sram@fffc0000 {
compatible = "mmio-sram";
reg = <0xfffc0000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges = <0 0xfffc0000 0x10000>;
+ ocm-sram@0 {
+ reg = <0x0 0x10000>;
+ };
};
};
--
2.31.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 2/2] ARM: zynq: Fix OCM mapping to be aligned with binding on zc702
2021-05-27 10:19 ` [PATCH 2/2] ARM: zynq: Fix OCM mapping to be aligned with binding on zc702 Michal Simek
@ 2021-05-31 8:20 ` Michal Simek
0 siblings, 0 replies; 4+ messages in thread
From: Michal Simek @ 2021-05-31 8:20 UTC (permalink / raw)
To: U-Boot, git
čt 27. 5. 2021 v 12:19 odesílatel Michal Simek <michal.simek@xilinx.com> napsal:
>
> The Linux commit f69629919942 ("dt-bindings: sram: Convert SRAM bindings to
> json-schema") converted binding to yaml and some missing required
> properties started to be reported. Align binding based on it.
>
> The patch is fixing these warnings:
> .../zynq-zc702.dt.yaml: sram@fffc0000: '#address-cells' is a required property
> .../zynq-zc702.dt.yaml: sram@fffc0000: '#size-cells' is a required property
> .../zynq-zc702.dt.yaml: sram@fffc0000: 'ranges' is a required property
> >From schema: .../Documentation/devicetree/bindings/sram/sram.yaml
>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> Link: https://lore.kernel.org/r/87c02786ccd8d7827827a9d95a8737bb300caeb0.1606397101.git.michal.simek@xilinx.com
> ---
>
> arch/arm/dts/zynq-zc702.dts | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm/dts/zynq-zc702.dts b/arch/arm/dts/zynq-zc702.dts
> index e45eba3d90b3..4474f4bfd7b2 100644
> --- a/arch/arm/dts/zynq-zc702.dts
> +++ b/arch/arm/dts/zynq-zc702.dts
> @@ -68,6 +68,12 @@
> ocm: sram@fffc0000 {
> compatible = "mmio-sram";
> reg = <0xfffc0000 0x10000>;
> + #address-cells = <1>;
> + #size-cells = <1>;
> + ranges = <0 0xfffc0000 0x10000>;
> + ocm-sram@0 {
> + reg = <0x0 0x10000>;
> + };
> };
> };
>
> --
> 2.31.1
>
Applied.
M
--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] ARM: zynq: Convert at25 binding to new description on zc770-xm013
2021-05-27 10:19 [PATCH 1/2] ARM: zynq: Convert at25 binding to new description on zc770-xm013 Michal Simek
2021-05-27 10:19 ` [PATCH 2/2] ARM: zynq: Fix OCM mapping to be aligned with binding on zc702 Michal Simek
@ 2021-05-31 8:21 ` Michal Simek
1 sibling, 0 replies; 4+ messages in thread
From: Michal Simek @ 2021-05-31 8:21 UTC (permalink / raw)
To: U-Boot, git
č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
--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-05-31 8:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-27 10:19 [PATCH 1/2] ARM: zynq: Convert at25 binding to new description on zc770-xm013 Michal Simek
2021-05-27 10:19 ` [PATCH 2/2] ARM: zynq: Fix OCM mapping to be aligned with binding on zc702 Michal Simek
2021-05-31 8:20 ` Michal Simek
2021-05-31 8:21 ` [PATCH 1/2] ARM: zynq: Convert at25 binding to new description on zc770-xm013 Michal Simek
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.