Re: [PATCH v9 04/15] stm32mp1: dk2: Add a node for the FWU metadata device

2022-09-06 Thread Etienne Carriere
On Fri, 26 Aug 2022 at 11:57, Sughosh Ganu  wrote:
>
> The FWU metadata structure is accessed through the driver model
> interface. On the stm32mp157c-dk2 board, the FWU metadata is stored on
> the uSD card. Add the fwu-mdata node on the u-boot specifc dtsi file
> for accessing the metadata structure.
>
> Signed-off-by: Sughosh Ganu 
> Reviewed-by: Patrick Delaunay 
> Acked-by: Ilias Apalodimas 
> ---
> Changes since V8: None

Acked-by: Etienne Carriere 


>
>  arch/arm/dts/stm32mp157c-dk2-u-boot.dtsi | 7 +++
>  1 file changed, 7 insertions(+)
>
> diff --git a/arch/arm/dts/stm32mp157c-dk2-u-boot.dtsi 
> b/arch/arm/dts/stm32mp157c-dk2-u-boot.dtsi
> index 06ef3a4095..24f86209db 100644
> --- a/arch/arm/dts/stm32mp157c-dk2-u-boot.dtsi
> +++ b/arch/arm/dts/stm32mp157c-dk2-u-boot.dtsi
> @@ -4,3 +4,10 @@
>   */
>
>  #include "stm32mp157a-dk1-u-boot.dtsi"
> +
> +/ {
> +   fwu-mdata {
> +   compatible = "u-boot,fwu-mdata-gpt";
> +   fwu-mdata-store = <&sdmmc1>;
> +   };
> +};
> --
> 2.34.1
>


[PATCH v9 04/15] stm32mp1: dk2: Add a node for the FWU metadata device

2022-08-26 Thread Sughosh Ganu
The FWU metadata structure is accessed through the driver model
interface. On the stm32mp157c-dk2 board, the FWU metadata is stored on
the uSD card. Add the fwu-mdata node on the u-boot specifc dtsi file
for accessing the metadata structure.

Signed-off-by: Sughosh Ganu 
Reviewed-by: Patrick Delaunay 
Acked-by: Ilias Apalodimas 
---
Changes since V8: None

 arch/arm/dts/stm32mp157c-dk2-u-boot.dtsi | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/dts/stm32mp157c-dk2-u-boot.dtsi 
b/arch/arm/dts/stm32mp157c-dk2-u-boot.dtsi
index 06ef3a4095..24f86209db 100644
--- a/arch/arm/dts/stm32mp157c-dk2-u-boot.dtsi
+++ b/arch/arm/dts/stm32mp157c-dk2-u-boot.dtsi
@@ -4,3 +4,10 @@
  */
 
 #include "stm32mp157a-dk1-u-boot.dtsi"
+
+/ {
+   fwu-mdata {
+   compatible = "u-boot,fwu-mdata-gpt";
+   fwu-mdata-store = <&sdmmc1>;
+   };
+};
-- 
2.34.1