diff mbox series

[U-Boot] serial: meson: Update compatible with new Linux bindings

Message ID 1522328162-13786-1-git-send-email-narmstrong@baylibre.com
State Accepted
Commit e1e1e85203688c1929350d153bd8ef23706fafe6
Delegated to: Tom Rini
Headers show
Series [U-Boot] serial: meson: Update compatible with new Linux bindings | expand

Commit Message

Neil Armstrong March 29, 2018, 12:56 p.m. UTC
The Amlogic Meson SoCs serial bindings were not written when serial
support was pushed into Linux and U-Boot.
A clean bindings document has been merged into Linux tree to correctly
handle the multiple clocks feeding the serial peripheral.
This update the U-Boot serial_meson driver with the new compatible
string for Amlogic Meson GX Socs.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 drivers/serial/serial_meson.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Simon Glass March 29, 2018, 10:41 p.m. UTC | #1
On 29 March 2018 at 20:56, Neil Armstrong <narmstrong@baylibre.com> wrote:
> The Amlogic Meson SoCs serial bindings were not written when serial
> support was pushed into Linux and U-Boot.
> A clean bindings document has been merged into Linux tree to correctly
> handle the multiple clocks feeding the serial peripheral.
> This update the U-Boot serial_meson driver with the new compatible
> string for Amlogic Meson GX Socs.
>
> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
> ---
>  drivers/serial/serial_meson.c | 1 +
>  1 file changed, 1 insertion(+)
>

Reviewed-by: Simon Glass <sjg@chromium.org>
Tom Rini April 11, 2018, 2:04 p.m. UTC | #2
On Thu, Mar 29, 2018 at 02:56:02PM +0200, Neil Armstrong wrote:

> The Amlogic Meson SoCs serial bindings were not written when serial
> support was pushed into Linux and U-Boot.
> A clean bindings document has been merged into Linux tree to correctly
> handle the multiple clocks feeding the serial peripheral.
> This update the U-Boot serial_meson driver with the new compatible
> string for Amlogic Meson GX Socs.
> 
> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/drivers/serial/serial_meson.c b/drivers/serial/serial_meson.c
index 363affb..6412ca6 100644
--- a/drivers/serial/serial_meson.c
+++ b/drivers/serial/serial_meson.c
@@ -125,6 +125,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" },
 	{ }
 };