Re: [PATCH v9 01/15] dt/bindings: Add bindings for GPT based FWU Metadata storage device

2022-09-06 Thread Etienne Carriere
On Fri, 26 Aug 2022 at 11:57, Sughosh Ganu  wrote:
>
> 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 
> Reviewed-by: Heinrich Schuchardt 
> ---
> Changes since V8: None
>
>  .../firmware/fwu-mdata-gpt.yaml   | 32 +++
>  1 file changed, 32 insertions(+)
>  create mode 100644 doc/device-tree-bindings/firmware/fwu-mdata-gpt.yaml
>

Acked-by: Etienne Carriere 

> diff --git a/doc/device-tree-bindings/firmware/fwu-mdata-gpt.yaml 
> b/doc/device-tree-bindings/firmware/fwu-mdata-gpt.yaml
> new file mode 100644
> index 00..0735191ff1
> --- /dev/null
> +++ b/doc/device-tree-bindings/firmware/fwu-mdata-gpt.yaml
> @@ -0,0 +1,32 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/firmware/fwu-mdata-gpt.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: FWU metadata on device with GPT partitioned layout
> +
> +maintainers:
> + - Sughosh Ganu 
> +
> +properties:
> +  compatible:
> +items:
> +  - const: u-boot,fwu-mdata-gpt
> +
> +  fwu-mdata-store:
> +maxItems: 1
> +description: Phandle of the device which contains the FWU medatata 
> partition.
> +
> +required:
> +  - compatible
> +  - fwu-mdata-store
> +
> +additionalProperties: false
> +
> +examples:
> +  - |
> +fwu-mdata {
> +compatible = "u-boot,fwu-mdata-gpt";
> +fwu-mdata-store = <>;
> +};
> --
> 2.34.1
>


Re: [PATCH v9 01/15] dt/bindings: Add bindings for GPT based FWU Metadata storage device

2022-09-04 Thread Ilias Apalodimas
On Fri, Aug 26, 2022 at 03:27:02PM +0530, Sughosh Ganu wrote:
> 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 
> Reviewed-by: Heinrich Schuchardt 
> ---
> Changes since V8: None
> 
>  .../firmware/fwu-mdata-gpt.yaml   | 32 +++
>  1 file changed, 32 insertions(+)
>  create mode 100644 doc/device-tree-bindings/firmware/fwu-mdata-gpt.yaml
> 
> diff --git a/doc/device-tree-bindings/firmware/fwu-mdata-gpt.yaml 
> b/doc/device-tree-bindings/firmware/fwu-mdata-gpt.yaml
> new file mode 100644
> index 00..0735191ff1
> --- /dev/null
> +++ b/doc/device-tree-bindings/firmware/fwu-mdata-gpt.yaml
> @@ -0,0 +1,32 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/firmware/fwu-mdata-gpt.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: FWU metadata on device with GPT partitioned layout
> +
> +maintainers:
> + - Sughosh Ganu 
> +
> +properties:
> +  compatible:
> +items:
> +  - const: u-boot,fwu-mdata-gpt
> +
> +  fwu-mdata-store:
> +maxItems: 1
> +description: Phandle of the device which contains the FWU medatata 
> partition.
> +
> +required:
> +  - compatible
> +  - fwu-mdata-store
> +
> +additionalProperties: false
> +
> +examples:
> +  - |
> +fwu-mdata {
> +compatible = "u-boot,fwu-mdata-gpt";
> +fwu-mdata-store = <>;
> +};
> -- 
> 2.34.1
> 

Reviewed-by: Ilias Apalodimas 


[PATCH v9 01/15] dt/bindings: Add bindings for GPT based FWU Metadata storage device

2022-08-26 Thread Sughosh Ganu
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 
Reviewed-by: Heinrich Schuchardt 
---
Changes since V8: None

 .../firmware/fwu-mdata-gpt.yaml   | 32 +++
 1 file changed, 32 insertions(+)
 create mode 100644 doc/device-tree-bindings/firmware/fwu-mdata-gpt.yaml

diff --git a/doc/device-tree-bindings/firmware/fwu-mdata-gpt.yaml 
b/doc/device-tree-bindings/firmware/fwu-mdata-gpt.yaml
new file mode 100644
index 00..0735191ff1
--- /dev/null
+++ b/doc/device-tree-bindings/firmware/fwu-mdata-gpt.yaml
@@ -0,0 +1,32 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/firmware/fwu-mdata-gpt.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: FWU metadata on device with GPT partitioned layout
+
+maintainers:
+ - Sughosh Ganu 
+
+properties:
+  compatible:
+items:
+  - const: u-boot,fwu-mdata-gpt
+
+  fwu-mdata-store:
+maxItems: 1
+description: Phandle of the device which contains the FWU medatata 
partition.
+
+required:
+  - compatible
+  - fwu-mdata-store
+
+additionalProperties: false
+
+examples:
+  - |
+fwu-mdata {
+compatible = "u-boot,fwu-mdata-gpt";
+fwu-mdata-store = <>;
+};
-- 
2.34.1