linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v9 0/7] Netronix embedded controller driver for Kobo and Tolino ebook readers
@ 2021-01-24 21:41 Jonathan Neuschäfer
  2021-01-24 21:41 ` [PATCH v9 1/7] dt-bindings: Add vendor prefix for Netronix, Inc Jonathan Neuschäfer
                   ` (8 more replies)
  0 siblings, 9 replies; 20+ messages in thread
From: Jonathan Neuschäfer @ 2021-01-24 21:41 UTC (permalink / raw)
  To: linux-kernel
  Cc: Lee Jones, Rob Herring, Jonathan Neuschäfer, Thierry Reding,
	Uwe Kleine-König, Alessandro Zummo, Alexandre Belloni,
	Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	NXP Linux Team, Sam Ravnborg, Linus Walleij, Heiko Stuebner,
	Stephan Gerhold, Lubomir Rintel, Mark Brown, allen,
	Mauro Carvalho Chehab, David S. Miller, devicetree, linux-pwm,
	linux-rtc, linux-arm-kernel, Heiko Stuebner, Josua Mayer,
	Andreas Kemnade, Arnd Bergmann, Daniel Palmer, Andy Shevchenko

This patchset adds basic support for the embedded controller found on
older ebook reader boards designed by/with the ODM Netronix Inc.[1] and
sold by Kobo or Tolino, for example the Kobo Aura and the Tolino Shine.
These drivers are based on information contained in the vendor kernel
sources, but in order to all information in a single place, I documented
the register interface of the EC on GitHub[2].

[1]: http://www.netronixinc.com/products.aspx?ID=1
[2]: https://github.com/neuschaefer/linux/wiki/Netronix-MSP430-embedded-controller

v9:
- Fixed a bug in the error handling of ntxec_probe,
  Reported-by: kernel test robot <lkp@intel.com>
- Added Thierry Reding's ACK to the PWM patch

v8:
- https://lore.kernel.org/lkml/20210116194826.3866540-1-j.neuschaefer@gmx.net/
- MFD: Add missing module metadata to the core driver
- PWM/RTC: Copy dev.of_node from the parent device, to ensure that these
  devices are linked to the devicetree node

v7:
- https://lore.kernel.org/lkml/20210109180220.121511-1-j.neuschaefer@gmx.net/
- Adjust the RTC patch to a change in the RTC API:
  rtc_register_device is now devm_rtc_register_device.
- Add a #define for the known firmware version (0xd726).
  Lee Jones suggested doing this in a follow-up patch, but since I'm
  respinning the series anyway, I'm doing it here.



Jonathan Neuschäfer (7):
  dt-bindings: Add vendor prefix for Netronix, Inc.
  dt-bindings: mfd: Add binding for Netronix embedded controller
  mfd: Add base driver for Netronix embedded controller
  pwm: ntxec: Add driver for PWM function in Netronix EC
  rtc: New driver for RTC in Netronix embedded controller
  MAINTAINERS: Add entry for Netronix embedded controller
  ARM: dts: imx50-kobo-aura: Add Netronix embedded controller

 .../bindings/mfd/netronix,ntxec.yaml          |  76 ++++++
 .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
 MAINTAINERS                                   |   9 +
 arch/arm/boot/dts/imx50-kobo-aura.dts         |  16 +-
 drivers/mfd/Kconfig                           |  11 +
 drivers/mfd/Makefile                          |   1 +
 drivers/mfd/ntxec.c                           | 221 ++++++++++++++++++
 drivers/pwm/Kconfig                           |   8 +
 drivers/pwm/Makefile                          |   1 +
 drivers/pwm/pwm-ntxec.c                       | 184 +++++++++++++++
 drivers/rtc/Kconfig                           |   8 +
 drivers/rtc/Makefile                          |   1 +
 drivers/rtc/rtc-ntxec.c                       | 145 ++++++++++++
 include/linux/mfd/ntxec.h                     |  37 +++
 14 files changed, 719 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/mfd/netronix,ntxec.yaml
 create mode 100644 drivers/mfd/ntxec.c
 create mode 100644 drivers/pwm/pwm-ntxec.c
 create mode 100644 drivers/rtc/rtc-ntxec.c
 create mode 100644 include/linux/mfd/ntxec.h

--
2.29.2


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2021-03-12 18:44 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-24 21:41 [PATCH v9 0/7] Netronix embedded controller driver for Kobo and Tolino ebook readers Jonathan Neuschäfer
2021-01-24 21:41 ` [PATCH v9 1/7] dt-bindings: Add vendor prefix for Netronix, Inc Jonathan Neuschäfer
2021-01-24 21:41 ` [PATCH v9 2/7] dt-bindings: mfd: Add binding for Netronix embedded controller Jonathan Neuschäfer
2021-01-24 21:41 ` [PATCH v9 3/7] mfd: Add base driver " Jonathan Neuschäfer
2021-01-24 21:41 ` [PATCH v9 4/7] pwm: ntxec: Add driver for PWM function in Netronix EC Jonathan Neuschäfer
2021-01-24 21:41 ` [PATCH v9 5/7] rtc: New driver for RTC in Netronix embedded controller Jonathan Neuschäfer
2021-01-24 21:41 ` [PATCH v9 6/7] MAINTAINERS: Add entry for " Jonathan Neuschäfer
2021-01-24 21:41 ` [PATCH v9 7/7] ARM: dts: imx50-kobo-aura: Add " Jonathan Neuschäfer
2021-01-25 19:08   ` [PATCH] ARM: dts: imx6sl-tolino-shine2hd: " Andreas Kemnade
2021-01-25 20:26     ` Jonathan Neuschäfer
2021-03-03  7:59     ` Shawn Guo
2021-03-03  7:59   ` [PATCH v9 7/7] ARM: dts: imx50-kobo-aura: " Shawn Guo
2021-02-08 21:56 ` [PATCH v9 0/7] Netronix embedded controller driver for Kobo and Tolino ebook readers Andreas Kemnade
2021-02-09 14:11   ` Lee Jones
2021-03-01 10:28 ` [GIT PULL] Immutable branch between MFD, PWM and RTC due for the v5.13 merge window Lee Jones
2021-03-09 20:05   ` Lee Jones
2021-03-10 11:08     ` Lee Jones
2021-03-10 11:39     ` Uwe Kleine-König
2021-03-10 11:54       ` Alexandre Belloni
2021-03-12 18:42         ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).