2018-05-17 19:20:00

by Nikita Yushchenko

[permalink] [raw]
Subject: [PATCH] ARM: dts: imx51-zii-rdu1: add rave-sp subdevices

This adds rave-sp powerbutton and backlight devices to RDU1 device tree.

Signed-off-by: Nikita Yushchenko <[email protected]>
---
arch/arm/boot/dts/imx51-zii-rdu1.dts | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/imx51-zii-rdu1.dts b/arch/arm/boot/dts/imx51-zii-rdu1.dts
index 0c99ac04ad08..98cc107098e0 100644
--- a/arch/arm/boot/dts/imx51-zii-rdu1.dts
+++ b/arch/arm/boot/dts/imx51-zii-rdu1.dts
@@ -581,6 +581,14 @@
watchdog {
compatible = "zii,rave-sp-watchdog";
};
+
+ backlight {
+ compatible = "zii,rave-sp-backlight";
+ };
+
+ pwrbutton {
+ compatible = "zii,rave-sp-pwrbutton";
+ };
};
};

--
2.11.0



2018-06-02 19:47:06

by Chris Healy

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: imx51-zii-rdu1: add rave-sp subdevices

On Thu, May 17, 2018 at 12:19 PM, Nikita Yushchenko
<[email protected]> wrote:
> This adds rave-sp powerbutton and backlight devices to RDU1 device tree.
>
> Signed-off-by: Nikita Yushchenko <[email protected]>
> ---

Tested-by: Chris Healy <[email protected]>

Tested on an 8.9" RDU1.

2018-06-11 05:28:47

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: imx51-zii-rdu1: add rave-sp subdevices

On Thu, May 17, 2018 at 10:19:23PM +0300, Nikita Yushchenko wrote:
> This adds rave-sp powerbutton and backlight devices to RDU1 device tree.
>
> Signed-off-by: Nikita Yushchenko <[email protected]>
> ---
> arch/arm/boot/dts/imx51-zii-rdu1.dts | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm/boot/dts/imx51-zii-rdu1.dts b/arch/arm/boot/dts/imx51-zii-rdu1.dts
> index 0c99ac04ad08..98cc107098e0 100644
> --- a/arch/arm/boot/dts/imx51-zii-rdu1.dts
> +++ b/arch/arm/boot/dts/imx51-zii-rdu1.dts
> @@ -581,6 +581,14 @@
> watchdog {
> compatible = "zii,rave-sp-watchdog";
> };
> +
> + backlight {
> + compatible = "zii,rave-sp-backlight";
> + };
> +
> + pwrbutton {
> + compatible = "zii,rave-sp-pwrbutton";
> + };

Where are these compatibles documented?

Shawn

> };
> };
>
> --
> 2.11.0
>

2018-06-12 13:48:29

by Fabio Estevam

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: imx51-zii-rdu1: add rave-sp subdevices

Hi Shawn,

On Mon, Jun 11, 2018 at 2:26 AM, Shawn Guo <[email protected]> wrote:

>> diff --git a/arch/arm/boot/dts/imx51-zii-rdu1.dts b/arch/arm/boot/dts/imx51-zii-rdu1.dts
>> index 0c99ac04ad08..98cc107098e0 100644
>> --- a/arch/arm/boot/dts/imx51-zii-rdu1.dts
>> +++ b/arch/arm/boot/dts/imx51-zii-rdu1.dts
>> @@ -581,6 +581,14 @@
>> watchdog {
>> compatible = "zii,rave-sp-watchdog";
>> };
>> +
>> + backlight {
>> + compatible = "zii,rave-sp-backlight";
>> + };
>> +
>> + pwrbutton {
>> + compatible = "zii,rave-sp-pwrbutton";
>> + };
>
> Where are these compatibles documented?

Currently they are documented in linux-next at:

Documentation/devicetree/bindings/watchdog/zii,rave-sp-wdt.txt
Documentation/devicetree/bindings/leds/backlight/zii,rave-sp-backlight.txt
Documentation/devicetree/bindings/input/zii,rave-sp-pwrbutton.txt

They should land in 4.18-rc1.

2018-06-17 07:09:52

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: imx51-zii-rdu1: add rave-sp subdevices

On Thu, May 17, 2018 at 10:19:23PM +0300, Nikita Yushchenko wrote:
> This adds rave-sp powerbutton and backlight devices to RDU1 device tree.
>
> Signed-off-by: Nikita Yushchenko <[email protected]>

Applied, thanks.