video: clps711x-fb: Changing the compatibility string to match with the smallest...
authorAlexander Shiyan <shc_work@mail.ru>
Sat, 4 Jun 2016 07:10:02 +0000 (10:10 +0300)
committerArnd Bergmann <arnd@arndb.de>
Wed, 6 Jul 2016 15:38:19 +0000 (17:38 +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: Arnd Bergmann <arnd@arndb.de>
Documentation/devicetree/bindings/display/cirrus,clps711x-fb.txt
drivers/video/fbdev/clps711x-fb.c

index d685be898d0ca6a001856383f61c83aec5b8d242..e9c65746e2f1fac23285fc9e1d0a133192b66cfb 100644 (file)
@@ -1,7 +1,7 @@
 * Currus Logic CLPS711X Framebuffer
 
 Required properties:
-- compatible: Shall contain "cirrus,clps711x-fb".
+- compatible: Shall contain "cirrus,ep7209-fb".
 - reg       : Physical base address and length of the controller's registers +
               location and size of the framebuffer memory.
 - clocks    : phandle + clock specifier pair of the FB reference clock.
@@ -18,7 +18,7 @@ Optional properties:
 
 Example:
        fb: fb@800002c0 {
-               compatible = "cirrus,ep7312-fb", "cirrus,clps711x-fb";
+               compatible = "cirrus,ep7312-fb", "cirrus,ep7209-fb";
                reg = <0x800002c0 0xd44>, <0x60000000 0xc000>;
                clocks = <&clks 2>;
                lcd-supply = <&reg5v0>;
index 649b32f78c08623b9a3761f97adfa803de150d9f..ff561073ee4ecf9710079f3a41a677c34dfb10ae 100644 (file)
@@ -273,7 +273,7 @@ static int clps711x_fb_probe(struct platform_device *pdev)
        }
 
        cfb->syscon =
-               syscon_regmap_lookup_by_compatible("cirrus,clps711x-syscon1");
+               syscon_regmap_lookup_by_compatible("cirrus,ep7209-syscon1");
        if (IS_ERR(cfb->syscon)) {
                ret = PTR_ERR(cfb->syscon);
                goto out_fb_release;
@@ -376,7 +376,7 @@ static int clps711x_fb_remove(struct platform_device *pdev)
 }
 
 static const struct of_device_id clps711x_fb_dt_ids[] = {
-       { .compatible = "cirrus,clps711x-fb", },
+       { .compatible = "cirrus,ep7209-fb", },
        { }
 };
 MODULE_DEVICE_TABLE(of, clps711x_fb_dt_ids);