From: l.stach@pengutronix.de (Lucas Stach)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] ARM: dts: imx6sx: Add support for PCI power domain
Date: Fri, 15 Dec 2017 10:26:50 +0100 [thread overview]
Message-ID: <1513330010.20023.2.camel@pengutronix.de> (raw)
In-Reply-To: <1513304698-15169-2-git-send-email-festevam@gmail.com>
Am Freitag, den 15.12.2017, 00:24 -0200 schrieb Fabio Estevam:
> > From: Fabio Estevam <fabio.estevam@nxp.com>
>
> Previously PCI support was working because the bootloader has previously
> powered up the PCI power domain.
>
> Represent the PCI power domain, so that PCI is functional without
> relying on the PCI support from the bootloader.
>
> Tested on a imx6sx-sdb board with no PCI support in the bootloader.
>
> > Reported-by: Abel Vesa <abel.vesa@nxp.com>
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
> ---
> ?arch/arm/boot/dts/imx6sx.dtsi | 14 ++++++++++++++
> ?1 file changed, 14 insertions(+)
>
> diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi
> index 40c6738c..c6ea6ec 100644
> --- a/arch/arm/boot/dts/imx6sx.dtsi
> +++ b/arch/arm/boot/dts/imx6sx.dtsi
> @@ -750,6 +750,19 @@
> > ? #interrupt-cells = <3>;
> > ? interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
> > ? interrupt-parent = <&intc>;
> > + clocks = <&clks IMX6SX_CLK_IPG>;
> > + clock-names = "ipg";
> +
> > + pgc {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> +
> > > + pd_pci: power-domain at 3 {
> > + reg = <3>;
> > + #power-domain-cells = <0>;
> > + power-supply = <®_pcie>;
> > + };
> > + };
> > ? };
> ?
> > > ? iomuxc: iomuxc at 20e0000 {
> @@ -1328,6 +1341,7 @@
> > ? ?<&clks IMX6SX_CLK_PCIE_REF_125M>,
> > ? ?<&clks IMX6SX_CLK_DISPLAY_AXI>;
> > ? clock-names = "pcie", "pcie_bus", "pcie_phy", "pcie_inbound_axi";
> > + power-domains = <&pd_pci>;
> > ? status = "disabled";
> > ? };
> > ? };
next prev parent reply other threads:[~2017-12-15 9:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-15 2:24 [PATCH 1/2] soc: imx: gpc: Add i.MX6SX PCI power domain Fabio Estevam
2017-12-15 2:24 ` [PATCH 2/2] ARM: dts: imx6sx: Add support for " Fabio Estevam
2017-12-15 9:26 ` Lucas Stach [this message]
2017-12-15 9:25 ` [PATCH 1/2] soc: imx: gpc: Add i.MX6SX " Lucas Stach
2017-12-15 10:28 ` Fabio Estevam
2017-12-26 7:48 ` Shawn Guo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1513330010.20023.2.camel@pengutronix.de \
--to=l.stach@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).