mbox series

[v2,0/3] ARM: Initial devicetree for Kobo Aura

Message ID 20190331191602.3921-1-j.neuschaefer@gmx.net
Headers show
Series ARM: Initial devicetree for Kobo Aura | expand

Message

Jonathan Neuschäfer March 31, 2019, 7:15 p.m. UTC
This series adds a devicetree for the i.MX507-based Kobo Aura e-book
reader, and fixes a few things in imx50.dtsi along the way.

v1: https://lore.kernel.org/lkml/20190319152421.16179-1-j.neuschaefer@gmx.net/

Changes in v2:
- Various cleanups, as suggested by Shawn Guo
- Patch "dt-bindings: arm: fsl: Add i.MX50 based boards" is new
- Squashed patch "ARM: dts: imx50-kobo-aura: Enable USB support" into
	patch 3 ("ARM: dts: imx50: Add Kobo Aura DTS")
- Dropped patch "ARM: dts: imx50: Add PHY node for usbotg and adjust
	clocks" because it was already merged into the imx tree
- Dropped patch "ARM: dts: imx50: Fix the numbering of the I2C
	controllers", because a similar one was merged into the imx tree
- Added Rob Herring's Reviewed-by tag to patch 1 ("dt-bindings: Add
	vendor prefix for Rakuten Kobo, Inc.")

A lot of functionality is still missing:
- poweroff/reboot, RTC, and battery monitoring support, as well as a PWM
  channel for the display backlight are provided by a custom embedded
  controller, which will be supported by a future patchset.
  The EC driver will also tell the EC to keep the board powered on;
  otherwise the EC will power the board off after about ten seconds
  (presumably to avoid battery drain if the OS is missing or corrupted)
- The touchscreen controller, eKTF2132, currently doesn't have a
  mainline driver.
- The e-paper display controller (EPDC) embedded in the i.MX50 SoC will
  need a whole new DRM driver, devicetree bindings, etc.
- The TPS65185 PMIC, which generates the voltages necessary for driving
  the E Ink panel, also needs a driver
- The backlight doesn't quite fit the existing pwm-backlight DT binding,
  because it uses an additional GPIO to boost the brightness. This
  requires some devicetree work
- Linux doesn't currently support suspend-to-ram on i.MX50

In order to keep the system running when CONFIG_PM is enabled, the
following fix is also required:
https://lore.kernel.org/lkml/20190326182258.21945-1-j.neuschaefer@gmx.net/

My own notes about this machine can be found here:
https://github.com/neuschaefer/linux/wiki/Kobo-Aura

Jonathan Neuschäfer (3):
  dt-bindings: Add vendor prefix for Rakuten Kobo, Inc.
  dt-bindings: arm: fsl: Add i.MX50 based boards
  ARM: dts: imx50: Add Kobo Aura DTS

 .../devicetree/bindings/arm/fsl.yaml          |   7 +
 .../devicetree/bindings/vendor-prefixes.txt   |   1 +
 arch/arm/boot/dts/Makefile                    |   3 +-
 arch/arm/boot/dts/imx50-kobo-aura.dts         | 258 ++++++++++++++++++
 4 files changed, 268 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/boot/dts/imx50-kobo-aura.dts

--
2.20.1