Message ID | 1383194814-18897-2-git-send-email-sachin.kamat@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Hi Sachin, On Thursday 31 of October 2013 10:16:54 Sachin Kamat wrote: > Added a binding example for reference and updated the > node name. > > Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> > --- > .../devicetree/bindings/arm/samsung/sysreg.txt | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/arm/samsung/sysreg.txt b/Documentation/devicetree/bindings/arm/samsung/sysreg.txt > index 5039c0a12f55..f165567a9df0 100644 > --- a/Documentation/devicetree/bindings/arm/samsung/sysreg.txt > +++ b/Documentation/devicetree/bindings/arm/samsung/sysreg.txt > @@ -1,7 +1,13 @@ > SAMSUNG S5P/Exynos SoC series System Registers (SYSREG) > > Properties: > - - name : should be 'sysreg'; > + - name : should be 'syscon'; I didn't notice this before, but a device binding should not rather require any specific name of its top level node, so I'd simply remove this line. Otherwise the patch looks fine. Best regards, Tomasz -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" 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/samsung/sysreg.txt b/Documentation/devicetree/bindings/arm/samsung/sysreg.txt index 5039c0a12f55..f165567a9df0 100644 --- a/Documentation/devicetree/bindings/arm/samsung/sysreg.txt +++ b/Documentation/devicetree/bindings/arm/samsung/sysreg.txt @@ -1,7 +1,13 @@ SAMSUNG S5P/Exynos SoC series System Registers (SYSREG) Properties: - - name : should be 'sysreg'; + - name : should be 'syscon'; - compatible : should contain "samsung,<chip name>-sysreg", "syscon"; For Exynos4 SoC series it should be "samsung,exynos4-sysreg", "syscon"; - reg : offset and length of the register set. + +Example: + syscon@10010000 { + compatible = "samsung,exynos4-sysreg", "syscon"; + reg = <0x10010000 0x400>; + };
Added a binding example for reference and updated the node name. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> --- .../devicetree/bindings/arm/samsung/sysreg.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)