mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-18 17:23:09 +00:00
2e760f180d
Add i.MX8MP power domain handling into the driver. This is based on the Linux GPCv2 driver state which is soon to be in Linux next. Tested-By: Tim Harvey <tharvey@gateworks.com> #imx8mp-venice-gw74xx Signed-off-by: Marek Vasut <marex@denx.de> Cc: Fabio Estevam <festevam@gmail.com> Cc: Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de>
46 lines
1.6 KiB
C
46 lines
1.6 KiB
C
/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
|
|
/*
|
|
* Copyright (C) 2020 Pengutronix, Sascha Hauer <kernel@pengutronix.de>
|
|
*/
|
|
|
|
#ifndef __DT_BINDINGS_IMX8MP_POWER_DOMAIN_POWER_H__
|
|
#define __DT_BINDINGS_IMX8MP_POWER_DOMAIN_POWER_H__
|
|
|
|
#define IMX8MP_POWER_DOMAIN_MIPI_PHY1 0
|
|
#define IMX8MP_POWER_DOMAIN_PCIE_PHY 1
|
|
#define IMX8MP_POWER_DOMAIN_USB1_PHY 2
|
|
#define IMX8MP_POWER_DOMAIN_USB2_PHY 3
|
|
#define IMX8MP_POWER_DOMAIN_MLMIX 4
|
|
#define IMX8MP_POWER_DOMAIN_AUDIOMIX 5
|
|
#define IMX8MP_POWER_DOMAIN_GPU2D 6
|
|
#define IMX8MP_POWER_DOMAIN_GPUMIX 7
|
|
#define IMX8MP_POWER_DOMAIN_VPUMIX 8
|
|
#define IMX8MP_POWER_DOMAIN_GPU3D 9
|
|
#define IMX8MP_POWER_DOMAIN_MEDIAMIX 10
|
|
#define IMX8MP_POWER_DOMAIN_VPU_G1 11
|
|
#define IMX8MP_POWER_DOMAIN_VPU_G2 12
|
|
#define IMX8MP_POWER_DOMAIN_VPU_VC8000E 13
|
|
#define IMX8MP_POWER_DOMAIN_HDMIMIX 14
|
|
#define IMX8MP_POWER_DOMAIN_HDMI_PHY 15
|
|
#define IMX8MP_POWER_DOMAIN_MIPI_PHY2 16
|
|
#define IMX8MP_POWER_DOMAIN_HSIOMIX 17
|
|
#define IMX8MP_POWER_DOMAIN_MEDIAMIX_ISPDWP 18
|
|
|
|
#define IMX8MP_HSIOBLK_PD_USB 0
|
|
#define IMX8MP_HSIOBLK_PD_USB_PHY1 1
|
|
#define IMX8MP_HSIOBLK_PD_USB_PHY2 2
|
|
#define IMX8MP_HSIOBLK_PD_PCIE 3
|
|
#define IMX8MP_HSIOBLK_PD_PCIE_PHY 4
|
|
|
|
#define IMX8MP_MEDIABLK_PD_MIPI_DSI_1 0
|
|
#define IMX8MP_MEDIABLK_PD_MIPI_CSI2_1 1
|
|
#define IMX8MP_MEDIABLK_PD_LCDIF_1 2
|
|
#define IMX8MP_MEDIABLK_PD_ISI 3
|
|
#define IMX8MP_MEDIABLK_PD_MIPI_CSI2_2 4
|
|
#define IMX8MP_MEDIABLK_PD_LCDIF_2 5
|
|
#define IMX8MP_MEDIABLK_PD_ISP2 6
|
|
#define IMX8MP_MEDIABLK_PD_ISP1 7
|
|
#define IMX8MP_MEDIABLK_PD_DWE 8
|
|
#define IMX8MP_MEDIABLK_PD_MIPI_DSI_2 9
|
|
|
|
#endif
|