From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> To: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Alim Akhtar <alim.akhtar@samsung.com>, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Subject: [PATCH 7/7] ARM: dts: exynos: move I2C10 out of soc node on Arndale Date: Tue, 7 Feb 2023 22:00:20 +0100 [thread overview] Message-ID: <20230207210020.677007-7-krzysztof.kozlowski@linaro.org> (raw) In-Reply-To: <20230207210020.677007-1-krzysztof.kozlowski@linaro.org> 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'} Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> --- arch/arm/boot/dts/exynos5250-arndale.dts | 28 +++++++++++------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts index 305289ed06d8..56f08ca4762c 100644 --- a/arch/arm/boot/dts/exynos5250-arndale.dts +++ b/arch/arm/boot/dts/exynos5250-arndale.dts @@ -73,6 +73,19 @@ key-wakeup { }; }; + /* + * 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-10 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c2_gpio_bus>; + compatible = "i2c-gpio"; + sda-gpios = <&gpa0 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + scl-gpios = <&gpa0 7 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + i2c-gpio,delay-us = <2>; + }; + panel: panel { compatible = "boe,hv070wsa-100"; power-supply = <&vcc_3v3_reg>; @@ -615,21 +628,6 @@ &sata_phy_i2c { status = "okay"; }; -&soc { - /* - * 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-10 { - pinctrl-names = "default"; - pinctrl-0 = <&i2c2_gpio_bus>; - compatible = "i2c-gpio"; - sda-gpios = <&gpa0 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; - scl-gpios = <&gpa0 7 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; - i2c-gpio,delay-us = <2>; - }; -}; - &usbdrd { vdd10-supply = <&ldo15_reg>; vdd33-supply = <&ldo12_reg>; -- 2.34.1
WARNING: multiple messages have this Message-ID (diff)
From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> To: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Alim Akhtar <alim.akhtar@samsung.com>, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Subject: [PATCH 7/7] ARM: dts: exynos: move I2C10 out of soc node on Arndale Date: Tue, 7 Feb 2023 22:00:20 +0100 [thread overview] Message-ID: <20230207210020.677007-7-krzysztof.kozlowski@linaro.org> (raw) In-Reply-To: <20230207210020.677007-1-krzysztof.kozlowski@linaro.org> 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'} Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> --- arch/arm/boot/dts/exynos5250-arndale.dts | 28 +++++++++++------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts index 305289ed06d8..56f08ca4762c 100644 --- a/arch/arm/boot/dts/exynos5250-arndale.dts +++ b/arch/arm/boot/dts/exynos5250-arndale.dts @@ -73,6 +73,19 @@ key-wakeup { }; }; + /* + * 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-10 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c2_gpio_bus>; + compatible = "i2c-gpio"; + sda-gpios = <&gpa0 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + scl-gpios = <&gpa0 7 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + i2c-gpio,delay-us = <2>; + }; + panel: panel { compatible = "boe,hv070wsa-100"; power-supply = <&vcc_3v3_reg>; @@ -615,21 +628,6 @@ &sata_phy_i2c { status = "okay"; }; -&soc { - /* - * 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-10 { - pinctrl-names = "default"; - pinctrl-0 = <&i2c2_gpio_bus>; - compatible = "i2c-gpio"; - sda-gpios = <&gpa0 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; - scl-gpios = <&gpa0 7 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; - i2c-gpio,delay-us = <2>; - }; -}; - &usbdrd { vdd10-supply = <&ldo15_reg>; vdd33-supply = <&ldo12_reg>; -- 2.34.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2023-02-07 21:01 UTC|newest] Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-02-07 21:00 [PATCH 1/7] ARM: dts: exynos: Remove empty camera pinctrl configuration in Trats Krzysztof Kozlowski 2023-02-07 21:00 ` Krzysztof Kozlowski 2023-02-07 21:00 ` [PATCH 2/7] ARM: dts: exynos: Remove empty camera pinctrl configuration in Universal C210 Krzysztof Kozlowski 2023-02-07 21:00 ` Krzysztof Kozlowski 2023-05-08 17:04 ` (subset) " Krzysztof Kozlowski 2023-02-07 21:00 ` [PATCH 3/7] ARM: dts: exynos: Remove empty camera pinctrl configuration in Odroid X/U3 Krzysztof Kozlowski 2023-02-07 21:00 ` Krzysztof Kozlowski 2023-05-08 17:04 ` (subset) " Krzysztof Kozlowski 2023-02-07 21:00 ` [PATCH 4/7] ARM: dts: exynos: align status led name with bindings on Origen4210 Krzysztof Kozlowski 2023-02-07 21:00 ` Krzysztof Kozlowski 2023-02-09 11:10 ` (subset) " Krzysztof Kozlowski 2023-02-09 11:10 ` Krzysztof Kozlowski 2023-02-07 21:00 ` [PATCH 5/7] ARM: dts: exynos: drop default status from I2C10 on Arndale Krzysztof Kozlowski 2023-02-07 21:00 ` Krzysztof Kozlowski 2023-02-09 11:10 ` (subset) " Krzysztof Kozlowski 2023-02-09 11:10 ` Krzysztof Kozlowski 2023-02-07 21:00 ` [PATCH 6/7] ARM: dts: exynos: drop redundant address/size cells " Krzysztof Kozlowski 2023-02-07 21:00 ` Krzysztof Kozlowski 2023-02-09 11:10 ` (subset) " Krzysztof Kozlowski 2023-02-09 11:10 ` Krzysztof Kozlowski 2023-02-07 21:00 ` Krzysztof Kozlowski [this message] 2023-02-07 21:00 ` [PATCH 7/7] ARM: dts: exynos: move I2C10 out of soc node " Krzysztof Kozlowski 2023-02-09 11:10 ` (subset) " Krzysztof Kozlowski 2023-02-09 11:10 ` Krzysztof Kozlowski 2023-05-08 17:04 ` (subset) [PATCH 1/7] ARM: dts: exynos: Remove empty camera pinctrl configuration in Trats Krzysztof Kozlowski
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230207210020.677007-7-krzysztof.kozlowski@linaro.org \ --to=krzysztof.kozlowski@linaro.org \ --cc=alim.akhtar@samsung.com \ --cc=devicetree@vger.kernel.org \ --cc=krzysztof.kozlowski+dt@linaro.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-samsung-soc@vger.kernel.org \ --cc=robh+dt@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.