* PATCH v2] i2c: s3c2410: Add quirk to exclude GPIO config for exynos5440
@ 2013-01-23 2:47 Kukjin Kim
2013-01-24 12:25 ` Wolfram Sang
0 siblings, 1 reply; 3+ messages in thread
From: Kukjin Kim @ 2013-01-23 2:47 UTC (permalink / raw)
To: 'Tomasz Figa'
Cc: linux-samsung-soc, linux-i2c, 'Wolfram Sang',
'Giridhar Maruthy'
From: Giridhar Maruthy <giridhar.m@samsung.com>
Signed-off-by: Giridhar Maruthy <giridhar.m@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
---
Changes since v1:
- added documentation of device tree bindings for i2c-s3c2410,
as per Tomasz's suggestion
- changed ordering for of_device_id according to binding ordering
of the documentation
Documentation/devicetree/bindings/i2c/i2c-s3c2410.txt | 2 ++
drivers/i2c/busses/i2c-s3c2410.c | 2 ++
2 files changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/i2c/i2c-s3c2410.txt
b/Documentation/devicetree/bindings/i2c/i2c-s3c2410.txt
index e9611ac..b92bc14 100644
--- a/Documentation/devicetree/bindings/i2c/i2c-s3c2410.txt
+++ b/Documentation/devicetree/bindings/i2c/i2c-s3c2410.txt
@@ -8,6 +8,8 @@ Required properties:
(b) "samsung, s3c2440-i2c", for i2c compatible with s3c2440 i2c.
(c) "samsung, s3c2440-hdmiphy-i2c", for s3c2440-like i2c used
inside HDMIPHY block found on several samsung SoCs
+ (d) "samsung, exynos5440-i2c", for s3c2440-like i2c used
+ on EXYNOS5440 which does not need GPIO configuration.
- reg: physical base address of the controller and length of memory
mapped
region.
- interrupts: interrupt number to the cpu.
diff --git a/drivers/i2c/busses/i2c-s3c2410.c
b/drivers/i2c/busses/i2c-s3c2410.c
index a290d08..17c5c37 100644
--- a/drivers/i2c/busses/i2c-s3c2410.c
+++ b/drivers/i2c/busses/i2c-s3c2410.c
@@ -111,6 +111,8 @@ static const struct of_device_id s3c24xx_i2c_match[] = {
{ .compatible = "samsung,s3c2440-i2c", .data = (void *)QUIRK_S3C2440
},
{ .compatible = "samsung,s3c2440-hdmiphy-i2c",
.data = (void *)(QUIRK_S3C2440 | QUIRK_HDMIPHY | QUIRK_NO_GPIO) },
+ { .compatible = "samsung,exynos5440-i2c",
+ .data = (void *)(QUIRK_S3C2440 | QUIRK_NO_GPIO) },
{},
};
MODULE_DEVICE_TABLE(of, s3c24xx_i2c_match);
--
1.7.10.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: PATCH v2] i2c: s3c2410: Add quirk to exclude GPIO config for exynos5440
2013-01-23 2:47 PATCH v2] i2c: s3c2410: Add quirk to exclude GPIO config for exynos5440 Kukjin Kim
@ 2013-01-24 12:25 ` Wolfram Sang
[not found] ` <20130124122505.GA8627-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Wolfram Sang @ 2013-01-24 12:25 UTC (permalink / raw)
To: Kukjin Kim
Cc: 'Tomasz Figa', linux-samsung-soc, linux-i2c,
'Giridhar Maruthy'
[-- Attachment #1: Type: text/plain, Size: 434 bytes --]
On Tue, Jan 22, 2013 at 06:47:39PM -0800, Kukjin Kim wrote:
> From: Giridhar Maruthy <giridhar.m@samsung.com>
>
> Signed-off-by: Giridhar Maruthy <giridhar.m@samsung.com>
> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Looks OK but is line wrapped, can't apply.
--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-01-24 19:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-23 2:47 PATCH v2] i2c: s3c2410: Add quirk to exclude GPIO config for exynos5440 Kukjin Kim
2013-01-24 12:25 ` Wolfram Sang
[not found] ` <20130124122505.GA8627-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2013-01-24 19:28 ` Kukjin Kim
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).