]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
adc: meson-saradc: add AXG variant
authorVyacheslav Bocharov <adeep@lexina.in>
Sun, 24 Apr 2022 08:21:57 +0000 (11:21 +0300)
committerNeil Armstrong <narmstrong@baylibre.com>
Mon, 25 Apr 2022 07:25:00 +0000 (09:25 +0200)
Add support for the SARADC variant found on the AXG SoCs family.

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lore.kernel.org/r/20220424082159.757622-5-adeep@lexina.in
drivers/adc/meson-saradc.c

index 1a45a3a2655f58c4f34d2c86e7598c2e873a702b..37023512f0d4778e47f88162a537577fd7b8802c 100644 (file)
@@ -737,6 +737,8 @@ static const struct udevice_id meson_saradc_ids[] = {
          .data = (ulong)&gxl_saradc_data },
        { .compatible = "amlogic,meson-g12a-saradc",
          .data = (ulong)&gxl_saradc_data },
+       { .compatible = "amlogic,meson-axg-saradc",
+         .data = (ulong)&gxl_saradc_data },
        { }
 };