Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Alexander Shiyan and committed by
Linus Walleij
1a4d458b 8e7c1b80

+3 -3
+2 -2
Documentation/devicetree/bindings/gpio/gpio-clps711x.txt
··· 1 1 Cirrus Logic CLPS711X GPIO controller 2 2 3 3 Required properties: 4 - - compatible: Should be "cirrus,clps711x-gpio" 4 + - compatible: Should be "cirrus,ep7209-gpio" 5 5 - reg: Physical base GPIO controller registers location and length. 6 6 There should be two registers, first is DATA register, the second 7 7 is DIRECTION. ··· 21 21 }; 22 22 23 23 porta: gpio@80000000 { 24 - compatible = "cirrus,clps711x-gpio"; 24 + compatible = "cirrus,ep7312-gpio","cirrus,ep7209-gpio"; 25 25 reg = <0x80000000 0x1>, <0x80000040 0x1>; 26 26 gpio-controller; 27 27 #gpio-cells = <2>;
+1 -1
drivers/gpio/gpio-clps711x.c
··· 71 71 } 72 72 73 73 static const struct of_device_id __maybe_unused clps711x_gpio_ids[] = { 74 - { .compatible = "cirrus,clps711x-gpio" }, 74 + { .compatible = "cirrus,ep7209-gpio" }, 75 75 { } 76 76 }; 77 77 MODULE_DEVICE_TABLE(of, clps711x_gpio_ids);