Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

serial: clps711x: Changing the compatibility string to match with the smallest supported chip

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>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

authored by

Alexander Shiyan and committed by
Arnd Bergmann
d305345c 4b4d9949

+3 -3
+2 -2
Documentation/devicetree/bindings/serial/cirrus,clps711x-uart.txt
··· 1 1 * Cirrus Logic CLPS711X Universal Asynchronous Receiver/Transmitter (UART) 2 2 3 3 Required properties: 4 - - compatible: Should be "cirrus,clps711x-uart". 4 + - compatible: Should be "cirrus,ep7209-uart". 5 5 - reg: Address and length of the register set for the device. 6 6 - interrupts: Should contain UART TX and RX interrupt. 7 7 - clocks: Should contain UART core clock number. ··· 20 20 }; 21 21 22 22 uart1: uart@80000480 { 23 - compatible = "cirrus,clps711x-uart"; 23 + compatible = "cirrus,ep7312-uart","cirrus,ep7209-uart"; 24 24 reg = <0x80000480 0x80>; 25 25 interrupts = <12 13>; 26 26 clocks = <&clks 11>;
+1 -1
drivers/tty/serial/clps711x.c
··· 539 539 } 540 540 541 541 static const struct of_device_id __maybe_unused clps711x_uart_dt_ids[] = { 542 - { .compatible = "cirrus,clps711x-uart", }, 542 + { .compatible = "cirrus,ep7209-uart", }, 543 543 { } 544 544 }; 545 545 MODULE_DEVICE_TABLE(of, clps711x_uart_dt_ids);