diff mbox series

[2/6] adc: meson-saradc: add G12A variant

Message ID 20201214112437.18757-3-m.szyprowski@samsung.com
State Superseded
Headers show
Series VIM3: add support for checking 'Function' button state | expand

Commit Message

Marek Szyprowski Dec. 14, 2020, 11:24 a.m. UTC
Add support for the SARADC variant found on the G12A SoCs family.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>

Change-Id: If519d333e9773d089f37a8c7b4ccb144be68925b
---
 drivers/adc/meson-saradc.c | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.17.1

Comments

Neil Armstrong Dec. 14, 2020, 6:54 p.m. UTC | #1
On 14/12/2020 12:24, Marek Szyprowski wrote:
> Add support for the SARADC variant found on the G12A SoCs family.

> 

> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>

> Change-Id: If519d333e9773d089f37a8c7b4ccb144be68925b


Ditto

> ---

>  drivers/adc/meson-saradc.c | 2 ++

>  1 file changed, 2 insertions(+)

> 

> diff --git a/drivers/adc/meson-saradc.c b/drivers/adc/meson-saradc.c

> index 72b0cc4e5bd..998cef24d88 100644

> --- a/drivers/adc/meson-saradc.c

> +++ b/drivers/adc/meson-saradc.c

> @@ -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 },

>  	{ }

>  };

>  

> 



Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Jaehoon Chung Dec. 14, 2020, 9:50 p.m. UTC | #2
On 12/15/20 3:54 AM, Neil Armstrong wrote:
> On 14/12/2020 12:24, Marek Szyprowski wrote:

>> Add support for the SARADC variant found on the G12A SoCs family.

>>

>> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>

>> Change-Id: If519d333e9773d089f37a8c7b4ccb144be68925b

> 

> Ditto

> 

>> ---

>>  drivers/adc/meson-saradc.c | 2 ++

>>  1 file changed, 2 insertions(+)

>>

>> diff --git a/drivers/adc/meson-saradc.c b/drivers/adc/meson-saradc.c

>> index 72b0cc4e5bd..998cef24d88 100644

>> --- a/drivers/adc/meson-saradc.c

>> +++ b/drivers/adc/meson-saradc.c

>> @@ -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 },

>>  	{ }

>>  };

>>  

>>

> 

> 

> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>


Tested-by: Jaehoon Chung <jh80.chung@samsung.com>

Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>


>
diff mbox series

Patch

diff --git a/drivers/adc/meson-saradc.c b/drivers/adc/meson-saradc.c
index 72b0cc4e5bd..998cef24d88 100644
--- a/drivers/adc/meson-saradc.c
+++ b/drivers/adc/meson-saradc.c
@@ -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 },
 	{ }
 };