[PATCH V3 1/4] dt-bindings: power: Add defines for i.MX8MM BLK-CTL power domains
Abel Vesa
abel.vesa at nxp.com
Thu May 6 00:51:46 PDT 2021
On 21-05-06 12:15:52, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan at nxp.com>
>
> Adding the defines for i.MX8MM BLK-CTL power domains.
>
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
> ---
> include/dt-bindings/power/imx8mm-power.h | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/include/dt-bindings/power/imx8mm-power.h b/include/dt-bindings/power/imx8mm-power.h
> index fc9c2e16aadc..510e383d1953 100644
> --- a/include/dt-bindings/power/imx8mm-power.h
> +++ b/include/dt-bindings/power/imx8mm-power.h
> @@ -19,4 +19,15 @@
> #define IMX8MM_POWER_DOMAIN_DISPMIX 10
> #define IMX8MM_POWER_DOMAIN_MIPI 11
>
> +#define IMX8MM_BLK_CTL_G2_PD 0
> +#define IMX8MM_BLK_CTL_G1_PD 1
> +#define IMX8MM_BLK_CTL_H1_PD 2
> +#define IMX8MM_BLK_CTL_MAX_PD 3
Put the PD before the G2, like so:
IMX8MM_BLK_CTL_PD_G2
Same for the other ones.
> +
> +#define IMX8MM_BLK_CTL_DISPMIX_CSI_BRIDGE 0
> +#define IMX8MM_BLK_CTL_DISPMIX_LCDIF 1
> +#define IMX8MM_BLK_CTL_DISPMIX_MIPI_DSI 2
> +#define IMX8MM_BLK_CTL_DISPMIX_MIPI_CSI 3
> +#define IMX8MM_BLK_CTL_DISPMIX_MAX_PD 4
> +
> #endif
> --
> 2.30.0
>
More information about the linux-arm-kernel
mailing list