]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
ARM: dts: exynos: Silence i2c-gpio dtschema warning in Exynos5250 Arndale
authorKrzysztof Kozlowski <krzk@kernel.org>
Tue, 1 Sep 2020 07:54:09 +0000 (09:54 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Thu, 3 Sep 2020 20:46:55 +0000 (22:46 +0200)
The name of I2C controller over GPIO lines node ends with '-gpio' which
confuses dtschema:

  arch/arm/boot/dts/exynos5250-arndale.dt.yaml: soc: i2c-gpio:
    {'pinctrl-names': ['default'], ... 'phandle': [[65]]} is not of type 'array'
    From schema: lib/python3.6/site-packages/dtschema/schemas/gpio/gpio-consumer.yaml

Add a '-10' (there are already 0-9 I2C controllers on the SoC) suffix to
silence it.  This pattern on naming i2c-gpio is already present in many
other dts.  No functional change.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20200901075417.22481-6-krzk@kernel.org
arch/arm/boot/dts/exynos5250-arndale.dts

index 59872d83da6e159a8fe48ed190ce3f85d6833b11..ec94af640cd584ca5fa3b7d6713dd1e32d783479 100644 (file)
         * For unknown reasons HDMI-DDC does not work with Exynos I2C
         * controllers. Lets use software I2C over GPIO pins as a workaround.
         */
-       i2c_ddc: i2c-gpio {
+       i2c_ddc: i2c-10 {
                pinctrl-names = "default";
                pinctrl-0 = <&i2c2_gpio_bus>;
                status = "okay";