瀏覽代碼

gpio: clps711x: Change the compatibility string

This patch changes the compatibility string to match with the smallest
supported chip (EP7209). Since the DT-support for this CPU is not yet
announced, this change is safe.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Alexander Shiyan 9 年之前
父節點
當前提交
1a4d458bdf
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 2 2
      Documentation/devicetree/bindings/gpio/gpio-clps711x.txt
  2. 1 1
      drivers/gpio/gpio-clps711x.c

+ 2 - 2
Documentation/devicetree/bindings/gpio/gpio-clps711x.txt

@@ -1,7 +1,7 @@
 Cirrus Logic CLPS711X GPIO controller
 Cirrus Logic CLPS711X GPIO controller
 
 
 Required properties:
 Required properties:
-- compatible: Should be "cirrus,clps711x-gpio"
+- compatible: Should be "cirrus,ep7209-gpio"
 - reg: Physical base GPIO controller registers location and length.
 - reg: Physical base GPIO controller registers location and length.
   There should be two registers, first is DATA register, the second
   There should be two registers, first is DATA register, the second
   is DIRECTION.
   is DIRECTION.
@@ -21,7 +21,7 @@ aliases {
 };
 };
 
 
 porta: gpio@80000000 {
 porta: gpio@80000000 {
-	compatible = "cirrus,clps711x-gpio";
+	compatible = "cirrus,ep7312-gpio","cirrus,ep7209-gpio";
 	reg = <0x80000000 0x1>, <0x80000040 0x1>;
 	reg = <0x80000000 0x1>, <0x80000040 0x1>;
 	gpio-controller;
 	gpio-controller;
 	#gpio-cells = <2>;
 	#gpio-cells = <2>;

+ 1 - 1
drivers/gpio/gpio-clps711x.c

@@ -71,7 +71,7 @@ static int clps711x_gpio_probe(struct platform_device *pdev)
 }
 }
 
 
 static const struct of_device_id __maybe_unused clps711x_gpio_ids[] = {
 static const struct of_device_id __maybe_unused clps711x_gpio_ids[] = {
-	{ .compatible = "cirrus,clps711x-gpio" },
+	{ .compatible = "cirrus,ep7209-gpio" },
 	{ }
 	{ }
 };
 };
 MODULE_DEVICE_TABLE(of, clps711x_gpio_ids);
 MODULE_DEVICE_TABLE(of, clps711x_gpio_ids);