Commit 2e607fca authored by Alexander Shiyan's avatar Alexander Shiyan Committed by Linus Walleij

gpio: syscon: 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: default avatarAlexander Shiyan <shc_work@mail.ru>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 1a4d458b
* ARM Cirrus Logic CLPS711X SYSFLG1 MCTRL GPIOs * ARM Cirrus Logic CLPS711X SYSFLG1 MCTRL GPIOs
Required properties: Required properties:
- compatible: Should contain "cirrus,clps711x-mctrl-gpio". - compatible: Should contain "cirrus,ep7209-mctrl-gpio".
- gpio-controller: Marks the device node as a gpio controller. - gpio-controller: Marks the device node as a gpio controller.
- #gpio-cells: Should be two. The first cell is the pin number and - #gpio-cells: Should be two. The first cell is the pin number and
the second cell is used to specify the gpio polarity: the second cell is used to specify the gpio polarity:
...@@ -11,7 +11,7 @@ Required properties: ...@@ -11,7 +11,7 @@ Required properties:
Example: Example:
sysgpio: sysgpio { sysgpio: sysgpio {
compatible = "cirrus,ep7312-mctrl-gpio", compatible = "cirrus,ep7312-mctrl-gpio",
"cirrus,clps711x-mctrl-gpio"; "cirrus,ep7209-mctrl-gpio";
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
}; };
...@@ -129,7 +129,7 @@ static int syscon_gpio_dir_out(struct gpio_chip *chip, unsigned offset, int val) ...@@ -129,7 +129,7 @@ static int syscon_gpio_dir_out(struct gpio_chip *chip, unsigned offset, int val)
static const struct syscon_gpio_data clps711x_mctrl_gpio = { static const struct syscon_gpio_data clps711x_mctrl_gpio = {
/* ARM CLPS711X SYSFLG1 Bits 8-10 */ /* ARM CLPS711X SYSFLG1 Bits 8-10 */
.compatible = "cirrus,clps711x-syscon1", .compatible = "cirrus,ep7209-syscon1",
.flags = GPIO_SYSCON_FEAT_IN, .flags = GPIO_SYSCON_FEAT_IN,
.bit_count = 3, .bit_count = 3,
.dat_bit_offset = 0x40 * 8 + 8, .dat_bit_offset = 0x40 * 8 + 8,
...@@ -168,7 +168,7 @@ static const struct syscon_gpio_data keystone_dsp_gpio = { ...@@ -168,7 +168,7 @@ static const struct syscon_gpio_data keystone_dsp_gpio = {
static const struct of_device_id syscon_gpio_ids[] = { static const struct of_device_id syscon_gpio_ids[] = {
{ {
.compatible = "cirrus,clps711x-mctrl-gpio", .compatible = "cirrus,ep7209-mctrl-gpio",
.data = &clps711x_mctrl_gpio, .data = &clps711x_mctrl_gpio,
}, },
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment