diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2013-01-02 19:05:42 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2013-01-28 17:27:50 -0500 |
commit | b533c8685b16228c3fe1b2b7f136b9576a7a6db7 (patch) | |
tree | 98c2886553fc90dfbba1ada209366eafd35f6d9a | |
parent | f692543287930ed6857611ae52a1f2f5f07b44e1 (diff) |
ARM: dts: fix compatible value for exynos pinctrl
Fix the incorrect compatible property value of pinctrl for EXYNOS4 SoCs.
Cc: Thomas Abraham <thomas.ab@samsung.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
-rw-r--r-- | Documentation/devicetree/bindings/pinctrl/samsung-pinctrl.txt | 12 | ||||
-rw-r--r-- | arch/arm/boot/dts/exynos4210.dtsi | 6 | ||||
-rw-r--r-- | arch/arm/boot/dts/exynos4x12.dtsi | 8 | ||||
-rw-r--r-- | arch/arm/mach-exynos/common.c | 4 | ||||
-rw-r--r-- | drivers/gpio/gpio-samsung.c | 4 | ||||
-rw-r--r-- | drivers/pinctrl/pinctrl-samsung.c | 4 |
6 files changed, 19 insertions, 19 deletions
diff --git a/Documentation/devicetree/bindings/pinctrl/samsung-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/samsung-pinctrl.txt index e97a27856b21..4598a47aa0cd 100644 --- a/Documentation/devicetree/bindings/pinctrl/samsung-pinctrl.txt +++ b/Documentation/devicetree/bindings/pinctrl/samsung-pinctrl.txt | |||
@@ -7,9 +7,9 @@ on-chip controllers onto these pads. | |||
7 | 7 | ||
8 | Required Properties: | 8 | Required Properties: |
9 | - compatible: should be one of the following. | 9 | - compatible: should be one of the following. |
10 | - "samsung,pinctrl-exynos4210": for Exynos4210 compatible pin-controller. | 10 | - "samsung,exynos4210-pinctrl": for Exynos4210 compatible pin-controller. |
11 | - "samsung,pinctrl-exynos4x12": for Exynos4x12 compatible pin-controller. | 11 | - "samsung,exynos4x12-pinctrl": for Exynos4x12 compatible pin-controller. |
12 | - "samsung,pinctrl-exynos5250": for Exynos5250 compatible pin-controller. | 12 | - "samsung,exynos5250-pinctrl": for Exynos5250 compatible pin-controller. |
13 | 13 | ||
14 | - reg: Base address of the pin controller hardware module and length of | 14 | - reg: Base address of the pin controller hardware module and length of |
15 | the address space it occupies. | 15 | the address space it occupies. |
@@ -142,7 +142,7 @@ the following format 'pinctrl{n}' where n is a unique number for the alias. | |||
142 | Example: A pin-controller node with pin banks: | 142 | Example: A pin-controller node with pin banks: |
143 | 143 | ||
144 | pinctrl_0: pinctrl@11400000 { | 144 | pinctrl_0: pinctrl@11400000 { |
145 | compatible = "samsung,pinctrl-exynos4210"; | 145 | compatible = "samsung,exynos4210-pinctrl"; |
146 | reg = <0x11400000 0x1000>; | 146 | reg = <0x11400000 0x1000>; |
147 | interrupts = <0 47 0>; | 147 | interrupts = <0 47 0>; |
148 | 148 | ||
@@ -185,7 +185,7 @@ Example: A pin-controller node with pin banks: | |||
185 | Example 1: A pin-controller node with pin groups. | 185 | Example 1: A pin-controller node with pin groups. |
186 | 186 | ||
187 | pinctrl_0: pinctrl@11400000 { | 187 | pinctrl_0: pinctrl@11400000 { |
188 | compatible = "samsung,pinctrl-exynos4210"; | 188 | compatible = "samsung,exynos4210-pinctrl"; |
189 | reg = <0x11400000 0x1000>; | 189 | reg = <0x11400000 0x1000>; |
190 | interrupts = <0 47 0>; | 190 | interrupts = <0 47 0>; |
191 | 191 | ||
@@ -230,7 +230,7 @@ Example 1: A pin-controller node with pin groups. | |||
230 | Example 2: A pin-controller node with external wakeup interrupt controller node. | 230 | Example 2: A pin-controller node with external wakeup interrupt controller node. |
231 | 231 | ||
232 | pinctrl_1: pinctrl@11000000 { | 232 | pinctrl_1: pinctrl@11000000 { |
233 | compatible = "samsung,pinctrl-exynos4210"; | 233 | compatible = "samsung,exynos4210-pinctrl"; |
234 | reg = <0x11000000 0x1000>; | 234 | reg = <0x11000000 0x1000>; |
235 | interrupts = <0 46 0> | 235 | interrupts = <0 46 0> |
236 | 236 | ||
diff --git a/arch/arm/boot/dts/exynos4210.dtsi b/arch/arm/boot/dts/exynos4210.dtsi index e31bfc4a6f09..2feffc70814c 100644 --- a/arch/arm/boot/dts/exynos4210.dtsi +++ b/arch/arm/boot/dts/exynos4210.dtsi | |||
@@ -48,13 +48,13 @@ | |||
48 | }; | 48 | }; |
49 | 49 | ||
50 | pinctrl_0: pinctrl@11400000 { | 50 | pinctrl_0: pinctrl@11400000 { |
51 | compatible = "samsung,pinctrl-exynos4210"; | 51 | compatible = "samsung,exynos4210-pinctrl"; |
52 | reg = <0x11400000 0x1000>; | 52 | reg = <0x11400000 0x1000>; |
53 | interrupts = <0 47 0>; | 53 | interrupts = <0 47 0>; |
54 | }; | 54 | }; |
55 | 55 | ||
56 | pinctrl_1: pinctrl@11000000 { | 56 | pinctrl_1: pinctrl@11000000 { |
57 | compatible = "samsung,pinctrl-exynos4210"; | 57 | compatible = "samsung,exynos4210-pinctrl"; |
58 | reg = <0x11000000 0x1000>; | 58 | reg = <0x11000000 0x1000>; |
59 | interrupts = <0 46 0>; | 59 | interrupts = <0 46 0>; |
60 | 60 | ||
@@ -66,7 +66,7 @@ | |||
66 | }; | 66 | }; |
67 | 67 | ||
68 | pinctrl_2: pinctrl@03860000 { | 68 | pinctrl_2: pinctrl@03860000 { |
69 | compatible = "samsung,pinctrl-exynos4210"; | 69 | compatible = "samsung,exynos4210-pinctrl"; |
70 | reg = <0x03860000 0x1000>; | 70 | reg = <0x03860000 0x1000>; |
71 | }; | 71 | }; |
72 | 72 | ||
diff --git a/arch/arm/boot/dts/exynos4x12.dtsi b/arch/arm/boot/dts/exynos4x12.dtsi index 179a62e46c9d..9a8780694909 100644 --- a/arch/arm/boot/dts/exynos4x12.dtsi +++ b/arch/arm/boot/dts/exynos4x12.dtsi | |||
@@ -37,13 +37,13 @@ | |||
37 | }; | 37 | }; |
38 | 38 | ||
39 | pinctrl_0: pinctrl@11400000 { | 39 | pinctrl_0: pinctrl@11400000 { |
40 | compatible = "samsung,pinctrl-exynos4x12"; | 40 | compatible = "samsung,exynos4x12-pinctrl"; |
41 | reg = <0x11400000 0x1000>; | 41 | reg = <0x11400000 0x1000>; |
42 | interrupts = <0 47 0>; | 42 | interrupts = <0 47 0>; |
43 | }; | 43 | }; |
44 | 44 | ||
45 | pinctrl_1: pinctrl@11000000 { | 45 | pinctrl_1: pinctrl@11000000 { |
46 | compatible = "samsung,pinctrl-exynos4x12"; | 46 | compatible = "samsung,exynos4x12-pinctrl"; |
47 | reg = <0x11000000 0x1000>; | 47 | reg = <0x11000000 0x1000>; |
48 | interrupts = <0 46 0>; | 48 | interrupts = <0 46 0>; |
49 | 49 | ||
@@ -55,14 +55,14 @@ | |||
55 | }; | 55 | }; |
56 | 56 | ||
57 | pinctrl_2: pinctrl@03860000 { | 57 | pinctrl_2: pinctrl@03860000 { |
58 | compatible = "samsung,pinctrl-exynos4x12"; | 58 | compatible = "samsung,exynos4x12-pinctrl"; |
59 | reg = <0x03860000 0x1000>; | 59 | reg = <0x03860000 0x1000>; |
60 | interrupt-parent = <&combiner>; | 60 | interrupt-parent = <&combiner>; |
61 | interrupts = <10 0>; | 61 | interrupts = <10 0>; |
62 | }; | 62 | }; |
63 | 63 | ||
64 | pinctrl_3: pinctrl@106E0000 { | 64 | pinctrl_3: pinctrl@106E0000 { |
65 | compatible = "samsung,pinctrl-exynos4x12"; | 65 | compatible = "samsung,exynos4x12-pinctrl"; |
66 | reg = <0x106E0000 0x1000>; | 66 | reg = <0x106E0000 0x1000>; |
67 | interrupts = <0 72 0>; | 67 | interrupts = <0 72 0>; |
68 | }; | 68 | }; |
diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c index 1a89824a5f78..e07da6e186a3 100644 --- a/arch/arm/mach-exynos/common.c +++ b/arch/arm/mach-exynos/common.c | |||
@@ -1031,8 +1031,8 @@ static int __init exynos_init_irq_eint(void) | |||
1031 | * interrupt support code here can be completely removed. | 1031 | * interrupt support code here can be completely removed. |
1032 | */ | 1032 | */ |
1033 | static const struct of_device_id exynos_pinctrl_ids[] = { | 1033 | static const struct of_device_id exynos_pinctrl_ids[] = { |
1034 | { .compatible = "samsung,pinctrl-exynos4210", }, | 1034 | { .compatible = "samsung,exynos4210-pinctrl", }, |
1035 | { .compatible = "samsung,pinctrl-exynos4x12", }, | 1035 | { .compatible = "samsung,exynos4x12-pinctrl", }, |
1036 | }; | 1036 | }; |
1037 | struct device_node *pctrl_np, *wkup_np; | 1037 | struct device_node *pctrl_np, *wkup_np; |
1038 | const char *wkup_compat = "samsung,exynos4210-wakeup-eint"; | 1038 | const char *wkup_compat = "samsung,exynos4210-wakeup-eint"; |
diff --git a/drivers/gpio/gpio-samsung.c b/drivers/gpio/gpio-samsung.c index d03a606227c1..b2016ed941ac 100644 --- a/drivers/gpio/gpio-samsung.c +++ b/drivers/gpio/gpio-samsung.c | |||
@@ -3023,8 +3023,8 @@ static __init int samsung_gpiolib_init(void) | |||
3023 | */ | 3023 | */ |
3024 | struct device_node *pctrl_np; | 3024 | struct device_node *pctrl_np; |
3025 | static const struct of_device_id exynos_pinctrl_ids[] = { | 3025 | static const struct of_device_id exynos_pinctrl_ids[] = { |
3026 | { .compatible = "samsung,pinctrl-exynos4210", }, | 3026 | { .compatible = "samsung,exynos4210-pinctrl", }, |
3027 | { .compatible = "samsung,pinctrl-exynos4x12", }, | 3027 | { .compatible = "samsung,exynos4x12-pinctrl", }, |
3028 | { .compatible = "samsung,exynos5440-pinctrl", }, | 3028 | { .compatible = "samsung,exynos5440-pinctrl", }, |
3029 | }; | 3029 | }; |
3030 | for_each_matching_node(pctrl_np, exynos_pinctrl_ids) | 3030 | for_each_matching_node(pctrl_np, exynos_pinctrl_ids) |
diff --git a/drivers/pinctrl/pinctrl-samsung.c b/drivers/pinctrl/pinctrl-samsung.c index fd7b24cd8908..044d2da34e4e 100644 --- a/drivers/pinctrl/pinctrl-samsung.c +++ b/drivers/pinctrl/pinctrl-samsung.c | |||
@@ -947,9 +947,9 @@ static int samsung_pinctrl_probe(struct platform_device *pdev) | |||
947 | } | 947 | } |
948 | 948 | ||
949 | static const struct of_device_id samsung_pinctrl_dt_match[] = { | 949 | static const struct of_device_id samsung_pinctrl_dt_match[] = { |
950 | { .compatible = "samsung,pinctrl-exynos4210", | 950 | { .compatible = "samsung,exynos4210-pinctrl", |
951 | .data = (void *)exynos4210_pin_ctrl }, | 951 | .data = (void *)exynos4210_pin_ctrl }, |
952 | { .compatible = "samsung,pinctrl-exynos4x12", | 952 | { .compatible = "samsung,exynos4x12-pinctrl", |
953 | .data = (void *)exynos4x12_pin_ctrl }, | 953 | .data = (void *)exynos4x12_pin_ctrl }, |
954 | {}, | 954 | {}, |
955 | }; | 955 | }; |