Re: [PATCH v5 01/23] dt/bindings: Add bindings for FWU Metadata storage device
On Thu, 16 Jun 2022 at 19:04, Michal Simek wrote: > > čt 9. 6. 2022 v 14:30 odesílatel Sughosh Ganu > napsal: > > > > Add bindings needed for accessing the FWU metadata partitions. These > > include the compatible string which point to the access method and the > > actual device which stores the FWU metadata. > > > > The current patch adds basic bindings needed for accessing the > > metadata structure on GPT partitioned block devices. > > > > Signed-off-by: Sughosh Ganu > > --- > > .../firmware/fwu-mdata.txt | 18 ++ > > Why is this in txt file when mtd one is in yaml. > doc/device-tree-bindings/firmware/uboot,fwu-mdata-mtd.yaml The above binding was written by me in txt, while the mtd one is authored by Masami Hiramatsu. I will change this to yaml in the next version. -sughosh > > Thanks, > Michal > > -- > 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
Re: [PATCH v5 01/23] dt/bindings: Add bindings for FWU Metadata storage device
čt 9. 6. 2022 v 14:30 odesílatel Sughosh Ganu napsal: > > Add bindings needed for accessing the FWU metadata partitions. These > include the compatible string which point to the access method and the > actual device which stores the FWU metadata. > > The current patch adds basic bindings needed for accessing the > metadata structure on GPT partitioned block devices. > > Signed-off-by: Sughosh Ganu > --- > .../firmware/fwu-mdata.txt | 18 ++ Why is this in txt file when mtd one is in yaml. doc/device-tree-bindings/firmware/uboot,fwu-mdata-mtd.yaml Thanks, Michal -- 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
[PATCH v5 01/23] dt/bindings: Add bindings for FWU Metadata storage device
Add bindings needed for accessing the FWU metadata partitions. These include the compatible string which point to the access method and the actual device which stores the FWU metadata. The current patch adds basic bindings needed for accessing the metadata structure on GPT partitioned block devices. Signed-off-by: Sughosh Ganu --- .../firmware/fwu-mdata.txt | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 doc/device-tree-bindings/firmware/fwu-mdata.txt diff --git a/doc/device-tree-bindings/firmware/fwu-mdata.txt b/doc/device-tree-bindings/firmware/fwu-mdata.txt new file mode 100644 index 00..2d8ed056a5 --- /dev/null +++ b/doc/device-tree-bindings/firmware/fwu-mdata.txt @@ -0,0 +1,18 @@ +FWU Metadata Access Devicetree Binding + +The FWU Multi Bank Update feature uses a metadata structure, stored on +a separate partition for keeping information on the set of updatable +images. The device tree node provides information on the storage +device that contains the FWU metadata. + +Required properties : + +- compatible : "u-boot,fwu-mdata-gpt"; +- fwu-mdata-store : should point to the storage device which contains + the FWU metadata partition. + +Example : + fwu-mdata { + compatible = "u-boot,fwu-mdata-gpt"; + fwu-mdata-store = <&sdmmc1>; + }; -- 2.25.1