Message ID | 90561b14af66655ca859d387b3808a84641eea4e.1565088423.git.leonard.crestez@nxp.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | interconnect: Add imx support via devfreq | expand |
Hi Leonard, On 8/6/19 13:55, Leonard Crestez wrote: > Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com> > --- Please put some commit text. > .../devicetree/bindings/interconnect/imx.yaml | 38 +++++++++++++++++++ > 1 file changed, 38 insertions(+) > create mode 100644 Documentation/devicetree/bindings/interconnect/imx.yaml > > diff --git a/Documentation/devicetree/bindings/interconnect/imx.yaml b/Documentation/devicetree/bindings/interconnect/imx.yaml > new file mode 100644 > index 000000000000..c6f173b38f4f > --- /dev/null > +++ b/Documentation/devicetree/bindings/interconnect/imx.yaml > @@ -0,0 +1,38 @@ > +# SPDX-License-Identifier: GPL-2.0 > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/interconnect/imx.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Generic i.MX interconnect device > + > +maintainers: > + - Leonard Crestez <leonard.crestez@nxp.com> > + > +properties: > + compatible: > + contains: > + enum: > + - fsl,imx8mm-interconnect Maybe fsl,imx8mm-busfreq? I thought it's called busfreq in downstream, but it's up to you. > + "#interconnect-cells": > + const: 1 > + devfreq-names: > + description: Names of devfreq instances for adjustable nodes > + devfreq: > + description: List of phandle pointing to devfreq instances > + > +required: > + - compatible > + - "#interconnect-cells" > + - "devfreq-names" > + - "devfreq" > + > +examples: > + - | > + #include <dt-bindings/interconnect/imx8mm.h> > + icc: interconnect { > + compatible = "fsl,imx8mm-interconnect"; > + #interconnect-cells = <1>; > + devfreq-names = "dram", "noc", "axi"; > + devfreq = <&ddrc>, <&noc>, <&pl301_main>; > + }; > Thanks, Georgi
On 8/7/2019 6:16 PM, Georgi Djakov wrote: > Please put some commit text. Will fix >> +properties: >> + compatible: >> + contains: >> + enum: >> + - fsl,imx8mm-interconnect > > Maybe fsl,imx8mm-busfreq? I thought it's called busfreq in downstream, but it's > up to you. In the vendor tree busfreq is effectively its own subsystem with its own API calls used by imx drivers. As part of replacing this with standard devfreq + interconnect in upstream the old name should go away. -- Regards, Leonard
diff --git a/Documentation/devicetree/bindings/interconnect/imx.yaml b/Documentation/devicetree/bindings/interconnect/imx.yaml new file mode 100644 index 000000000000..c6f173b38f4f --- /dev/null +++ b/Documentation/devicetree/bindings/interconnect/imx.yaml @@ -0,0 +1,38 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interconnect/imx.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Generic i.MX interconnect device + +maintainers: + - Leonard Crestez <leonard.crestez@nxp.com> + +properties: + compatible: + contains: + enum: + - fsl,imx8mm-interconnect + "#interconnect-cells": + const: 1 + devfreq-names: + description: Names of devfreq instances for adjustable nodes + devfreq: + description: List of phandle pointing to devfreq instances + +required: + - compatible + - "#interconnect-cells" + - "devfreq-names" + - "devfreq" + +examples: + - | + #include <dt-bindings/interconnect/imx8mm.h> + icc: interconnect { + compatible = "fsl,imx8mm-interconnect"; + #interconnect-cells = <1>; + devfreq-names = "dram", "noc", "axi"; + devfreq = <&ddrc>, <&noc>, <&pl301_main>; + };
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com> --- .../devicetree/bindings/interconnect/imx.yaml | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/interconnect/imx.yaml