On Wed, Aug 26, 2020 at 10:42:51PM +0200, Andreas Kemnade wrote: > This adds a devicetree for the Tolino Shine 2 HD Ebook reader. It is based > on boards marked with "37NB-E60QF0+4A2". It is equipped with an i.MX6SL > SoC. > > Expected to work: > - Buttons > - Wifi > - Touchscreen > - LED > - uSD > - USB > - RTC > > Not working due to missing drivers: > - Backlight (requires NTXEC driver) > - EPD > > Not working due to unknown reasons: > - deep sleep (echo standby >/sys/power/state works), > wakeup fails when imx_gpc_pre_suspend(true) was called. > > Signed-off-by: Andreas Kemnade <andr...@kemnade.info> > --- [...] > + fl { > + label = "Frontlight"; > + gpios = <&gpio3 26 GPIO_ACTIVE_LOW>; > + linux,code = <KEY_BRIGHTNESS_CYCLE>; > + };
Another option might be KEY_BRIGHTNESS_TOGGLE/KEY_DISPLAYTOGGLE, but it's not a perfect match, either. (And perhaps a worse match due to the connotation of turning the display off.) Reviewed-by: Jonathan Neuschäfer <j.neuschae...@gmx.net> Thanks
signature.asc
Description: PGP signature