Re: [PATCH v2 2/2] ARM: dts: imx: add devicetree for Tolino Shine 2 HD
From: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Date: 2020-08-27 18:33:54
Also in:
linux-devicetree, lkml
From: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Date: 2020-08-27 18:33:54
Also in:
linux-devicetree, lkml
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@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.neuschaefer@gmx.net> Thanks