On Thu, 2022-08-04 at 13:17 +0200, Krzysztof Kozlowski wrote: > On 04/08/2022 08:11, Liu Ying wrote: > > Freescale i.MX8qxp pixel link MSI bus is a simple memory-mapped > > bus. > > It is used to access peripherals in i.MX8qm/qxp imaging, LVDS, MIPI > > DSI and HDMI TX subsystems, like I2C controller, PWM controller, > > MIPI DSI controller and Control and Status Registers (CSR) module. > > > > Reference simple-pm-bus bindings and add Freescale i.MX8qxp pixel > > link MSI bus specific bindings. > > > > Signed-off-by: Liu Ying <victor.liu@xxxxxxx> > > Thank you for your patch. There is something to discuss/improve. Thanks for the review. > > > + > > +examples: > > + - | > > + #include <dt-bindings/clock/imx8-lpcg.h> > > + #include <dt-bindings/firmware/imx/rsrc.h> > > + bus@56200000 { > > + compatible = "fsl,imx8qxp-display-pixel-link-msi-bus", > > "simple-pm-bus"; > > + reg = <0x56200000 0x20000>; > > + #address-cells = <1>; > > + #size-cells = <1>; > > + interrupt-parent = <&dc0_irqsteer>; > > + interrupts = <320>; > > + ranges; > > + clocks = <&dc0_disp_ctrl_link_mst0_lpcg IMX_LPCG_CLK_4>, > > + <&dc0_disp_ctrl_link_mst0_lpcg IMX_LPCG_CLK_4>; > > + clock-names = "msi", "ahb"; > > + power-domains = <&pd IMX_SC_R_DC_0>; > > The example should be complete, so you should have here children. > Otherwise it is not a bus. I may add some children whose compatible strings are in-tree for i.MX8qxp. It seems that simple-pm-bus driver part(patch 1) will be changed due to comments, so maybe I'll respin when it's ready. Regards, Liu Ying > > Best regards, > Krzysztof