Re: [PATCH v5 2/2] arm64: dts: qcom: Add support for Huawei MateBook E 2019

From: Konrad Dybcio

Date: Wed Oct 08 2025 - 05:25:14 EST


On 10/8/25 3:54 AM, Jingzhou Zhu wrote:
> Add device tree for Huawei MateBook E 2019, which is a 2-in-1 tablet based
> on Qualcomm's sdm850 platform.
>
> Supported features:
> - ADSP, CDSP and SLPI
> - Volume Key
> - Power Key
> - Tablet Mode Switching
> - Display
> - Touchscreen
> - Stylus
> - WiFi [1]
> - Bluetooth [2]
> - GPU
> - USB
> - Keyboard
> - Touchpad
> - UFS
> - SD Card
> - Audio (right internal mic and headphone mic not working)
> - Mobile Network

Just some cosmetic notes

[...]

> +&pm8998_gpios {
> + sw_edp_1p2_en: sw-edp-1p2-en-state {
> + pins = "gpio9";
> + function = "normal";
> +
> + bias-disable;

odd \n-s inbetween

[...]

> + mm1-dai-link {
> + link-name = "MultiMedia1";
> + cpu {

a \n between the last property and the subsequent subnode is customary

[...]

> + slim-dai-link {
> + link-name = "SLIM Playback";
> + cpu {
> + sound-dai = <&q6afedai SLIMBUS_0_RX>;
> + };
> +
> + platform {
> + sound-dai = <&q6routing>;
> + };
> +
> + codec {
> + sound-dai = <&left_spkr>, <&right_spkr>, <&swm 0>, <&wcd9340 AIF1_PB>;
> + };

'co'dec < 'cp'u < 'p'latform

[...]

> +&tlmm {
> + gpio-reserved-ranges = <0 4>, <81 4>;

Would you happen to know what these correspond to? See e.g. x1-crd.dtsi

> +
> + cam_indicator_en: cam-indicator-en-state {
> + pins = "gpio12";
> + function = "gpio";
> +
> + drive-strength = <2>;

strange separatory \n-s here too


lgtm otherwise

Konrad