Skip to contentSkip to conversation

Add initial support for Lenovo YOGA Tablet 10 (Wi-Fi)

PATCH Superseded Akari Tsuyukusa 2 participants 5 messages Mar 5 – Mar 13

Subsystems (2)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

v2 cover Add initial support for Lenovo YOGA Tablet 10 (Wi-Fi)

This series of patches adds basic support to
Lenovo YOGA Tablet 10 (Wi-Fi).

Changes in v2:
- removed lenovo,b6000-f, lenovo,b6000-h, lenovo,b8000-h, lenovo,blade compatible strings
- remove "0x" prefix from memory Device Tree node
- remove "compatible" property from mt6589-lenovo-blade.dtsi
- dt-bindings commit message explains this product family in detail

Note:

$ make CHECK_DTBS=y mediatek/mt6589-lenovo-b8000-f.dtb
says that

DTC [C] arch/arm/boot/dts/mediatek/mt6589-lenovo-b8000-f.dtb
/home/akku/tmp/linux/arch/arm/boot/dts/mediatek/mt6589-lenovo-b8000-f.dtb: clocks (simple-bus): dummy32k: 'ranges' is a required property
from schema $id: http://devicetree.org/schemas/simple-bus.yaml
/home/akku/tmp/linux/arch/arm/boot/dts/mediatek/mt6589-lenovo-b8000-f.dtb: clocks (simple-bus): dummy13m: 'ranges' is a required property
from schema $id: http://devicetree.org/schemas/simple-bus.yaml
/home/akku/tmp/linux/arch/arm/boot/dts/mediatek/mt6589-lenovo-b8000-f.dtb: clocks (simple-bus): dummy26m: 'ranges' is a required property
from schema $id: http://devicetree.org/schemas/simple-bus.yaml
/home/akku/tmp/linux/arch/arm/boot/dts/mediatek/mt6589-lenovo-b8000-f.dtb: clocks (simple-bus): $nodename:0: 'clocks' does not match '^([a-z][a-z0-9\\-]+-bus|bus|localbus|soc|axi|ahb|apb)(@.+)?$'
from schema $id: http://devicetree.org/schemas/simple-bus.yaml

These warnings originate from existing mt6589.dtsi definitions and are not introduced by this patch series.

Akari Tsuyukusa (2):
dt-bindings: arm: mediatek: Add Lenovo YOGA Tablet 10 (Wi-Fi)
arm: dts: mediatek: mt6589: add basic support for Lenovo B8000-F

 .../devicetree/bindings/arm/mediatek.yaml     |  1 +
 arch/arm/boot/dts/mediatek/Makefile           |  1 +
 .../dts/mediatek/mt6589-lenovo-b8000-f.dts    | 15 ++++++++
 .../dts/mediatek/mt6589-lenovo-blade.dtsi     | 37 +++++++++++++++++++
 4 files changed, 54 insertions(+)
 create mode 100644 arch/arm/boot/dts/mediatek/mt6589-lenovo-b8000-f.dts
 create mode 100644 arch/arm/boot/dts/mediatek/mt6589-lenovo-blade.dtsi
Signature · 1 line
2.52.0
#1 lore raw

PATCH v2 1/2 dt-bindings: arm: mediatek: Add Lenovo YOGA Tablet 10 (Wi-Fi)

Add an entry for Lenovo YOGA Tablet 10 (Wi-Fi) tablet board, named b8000-f.

It belongs to Lenovo's "blade" product family, a codename found in the stock Android "ro.product.board" property (e.g., "blade10_row_wifi" for B8000-F and "blade8_row_3gdata" for B6000-H).

The "blade" family includes several variants with different screen sizes and connectivity:

YOGA Tablet 8 (8-inch display)
B6000-F : Wi-Fi
B6000-H : Wi-Fi + 3G (Data only)
B6000-HV : Wi-Fi + 3G (Voice)

YOGA Tablet 10 (10-inch display)
B8000-F : Wi-Fi
B8000-H : Wi-Fi + 3G (Data only)

These devices feature 1GB of RAM and powered by MediaTek MT8125 or MT8389 SoC. Since these SoCs are tablet-oriented variants of MT6589, they are grouped under the "mediatek,mt6589" compatible string.

---
 Documentation/devicetree/bindings/arm/mediatek.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/mediatek.yaml +1 -0
