On Thu, Feb 27, 2025 at 05:58:02PM +0100, Marek Vasut wrote:
> The instance of the GPU populated in Freescale i.MX95 does require
> release from reset by writing into a single GPUMIX block controller
> GPURESET register bit 0. Implement support for this reset register.

Reviewed-by: Frank Li <[email protected]>

>
> Signed-off-by: Marek Vasut <[email protected]>
> ---
> Cc: Boris Brezillon <[email protected]>
> Cc: Conor Dooley <[email protected]>
> Cc: David Airlie <[email protected]>
> Cc: Fabio Estevam <[email protected]>
> Cc: Krzysztof Kozlowski <[email protected]>
> Cc: Liviu Dudau <[email protected]>
> Cc: Maarten Lankhorst <[email protected]>
> Cc: Maxime Ripard <[email protected]>
> Cc: Pengutronix Kernel Team <[email protected]>
> Cc: Philipp Zabel <[email protected]>
> Cc: Rob Herring <[email protected]>
> Cc: Sascha Hauer <[email protected]>
> Cc: Sebastian Reichel <[email protected]>
> Cc: Shawn Guo <[email protected]>
> Cc: Simona Vetter <[email protected]>
> Cc: Steven Price <[email protected]>
> Cc: Thomas Zimmermann <[email protected]>
> Cc: [email protected]
> Cc: [email protected]
> Cc: [email protected]
> Cc: [email protected]
> ---
>  drivers/reset/reset-simple.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/drivers/reset/reset-simple.c b/drivers/reset/reset-simple.c
> index 2760678398308..1415a941fd6eb 100644
> --- a/drivers/reset/reset-simple.c
> +++ b/drivers/reset/reset-simple.c
> @@ -133,9 +133,17 @@ static const struct reset_simple_devdata 
> reset_simple_active_low = {
>       .status_active_low = true,
>  };
>
> +static const struct reset_simple_devdata reset_simple_fsl_imx95_gpu_blk_ctrl 
> = {
> +     .reg_offset = 0x8,
> +     .active_low = true,
> +     .status_active_low = true,
> +};
> +
>  static const struct of_device_id reset_simple_dt_ids[] = {
>       { .compatible = "altr,stratix10-rst-mgr",
>               .data = &reset_simple_socfpga },
> +     { .compatible = "fsl,imx95-gpu-blk-ctrl",
> +             .data = &reset_simple_fsl_imx95_gpu_blk_ctrl },
>       { .compatible = "st,stm32-rcc", },
>       { .compatible = "allwinner,sun6i-a31-clock-reset",
>               .data = &reset_simple_active_low },
> --
> 2.47.2
>

Reply via email to