> Subject: Re: [PATCH 2/3] dt-bindings: imx: Add clock binding doc for imx8mm > > Quoting Jacky Bai (2019-01-08 01:00:58) > > Add the clock binding doc for i.MX8MM. > > > > Signed-off-by: Bai Ping <ping.bai@xxxxxxx> > > --- > > .../devicetree/bindings/clock/imx8mm-clock.txt | 19 ++ > > include/dt-bindings/clock/imx8mm-clock.h | 244 > +++++++++++++++++++++ > > 2 files changed, 263 insertions(+) > > create mode 100644 > > Documentation/devicetree/bindings/clock/imx8mm-clock.txt > > create mode 100644 include/dt-bindings/clock/imx8mm-clock.h > > > > diff --git a/Documentation/devicetree/bindings/clock/imx8mm-clock.txt > > b/Documentation/devicetree/bindings/clock/imx8mm-clock.txt > > new file mode 100644 > > index 0000000..034b6d4 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/clock/imx8mm-clock.txt > > @@ -0,0 +1,19 @@ > > +* Clock bindings for NXP i.MX8M Mini > > + > > +Required properties: > > +- compatible: Should be "fsl,imx8mm-ccm" > > +- reg: Address and length of the register set > > +- #clock-cells: Should be <1> > > +- clocks: list of clock specifiers, must contain an entry for each required > > + entry in clock-names > > +- clock-names: should include the following entries: > > + - "osc_32k" > > + - "osc_24m" > > + - "clk_ext1" > > + - "clk_ext2" > > + - "clk_ext3" > > + - "clk_ext4" > > + > > +The clock consumer should specify the desired clock by having the > > +clock ID in its "clocks" phandle cell. See > > +include/dt-bindings/clock/imx8mm-clock.h > > +for the full list of i.MX8M Mini clock IDs. > > Any example of this node? Not the clock consumer. Sure, I can add an example in V2. BR Jacky Bai