Message ID | 20180517191923.16212-1-nikita.yoush@cogentembedded.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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.
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 >
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.
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 --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"; + }; }; };
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(+)