Skip to content

Commit faf93ff

Browse files
Linuxuser4Wolfram Sang
authored andcommitted
i2c: s3c2410: Add quirk to exclude GPIO config for exynos5440
Signed-off-by: Giridhar Maruthy <giridhar.m@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
1 parent fc91e40 commit faf93ff

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

‎Documentation/devicetree/bindings/i2c/i2c-s3c2410.txt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Required properties:
88
(b) "samsung, s3c2440-i2c", for i2c compatible with s3c2440 i2c.
99
(c) "samsung, s3c2440-hdmiphy-i2c", for s3c2440-like i2c used
1010
inside HDMIPHY block found on several samsung SoCs
11+
(d) "samsung, exynos5440-i2c", for s3c2440-like i2c used
12+
on EXYNOS5440 which does not need GPIO configuration.
1113
- reg: physical base address of the controller and length of memory mapped
1214
region.
1315
- interrupts: interrupt number to the cpu.

‎drivers/i2c/busses/i2c-s3c2410.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ static const struct of_device_id s3c24xx_i2c_match[] = {
111111
{ .compatible = "samsung,s3c2440-i2c", .data = (void *)QUIRK_S3C2440 },
112112
{ .compatible = "samsung,s3c2440-hdmiphy-i2c",
113113
.data = (void *)(QUIRK_S3C2440 | QUIRK_HDMIPHY | QUIRK_NO_GPIO) },
114+
{ .compatible = "samsung,exynos5440-i2c",
115+
.data = (void *)(QUIRK_S3C2440 | QUIRK_NO_GPIO) },
114116
{},
115117
};
116118
MODULE_DEVICE_TABLE(of, s3c24xx_i2c_match);

0 commit comments

Comments
 (0)