From: shc_work@mail.ru (Alexander Shiyan)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 08/22] gpio: syscon: Changing the compatibility string to match with the smallest supported chip
Date: Sat, 4 Jun 2016 10:10:00 +0300 [thread overview]
Message-ID: <1465024214-22120-9-git-send-email-shc_work@mail.ru> (raw)
In-Reply-To: <1465024214-22120-1-git-send-email-shc_work@mail.ru>
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>
---
Documentation/devicetree/bindings/gpio/cirrus,clps711x-mctrl-gpio.txt | 4 ++--
drivers/gpio/gpio-syscon.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/gpio/cirrus,clps711x-mctrl-gpio.txt b/Documentation/devicetree/bindings/gpio/cirrus,clps711x-mctrl-gpio.txt
index 94ae9f8..fd42e72 100644
--- a/Documentation/devicetree/bindings/gpio/cirrus,clps711x-mctrl-gpio.txt
+++ b/Documentation/devicetree/bindings/gpio/cirrus,clps711x-mctrl-gpio.txt
@@ -1,7 +1,7 @@
* ARM Cirrus Logic CLPS711X SYSFLG1 MCTRL GPIOs
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-cells: Should be two. The first cell is the pin number and
the second cell is used to specify the gpio polarity:
@@ -11,7 +11,7 @@ Required properties:
Example:
sysgpio: sysgpio {
compatible = "cirrus,ep7312-mctrl-gpio",
- "cirrus,clps711x-mctrl-gpio";
+ "cirrus,ep7209-mctrl-gpio";
gpio-controller;
#gpio-cells = <2>;
};
diff --git a/drivers/gpio/gpio-syscon.c b/drivers/gpio/gpio-syscon.c
index 24b6d64..537cec7 100644
--- a/drivers/gpio/gpio-syscon.c
+++ b/drivers/gpio/gpio-syscon.c
@@ -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 = {
/* ARM CLPS711X SYSFLG1 Bits 8-10 */
- .compatible = "cirrus,clps711x-syscon1",
+ .compatible = "cirrus,ep7209-syscon1",
.flags = GPIO_SYSCON_FEAT_IN,
.bit_count = 3,
.dat_bit_offset = 0x40 * 8 + 8,
@@ -168,7 +168,7 @@ static const struct syscon_gpio_data keystone_dsp_gpio = {
static const struct of_device_id syscon_gpio_ids[] = {
{
- .compatible = "cirrus,clps711x-mctrl-gpio",
+ .compatible = "cirrus,ep7209-mctrl-gpio",
.data = &clps711x_mctrl_gpio,
},
{
--
2.4.9
next prev parent reply other threads:[~2016-06-04 7:10 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-04 7:09 [PATCH 00/22] ARM: clps711x: Switch to DT and Multiplatform Alexander Shiyan
2016-06-04 7:09 ` [PATCH 01/22] ARM: clps711x: Reduce static map size Alexander Shiyan
2016-06-04 7:09 ` [PATCH 02/22] clk: clps711x: Changing the compatibility string to match with the smallest supported chip Alexander Shiyan
2016-06-04 7:09 ` [PATCH 03/22] clocksource: " Alexander Shiyan
2016-06-13 12:15 ` Daniel Lezcano
2016-06-04 7:09 ` [PATCH 04/22] irqchip: " Alexander Shiyan
2016-06-04 7:09 ` [PATCH 05/22] serial: " Alexander Shiyan
2016-06-04 7:09 ` [PATCH 06/22] pwm: " Alexander Shiyan
2016-06-04 7:09 ` [PATCH 07/22] gpio: " Alexander Shiyan
2016-06-08 8:44 ` Linus Walleij
2016-06-04 7:10 ` Alexander Shiyan [this message]
2016-06-08 8:48 ` [PATCH 08/22] gpio: syscon: " Linus Walleij
2016-06-04 7:10 ` [PATCH 09/22] input: clps711x-keypad: " Alexander Shiyan
2016-06-04 7:10 ` [PATCH 10/22] video: clps711x-fb: " Alexander Shiyan
2016-06-04 7:10 ` [PATCH 11/22] ARM: clps711x: Add basic DT support Alexander Shiyan
2016-06-04 7:10 ` [PATCH 12/22] ARM: dts: clps711x: Add DT Cirrus Logic EDB7211 Development board Alexander Shiyan
2016-06-04 7:10 ` [PATCH 13/22] spi: clps711x: Driver refactor Alexander Shiyan
2016-06-06 17:36 ` Mark Brown
2016-07-06 14:56 ` Arnd Bergmann
2016-06-04 7:10 ` [PATCH 14/22] ARM: clps711x: Remove boards support Alexander Shiyan
2016-06-04 7:10 ` [PATCH 15/22] video: clps711x: Remove old driver Alexander Shiyan
2016-06-04 7:10 ` [PATCH 16/22] clk: clps711x: Remove board support Alexander Shiyan
2016-08-19 0:13 ` Stephen Boyd
2016-06-04 7:10 ` [PATCH 17/22] clocksource: " Alexander Shiyan
2016-06-13 12:27 ` Daniel Lezcano
2016-06-04 7:10 ` [PATCH 18/22] irqchip: " Alexander Shiyan
2016-06-04 7:10 ` [PATCH 19/22] serial: " Alexander Shiyan
2016-06-04 7:10 ` [PATCH 20/22] gpio: " Alexander Shiyan
2016-06-08 8:51 ` Linus Walleij
2016-06-09 7:29 ` Arnd Bergmann
2016-06-04 7:10 ` [PATCH 21/22] ARM: clps711x: Switch to MULTIPLATFORM Alexander Shiyan
2016-06-04 7:10 ` [PATCH 22/22] ARM: config: Add a multi_v4t_defconfig Alexander Shiyan
2016-07-06 19:59 ` [PATCH 00/22] ARM: clps711x: Switch to DT and Multiplatform Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1465024214-22120-9-git-send-email-shc_work@mail.ru \
--to=shc_work@mail.ru \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).