diff options
author | Olof Johansson <olof@lixom.net> | 2013-08-29 15:59:11 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-09-03 13:20:06 -0400 |
commit | 56e9e0f3a3c558b42db2dd5120d3a839e4beb282 (patch) | |
tree | f639ac890abbbf990aa7d3ddee0830eae8f8d7a0 | |
parent | 103c6a71207f80e6ecfeba2c21d6246687bb0ee4 (diff) | |
parent | 620f5e1cbfc16aa1bd39c2c5386aee4d00850641 (diff) |
Merge branch 'socfpga/dt' into next/dt
SoCFPGA DT changes from Dinh Nguyen.
* socfpga/dt:
dts: Rename DW APB timer compatible strings
dts: Deprecate ALTR as a vendor prefix
of: add vendor prefix for Altera Corp.
Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r-- | Documentation/devicetree/bindings/rtc/dw-apb.txt | 34 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/serial/altera_jtaguart.txt | 3 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/serial/altera_uart.txt | 3 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/serio/altera_ps2.txt | 3 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/spi/spi_altera.txt | 3 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/vendor-prefixes.txt | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/socfpga.dtsi | 8 | ||||
-rw-r--r-- | drivers/input/serio/altera_ps2.c | 1 | ||||
-rw-r--r-- | drivers/spi/spi-altera.c | 1 | ||||
-rw-r--r-- | drivers/tty/serial/altera_jtaguart.c | 1 | ||||
-rw-r--r-- | drivers/tty/serial/altera_uart.c | 1 |
11 files changed, 28 insertions, 31 deletions
diff --git a/Documentation/devicetree/bindings/rtc/dw-apb.txt b/Documentation/devicetree/bindings/rtc/dw-apb.txt index eb2327b2bdb3..c703d51abb6c 100644 --- a/Documentation/devicetree/bindings/rtc/dw-apb.txt +++ b/Documentation/devicetree/bindings/rtc/dw-apb.txt | |||
@@ -1,7 +1,10 @@ | |||
1 | * Designware APB timer | 1 | * Designware APB timer |
2 | 2 | ||
3 | Required properties: | 3 | Required properties: |
4 | - compatible: "snps,dw-apb-timer-sp" or "snps,dw-apb-timer-osc" | 4 | - compatible: One of: |
5 | "snps,dw-apb-timer" | ||
6 | "snps,dw-apb-timer-sp" <DEPRECATED> | ||
7 | "snps,dw-apb-timer-osc" <DEPRECATED> | ||
5 | - reg: physical base address of the controller and length of memory mapped | 8 | - reg: physical base address of the controller and length of memory mapped |
6 | region. | 9 | region. |
7 | - interrupts: IRQ line for the timer. | 10 | - interrupts: IRQ line for the timer. |
@@ -20,25 +23,10 @@ systems may use one. | |||
20 | 23 | ||
21 | 24 | ||
22 | Example: | 25 | Example: |
23 | 26 | timer@ffe00000 { | |
24 | timer1: timer@ffc09000 { | 27 | compatible = "snps,dw-apb-timer"; |
25 | compatible = "snps,dw-apb-timer-sp"; | 28 | interrupts = <0 170 4>; |
26 | interrupts = <0 168 4>; | 29 | reg = <0xffe00000 0x1000>; |
27 | clock-frequency = <200000000>; | 30 | clocks = <&timer_clk>, <&timer_pclk>; |
28 | reg = <0xffc09000 0x1000>; | 31 | clock-names = "timer", "pclk"; |
29 | }; | 32 | }; |
30 | |||
31 | timer2: timer@ffd00000 { | ||
32 | compatible = "snps,dw-apb-timer-osc"; | ||
33 | interrupts = <0 169 4>; | ||
34 | clock-frequency = <200000000>; | ||
35 | reg = <0xffd00000 0x1000>; | ||
36 | }; | ||
37 | |||
38 | timer3: timer@ffe00000 { | ||
39 | compatible = "snps,dw-apb-timer-osc"; | ||
40 | interrupts = <0 170 4>; | ||
41 | reg = <0xffe00000 0x1000>; | ||
42 | clocks = <&timer_clk>, <&timer_pclk>; | ||
43 | clock-names = "timer", "pclk"; | ||
44 | }; | ||
diff --git a/Documentation/devicetree/bindings/serial/altera_jtaguart.txt b/Documentation/devicetree/bindings/serial/altera_jtaguart.txt index c152f65f9a28..55a901051e8f 100644 --- a/Documentation/devicetree/bindings/serial/altera_jtaguart.txt +++ b/Documentation/devicetree/bindings/serial/altera_jtaguart.txt | |||
@@ -1,4 +1,5 @@ | |||
1 | Altera JTAG UART | 1 | Altera JTAG UART |
2 | 2 | ||
3 | Required properties: | 3 | Required properties: |
4 | - compatible : should be "ALTR,juart-1.0" | 4 | - compatible : should be "ALTR,juart-1.0" <DEPRECATED> |
5 | - compatible : should be "altr,juart-1.0" | ||
diff --git a/Documentation/devicetree/bindings/serial/altera_uart.txt b/Documentation/devicetree/bindings/serial/altera_uart.txt index 71cae3f70100..81bf7ffb1a81 100644 --- a/Documentation/devicetree/bindings/serial/altera_uart.txt +++ b/Documentation/devicetree/bindings/serial/altera_uart.txt | |||
@@ -1,7 +1,8 @@ | |||
1 | Altera UART | 1 | Altera UART |
2 | 2 | ||
3 | Required properties: | 3 | Required properties: |
4 | - compatible : should be "ALTR,uart-1.0" | 4 | - compatible : should be "ALTR,uart-1.0" <DEPRECATED> |
5 | - compatible : should be "altr,uart-1.0" | ||
5 | 6 | ||
6 | Optional properties: | 7 | Optional properties: |
7 | - clock-frequency : frequency of the clock input to the UART | 8 | - clock-frequency : frequency of the clock input to the UART |
diff --git a/Documentation/devicetree/bindings/serio/altera_ps2.txt b/Documentation/devicetree/bindings/serio/altera_ps2.txt index 4d9eecc2ef7d..520199e2e347 100644 --- a/Documentation/devicetree/bindings/serio/altera_ps2.txt +++ b/Documentation/devicetree/bindings/serio/altera_ps2.txt | |||
@@ -1,4 +1,5 @@ | |||
1 | Altera UP PS/2 controller | 1 | Altera UP PS/2 controller |
2 | 2 | ||
3 | Required properties: | 3 | Required properties: |
4 | - compatible : should be "ALTR,ps2-1.0". | 4 | - compatible : should be "ALTR,ps2-1.0". <DEPRECATED> |
5 | - compatible : should be "altr,ps2-1.0". | ||
diff --git a/Documentation/devicetree/bindings/spi/spi_altera.txt b/Documentation/devicetree/bindings/spi/spi_altera.txt index dda375943506..31319dcf30ab 100644 --- a/Documentation/devicetree/bindings/spi/spi_altera.txt +++ b/Documentation/devicetree/bindings/spi/spi_altera.txt | |||
@@ -1,4 +1,5 @@ | |||
1 | Altera SPI | 1 | Altera SPI |
2 | 2 | ||
3 | Required properties: | 3 | Required properties: |
4 | - compatible : should be "ALTR,spi-1.0". | 4 | - compatible : should be "ALTR,spi-1.0". <DEPRECATED> |
5 | - compatible : should be "altr,spi-1.0". | ||
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 366ce9b87240..ea95767cfed3 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt | |||
@@ -7,6 +7,7 @@ ad Avionic Design GmbH | |||
7 | adi Analog Devices, Inc. | 7 | adi Analog Devices, Inc. |
8 | aeroflexgaisler Aeroflex Gaisler AB | 8 | aeroflexgaisler Aeroflex Gaisler AB |
9 | ak Asahi Kasei Corp. | 9 | ak Asahi Kasei Corp. |
10 | altr Altera Corp. | ||
10 | amcc Applied Micro Circuits Corporation (APM, formally AMCC) | 11 | amcc Applied Micro Circuits Corporation (APM, formally AMCC) |
11 | apm Applied Micro Circuits Corporation (APM) | 12 | apm Applied Micro Circuits Corporation (APM) |
12 | arm ARM Ltd. | 13 | arm ARM Ltd. |
diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi index bee62a2cf6d6..e273fa993b8c 100644 --- a/arch/arm/boot/dts/socfpga.dtsi +++ b/arch/arm/boot/dts/socfpga.dtsi | |||
@@ -476,25 +476,25 @@ | |||
476 | }; | 476 | }; |
477 | 477 | ||
478 | timer0: timer0@ffc08000 { | 478 | timer0: timer0@ffc08000 { |
479 | compatible = "snps,dw-apb-timer-sp"; | 479 | compatible = "snps,dw-apb-timer"; |
480 | interrupts = <0 167 4>; | 480 | interrupts = <0 167 4>; |
481 | reg = <0xffc08000 0x1000>; | 481 | reg = <0xffc08000 0x1000>; |
482 | }; | 482 | }; |
483 | 483 | ||
484 | timer1: timer1@ffc09000 { | 484 | timer1: timer1@ffc09000 { |
485 | compatible = "snps,dw-apb-timer-sp"; | 485 | compatible = "snps,dw-apb-timer"; |
486 | interrupts = <0 168 4>; | 486 | interrupts = <0 168 4>; |
487 | reg = <0xffc09000 0x1000>; | 487 | reg = <0xffc09000 0x1000>; |
488 | }; | 488 | }; |
489 | 489 | ||
490 | timer2: timer2@ffd00000 { | 490 | timer2: timer2@ffd00000 { |
491 | compatible = "snps,dw-apb-timer-osc"; | 491 | compatible = "snps,dw-apb-timer"; |
492 | interrupts = <0 169 4>; | 492 | interrupts = <0 169 4>; |
493 | reg = <0xffd00000 0x1000>; | 493 | reg = <0xffd00000 0x1000>; |
494 | }; | 494 | }; |
495 | 495 | ||
496 | timer3: timer3@ffd01000 { | 496 | timer3: timer3@ffd01000 { |
497 | compatible = "snps,dw-apb-timer-osc"; | 497 | compatible = "snps,dw-apb-timer"; |
498 | interrupts = <0 170 4>; | 498 | interrupts = <0 170 4>; |
499 | reg = <0xffd01000 0x1000>; | 499 | reg = <0xffd01000 0x1000>; |
500 | }; | 500 | }; |
diff --git a/drivers/input/serio/altera_ps2.c b/drivers/input/serio/altera_ps2.c index a0a2657e31ff..4777a73cd390 100644 --- a/drivers/input/serio/altera_ps2.c +++ b/drivers/input/serio/altera_ps2.c | |||
@@ -176,6 +176,7 @@ static int altera_ps2_remove(struct platform_device *pdev) | |||
176 | #ifdef CONFIG_OF | 176 | #ifdef CONFIG_OF |
177 | static const struct of_device_id altera_ps2_match[] = { | 177 | static const struct of_device_id altera_ps2_match[] = { |
178 | { .compatible = "ALTR,ps2-1.0", }, | 178 | { .compatible = "ALTR,ps2-1.0", }, |
179 | { .compatible = "altr,ps2-1.0", }, | ||
179 | {}, | 180 | {}, |
180 | }; | 181 | }; |
181 | MODULE_DEVICE_TABLE(of, altera_ps2_match); | 182 | MODULE_DEVICE_TABLE(of, altera_ps2_match); |
diff --git a/drivers/spi/spi-altera.c b/drivers/spi/spi-altera.c index 81b9adb6e766..7456eef201a6 100644 --- a/drivers/spi/spi-altera.c +++ b/drivers/spi/spi-altera.c | |||
@@ -302,6 +302,7 @@ static int altera_spi_remove(struct platform_device *dev) | |||
302 | #ifdef CONFIG_OF | 302 | #ifdef CONFIG_OF |
303 | static const struct of_device_id altera_spi_match[] = { | 303 | static const struct of_device_id altera_spi_match[] = { |
304 | { .compatible = "ALTR,spi-1.0", }, | 304 | { .compatible = "ALTR,spi-1.0", }, |
305 | { .compatible = "altr,spi-1.0", }, | ||
305 | {}, | 306 | {}, |
306 | }; | 307 | }; |
307 | MODULE_DEVICE_TABLE(of, altera_spi_match); | 308 | MODULE_DEVICE_TABLE(of, altera_spi_match); |
diff --git a/drivers/tty/serial/altera_jtaguart.c b/drivers/tty/serial/altera_jtaguart.c index c6bdb943726b..dbc7f121162f 100644 --- a/drivers/tty/serial/altera_jtaguart.c +++ b/drivers/tty/serial/altera_jtaguart.c | |||
@@ -470,6 +470,7 @@ static int altera_jtaguart_remove(struct platform_device *pdev) | |||
470 | #ifdef CONFIG_OF | 470 | #ifdef CONFIG_OF |
471 | static struct of_device_id altera_jtaguart_match[] = { | 471 | static struct of_device_id altera_jtaguart_match[] = { |
472 | { .compatible = "ALTR,juart-1.0", }, | 472 | { .compatible = "ALTR,juart-1.0", }, |
473 | { .compatible = "altr,juart-1.0", }, | ||
473 | {}, | 474 | {}, |
474 | }; | 475 | }; |
475 | MODULE_DEVICE_TABLE(of, altera_jtaguart_match); | 476 | MODULE_DEVICE_TABLE(of, altera_jtaguart_match); |
diff --git a/drivers/tty/serial/altera_uart.c b/drivers/tty/serial/altera_uart.c index 1d46966e2a65..8b5a8a2caebc 100644 --- a/drivers/tty/serial/altera_uart.c +++ b/drivers/tty/serial/altera_uart.c | |||
@@ -613,6 +613,7 @@ static int altera_uart_remove(struct platform_device *pdev) | |||
613 | #ifdef CONFIG_OF | 613 | #ifdef CONFIG_OF |
614 | static struct of_device_id altera_uart_match[] = { | 614 | static struct of_device_id altera_uart_match[] = { |
615 | { .compatible = "ALTR,uart-1.0", }, | 615 | { .compatible = "ALTR,uart-1.0", }, |
616 | { .compatible = "altr,uart-1.0", }, | ||
616 | {}, | 617 | {}, |
617 | }; | 618 | }; |
618 | MODULE_DEVICE_TABLE(of, altera_uart_match); | 619 | MODULE_DEVICE_TABLE(of, altera_uart_match); |