i2c: s3c2410: Add quirk to exclude GPIO config for exynos5440
authorGiridhar Maruthy <giridhar.m@samsung.com>
Thu, 24 Jan 2013 19:27:51 +0000 (11:27 -0800)
committerWolfram Sang <w.sang@pengutronix.de>
Mon, 28 Jan 2013 04:26:45 +0000 (05:26 +0100)
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>
Documentation/devicetree/bindings/i2c/i2c-s3c2410.txt
drivers/i2c/busses/i2c-s3c2410.c

index e9611ace87924b8131295831103cb1ba0f3372f7..f98d4c5b5cca454026fabebe380fcce3bc698b6e 100644 (file)
@@ -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.
index 3479ca76d2ae1e488100c293c2cce8c341a390ce..5e33df7c6c8258d03fd5299b8dfaeefe4438b149 100644 (file)
@@ -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);