[PATCH v2 0/2] Add device tree for MT8188-based Chromebook "Ciri"
Fei Shao
fshao at chromium.org
Tue Nov 5 01:30:11 PST 2024
Hi maintainers,
This is the v2 series to introduce the device trees for Ciri, a
MT8188-based Chromebook, commercially known as the Lenovo Chromebook
Duet (11", 9).
Ciri is a detachable device based on the ChromeOS Geralt reference
design, where Geralt is the codename for the MT8188 platform. Ciri has 8
SKUs to accommodate the combinations of second-source components,
including audio codecs, speaker amplifiers, and MIPI-DSI panels.
The Geralt design is not used in any actual products, so its device tree
is not included.
The device trees are taken from the ChromeOS downstream v6.1 kernel,
ported to the mainline kernel and with cleanups. This series aims to
provide a basic device tree with the enabled components and features.
Additional support will be added in the future after validation with
the mainline kernel.
This series has been tested on top of the next-20241018 branch.
Patch 1 adds entries for Ciri in the MediaTek DT binding.
Patch 2 adds the dtsi files for Geralt and Ciri, followed by 8 dts files
for all the available Ciri SKUs at this moment.
Note that there are some known dtbs_check warnings:
- sound: Unevaluated 'mediatek,adsp' property
>> see [1] for the fix
- amplifier: '#sound-dai-cells' does not match any of the regexes
>> see [2] for the fix
- dp-tx: '#sound-dai-cells' does not match any of the regexes
>> see [3] for the fix
- audio-codec: 'interrupts-extended' does not match any of the regexes
>> see [4] for the fix
- pmic: 'compatible' is a required property; 'adc', 'mt6359codec',
'mt6359rtc' do not match any of the regexes
>> see [5] for the fix
- amplifier at 4f: reg:0:0: 79 is greater than the maximum of 63
>> ti,tas2781 binding specifies that ti,tas2563 register range is
0x4c-0x4f. The DT follows what the binding literally suggests.
I tried changing the binding locally but didn't help.
[1]:
https://lore.kernel.org/all/20241105091246.3944946-1-fshao@chromium.org/
[2]:
https://lore.kernel.org/all/20241105091513.3963102-1-fshao@chromium.org/
[3]:
https://lore.kernel.org/all/20241105090207.3892242-1-fshao@chromium.org/
[4]:
https://lore.kernel.org/all/20241105091910.3984381-1-fshao@chromium.org/
[5]:
https://lore.kernel.org/all/20241004030148.13366-2-macpaul.lin@mediatek.com/
[v1]:
https://lore.kernel.org/all/20241025110111.1321704-1-fshao@chromium.org/
Regards,
Fei
Changes in v2:
- remove invalid or undocumented properties
e.g. mediatek,dai-link, maxim,dsm_param_name etc.
- remove touchscreen as the driver is not yet accepted in upstream
- update sound DAI link node name to match the binding
- add missing pinctrls in audio codec nodes
Fei Shao (2):
dt-bindings: arm: mediatek: Add MT8188 Lenovo Chromebook Duet (11", 9)
arm64: dts: mediatek: Introduce MT8188 Geralt platform based Ciri
.../devicetree/bindings/arm/mediatek.yaml | 13 +
arch/arm64/boot/dts/mediatek/Makefile | 8 +
.../dts/mediatek/mt8188-geralt-ciri-sku0.dts | 11 +
.../dts/mediatek/mt8188-geralt-ciri-sku1.dts | 60 +
.../dts/mediatek/mt8188-geralt-ciri-sku2.dts | 56 +
.../dts/mediatek/mt8188-geralt-ciri-sku3.dts | 15 +
.../dts/mediatek/mt8188-geralt-ciri-sku4.dts | 43 +
.../dts/mediatek/mt8188-geralt-ciri-sku5.dts | 73 +
.../dts/mediatek/mt8188-geralt-ciri-sku6.dts | 69 +
.../dts/mediatek/mt8188-geralt-ciri-sku7.dts | 47 +
.../boot/dts/mediatek/mt8188-geralt-ciri.dtsi | 397 +++++
.../boot/dts/mediatek/mt8188-geralt.dtsi | 1492 +++++++++++++++++
12 files changed, 2284 insertions(+)
create mode 100644 arch/arm64/boot/dts/mediatek/mt8188-geralt-ciri-sku0.dts
create mode 100644 arch/arm64/boot/dts/mediatek/mt8188-geralt-ciri-sku1.dts
create mode 100644 arch/arm64/boot/dts/mediatek/mt8188-geralt-ciri-sku2.dts
create mode 100644 arch/arm64/boot/dts/mediatek/mt8188-geralt-ciri-sku3.dts
create mode 100644 arch/arm64/boot/dts/mediatek/mt8188-geralt-ciri-sku4.dts
create mode 100644 arch/arm64/boot/dts/mediatek/mt8188-geralt-ciri-sku5.dts
create mode 100644 arch/arm64/boot/dts/mediatek/mt8188-geralt-ciri-sku6.dts
create mode 100644 arch/arm64/boot/dts/mediatek/mt8188-geralt-ciri-sku7.dts
create mode 100644 arch/arm64/boot/dts/mediatek/mt8188-geralt-ciri.dtsi
create mode 100644 arch/arm64/boot/dts/mediatek/mt8188-geralt.dtsi
--
2.47.0.277.g8800431eea-goog
More information about the Linux-mediatek
mailing list