Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: exynos: move I2C10 out of soc node on Arndale

I2C10 is represented as i2c-gpio device, thus it is not really a part of
soc MMIO bus:

exynos5250-arndale.dtb: soc: i2c-10: {'pinctrl-names': ['default'], ... } should not be valid under {'type': 'object'}

Link: https://lore.kernel.org/r/20230207210020.677007-7-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

+13 -15
+13 -15
arch/arm/boot/dts/exynos5250-arndale.dts
··· 73 73 }; 74 74 }; 75 75 76 + /* 77 + * For unknown reasons HDMI-DDC does not work with Exynos I2C 78 + * controllers. Lets use software I2C over GPIO pins as a workaround. 79 + */ 80 + i2c_ddc: i2c-10 { 81 + compatible = "i2c-gpio"; 82 + pinctrl-names = "default"; 83 + pinctrl-0 = <&i2c2_gpio_bus>; 84 + sda-gpios = <&gpa0 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 85 + scl-gpios = <&gpa0 7 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 86 + i2c-gpio,delay-us = <2>; 87 + }; 88 + 76 89 panel: panel { 77 90 compatible = "boe,hv070wsa-100"; 78 91 power-supply = <&vcc_3v3_reg>; ··· 626 613 627 614 &sata_phy_i2c { 628 615 status = "okay"; 629 - }; 630 - 631 - &soc { 632 - /* 633 - * For unknown reasons HDMI-DDC does not work with Exynos I2C 634 - * controllers. Lets use software I2C over GPIO pins as a workaround. 635 - */ 636 - i2c_ddc: i2c-10 { 637 - pinctrl-names = "default"; 638 - pinctrl-0 = <&i2c2_gpio_bus>; 639 - compatible = "i2c-gpio"; 640 - sda-gpios = <&gpa0 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 641 - scl-gpios = <&gpa0 7 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 642 - i2c-gpio,delay-us = <2>; 643 - }; 644 616 }; 645 617 646 618 &usbdrd {