]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
adc: meson-saradc: add G12A variant
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 16 Dec 2020 07:51:54 +0000 (08:51 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Mon, 11 Jan 2021 13:59:54 +0000 (14:59 +0100)
Add support for the SARADC variant found on the G12A SoCs family.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Tested-by: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
drivers/adc/meson-saradc.c

index 72b0cc4e5bd14d222a714c838da5a3c3038bf24b..998cef24d88715f428adc355ba24a30a3b05a43b 100644 (file)
@@ -711,6 +711,8 @@ static const struct udevice_id meson_saradc_ids[] = {
          .data = (ulong)&gxl_saradc_data },
        { .compatible = "amlogic,meson-gxm-saradc",
          .data = (ulong)&gxl_saradc_data },
+       { .compatible = "amlogic,meson-g12a-saradc",
+         .data = (ulong)&gxl_saradc_data },
        { }
 };