[PATCH v2 16/17] arm64: dts: imx8mp: Add media_blk_ctrl node

Abel Vesa abel.vesa at nxp.com
Wed Aug 19 16:37:34 EDT 2020


On 20-08-18 19:34:14, Dong Aisheng wrote:
> On Fri, Aug 14, 2020 at 8:12 PM Abel Vesa <abel.vesa at nxp.com> wrote:
> >
> > Some of the features of the media_ctrl will be used by some
> > different drivers in a way those drivers will know best, so adding the
> > syscon compatible we allow those to do just that. Only the resets
> > and the clocks are registered bit the clk-blk-ctrl driver.
> >
> > Signed-off-by: Abel Vesa <abel.vesa at nxp.com>
> > ---
> >  arch/arm64/boot/dts/freescale/imx8mp.dtsi | 16 ++++++++++++++++
> >  1 file changed, 16 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
> > index dede0ae..2d6d213 100644
> > --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi
> > +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
> > @@ -736,6 +736,22 @@
> >                         };
> >                 };
> >
> > +               aips4: bus at 32c00000 {
> > +                       compatible = "simple-bus";
> > +                       reg = <0x32c00000 0x400000>;
> > +                       #address-cells = <1>;
> > +                       #size-cells = <1>;
> > +                       ranges;
> > +
> > +                       media_blk_ctrl: clock-controller at 32ec0000 {
> 
> For this combo device, maybe we can directly name it as blk-ctrl at 32ec0000.
> Rob, do you think if we can do that?
> 

I think it was Stephen who suggested we change it to clock-controller in the
last's version thread.

TBH, I agree with you here, since it makes more sense to be called blk-ctrl
provided that this is not really just a clock controller.

> > +                               compatible = "fsl,imx8mp-media-blk-ctrl", "syscon";
> > +                               reg = <0x32ec0000 0x10000>;
> > +
> 
> Remove unnecessary blank line
> 

Will do.

> Otherwise:
> Reviewed-by: Dong Aisheng <aisheng.dong at nxp.com>
> 
> Regards
> Aisheng
> 
> > +                               #clock-cells = <1>;
> > +                               #reset-cells = <1>;
> > +                       };
> > +               };
> > +
> >                 aips5: bus at 30c00000 {
> >                         compatible = "fsl,aips-bus", "simple-bus";
> >                         reg = <0x30c00000 0x400000>;
> > --
> > 2.7.4
> >



More information about the linux-arm-kernel mailing list