arm64: dts: exynos: gs101-oriole: enable Maxim max77759 TCPCi
authorAndré Draszik <andre.draszik@linaro.org>
Tue, 3 Dec 2024 12:40:27 +0000 (12:40 +0000)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 29 Dec 2024 09:58:22 +0000 (10:58 +0100)
commitddbf40d8ce4a6b35821d0a0453370ec1422d915b
tree0c229397693f857793c9b5f740e219015ade5cad
parent63da297f0303c39025172cccafca7b55b169ec3c
arm64: dts: exynos: gs101-oriole: enable Maxim max77759 TCPCi

On Pixel 6 (and Pro), a max77759 companion PMIC for USB Type-C
applications is used, which contains four functional blocks (at
distinct I2C addresses):
  * top (including GPIO)
  * charger
  * fuel gauge
  * TCPCi

While in the same package, TCPCi and Fuel Gauge have separate I2C
addresses, interrupt lines and interrupt status registers and can be
treated independently.

The TCPCi is required to detect and handle connector orientation in
Pixel's USB PHY driver, and to configure the USB controller's role
(host vs device).

This change adds the TCPCi part as it can be independent and doesn't
need a top-level MFD.

Signed-off-by: André Draszik <andre.draszik@linaro.org>
Reviewed-by: Peter Griffin <peter.griffin@linaro.org>
Tested-by: Peter Griffin <peter.griffin@linaro.org>
Link: https://lore.kernel.org/r/20241203-gs101-phy-lanes-orientation-dts-v2-4-1412783a6b01@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm64/boot/dts/exynos/google/gs101-oriole.dts