]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
serial: amlogic: Add UART compatible for A1 board
authorIgor Prusov <ivprusov@salutedevices.com>
Tue, 17 Oct 2023 21:32:10 +0000 (00:32 +0300)
committerNeil Armstrong <neil.armstrong@linaro.org>
Wed, 18 Oct 2023 07:46:01 +0000 (09:46 +0200)
Add additional compatible to allow using serial driver with A1 board.
After compatible change in DTS [1], serial_meson driver should still be
able to work with console device.

[1] https://lore.kernel.org/all/20230705181833.16137-8-ddrokosov@sberdevices.ru/

Signed-off-by: Igor Prusov <ivprusov@salutedevices.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20231017213211.121550-2-ivprusov@salutedevices.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
drivers/serial/serial_meson.c

index 934de2ab2358675c6800d63799792521dd22ab98..be5f380f8500621af55bfb93910ceafa1e40f851 100644 (file)
@@ -232,6 +232,7 @@ static const struct dm_serial_ops meson_serial_ops = {
 static const struct udevice_id meson_serial_ids[] = {
        { .compatible = "amlogic,meson-uart" },
        { .compatible = "amlogic,meson-gx-uart" },
+       { .compatible = "amlogic,meson-a1-uart" },
        { }
 };