index 382d0eb4d0af..ab3c5b1152f0 100644
@@ -44,6 +44,7 @@ properties:
       - items:
           - enum:
               - fairphone,fp1
+              - lenovo,b8000-f
               - mundoreader,bq-aquaris5
           - const: mediatek,mt6589
       - items:
Signature · 1 line
2.52.0
#3 lore raw

PATCH v2 2/2 arm: dts: mediatek: mt6589: add basic support for Lenovo B8000-F

In reply to Akari Tsuyukusa

Lenovo YOGA Tablet 10 (Wi-Fi) - B8000-F is a tablet which belongs to the "blade" product family. It is powered by MT8125 SoC, which is the tablet version of MediaTek MT6589, and has 1GB RAM.

Like other devices in the "blade" family, it uses a framebuffer initialized by the bootloader at a consistent memory address and size. This patch adds basic support including UART and simple-framebuffer.

---
 arch/arm/boot/dts/mediatek/Makefile           |  1 +
 .../dts/mediatek/mt6589-lenovo-b8000-f.dts    | 15 ++++++++
 .../dts/mediatek/mt6589-lenovo-blade.dtsi     | 37 +++++++++++++++++++
 3 files changed, 53 insertions(+)
 create mode 100644 arch/arm/boot/dts/mediatek/mt6589-lenovo-b8000-f.dts
 create mode 100644 arch/arm/boot/dts/mediatek/mt6589-lenovo-blade.dtsi
arch/arm/boot/dts/mediatek/Makefile +1 -0
index 37c4cded0eae..b67b94b7cbd0 100644
@@ -8,6 +8,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \
 	mt6582-prestigio-pmt5008-3g.dtb \
 	mt6589-aquaris5.dtb \
 	mt6589-fairphone-fp1.dtb \
+	mt6589-lenovo-b8000-f.dtb \
 	mt6592-evb.dtb \
 	mt7623a-rfb-emmc.dtb \
 	mt7623a-rfb-nand.dtb \
arch/arm/boot/dts/mediatek/mt6589-lenovo-b8000-f.dts new file +15 -0
new file mode 100644
index 000000000000..47bb6ab1fe72
@@ -0,0 +1,15 @@
+// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+/*
+ * Copyright (c) 2026 Akari Tsuyukusa <[email protected]>
+ */
+
+#include "mt6589-lenovo-blade.dtsi"
+
+/ {
+	model = "Lenovo YOGA Tablet 10 (Wi-Fi)";
+	compatible = "lenovo,b8000-f", "mediatek,mt6589";
+};
+
+&uart0 {
+	status = "okay";
+};
arch/arm/boot/dts/mediatek/mt6589-lenovo-blade.dtsi new file +37 -0
new file mode 100644
index 000000000000..3a6e0d8c8a64
@@ -0,0 +1,37 @@
+// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+/*
+ * Copyright (c) 2026 Akari Tsuyukusa <[email protected]>
+ */
+
+/dts-v1/;
+#include "mt6589.dtsi"
+
+/ {
+	chosen {
+		framebuffer0: framebuffer@bf600000 {
+			compatible = "simple-framebuffer";
+			memory-region = <&framebuffer_reserved>;
+			width = <1280>;
+			height = <800>;
+			stride = <(1280 * 2)>;
+			format = "r5g6b5";
+		};
+	};
+
+	memory@80000000 {
+		device_type = "memory";
+		reg = <0x80000000 0x40000000>;
+	};
+
+	reserved-memory {
+		#address-cells = <1>;
+		#size-cells = <1>;
+
+		ranges;
+
+		framebuffer_reserved: memory@bf600000{
+			reg = <0xbf600000 0xa00000>;
+			no-map;
+		};
+	};
+};
Signature · 1 line
2.52.0
Acked-by on v2 1/2
#2 lore raw

Re: [PATCH v2 1/2] dt-bindings: arm: mediatek: Add Lenovo YOGA Tablet 10 (Wi-Fi)

In reply to Akari Tsuyukusa
Quoted 19 lines · Akari Tsuyukusa

Add an entry for Lenovo YOGA Tablet 10 (Wi-Fi) tablet board, named b8000-f.

It belongs to Lenovo's "blade" product family, a codename found in the stock Android "ro.product.board" property (e.g., "blade10_row_wifi" for B8000-F and "blade8_row_3gdata" for B6000-H).

The "blade" family includes several variants with different screen sizes and connectivity:

