Patchwork [v2,2/2] ARM: dts: rockchip: add root compatible properties

login
register
mail settings
Submitter Beniamino Galvani
Date May 6, 2014, 5:10 p.m.
Message ID <1399396211-25353-2-git-send-email-b.galvani@gmail.com>
Download mbox | patch
Permalink /patch/346264/
State New
Headers show

Comments

Beniamino Galvani - May 6, 2014, 5:10 p.m.
Add the missing 'compatible' property to device tree root node of

 - rk3066a-bqcurie2.dts
 - rk3188-radxarock.dts

and document the new values.

Signed-off-by: Beniamino Galvani <b.galvani@gmail.com>
---

v2:
 - use mundoreader prefix instead of bq as suggested by Heiko Stuebner

 Documentation/devicetree/bindings/arm/rockchip.txt |   10 ++++++++++
 arch/arm/boot/dts/rk3066a-bqcurie2.dts             |    1 +
 arch/arm/boot/dts/rk3188-radxarock.dts             |    1 +
 3 files changed, 12 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/arm/rockchip.txt
Rob Herring - May 6, 2014, 5:23 p.m.
On Tue, May 6, 2014 at 12:10 PM, Beniamino Galvani <b.galvani@gmail.com> wrote:
> Add the missing 'compatible' property to device tree root node of
>
>  - rk3066a-bqcurie2.dts
>  - rk3188-radxarock.dts
>
> and document the new values.
>
> Signed-off-by: Beniamino Galvani <b.galvani@gmail.com>

Acked-by: Rob Herring <robh@kernel.org>

> ---
>
> v2:
>  - use mundoreader prefix instead of bq as suggested by Heiko Stuebner
>
>  Documentation/devicetree/bindings/arm/rockchip.txt |   10 ++++++++++
>  arch/arm/boot/dts/rk3066a-bqcurie2.dts             |    1 +
>  arch/arm/boot/dts/rk3188-radxarock.dts             |    1 +
>  3 files changed, 12 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/arm/rockchip.txt
>
> diff --git a/Documentation/devicetree/bindings/arm/rockchip.txt b/Documentation/devicetree/bindings/arm/rockchip.txt
> new file mode 100644
> index 0000000..857f126
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/arm/rockchip.txt
> @@ -0,0 +1,10 @@
> +Rockchip platforms device tree bindings
> +---------------------------------------
> +
> +- bq Curie 2 tablet:
> +    Required root node properties:
> +      - compatible = "mundoreader,bq-curie2", "rockchip,rk3066a";
> +
> +- Radxa Rock board:
> +    Required root node properties:
> +      - compatible = "radxa,rock", "rockchip,rk3188";
> diff --git a/arch/arm/boot/dts/rk3066a-bqcurie2.dts b/arch/arm/boot/dts/rk3066a-bqcurie2.dts
> index 035df40..afb3273 100644
> --- a/arch/arm/boot/dts/rk3066a-bqcurie2.dts
> +++ b/arch/arm/boot/dts/rk3066a-bqcurie2.dts
> @@ -18,6 +18,7 @@
>
>  / {
>         model = "bq Curie 2";
> +       compatible = "mundoreader,bq-curie2", "rockchip,rk3066a";
>
>         memory {
>                 reg = <0x60000000 0x40000000>;
> diff --git a/arch/arm/boot/dts/rk3188-radxarock.dts b/arch/arm/boot/dts/rk3188-radxarock.dts
> index 3ba1968..a5eee55 100644
> --- a/arch/arm/boot/dts/rk3188-radxarock.dts
> +++ b/arch/arm/boot/dts/rk3188-radxarock.dts
> @@ -17,6 +17,7 @@
>
>  / {
>         model = "Radxa Rock";
> +       compatible = "radxa,rock", "rockchip,rk3188";
>
>         memory {
>                 reg = <0x60000000 0x80000000>;
> --
> 1.7.10.4
>
--
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

Patch

diff --git a/Documentation/devicetree/bindings/arm/rockchip.txt b/Documentation/devicetree/bindings/arm/rockchip.txt
new file mode 100644
index 0000000..857f126
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/rockchip.txt
@@ -0,0 +1,10 @@ 
+Rockchip platforms device tree bindings
+---------------------------------------
+
+- bq Curie 2 tablet:
+    Required root node properties:
+      - compatible = "mundoreader,bq-curie2", "rockchip,rk3066a";
+
+- Radxa Rock board:
+    Required root node properties:
+      - compatible = "radxa,rock", "rockchip,rk3188";
diff --git a/arch/arm/boot/dts/rk3066a-bqcurie2.dts b/arch/arm/boot/dts/rk3066a-bqcurie2.dts
index 035df40..afb3273 100644
--- a/arch/arm/boot/dts/rk3066a-bqcurie2.dts
+++ b/arch/arm/boot/dts/rk3066a-bqcurie2.dts
@@ -18,6 +18,7 @@ 
 
 / {
 	model = "bq Curie 2";
+	compatible = "mundoreader,bq-curie2", "rockchip,rk3066a";
 
 	memory {
 		reg = <0x60000000 0x40000000>;
diff --git a/arch/arm/boot/dts/rk3188-radxarock.dts b/arch/arm/boot/dts/rk3188-radxarock.dts
index 3ba1968..a5eee55 100644
--- a/arch/arm/boot/dts/rk3188-radxarock.dts
+++ b/arch/arm/boot/dts/rk3188-radxarock.dts
@@ -17,6 +17,7 @@ 
 
 / {
 	model = "Radxa Rock";
+	compatible = "radxa,rock", "rockchip,rk3188";
 
 	memory {
 		reg = <0x60000000 0x80000000>;