From: shc_work@mail.ru (Alexander Shiyan)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 09/22] input: clps711x-keypad: Changing the compatibility string to match with the smallest supported chip
Date: Sat, 4 Jun 2016 10:10:01 +0300 [thread overview]
Message-ID: <1465024214-22120-10-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/input/clps711x-keypad.txt | 4 ++--
drivers/input/keyboard/clps711x-keypad.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/input/clps711x-keypad.txt b/Documentation/devicetree/bindings/input/clps711x-keypad.txt
index e68d2bb..3eed881 100644
--- a/Documentation/devicetree/bindings/input/clps711x-keypad.txt
+++ b/Documentation/devicetree/bindings/input/clps711x-keypad.txt
@@ -1,7 +1,7 @@
* Cirrus Logic CLPS711X matrix keypad device tree bindings
Required Properties:
-- compatible: Shall contain "cirrus,clps711x-keypad".
+- compatible: Shall contain "cirrus,ep7209-keypad".
- row-gpios: List of GPIOs used as row lines.
- poll-interval: Poll interval time in milliseconds.
- linux,keymap: The definition can be found at
@@ -12,7 +12,7 @@ Optional Properties:
Example:
keypad {
- compatible = "cirrus,ep7312-keypad", "cirrus,clps711x-keypad";
+ compatible = "cirrus,ep7312-keypad", "cirrus,ep7209-keypad";
autorepeat;
poll-interval = <120>;
row-gpios = <&porta 0 0>,
diff --git a/drivers/input/keyboard/clps711x-keypad.c b/drivers/input/keyboard/clps711x-keypad.c
index b637f1a..997e3e9 100644
--- a/drivers/input/keyboard/clps711x-keypad.c
+++ b/drivers/input/keyboard/clps711x-keypad.c
@@ -101,7 +101,7 @@ static int clps711x_keypad_probe(struct platform_device *pdev)
return -ENOMEM;
priv->syscon =
- syscon_regmap_lookup_by_compatible("cirrus,clps711x-syscon1");
+ syscon_regmap_lookup_by_compatible("cirrus,ep7209-syscon1");
if (IS_ERR(priv->syscon))
return PTR_ERR(priv->syscon);
@@ -181,7 +181,7 @@ static int clps711x_keypad_remove(struct platform_device *pdev)
}
static const struct of_device_id clps711x_keypad_of_match[] = {
- { .compatible = "cirrus,clps711x-keypad", },
+ { .compatible = "cirrus,ep7209-keypad", },
{ }
};
MODULE_DEVICE_TABLE(of, clps711x_keypad_of_match);
--
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 ` [PATCH 08/22] gpio: syscon: " Alexander Shiyan
2016-06-08 8:48 ` Linus Walleij
2016-06-04 7:10 ` Alexander Shiyan [this message]
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-10-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).