gpio: clps711x: Change the compatibility string
authorAlexander Shiyan <shc_work@mail.ru>
Sat, 4 Jun 2016 07:09:59 +0000 (10:09 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 8 Jun 2016 08:48:09 +0000 (10:48 +0200)
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>
Documentation/devicetree/bindings/gpio/gpio-clps711x.txt
drivers/gpio/gpio-clps711x.c

index e0d0446a6b78ef29ac895caeaeb2e9b7b9a53bae..0a304ad29d817e87bab4af0aa024315b8b197fe5 100644 (file)
@@ -1,7 +1,7 @@
 Cirrus Logic CLPS711X GPIO controller
 
 Required properties:
-- compatible: Should be "cirrus,clps711x-gpio"
+- compatible: Should be "cirrus,ep7209-gpio"
 - reg: Physical base GPIO controller registers location and length.
   There should be two registers, first is DATA register, the second
   is DIRECTION.
@@ -21,7 +21,7 @@ aliases {
 };
 
 porta: gpio@80000000 {
-       compatible = "cirrus,clps711x-gpio";
+       compatible = "cirrus,ep7312-gpio","cirrus,ep7209-gpio";
        reg = <0x80000000 0x1>, <0x80000040 0x1>;
        gpio-controller;
        #gpio-cells = <2>;
index 5a690256af9bea31855609da66138fef1c152df8..cd3781e5622f5a0458859f79ec6e37f63b354263 100644 (file)
@@ -71,7 +71,7 @@ static int clps711x_gpio_probe(struct platform_device *pdev)
 }
 
 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);