Skip to contentSkip to conversation

Add support for PocketBook Touch Lux 3 e-book reader

PATCH Applied Ondrej Jirman 3 participants 7 messages Feb 23, 2020 – Feb 26, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover Add support for PocketBook Touch Lux 3 e-book reader

This series adds a fairly complete support for this e-book reader.

Missing parts are eink display driver and the touch panel driver. Support for both is available out-of-tree for now at:
https://megous.com/git/linux/log/?h=pb-5.6

The rest of the board is supported by the mainline drivers.

Please take a look.

thank you and regards,
Ondrej Jirman

Ondrej Jirman (3):
dt-bindings: vendor-prefixes: Add prefix for PocketBook International
SA
dt-bindings: arm: sunxi: Add PocketBook Touch Lux 3
ARM: dts: sun5i: Add PocketBook Touch Lux 3 support

 .../devicetree/bindings/arm/sunxi.yaml        |   5 +
 .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
 arch/arm/boot/dts/Makefile                    |   1 +
 .../dts/sun5i-a13-pocketbook-touch-lux-3.dts  | 257 ++++++++++++++++++
 4 files changed, 265 insertions(+)
 create mode 100644 arch/arm/boot/dts/sun5i-a13-pocketbook-touch-lux-3.dts
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/3 dt-bindings: vendor-prefixes: Add prefix for PocketBook International SA

Call it "pocketbook".

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index 9e67944bec9c6..434cf7de691d2 100644
@@ -761,6 +761,8 @@ patternProperties:
     description: Broadcom Corporation (formerly PLX Technology)
   "^pni,.*":
     description: PNI Sensor Corporation
+  "^pocketbook,.*":
+    description: PocketBook International SA
   "^polaroid,.*":
     description: Polaroid Corporation
   "^portwell,.*":
Signature · 1 line
2.25.1
maintainer Applied
#3 lore raw

Re: [PATCH 1/3] dt-bindings: vendor-prefixes: Add prefix for PocketBook International SA

In reply to Ondrej Jirman
Quoted 7 lines · Ondrej Jirman

Call it "pocketbook".

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)

Applied, thanks.

Rob

#4 lore raw

PATCH 2/3 dt-bindings: arm: sunxi: Add PocketBook Touch Lux 3

In reply to Ondrej Jirman

Add a new board name.

---
 Documentation/devicetree/bindings/arm/sunxi.yaml | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/arm/sunxi.yaml +5 -0
index 327ce67308237..7c4be977be37f 100644
@@ -647,6 +647,11 @@ properties:
           - const: pineriver,mini-xplus
           - const: allwinner,sun4i-a10
 
+      - description: PocketBook Touch Lux 3
+        items:
+          - const: pocketbook,touch-lux-3
+          - const: allwinner,sun5i-a13
+
       - description: Point of View Protab2-IPS9
         items:
           - const: pov,protab2-ips9
Signature · 1 line
2.25.1
#5 lore raw

PATCH 3/3 ARM: dts: sun5i: Add PocketBook Touch Lux 3 support

In reply to Ondrej Jirman

What works:

- Serial console
- mmc0, mmc2 (both microSD card slots on the board)
- All buttons (gpio and lradc based)
- Power LED
- PMIC
- RTC
- USB OTG/gadgets mode
- Realtek USB WiFi
- Display backlight
- eInk display SPI NOR flash memory

---
 arch/arm/boot/dts/Makefile                    |   1 +
 .../dts/sun5i-a13-pocketbook-touch-lux-3.dts  | 257 ++++++++++++++++++
 2 files changed, 258 insertions(+)
 create mode 100644 arch/arm/boot/dts/sun5i-a13-pocketbook-touch-lux-3.dts
arch/arm/boot/dts/Makefile +1 -0
index d6546d2676b9d..ef732a31e4352 100644
@@ -1056,6 +1056,7 @@ dtb-$(CONFIG_MACH_SUN5I) += \
 	sun5i-a13-licheepi-one.dtb \
 	sun5i-a13-olinuxino.dtb \
 	sun5i-a13-olinuxino-micro.dtb \
+	sun5i-a13-pocketbook-touch-lux-3.dtb \
 	sun5i-a13-q8-tablet.dtb \
 	sun5i-a13-utoo-p66.dtb \
 	sun5i-gr8-chip-pro.dtb \
arch/arm/boot/dts/sun5i-a13-pocketbook-touch-lux-3.dts new file +257 -0

257 lines not on this page · raw message

Signature · 1 line
2.25.1