arm64: dts: qcom: acer-aspire1: Add embedded controller
authorNikita Travkin <nikita@trvn.ru>
Fri, 15 Mar 2024 13:51:18 +0000 (18:51 +0500)
committerHans de Goede <hdegoede@redhat.com>
Mon, 25 Mar 2024 14:49:29 +0000 (15:49 +0100)
commit0cd33df4e406ee4b705ee15d942a1ae8387a1d8b
treea6e98c2bbb578c2af6d5b4835e2df616bcff655d
parent2b3efb7c515111eaa009f014b16bce8417fb2828
arm64: dts: qcom: acer-aspire1: Add embedded controller

The laptop contains an embedded controller that provides a set of
features:

- Battery and charger monitoring
- USB Type-C DP alt mode HPD monitoring
- Lid status detection
- Small amount of keyboard configuration*

[*] The keyboard is handled by the same EC but it has a dedicated i2c
bus and is already enabled. This port only provides fn key behavior
configuration.

Add the EC to the device tree and describe the relationship between the
EC-managed type-c port and the SoC DisplayPort.

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Nikita Travkin <nikita@trvn.ru>
Link: https://lore.kernel.org/r/20240315-aspire1-ec-v5-4-f93381deff39@trvn.ru
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
arch/arm64/boot/dts/qcom/sc7180-acer-aspire1.dts