From: Wolfram Sang <w.sang@pengutronix.de>
To: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Karol Lewandowski <k.lewandowsk@samsung.com>,
ben-linux@fluff.org, thomas.abraham@linaro.org,
linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org,
devicetree-discuss@lists.ozlabs.org,
linux-samsung-soc@vger.kernel.org,
Tomasz Stanislawski <t.stanislaws@samsung.com>,
kyungmin.park@samsung.com, broonie@opensource.wolfsonmicro.com
Subject: Re: [PATCH 3/3] i2c-s3c2410: Add HDMIPHY quirk for S3C2440
Date: Wed, 18 Apr 2012 15:46:44 +0200 [thread overview]
Message-ID: <20120418134644.GB19220@pengutronix.de> (raw)
In-Reply-To: <00dd01cd1d5c$57ce7f80$076b7e80$%szyprowski@samsung.com>
[-- Attachment #1: Type: text/plain, Size: 1995 bytes --]
> > > Optional properties:
> > > + - gpios: The order of the gpios should be the following: <SDA, SCL>.
> > > + The gpio specifier depends on the gpio controller. Required in all cases
> > > + except when "samsung,i2c-no-gpio" is also specified.
> > > + - samsung,i2c-no-gpio: input/output lines of the controller are
> > > + permanently wired to the respective client, there are no gpio
> > > + lines that need to be configured to enable this controller
> >
> > Can't we just skip this property...
>
> All standard s3c-24x0 i2c controllers require gpio lines for proper operation,
> so lack of the gpios property should be considered as an error. However there
> is a special case of internal, embedded i2c controller which has no such gpio
> lines at all.
>
> > > - samsung,i2c-slave-addr: Slave address in multi-master enviroment. If not
> > > specified, default value is 0.
> > > - samsung,i2c-max-bus-freq: Desired frequency in Hz of the bus. If not
> > > specified, the default value in Hz is 100000.
> > > + - samsung,i2c-quirk-hdmiphy: Quirk for HDMI PHY block found on
> > > + Exynos4 platform - reduce timeout and reset controller after each
> > > + transfer
> >
> > ... and this one, if we declare a new compatible-entry for exynos4?
>
> It is not strictly related to Exynos4 SoCs. Exynos4 SoC has 8 standard s3c2440 style
> i2c controllers and one additional, internal controller for HDMIPHY, which needs
> some workarounds in the driver. Maybe the quirk should be named 'broken timeout
> detection'
I was wondering since you do what I suggested for platform devices already:
+ .name = "s3c2440-hdmiphy-i2c",
+ .driver_data = QUIRK_S3C2440 | QUIRK_HDMIPHY | QUIRK_NO_GPIO,
Regards,
Wolfram
--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2012-04-18 13:46 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-21 19:11 [PATCH v3 0/3] i2c-s3c2410: Updates for exynos4210 and DT-based systems Karol Lewandowski
2012-03-21 19:11 ` [PATCH 2/3] i2c-s3c2410: Rework device type handling Karol Lewandowski
[not found] ` <1332357113-2973-3-git-send-email-k.lewandowsk-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2012-03-21 20:30 ` Mark Brown
2012-04-17 17:31 ` Wolfram Sang
[not found] ` <20120417173136.GB22406-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2012-04-18 11:55 ` Karol Lewandowski
2012-04-18 13:39 ` Wolfram Sang
[not found] ` <1332357113-2973-1-git-send-email-k.lewandowsk-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2012-03-21 19:11 ` [PATCH 1/3] i2c-s3c2410: Drop unused define Karol Lewandowski
[not found] ` <1332357113-2973-2-git-send-email-k.lewandowsk-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2012-04-18 10:56 ` Wolfram Sang
2012-03-21 19:11 ` [PATCH 3/3] i2c-s3c2410: Add HDMIPHY quirk for S3C2440 Karol Lewandowski
2012-04-17 17:40 ` Wolfram Sang
[not found] ` <20120417174029.GC22406-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2012-04-18 12:11 ` Marek Szyprowski
2012-04-18 13:46 ` Wolfram Sang [this message]
[not found] ` <20120418134644.GB19220-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2012-04-18 16:31 ` Karol Lewandowski
2012-04-23 10:01 ` Wolfram Sang
2012-04-23 16:22 ` Karol Lewandowski
2012-04-13 9:30 ` [PATCH v3 0/3] i2c-s3c2410: Updates for exynos4210 and DT-based systems Karol Lewandowski
-- strict thread matches above, loose matches on Subject: below --
2012-03-13 16:54 [PATCH 0/3 v2] " Karol Lewandowski
[not found] ` <1331657679-31302-1-git-send-email-k.lewandowsk-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2012-03-13 16:54 ` [PATCH 3/3] i2c-s3c2410: Add HDMIPHY quirk for S3C2440 Karol Lewandowski
[not found] ` <1331657679-31302-4-git-send-email-k.lewandowsk-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2012-03-13 17:27 ` Tomasz Stanislawski
[not found] ` <4F5F838A.6030908-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2012-03-13 18:00 ` Karol Lewandowski
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=20120418134644.GB19220@pengutronix.de \
--to=w.sang@pengutronix.de \
--cc=ben-linux@fluff.org \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=k.lewandowsk@samsung.com \
--cc=kyungmin.park@samsung.com \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
--cc=t.stanislaws@samsung.com \
--cc=thomas.abraham@linaro.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).