Commit ae88c9e7 authored by Leonard Crestez's avatar Leonard Crestez Committed by Shawn Guo

ARM: dts: imx6sx: Add DISPLAY power domain support

This was implemented in the driver but not actually defined and
referenced in dts. This makes it always on.

From reference manual in section "10.4.1.4.1 Power Distribution":

"Display domain - The DISPLAY domain contains GIS, CSI, PXP, LCDIF,
PCIe, DCIC, and LDB. It is supplied by internal regulator."

The current pd_pcie is actually only for PCIE_PHY, the PCIE ip block is
actually inside the DISPLAY domain. Handle this by adding the pcie node
in both power domains.
Signed-off-by: default avatarLeonard Crestez <leonard.crestez@nxp.com>
Acked-by: default avatarLucas Stach <l.stach@pengutronix.de>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 0d422e67
...@@ -785,6 +785,18 @@ pd_pu: power-domain@1 { ...@@ -785,6 +785,18 @@ pd_pu: power-domain@1 {
clocks = <&clks IMX6SX_CLK_GPU>; clocks = <&clks IMX6SX_CLK_GPU>;
}; };
pd_disp: power-domain@2 {
reg = <2>;
#power-domain-cells = <0>;
clocks = <&clks IMX6SX_CLK_PXP_AXI>,
<&clks IMX6SX_CLK_DISPLAY_AXI>,
<&clks IMX6SX_CLK_LCDIF1_PIX>,
<&clks IMX6SX_CLK_LCDIF_APB>,
<&clks IMX6SX_CLK_LCDIF2_PIX>,
<&clks IMX6SX_CLK_CSI>,
<&clks IMX6SX_CLK_VADC>;
};
pd_pci: power-domain@3 { pd_pci: power-domain@3 {
reg = <3>; reg = <3>;
#power-domain-cells = <0>; #power-domain-cells = <0>;
...@@ -1205,6 +1217,7 @@ pxp: pxp@2218000 { ...@@ -1205,6 +1217,7 @@ pxp: pxp@2218000 {
interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clks IMX6SX_CLK_PXP_AXI>; clocks = <&clks IMX6SX_CLK_PXP_AXI>;
clock-names = "axi"; clock-names = "axi";
power-domains = <&pd_disp>;
status = "disabled"; status = "disabled";
}; };
...@@ -1226,6 +1239,7 @@ lcdif1: lcdif@2220000 { ...@@ -1226,6 +1239,7 @@ lcdif1: lcdif@2220000 {
<&clks IMX6SX_CLK_LCDIF_APB>, <&clks IMX6SX_CLK_LCDIF_APB>,
<&clks IMX6SX_CLK_DISPLAY_AXI>; <&clks IMX6SX_CLK_DISPLAY_AXI>;
clock-names = "pix", "axi", "disp_axi"; clock-names = "pix", "axi", "disp_axi";
power-domains = <&pd_disp>;
status = "disabled"; status = "disabled";
}; };
...@@ -1237,6 +1251,7 @@ lcdif2: lcdif@2224000 { ...@@ -1237,6 +1251,7 @@ lcdif2: lcdif@2224000 {
<&clks IMX6SX_CLK_LCDIF_APB>, <&clks IMX6SX_CLK_LCDIF_APB>,
<&clks IMX6SX_CLK_DISPLAY_AXI>; <&clks IMX6SX_CLK_DISPLAY_AXI>;
clock-names = "pix", "axi", "disp_axi"; clock-names = "pix", "axi", "disp_axi";
power-domains = <&pd_disp>;
status = "disabled"; status = "disabled";
}; };
...@@ -1246,6 +1261,7 @@ vadc: vadc@2228000 { ...@@ -1246,6 +1261,7 @@ vadc: vadc@2228000 {
clocks = <&clks IMX6SX_CLK_VADC>, clocks = <&clks IMX6SX_CLK_VADC>,
<&clks IMX6SX_CLK_CSI>; <&clks IMX6SX_CLK_CSI>;
clock-names = "vadc", "csi"; clock-names = "vadc", "csi";
power-domains = <&pd_disp>;
status = "disabled"; status = "disabled";
}; };
}; };
...@@ -1370,7 +1386,8 @@ pcie: pcie@8ffc000 { ...@@ -1370,7 +1386,8 @@ pcie: pcie@8ffc000 {
<&clks IMX6SX_CLK_PCIE_REF_125M>, <&clks IMX6SX_CLK_PCIE_REF_125M>,
<&clks IMX6SX_CLK_DISPLAY_AXI>; <&clks IMX6SX_CLK_DISPLAY_AXI>;
clock-names = "pcie", "pcie_bus", "pcie_phy", "pcie_inbound_axi"; clock-names = "pcie", "pcie_bus", "pcie_phy", "pcie_inbound_axi";
power-domains = <&pd_pci>; power-domains = <&pd_disp>, <&pd_pci>;
power-domain-names = "pcie", "pcie_phy";
status = "disabled"; status = "disabled";
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment