Message ID | 1473069695-33092-2-git-send-email-shh.xie@gmail.com |
---|---|
State | Changes Requested, archived |
Headers | show |
On Mon, Sep 05, 2016 at 06:01:29PM +0800, shh.xie@gmail.com wrote: > From: Shaohui Xie <Shaohui.Xie@nxp.com> > > SCFG and DCFG are SoC-specific devices can be found on SoCs like LS1021A, > LS1043A and LS1046A, this patch updates bindings for SCFG and DCFG to > reflect more SoCs. > > Signed-off-by: Shaohui Xie <Shaohui.Xie@nxp.com> > --- > changes in V2: > new patch. > > Documentation/devicetree/bindings/arm/fsl.txt | 12 +++++++++--- > 1 file changed, 9 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/arm/fsl.txt b/Documentation/devicetree/bindings/arm/fsl.txt > index dbbc095..6f92d0b 100644 > --- a/Documentation/devicetree/bindings/arm/fsl.txt > +++ b/Documentation/devicetree/bindings/arm/fsl.txt > @@ -97,7 +97,7 @@ Freescale LS1021A Platform Device Tree Bindings > Required root node compatible properties: > - compatible = "fsl,ls1021a"; > > -Freescale LS1021A SoC-specific Device Tree Bindings > +Freescale SoC-specific Device Tree Bindings > ------------------------------------------- > > Freescale SCFG > @@ -105,7 +105,10 @@ Freescale SCFG > configuration and status registers for the chip. Such as getting PEX port > status. > Required properties: > - - compatible: should be "fsl,ls1021a-scfg" > + - compatible: Should contain a chip-specific compatible string, > + Chip-specific strings are of the form "fsl,<chip>-scfg", such as: > + "fsl,ls1021a-scfg" Per Documentation/devicetree/bindings/submitting-patches.txt, the known values of "<chip>" should be documented. Shawn > + > - reg: should contain base address and length of SCFG memory-mapped registers > > Example: > @@ -119,7 +122,10 @@ Freescale DCFG > configuration and status for the device. Such as setting the secondary > core start address and release the secondary core from holdoff and startup. > Required properties: > - - compatible: should be "fsl,ls1021a-dcfg" > + - compatible: Should contain a chip-specific compatible string, > + Chip-specific strings are of the form "fsl,<chip>-dcfg", such as: > + "fsl,ls1021a-dcfg" > + > - reg : should contain base address and length of DCFG memory-mapped registers > > Example: > -- > 2.1.0.27.g96db324 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
> -----Original Message----- > From: Shawn Guo [mailto:shawnguo@kernel.org] > Sent: Thursday, September 08, 2016 10:30 AM > To: shh.xie@gmail.com > Cc: devicetree@vger.kernel.org; robh+dt@kernel.org; mark.rutland@arm.com; > linux-arm-kernel@lists.infradead.org; catalin.marinas@arm.com; > will.deacon@arm.com; linux-kernel@vger.kernel.org; S.H. Xie > <shaohui.xie@nxp.com>; arnd@arndb.de > Subject: Re: [PATCH 1/7] [v2] dt-bindings: fsl: updates bindings for some SoC- > specific devices > > On Mon, Sep 05, 2016 at 06:01:29PM +0800, shh.xie@gmail.com wrote: > > From: Shaohui Xie <Shaohui.Xie@nxp.com> > > > > SCFG and DCFG are SoC-specific devices can be found on SoCs like > > LS1021A, LS1043A and LS1046A, this patch updates bindings for SCFG and > > DCFG to reflect more SoCs. > > > > Signed-off-by: Shaohui Xie <Shaohui.Xie@nxp.com> > > --- > > changes in V2: > > new patch. > > > > Documentation/devicetree/bindings/arm/fsl.txt | 12 +++++++++--- > > 1 file changed, 9 insertions(+), 3 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/arm/fsl.txt > > b/Documentation/devicetree/bindings/arm/fsl.txt > > index dbbc095..6f92d0b 100644 > > --- a/Documentation/devicetree/bindings/arm/fsl.txt > > +++ b/Documentation/devicetree/bindings/arm/fsl.txt > > @@ -97,7 +97,7 @@ Freescale LS1021A Platform Device Tree Bindings > > Required root node compatible properties: > > - compatible = "fsl,ls1021a"; > > > > -Freescale LS1021A SoC-specific Device Tree Bindings > > +Freescale SoC-specific Device Tree Bindings > > ------------------------------------------- > > > > Freescale SCFG > > @@ -105,7 +105,10 @@ Freescale SCFG > > configuration and status registers for the chip. Such as getting PEX > > port status. > > Required properties: > > - - compatible: should be "fsl,ls1021a-scfg" > > + - compatible: Should contain a chip-specific compatible string, > > + Chip-specific strings are of the form "fsl,<chip>-scfg", such as: > > + "fsl,ls1021a-scfg" > > Per Documentation/devicetree/bindings/submitting-patches.txt, the known values > of "<chip>" should be documented. Will add the supported chips in next version. Thank you! Shaohui -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/Documentation/devicetree/bindings/arm/fsl.txt b/Documentation/devicetree/bindings/arm/fsl.txt index dbbc095..6f92d0b 100644 --- a/Documentation/devicetree/bindings/arm/fsl.txt +++ b/Documentation/devicetree/bindings/arm/fsl.txt @@ -97,7 +97,7 @@ Freescale LS1021A Platform Device Tree Bindings Required root node compatible properties: - compatible = "fsl,ls1021a"; -Freescale LS1021A SoC-specific Device Tree Bindings +Freescale SoC-specific Device Tree Bindings ------------------------------------------- Freescale SCFG @@ -105,7 +105,10 @@ Freescale SCFG configuration and status registers for the chip. Such as getting PEX port status. Required properties: - - compatible: should be "fsl,ls1021a-scfg" + - compatible: Should contain a chip-specific compatible string, + Chip-specific strings are of the form "fsl,<chip>-scfg", such as: + "fsl,ls1021a-scfg" + - reg: should contain base address and length of SCFG memory-mapped registers Example: @@ -119,7 +122,10 @@ Freescale DCFG configuration and status for the device. Such as setting the secondary core start address and release the secondary core from holdoff and startup. Required properties: - - compatible: should be "fsl,ls1021a-dcfg" + - compatible: Should contain a chip-specific compatible string, + Chip-specific strings are of the form "fsl,<chip>-dcfg", such as: + "fsl,ls1021a-dcfg" + - reg : should contain base address and length of DCFG memory-mapped registers Example: