public inbox for linux-mediatek@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add initial support for Lenovo YOGA Tablet 10 (Wi-Fi)
@ 2026-03-05 18:51 Akari Tsuyukusa
  2026-03-05 18:51 ` [PATCH v2 1/2] dt-bindings: arm: mediatek: Add " Akari Tsuyukusa
  2026-03-05 18:51 ` [PATCH v2 2/2] arm: dts: mediatek: mt6589: add basic support for Lenovo B8000-F Akari Tsuyukusa
  0 siblings, 2 replies; 5+ messages in thread
From: Akari Tsuyukusa @ 2026-03-05 18:51 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, matthias.bgg, angelogioacchino.delregno,
	sean.wang
  Cc: devicetree, linux-kernel, linux-arm-kernel, linux-mediatek,
	Akari Tsuyukusa

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

-- 
2.52.0



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

* [PATCH v2 1/2] dt-bindings: arm: mediatek: Add Lenovo YOGA Tablet 10 (Wi-Fi)
  2026-03-05 18:51 [PATCH v2 0/2] Add initial support for Lenovo YOGA Tablet 10 (Wi-Fi) Akari Tsuyukusa
@ 2026-03-05 18:51 ` Akari Tsuyukusa
  2026-03-06  8:01   ` Krzysztof Kozlowski
  2026-03-05 18:51 ` [PATCH v2 2/2] arm: dts: mediatek: mt6589: add basic support for Lenovo B8000-F Akari Tsuyukusa
  1 sibling, 1 reply; 5+ messages in thread
From: Akari Tsuyukusa @ 2026-03-05 18:51 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, matthias.bgg, angelogioacchino.delregno,
	sean.wang
  Cc: devicetree, linux-kernel, linux-arm-kernel, linux-mediatek,
	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)

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.

Signed-off-by: Akari Tsuyukusa <akkun11.open@gmail.com>
---
 Documentation/devicetree/bindings/arm/mediatek.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/arm/mediatek.yaml b/Documentation/devicetree/bindings/arm/mediatek.yaml
index 382d0eb4d0af..ab3c5b1152f0 100644
--- a/Documentation/devicetree/bindings/arm/mediatek.yaml
+++ b/Documentation/devicetree/bindings/arm/mediatek.yaml
@@ -44,6 +44,7 @@ properties:
       - items:
           - enum:
               - fairphone,fp1
+              - lenovo,b8000-f
               - mundoreader,bq-aquaris5
           - const: mediatek,mt6589
       - items:
-- 
2.52.0



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

* [PATCH v2 2/2] arm: dts: mediatek: mt6589: add basic support for Lenovo B8000-F
  2026-03-05 18:51 [PATCH v2 0/2] Add initial support for Lenovo YOGA Tablet 10 (Wi-Fi) Akari Tsuyukusa
  2026-03-05 18:51 ` [PATCH v2 1/2] dt-bindings: arm: mediatek: Add " Akari Tsuyukusa
@ 2026-03-05 18:51 ` Akari Tsuyukusa
  2026-03-13  9:39   ` Akari Tsuyukusa
  1 sibling, 1 reply; 5+ messages in thread
From: Akari Tsuyukusa @ 2026-03-05 18:51 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, matthias.bgg, angelogioacchino.delregno,
	sean.wang
  Cc: devicetree, linux-kernel, linux-arm-kernel, linux-mediatek,
	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.

Signed-off-by: Akari Tsuyukusa <akkun11.open@gmail.com>
---
 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

diff --git a/arch/arm/boot/dts/mediatek/Makefile b/arch/arm/boot/dts/mediatek/Makefile
index 37c4cded0eae..b67b94b7cbd0 100644
--- a/arch/arm/boot/dts/mediatek/Makefile
+++ b/arch/arm/boot/dts/mediatek/Makefile
@@ -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 \
diff --git a/arch/arm/boot/dts/mediatek/mt6589-lenovo-b8000-f.dts b/arch/arm/boot/dts/mediatek/mt6589-lenovo-b8000-f.dts
new file mode 100644
index 000000000000..47bb6ab1fe72
--- /dev/null
+++ b/arch/arm/boot/dts/mediatek/mt6589-lenovo-b8000-f.dts
@@ -0,0 +1,15 @@
+// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+/*
+ * Copyright (c) 2026 Akari Tsuyukusa <akkun11.open@gmail.com>
+ */
+
+#include "mt6589-lenovo-blade.dtsi"
+
+/ {
+	model = "Lenovo YOGA Tablet 10 (Wi-Fi)";
+	compatible = "lenovo,b8000-f", "mediatek,mt6589";
+};
+
+&uart0 {
+	status = "okay";
+};
diff --git a/arch/arm/boot/dts/mediatek/mt6589-lenovo-blade.dtsi b/arch/arm/boot/dts/mediatek/mt6589-lenovo-blade.dtsi
new file mode 100644
index 000000000000..3a6e0d8c8a64
--- /dev/null
+++ b/arch/arm/boot/dts/mediatek/mt6589-lenovo-blade.dtsi
@@ -0,0 +1,37 @@
+// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+/*
+ * Copyright (c) 2026 Akari Tsuyukusa <akkun11.open@gmail.com>
+ */
+
+/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;
+		};
+	};
+};
-- 
2.52.0



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

* Re: [PATCH v2 1/2] dt-bindings: arm: mediatek: Add Lenovo YOGA Tablet 10 (Wi-Fi)
  2026-03-05 18:51 ` [PATCH v2 1/2] dt-bindings: arm: mediatek: Add " Akari Tsuyukusa
@ 2026-03-06  8:01   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 5+ messages in thread
From: Krzysztof Kozlowski @ 2026-03-06  8:01 UTC (permalink / raw)
  To: Akari Tsuyukusa
  Cc: robh, krzk+dt, conor+dt, matthias.bgg, angelogioacchino.delregno,
	sean.wang, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek

On Fri, Mar 06, 2026 at 03:51:15AM +0900, Akari Tsuyukusa wrote:
> 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.
> 
> Signed-off-by: Akari Tsuyukusa <akkun11.open@gmail.com>

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>

Best regards,
Krzysztof



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

* Re: [PATCH v2 2/2] arm: dts: mediatek: mt6589: add basic support for Lenovo B8000-F
  2026-03-05 18:51 ` [PATCH v2 2/2] arm: dts: mediatek: mt6589: add basic support for Lenovo B8000-F Akari Tsuyukusa
@ 2026-03-13  9:39   ` Akari Tsuyukusa
  0 siblings, 0 replies; 5+ messages in thread
From: Akari Tsuyukusa @ 2026-03-13  9:39 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, matthias.bgg, angelogioacchino.delregno,
	sean.wang
  Cc: devicetree, linux-kernel, linux-arm-kernel, linux-mediatek

On Fri, Mar 6, 2026 at 3:51 AM Akari Tsuyukusa <akkun11.open@gmail.com> wrote:
>
> 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.
>
> Signed-off-by: Akari Tsuyukusa <akkun11.open@gmail.com>
> ---
>  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
>
> diff --git a/arch/arm/boot/dts/mediatek/Makefile b/arch/arm/boot/dts/mediatek/Makefile
> index 37c4cded0eae..b67b94b7cbd0 100644
> --- a/arch/arm/boot/dts/mediatek/Makefile
> +++ b/arch/arm/boot/dts/mediatek/Makefile
> @@ -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 \
> diff --git a/arch/arm/boot/dts/mediatek/mt6589-lenovo-b8000-f.dts b/arch/arm/boot/dts/mediatek/mt6589-lenovo-b8000-f.dts
> new file mode 100644
> index 000000000000..47bb6ab1fe72
> --- /dev/null
> +++ b/arch/arm/boot/dts/mediatek/mt6589-lenovo-b8000-f.dts
> @@ -0,0 +1,15 @@
> +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +/*
> + * Copyright (c) 2026 Akari Tsuyukusa <akkun11.open@gmail.com>
> + */
> +
> +#include "mt6589-lenovo-blade.dtsi"
> +
> +/ {
> +       model = "Lenovo YOGA Tablet 10 (Wi-Fi)";
> +       compatible = "lenovo,b8000-f", "mediatek,mt6589";
> +};
> +
> +&uart0 {
> +       status = "okay";
> +};
> diff --git a/arch/arm/boot/dts/mediatek/mt6589-lenovo-blade.dtsi b/arch/arm/boot/dts/mediatek/mt6589-lenovo-blade.dtsi
> new file mode 100644
> index 000000000000..3a6e0d8c8a64
> --- /dev/null
> +++ b/arch/arm/boot/dts/mediatek/mt6589-lenovo-blade.dtsi
> @@ -0,0 +1,37 @@
> +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +/*
> + * Copyright (c) 2026 Akari Tsuyukusa <akkun11.open@gmail.com>
> + */
> +
> +/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;
> +               };
> +       };
> +};
> --
> 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


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

end of thread, other threads:[~2026-03-13  9:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-05 18:51 [PATCH v2 0/2] Add initial support for Lenovo YOGA Tablet 10 (Wi-Fi) Akari Tsuyukusa
2026-03-05 18:51 ` [PATCH v2 1/2] dt-bindings: arm: mediatek: Add " Akari Tsuyukusa
2026-03-06  8:01   ` Krzysztof Kozlowski
2026-03-05 18:51 ` [PATCH v2 2/2] arm: dts: mediatek: mt6589: add basic support for Lenovo B8000-F Akari Tsuyukusa
2026-03-13  9:39   ` Akari Tsuyukusa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox