[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHCN7xLDHCQoA41FJpP3GY+nbFm99zf=tspHSOXkeFogMF22+A@mail.gmail.com>
Date: Mon, 1 Nov 2021 23:22:21 -0500
From: Adam Ford <aford173@...il.com>
To: Tommaso Merciai <tomm.merciai@...il.com>
Cc: Ahmad Fatoum <a.fatoum@...gutronix.de>,
arm-soc <linux-arm-kernel@...ts.infradead.org>,
devicetree <devicetree@...r.kernel.org>,
Peng Fan <peng.fan@....com>, Alice Guo <alice.guo@....com>,
Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Joakim Zhang <qiangqing.zhang@....com>,
Krzysztof Kozlowski <krzk@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Rob Herring <robh+dt@...nel.org>,
NXP Linux Team <linux-imx@....com>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>,
Lucas Stach <l.stach@...gutronix.de>
Subject: Re: [PATCH] arm64: dts: imx8m: add syscon node for display_blk_ctrl
module regs
On Mon, Nov 1, 2021 at 5:58 PM Tommaso Merciai <tomm.merciai@...il.com> wrote:
>
> On Mon, Nov 01, 2021 at 11:35:49PM +0100, Ahmad Fatoum wrote:
> > Hello Tommaso,
> >
> > On 01.11.21 23:28, Tommaso Merciai wrote:
> > > Add system controller node for registers of module Display Block Control
> > > (DISPLAY_BLK_CTRL, base address: 0x32e28000).
> > > The DISPLAY_BLK_CTRL module contains general purpose registers (GPRs),
> > > which control varied features of the associated peripherals.
> > > Reference: IMX8MMRM Rev. 3, 11/2020, p 3897
> > > ---
> > > arch/arm64/boot/dts/freescale/imx8mm.dtsi | 5 +++++
> > > 1 file changed, 5 insertions(+)
> > >
> > > diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi
> > > index 2f632e8ca388..3e496b457e1a 100644
> > > --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi
> > > +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi
> > > @@ -961,6 +961,11 @@ aips4: bus@...00000 {
> > > #size-cells = <1>;
> > > ranges = <0x32c00000 0x32c00000 0x400000>;
> > >
> > > + dispmix_gpr: display-gpr@...28000 {
> > > + compatible = "fsl, imx8mm-iomuxc-gpr", "syscon";
> >
> > Please read vendor patches before submitting them. The space
> > is out-of-place in the compatible and the compatible is wrong:
> > This doesn't look like a i.MX8MM pin controller.
> >
> > Cheers,
> > Ahmad
>
> Hi Ahmad,
> Thanks for your review. Do you think this is correct?
>
> compatible = "fsl,imx8mm-dispmix-gpr", "syscon";
>
> Let me know.
There was already a driver created for the blk-ctrl stuff and it has a
device tree binding at 32e28000. It's tied into the power-domain
system, so if you want to enable the csi, dsi, or lcd, etc. you can
just reference the blt-ctrl power domain index, and it enables the
device's gpc power domain and takes the corresponding device out of
reset.
adam
>
> Thanks,
> Tommaso
>
> >
> > > + reg = <0x32e28000 0x100>;
> > > + };
> > > +
> > > usbotg1: usb@...40000 {
> > > compatible = "fsl,imx8mm-usb", "fsl,imx7d-usb";
> > > reg = <0x32e40000 0x200>;
> > >
> >
> >
> > --
> > Pengutronix e.K. | |
> > Steuerwalder Str. 21 | http://www.pengutronix.de/ |
> > 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
> > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Powered by blists - more mailing lists