Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit faf93ff6 authored by Giridhar Maruthy's avatar Giridhar Maruthy Committed by Wolfram Sang
Browse files

i2c: s3c2410: Add quirk to exclude GPIO config for exynos5440

parent fc91e401
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -8,6 +8,8 @@ Required properties:
      (b) "samsung, s3c2440-i2c", for i2c compatible with s3c2440 i2c.
      (b) "samsung, s3c2440-i2c", for i2c compatible with s3c2440 i2c.
      (c) "samsung, s3c2440-hdmiphy-i2c", for s3c2440-like i2c used
      (c) "samsung, s3c2440-hdmiphy-i2c", for s3c2440-like i2c used
          inside HDMIPHY block found on several samsung SoCs
          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
  - reg: physical base address of the controller and length of memory mapped
    region.
    region.
  - interrupts: interrupt number to the cpu.
  - interrupts: interrupt number to the cpu.
+2 −0
Original line number Original line Diff line number Diff line
@@ -111,6 +111,8 @@ static const struct of_device_id s3c24xx_i2c_match[] = {
	{ .compatible = "samsung,s3c2440-i2c", .data = (void *)QUIRK_S3C2440 },
	{ .compatible = "samsung,s3c2440-i2c", .data = (void *)QUIRK_S3C2440 },
	{ .compatible = "samsung,s3c2440-hdmiphy-i2c",
	{ .compatible = "samsung,s3c2440-hdmiphy-i2c",
	  .data = (void *)(QUIRK_S3C2440 | QUIRK_HDMIPHY | QUIRK_NO_GPIO) },
	  .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);
MODULE_DEVICE_TABLE(of, s3c24xx_i2c_match);