Skip to content

Commit

Permalink
dts: Deprecate ALTR as a vendor prefix
Browse files Browse the repository at this point in the history
Because most of the vendor prefixes are lower case, deprecate
the vendor prefix "ALTR" in place of "altr" for Altera Corp..

Signed-off-by: Dinh Nguyen <dinguyen@altera.com>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: devicetree@vger.kernel.org
Signed-off-by: Olof Johansson <olof@lixom.net>
  • Loading branch information
Dinh Nguyen authored and Olof Johansson committed Aug 29, 2013
1 parent 5db17a7 commit 13960b4
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Documentation/devicetree/bindings/serial/altera_jtaguart.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Altera JTAG UART

Required properties:
- compatible : should be "ALTR,juart-1.0"
- compatible : should be "ALTR,juart-1.0" <DEPRECATED>
- compatible : should be "altr,juart-1.0"
3 changes: 2 additions & 1 deletion Documentation/devicetree/bindings/serial/altera_uart.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
Altera UART

Required properties:
- compatible : should be "ALTR,uart-1.0"
- compatible : should be "ALTR,uart-1.0" <DEPRECATED>
- compatible : should be "altr,uart-1.0"

Optional properties:
- clock-frequency : frequency of the clock input to the UART
3 changes: 2 additions & 1 deletion Documentation/devicetree/bindings/serio/altera_ps2.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Altera UP PS/2 controller

Required properties:
- compatible : should be "ALTR,ps2-1.0".
- compatible : should be "ALTR,ps2-1.0". <DEPRECATED>
- compatible : should be "altr,ps2-1.0".
3 changes: 2 additions & 1 deletion Documentation/devicetree/bindings/spi/spi_altera.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Altera SPI

Required properties:
- compatible : should be "ALTR,spi-1.0".
- compatible : should be "ALTR,spi-1.0". <DEPRECATED>
- compatible : should be "altr,spi-1.0".
1 change: 1 addition & 0 deletions drivers/input/serio/altera_ps2.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ static int altera_ps2_remove(struct platform_device *pdev)
#ifdef CONFIG_OF
static const struct of_device_id altera_ps2_match[] = {
{ .compatible = "ALTR,ps2-1.0", },
{ .compatible = "altr,ps2-1.0", },
{},
};
MODULE_DEVICE_TABLE(of, altera_ps2_match);
Expand Down
1 change: 1 addition & 0 deletions drivers/spi/spi-altera.c
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ static int altera_spi_remove(struct platform_device *dev)
#ifdef CONFIG_OF
static const struct of_device_id altera_spi_match[] = {
{ .compatible = "ALTR,spi-1.0", },
{ .compatible = "altr,spi-1.0", },
{},
};
MODULE_DEVICE_TABLE(of, altera_spi_match);
Expand Down
1 change: 1 addition & 0 deletions drivers/tty/serial/altera_jtaguart.c
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,7 @@ static int altera_jtaguart_remove(struct platform_device *pdev)
#ifdef CONFIG_OF
static struct of_device_id altera_jtaguart_match[] = {
{ .compatible = "ALTR,juart-1.0", },
{ .compatible = "altr,juart-1.0", },
{},
};
MODULE_DEVICE_TABLE(of, altera_jtaguart_match);
Expand Down
1 change: 1 addition & 0 deletions drivers/tty/serial/altera_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,7 @@ static int altera_uart_remove(struct platform_device *pdev)
#ifdef CONFIG_OF
static struct of_device_id altera_uart_match[] = {
{ .compatible = "ALTR,uart-1.0", },
{ .compatible = "altr,uart-1.0", },
{},
};
MODULE_DEVICE_TABLE(of, altera_uart_match);
Expand Down

0 comments on commit 13960b4

Please sign in to comment.