arm64: dts: exynos: gs101: enable i2c bus 12 on gs101-oriole
authorAndré Draszik <andre.draszik@linaro.org>
Thu, 1 Feb 2024 16:11:43 +0000 (16:11 +0000)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 8 Feb 2024 08:06:40 +0000 (09:06 +0100)
This bus has three USB-related devices attached to it:
    0x25: Maxim 77759 Type-C port controller
    0x35: Maxim 20339EWB Surge protection IC
    0x36: Maxim 77759 Fuel gauge
    0x57: NXP PCA9468 Battery charger
    0x66: Maxim 77759 PMIC
    0x69: Maxim 77759 Charger
where the Maxim 77759 has multiple i2c slave addresses.

These don't have (upstream) Linux drivers yet, but nevertheless we can
enable the bus so as to allow working on them (and to make i2cdetect /
i2cdump / etc. work).

Signed-off-by: André Draszik <andre.draszik@linaro.org>
Reviewed-by: Peter Griffin <peter.griffin@linaro.org>
Reviewed-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Link: https://lore.kernel.org/r/20240201161258.1013664-8-andre.draszik@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm64/boot/dts/exynos/google/gs101-oriole.dts

index cb4d17339b6b26952c152fb4429e8afa868316a2..6ccade2c8cb489a347a582a77803657bb886ffb6 100644 (file)
        };
 };
 
+&hsi2c_12 {
+       status = "okay";
+       /* TODO: add the devices once drivers exist */
+};
+
 &pinctrl_far_alive {
        key_voldown: key-voldown-pins {
                samsung,pins = "gpa7-3";
        status = "okay";
 };
 
+&usi12 {
+       samsung,mode = <USI_V2_I2C>;
+       status = "okay";
+};
+
 &watchdog_cl0 {
        timeout-sec = <30>;
        status = "okay";