Add support for Topwise A721 tablet
Subsystems (3)
v4 cover Add support for Topwise A721 tablet
On request I'm resending the last two patches from the Topwise A721 tablet series from a year ago as they weren't picked up. The other patches are already merged, so I didn't resend them.
Changes from v3:
* Fix DT validation warnings
* Remove leftover labels
Changes from v2:
* Collected acked-by.
Original cover letter:
This series add support for the Topwise A721 tablet and it's display. It is an old tablet (around 2012) but it might be useful as reference as the devicetree is pretty complete.
Changes from v1:
* Split into multiple patches
* dt-binding: use yaml instead of txt
* dt-binding: add Topwise A721 to sunxi.yaml
* dt-binding: add Topwise to vendor-prefixes
* drm: Add bus_format, bus_flags and connector_type
* dts: Use SPDX license identifier instead of boilerplate license text
* dts: Remove pinctrl leftovers
Pascal Roeleven (2):
dt-bindings: arm: Add Topwise A721
ARM: dts: sun4i: Add support for Topwise A721 tablet
.../devicetree/bindings/arm/sunxi.yaml | 5 + arch/arm/boot/dts/Makefile | 3 +- arch/arm/boot/dts/sun4i-a10-topwise-a721.dts | 242 ++++++++++++++++++ 3 files changed, 249 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/sun4i-a10-topwise-a721.dts
Signature · 1 line
2.27.0
PATCH v4 1/2 dt-bindings: arm: Add Topwise A721
Add the bindings for Topwise A721 tablet
--- Documentation/devicetree/bindings/arm/sunxi.yaml | 5 +++++ 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/arm/sunxi.yaml +5 -0
@@ -787,6 +787,11 @@ properties: - const: tbs-biometrics,a711 - const: allwinner,sun8i-a83t + - description: Topwise A721 Tablet + items: + - const: topwise,a721 + - const: allwinner,sun4i-a10 + - description: Utoo P66 items: - const: utoo,p66
Signature · 1 line
2.27.0
PATCH v4 2/2 ARM: dts: sun4i: Add support for Topwise A721 tablet
In reply to Pascal RoelevenThe Topwise A721/LY-F1 tablet is a tablet sold around 2012 under different brands. The mainboard mentions A721 clearly, so this tablet is best known under this name.
--- arch/arm/boot/dts/Makefile | 3 +- arch/arm/boot/dts/sun4i-a10-topwise-a721.dts | 242 +++++++++++++++++++ 2 files changed, 244 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/sun4i-a10-topwise-a721.dts
arch/arm/boot/dts/Makefile +2 -1
@@ -1103,7 +1103,8 @@ dtb-$(CONFIG_MACH_SUN4I) += \ sun4i-a10-olinuxino-lime.dtb \ sun4i-a10-pcduino.dtb \ sun4i-a10-pcduino2.dtb \ - sun4i-a10-pov-protab2-ips9.dtb + sun4i-a10-pov-protab2-ips9.dtb \ + sun4i-a10-topwise-a721.dtb dtb-$(CONFIG_MACH_SUN5I) += \ sun5i-a10s-auxtek-t003.dtb \ sun5i-a10s-auxtek-t004.dtb \
arch/arm/boot/dts/sun4i-a10-topwise-a721.dts new file +242 -0
242 lines not on this page · raw message
Signature · 1 line
2.27.0
Re: [PATCH v4 2/2] ARM: dts: sun4i: Add support for Topwise A721 tablet
Hi,
We're almost there, except for ...
Quoted 8 lines · Pascal Roeleven
+&lradc {
arch/arm/boot/dts/sun4i-a10-topwise-a721.dts new file +7
-0+ vref-supply = <®_ldo2>; + status = "okay"; + + button-761 { + label = "Volume Down"; + linux,code = <KEY_VOLUMEDOWN>; + channel = <0>;
arch/arm/boot/dts/sun4i-a10-topwise-a721.dts line 143
Quoted 10 lines
arch/arm/boot/dts/sun4i-a10-topwise-a721.dts new file +10
-0+ voltage = <761904>; + }; + + button-571 { + label = "Volume Up"; + linux,code = <KEY_VOLUMEUP>; + channel = <0>; + voltage = <571428>; + }; +};
Those nodes should be ordered alphabetically
Maxime