diff mbox

ARM: dts: imx51-zii-rdu1: add rave-sp subdevices

Message ID 20180517191923.16212-1-nikita.yoush@cogentembedded.com (mailing list archive)
State New, archived
Headers show

Commit Message

Nikita Yushchenko May 17, 2018, 7:19 p.m. UTC
This adds rave-sp powerbutton and backlight devices to RDU1 device tree.

Signed-off-by: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
---
 arch/arm/boot/dts/imx51-zii-rdu1.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Chris Healy June 2, 2018, 7:46 p.m. UTC | #1
On Thu, May 17, 2018 at 12:19 PM, Nikita Yushchenko
<nikita.yoush@cogentembedded.com> wrote:
> This adds rave-sp powerbutton and backlight devices to RDU1 device tree.
>
> Signed-off-by: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
> ---

Tested-by: Chris Healy <cphealy@gmail.com>

Tested on an 8.9" RDU1.
Shawn Guo June 11, 2018, 5:26 a.m. UTC | #2
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 <nikita.yoush@cogentembedded.com>
> ---
>  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
>
Fabio Estevam June 12, 2018, 1:46 p.m. UTC | #3
Hi Shawn,

On Mon, Jun 11, 2018 at 2:26 AM, Shawn Guo <shawnguo@kernel.org> 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.
Shawn Guo June 17, 2018, 7:08 a.m. UTC | #4
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 <nikita.yoush@cogentembedded.com>

Applied, thanks.
diff mbox

Patch

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";
+		};
 	};
 };