ARM: dts: add Tolino Shine 2 HD
Subsystems (3)
v2 cover ARM: dts: add Tolino Shine 2 HD
This adds a device tree for the Tolino Shine 2 HD Ebook reader.
It is equipped with an i.MX6SL SoC. Except for backlight (via an EC) and the EPD, drivers are available and therefore things are defined in the dts.
Andreas Kemnade (2):
dt-bindings: arm: fsl: add compatible string for Tolino Shine 2 HD
ARM: dts: imx: add devicetree for Tolino Shine 2 HD
.../devicetree/bindings/arm/fsl.yaml | 1 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6sl-tolino-shine2hd.dts | 588 ++++++++++++++++++ 3 files changed, 590 insertions(+) create mode 100644 arch/arm/boot/dts/imx6sl-tolino-shine2hd.dts
Signature · 1 line
2.20.1
PATCH v2 1/2 dt-bindings: arm: fsl: add compatible string for Tolino Shine 2 HD
This adds a compatible string for the Tolino Shine 2 HD eBook reader.
--- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/fsl.yaml +1 -0
@@ -211,6 +211,7 @@ properties: items: - enum: - fsl,imx6sl-evk # i.MX6 SoloLite EVK Board + - kobo,tolino-shine2hd - kobo,tolino-shine3 - const: fsl,imx6sl
Signature · 1 line
2.20.1
PATCH v2 2/2 ARM: dts: imx: add devicetree for Tolino Shine 2 HD
In reply to Andreas KemnadeThis 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.
---
Changes in v2:
- better comments about internals
- avoid confusion about polarity of wifi enable pin
- newline cleanup
arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6sl-tolino-shine2hd.dts | 588 +++++++++++++++++++ 2 files changed, 589 insertions(+) create mode 100644 arch/arm/boot/dts/imx6sl-tolino-shine2hd.dts
arch/arm/boot/dts/Makefile +1 -0
@@ -581,6 +581,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \ imx6qp-zii-rdu2.dtb dtb-$(CONFIG_SOC_IMX6SL) += \ imx6sl-evk.dtb \ + imx6sl-tolino-shine2hd.dtb \ imx6sl-tolino-shine3.dtb \ imx6sl-warp.dtb dtb-$(CONFIG_SOC_IMX6SLL) += \
arch/arm/boot/dts/imx6sl-tolino-shine2hd.dts new file +588 -0
588 lines not on this page · raw message
Signature · 1 line
2.20.1
Re: [PATCH v2 2/2] ARM: dts: imx: add devicetree for Tolino Shine 2 HD
Quoted 23 lines · Andreas Kemnade
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
- RTCNot working due to missing drivers:
- Backlight (requires NTXEC driver)
- EPDNot working due to unknown reasons:
- deep sleep (echo standby >/sys/power/state works), wakeup fails whenimx_gpc_pre_suspend(true)was called.Signed-off-by Andreas Kemnade <[email protected]>---
[...]
arch/arm/boot/dts/imx6sl-tolino-shine2hd.dts line 42
Quoted 5 lines
arch/arm/boot/dts/imx6sl-tolino-shine2hd.dts new file +5
-0+ 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.)
Thanks
Re: [PATCH v2 2/2] ARM: dts: imx: add devicetree for Tolino Shine 2 HD
Hi,
Quoted 25 lines · On Thu, 27 Aug 2020 20:33:23 +0200 Jonathan Neuschäfer <[email protected]>…
Quoted 23 lines · Andreas Kemnade
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
- RTCNot working due to missing drivers:
- Backlight (requires NTXEC driver)
- EPDNot working due to unknown reasons:
- deep sleep (echo standby >/sys/power/state works), wakeup fails whenimx_gpc_pre_suspend(true)was called.Signed-off-by Andreas Kemnade <[email protected]>---
[...]
Quoted 10 lines
arch/arm/boot/dts/imx6sl-tolino-shine2hd.dts line 42
Quoted 5 lines
arch/arm/boot/dts/imx6sl-tolino-shine2hd.dts new file +5
-0+ 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.
Quoted 4 lines
Reviewed-by Jonathan Neuschäfer <[email protected]>Thanks
Regards,
Andreas
Shawn Guo
AppliedQuoted 9 lines · Andreas Kemnade
This adds a device tree for the Tolino Shine 2 HD Ebook reader.
It is equipped with an i.MX6SL SoC. Except for backlight (via an EC) and the EPD, drivers are available and therefore things are defined in the dts.
Andreas Kemnade (2):
dt-bindings: arm: fsl: add compatible string for Tolino Shine 2 HD
ARM: dts: imx: add devicetree for Tolino Shine 2 HD
Applied both, thanks.