PATCH v2] i2c: s3c2410: Add quirk to exclude GPIO config for exynos5440
Subsystems (3)
From: Giridhar Maruthy <[email protected]>
---
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(+)
(quoted diff) +0 -0
b/Documentation/devicetree/bindings/i2c/i2c-s3c2410.txt index e9611ac..b92bc14 100644
Documentation/devicetree/bindings/i2c/i2c-s3c2410.txt +2 -0
@@ -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.
(quoted diff) +0 -0
b/drivers/i2c/busses/i2c-s3c2410.c
index a290d08..17c5c37 100644
drivers/i2c/busses/i2c-s3c2410.c +0 -0
@@ -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);
Signature · 1 line
1.7.10.4
Quoted 4 lines · Kukjin Kim
From: Giridhar Maruthy <[email protected]>
Signed-off-by Giridhar Maruthy <[email protected]>Signed-off-by Kukjin Kim <[email protected]>
Looks OK but is line wrapped, can't apply.
Signature · 2 lines
Pengutronix e.K. | Wolfram Sang | Industrial Linux Solutions | http://www.pengutronix.de/ |
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 9 lines · Wolfram Sang
Quoted 4 lines · Kukjin Kim
From: Giridhar Maruthy <[email protected]>
Signed-off-by Giridhar Maruthy <[email protected]>Signed-off-by Kukjin Kim <[email protected]>Looks OK but is line wrapped, can't apply.
Oh, OK. Re-sent it just now. Please take it.
Thanks.
- Kukjin