Hi, On Thu, 27 Aug 2020 20:33:23 +0200 Jonathan Neuschäfer <j.neuschaefer@xxxxxxx> wrote: > 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 <andreas@xxxxxxxxxxxx> > > --- > [...] > > + 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.) > I have also thought about these, but came to the same conclusion as you, the connotation of turning the display off does not feel right. > > Reviewed-by: Jonathan Neuschäfer <j.neuschaefer@xxxxxxx> > > Thanks Regards, Andreas