arm64: dts: qcom: gaokun3: Add Embedded Controller node
authorPengyu Luo <mitltlatltl@gmail.com>
Fri, 14 Feb 2025 18:06:56 +0000 (02:06 +0800)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 3 Mar 2025 08:55:38 +0000 (10:55 +0200)
commit0b6d8f9d2df78116afb159df05bbccf13a51b758
treece0e25410d4e3134758edc9c9d3007925a84a4db
parent7636f090d02e791918bb3c924e695880123d0c59
arm64: dts: qcom: gaokun3: Add Embedded Controller node

The Embedded Controller in the Huawei Matebook E Go is accessible on &i2c15
and provides battery and adapter status, port orientation status, as well
as HPD event notifications for two USB Type-C port, etc.

Add the EC to the device tree and describe the relationship among
the type-c connectors, role switches, orientation switches and the QMP
combo PHY.

Signed-off-by: Pengyu Luo <mitltlatltl@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250214180656.28599-4-mitltlatltl@gmail.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
arch/arm64/boot/dts/qcom/sc8280xp-huawei-gaokun3.dts