YOGA Tablet 8 (8-inch display)
B6000-F : Wi-Fi
B6000-H : Wi-Fi + 3G (Data only)
B6000-HV : Wi-Fi + 3G (Voice)

YOGA Tablet 10 (10-inch display)
B8000-F : Wi-Fi
B8000-H : Wi-Fi + 3G (Data only)

Quoted 5 lines

These devices feature 1GB of RAM and powered by MediaTek MT8125 or MT8389 SoC. Since these SoCs are tablet-oriented variants of MT6589, they are grouped under the "mediatek,mt6589" compatible string.

Best regards,
Krzysztof

#4 lore raw

Re: [PATCH v2 2/2] arm: dts: mediatek: mt6589: add basic support for Lenovo B8000-F

In reply to Akari Tsuyukusa
Quoted 95 lines · Akari Tsuyukusa

Lenovo YOGA Tablet 10 (Wi-Fi) - B8000-F is a tablet which belongs to the "blade" product family. It is powered by MT8125 SoC, which is the tablet version of MediaTek MT6589, and has 1GB RAM.

Like other devices in the "blade" family, it uses a framebuffer initialized by the bootloader at a consistent memory address and size. This patch adds basic support including UART and simple-framebuffer.

---
 arch/arm/boot/dts/mediatek/Makefile           |  1 +
 .../dts/mediatek/mt6589-lenovo-b8000-f.dts    | 15 ++++++++
 .../dts/mediatek/mt6589-lenovo-blade.dtsi     | 37 +++++++++++++++++++
 3 files changed, 53 insertions(+)
 create mode 100644 arch/arm/boot/dts/mediatek/mt6589-lenovo-b8000-f.dts
 create mode 100644 arch/arm/boot/dts/mediatek/mt6589-lenovo-blade.dtsi
arch/arm/boot/dts/mediatek/Makefile +1 -0
index 37c4cded0eae..b67b94b7cbd0 100644
@@ -8,6 +8,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \
        mt6582-prestigio-pmt5008-3g.dtb \
        mt6589-aquaris5.dtb \
        mt6589-fairphone-fp1.dtb \
+       mt6589-lenovo-b8000-f.dtb \
        mt6592-evb.dtb \
        mt7623a-rfb-emmc.dtb \
        mt7623a-rfb-nand.dtb \
arch/arm/boot/dts/mediatek/mt6589-lenovo-b8000-f.dts new file +15 -0
new file mode 100644
index 000000000000..47bb6ab1fe72
@@ -0,0 +1,15 @@
+// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+/*
+ * Copyright (c) 2026 Akari Tsuyukusa <[email protected]>
+ */
+
+#include "mt6589-lenovo-blade.dtsi"
+
+/ {
+       model = "Lenovo YOGA Tablet 10 (Wi-Fi)";
+       compatible = "lenovo,b8000-f", "mediatek,mt6589";
+};
+
+&uart0 {
+       status = "okay";
+};
arch/arm/boot/dts/mediatek/mt6589-lenovo-blade.dtsi new file +37 -1
new file mode 100644
index 000000000000..3a6e0d8c8a64
@@ -0,0 +1,37 @@
+// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+/*
+ * Copyright (c) 2026 Akari Tsuyukusa <[email protected]>
+ */
+
+/dts-v1/;
+#include "mt6589.dtsi"
+
+/ {
+       chosen {
+               framebuffer0: framebuffer@bf600000 {
+                       compatible = "simple-framebuffer";
+                       memory-region = <&framebuffer_reserved>;
+                       width = <1280>;
+                       height = <800>;
+                       stride = <(1280 * 2)>;
+                       format = "r5g6b5";
+               };
+       };
+
+       memory@80000000 {
+               device_type = "memory";
+               reg = <0x80000000 0x40000000>;
+       };
+
+       reserved-memory {
+               #address-cells = <1>;
+               #size-cells = <1>;
+
+               ranges;
+
+               framebuffer_reserved: memory@bf600000{
+                       reg = <0xbf600000 0xa00000>;
+                       no-map;
+               };
+       };
+};
--
Quoted 2 lines

2.52.0

Hi,

Please ignore this patch for now.

I found that the panel on the Lenovo YOGA Tablet 8 is 800x1200, which is incompatible with the current simple-framebuffer configuration.

I will fix the Device Tree in v3.

Best regards,
Akari Tsuyukusa