Skip to content

Commit

Permalink
gpio: clps711x: Change the compatibility string
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
  • Loading branch information
shcgit authored and linusw committed Jun 8, 2016
1 parent 8e7c1b8 commit 1a4d458
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Documentation/devicetree/bindings/gpio/gpio-clps711x.txt
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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>;
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpio/gpio-clps711x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1a4d458

Please sign in to comment.