From: Stefan Agner <stefan-XLVq0VzYD2Y@public.gmane.org>
To: Vladimir Zapolskiy
<vladimir_zapolskiy-nmGgyN9QBj3QT0dZR+AlfA@public.gmane.org>
Cc: "Marcel Ziswiler"
<marcel.ziswiler-2KBjVHiyJgBBDgjK7y7TUQ@public.gmane.org>,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
"Lucas Stach" <l.stach-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>,
"Russell King" <linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org>,
"Sascha Hauer" <kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>,
"Petr Štetiar" <ynezz-knWk7/PSn+s@public.gmane.org>,
"Fabio Estevam"
<festevam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
"Kumar Gala" <galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>,
"Ian Campbell"
<ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org>,
"Joshua Clayton"
<stillcompiling-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
"Rob Herring" <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
"Pawel Moll" <pawel.moll-5wv7dgnIgG8@public.gmane.org>,
"Mark Rutland" <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
"Shawn Guo" <shawnguo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH v5 1/2] ARM: dts: imx6: Add support for Toradex Apalis iMX6Q/D SoM
Date: Mon, 29 Aug 2016 13:54:50 -0700 [thread overview]
Message-ID: <8379c5d41f44fc1b59a5c15650f30c68@agner.ch> (raw)
In-Reply-To: <97a3d506-35a0-2a15-18ef-2719c0596cc1-nmGgyN9QBj3QT0dZR+AlfA@public.gmane.org>
On 2016-08-29 06:28, Vladimir Zapolskiy wrote:
> Hi Marcel,
>
> On 02/05/2016 06:12 PM, Marcel Ziswiler wrote:
>> From: Petr Štetiar <ynezz-knWk7/PSn+s@public.gmane.org>
>>
>> Signed-off-by: Marcel Ziswiler <marcel.ziswiler-2KBjVHiyJgBBDgjK7y7TUQ@public.gmane.org>
>> Signed-off-by: Petr Štetiar <ynezz-knWk7/PSn+s@public.gmane.org>
>> Reviewed-by: Stefan Agner <stefan-XLVq0VzYD2Y@public.gmane.org>
>> ---
>>
>
> because the change is in mainline now below is kind of out of date
> information, but you may find it helpful.
>
> [snip]
>
>> - fixed HDMI DDC (requires GPIO-based bitbanging I2C to be enabled)
>
> This is not needed.
>
> [snip]
>
>> + /* DDC_I2C: I2C2_SDA/SCL on MXM3 205/207 */
>> + i2cddc: i2c@0 {
>> + compatible = "i2c-gpio";
>> + pinctrl-names = "default";
>> + pinctrl-0 = <&pinctrl_i2c_ddc>;
>> + gpios = <&gpio3 16 GPIO_ACTIVE_HIGH /* sda */
>> + &gpio2 30 GPIO_ACTIVE_HIGH /* scl */
>> + >;
>> + i2c-gpio,delay-us = <2>; /* ~100 kHz */
>> + status = "disabled";
>> + };
>> +
>
> This is not needed.
>
> [snip]
>
>> + pinctrl_i2c_ddc: gpioi2cddcgrp {
>> + fsl,pins = <
>> + /* DDC bitbang */
>> + MX6QDL_PAD_EIM_EB2__GPIO2_IO30 0x1b0b0
>> + MX6QDL_PAD_EIM_D16__GPIO3_IO16 0x1b0b0
>> + >;
>> + };
>> +
>
> Practically you don't need this overcomplicated GPIO-based bitbanging
> to emulate I2C, because the DW HDMI controller has a reduced I2C
> controller on board, you may take a look at its support published here:
>
> http://www.spinics.net/lists/dri-devel/msg116308.html
>
> To utilize it the pads should be set to HDMI function instead of
> I2C or GPIO.
Thanks for the notification! I guess we'd also have to remove...
+&hdmi {
+ ddc-i2c-bus = <&i2cddc>;
...this line...
+ status = "okay";
+};
+
+&i2cddc {
+ status = "okay";
+};
and this from arch/arm/boot/dts/imx6q-apalis-ixora.dts.
--
Stefan
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2016-08-29 20:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-05 16:12 [PATCH v5 0/2] ARM: dts: imx6: Add support for Toradex Apalis iMX6Q/D SoM/Ixora carrier board Marcel Ziswiler
2016-02-05 16:12 ` [PATCH v5 1/2] ARM: dts: imx6: Add support for Toradex Apalis iMX6Q/D SoM Marcel Ziswiler
[not found] ` <1454688741-4238-2-git-send-email-marcel.ziswiler-2KBjVHiyJgBBDgjK7y7TUQ@public.gmane.org>
2016-08-29 13:28 ` Vladimir Zapolskiy
[not found] ` <97a3d506-35a0-2a15-18ef-2719c0596cc1-nmGgyN9QBj3QT0dZR+AlfA@public.gmane.org>
2016-08-29 20:54 ` Stefan Agner [this message]
2016-09-16 13:28 ` Marcel Ziswiler
2016-02-05 16:12 ` [PATCH v5 2/2] ARM: dts: imx6: Add support for Toradex Ixora carrier board Marcel Ziswiler
2016-02-14 6:54 ` [PATCH v5 0/2] ARM: dts: imx6: Add support for Toradex Apalis iMX6Q/D SoM/Ixora " Shawn Guo
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=8379c5d41f44fc1b59a5c15650f30c68@agner.ch \
--to=stefan-xlvq0vzyd2y@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=festevam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
--cc=ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org \
--cc=kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org \
--cc=l.stach-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org \
--cc=marcel.ziswiler-2KBjVHiyJgBBDgjK7y7TUQ@public.gmane.org \
--cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
--cc=pawel.moll-5wv7dgnIgG8@public.gmane.org \
--cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=shawnguo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=stillcompiling-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=vladimir_zapolskiy-nmGgyN9QBj3QT0dZR+AlfA@public.gmane.org \
--cc=ynezz-knWk7/PSn+s@public.gmane.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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).