* [PATCH v1 1/2] dt-bindings: iio: adc: Add compatible for Mediatek MT8186
@ 2022-01-10 8:48 ` Guodong Liu
0 siblings, 0 replies; 20+ messages in thread
From: Guodong Liu @ 2022-01-10 8:48 UTC (permalink / raw)
To: Jonathan Cameron, Lars-Peter Clausen, Rob Herring,
Matthias Brugger, Zhiyong Tao
Cc: linux-iio, devicetree, linux-kernel, linux-arm-kernel,
linux-mediatek, Project_Global_Chrome_Upstream_Group,
Guodong Liu
This commit adds dt-binding documentation of auxadc for Mediatek MT8186 SoC
Platform.
Signed-off-by: Guodong Liu <guodong.liu@mediatek.com>
---
.../devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml b/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml
index b939f9652e3a..65581ad4b816 100644
--- a/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml
@@ -34,6 +34,7 @@ properties:
- items:
- enum:
- mediatek,mt8183-auxadc
+ - mediatek,mt8186-auxadc
- mediatek,mt8195-auxadc
- mediatek,mt8516-auxadc
- const: mediatek,mt8173-auxadc
--
2.25.1
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH v1 1/2] dt-bindings: iio: adc: Add compatible for Mediatek MT8186
@ 2022-01-10 8:48 ` Guodong Liu
0 siblings, 0 replies; 20+ messages in thread
From: Guodong Liu @ 2022-01-10 8:48 UTC (permalink / raw)
To: Jonathan Cameron, Lars-Peter Clausen, Rob Herring,
Matthias Brugger, Zhiyong Tao
Cc: linux-iio, devicetree, linux-kernel, linux-arm-kernel,
linux-mediatek, Project_Global_Chrome_Upstream_Group,
Guodong Liu
This commit adds dt-binding documentation of auxadc for Mediatek MT8186 SoC
Platform.
Signed-off-by: Guodong Liu <guodong.liu@mediatek.com>
---
.../devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml b/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml
index b939f9652e3a..65581ad4b816 100644
--- a/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml
@@ -34,6 +34,7 @@ properties:
- items:
- enum:
- mediatek,mt8183-auxadc
+ - mediatek,mt8186-auxadc
- mediatek,mt8195-auxadc
- mediatek,mt8516-auxadc
- const: mediatek,mt8173-auxadc
--
2.25.1
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH v1 1/2] dt-bindings: iio: adc: Add compatible for Mediatek MT8186
@ 2022-01-10 8:48 ` Guodong Liu
0 siblings, 0 replies; 20+ messages in thread
From: Guodong Liu @ 2022-01-10 8:48 UTC (permalink / raw)
To: Jonathan Cameron, Lars-Peter Clausen, Rob Herring,
Matthias Brugger, Zhiyong Tao
Cc: linux-iio, devicetree, linux-kernel, linux-arm-kernel,
linux-mediatek, Project_Global_Chrome_Upstream_Group,
Guodong Liu
This commit adds dt-binding documentation of auxadc for Mediatek MT8186 SoC
Platform.
Signed-off-by: Guodong Liu <guodong.liu@mediatek.com>
---
.../devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml b/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml
index b939f9652e3a..65581ad4b816 100644
--- a/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml
@@ -34,6 +34,7 @@ properties:
- items:
- enum:
- mediatek,mt8183-auxadc
+ - mediatek,mt8186-auxadc
- mediatek,mt8195-auxadc
- mediatek,mt8516-auxadc
- const: mediatek,mt8173-auxadc
--
2.25.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH v1 2/2] iio: adc: mt8186: Add compatible node for mt8186
2022-01-10 8:48 ` Guodong Liu
(?)
@ 2022-01-10 8:48 ` Guodong Liu
-1 siblings, 0 replies; 20+ messages in thread
From: Guodong Liu @ 2022-01-10 8:48 UTC (permalink / raw)
To: Jonathan Cameron, Lars-Peter Clausen, Rob Herring,
Matthias Brugger, Zhiyong Tao
Cc: linux-iio, devicetree, linux-kernel, linux-arm-kernel,
linux-mediatek, Project_Global_Chrome_Upstream_Group,
Guodong Liu
This commit adds mt8186 compatible node.
Signed-off-by: Guodong Liu <guodong.liu@mediatek.com>
---
drivers/iio/adc/mt6577_auxadc.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/iio/adc/mt6577_auxadc.c b/drivers/iio/adc/mt6577_auxadc.c
index d4fccd52ef08..fb08d761589a 100644
--- a/drivers/iio/adc/mt6577_auxadc.c
+++ b/drivers/iio/adc/mt6577_auxadc.c
@@ -46,6 +46,11 @@ struct mt6577_auxadc_device {
const struct mtk_auxadc_compatible *dev_comp;
};
+static const struct mtk_auxadc_compatible mt8186_compat = {
+ .sample_data_cali = false,
+ .check_global_idle = false,
+};
+
static const struct mtk_auxadc_compatible mt8173_compat = {
.sample_data_cali = false,
.check_global_idle = true,
@@ -334,6 +339,7 @@ static const struct of_device_id mt6577_auxadc_of_match[] = {
{ .compatible = "mediatek,mt2712-auxadc", .data = &mt8173_compat},
{ .compatible = "mediatek,mt7622-auxadc", .data = &mt8173_compat},
{ .compatible = "mediatek,mt8173-auxadc", .data = &mt8173_compat},
+ { .compatible = "mediatek,mt8186-auxadc", .data = &mt8186_compat},
{ .compatible = "mediatek,mt6765-auxadc", .data = &mt6765_compat},
{ }
};
--
2.25.1
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH v1 2/2] iio: adc: mt8186: Add compatible node for mt8186
@ 2022-01-10 8:48 ` Guodong Liu
0 siblings, 0 replies; 20+ messages in thread
From: Guodong Liu @ 2022-01-10 8:48 UTC (permalink / raw)
To: Jonathan Cameron, Lars-Peter Clausen, Rob Herring,
Matthias Brugger, Zhiyong Tao
Cc: linux-iio, devicetree, linux-kernel, linux-arm-kernel,
linux-mediatek, Project_Global_Chrome_Upstream_Group,
Guodong Liu
This commit adds mt8186 compatible node.
Signed-off-by: Guodong Liu <guodong.liu@mediatek.com>
---
drivers/iio/adc/mt6577_auxadc.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/iio/adc/mt6577_auxadc.c b/drivers/iio/adc/mt6577_auxadc.c
index d4fccd52ef08..fb08d761589a 100644
--- a/drivers/iio/adc/mt6577_auxadc.c
+++ b/drivers/iio/adc/mt6577_auxadc.c
@@ -46,6 +46,11 @@ struct mt6577_auxadc_device {
const struct mtk_auxadc_compatible *dev_comp;
};
+static const struct mtk_auxadc_compatible mt8186_compat = {
+ .sample_data_cali = false,
+ .check_global_idle = false,
+};
+
static const struct mtk_auxadc_compatible mt8173_compat = {
.sample_data_cali = false,
.check_global_idle = true,
@@ -334,6 +339,7 @@ static const struct of_device_id mt6577_auxadc_of_match[] = {
{ .compatible = "mediatek,mt2712-auxadc", .data = &mt8173_compat},
{ .compatible = "mediatek,mt7622-auxadc", .data = &mt8173_compat},
{ .compatible = "mediatek,mt8173-auxadc", .data = &mt8173_compat},
+ { .compatible = "mediatek,mt8186-auxadc", .data = &mt8186_compat},
{ .compatible = "mediatek,mt6765-auxadc", .data = &mt6765_compat},
{ }
};
--
2.25.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH v1 2/2] iio: adc: mt8186: Add compatible node for mt8186
@ 2022-01-10 8:48 ` Guodong Liu
0 siblings, 0 replies; 20+ messages in thread
From: Guodong Liu @ 2022-01-10 8:48 UTC (permalink / raw)
To: Jonathan Cameron, Lars-Peter Clausen, Rob Herring,
Matthias Brugger, Zhiyong Tao
Cc: linux-iio, devicetree, linux-kernel, linux-arm-kernel,
linux-mediatek, Project_Global_Chrome_Upstream_Group,
Guodong Liu
This commit adds mt8186 compatible node.
Signed-off-by: Guodong Liu <guodong.liu@mediatek.com>
---
drivers/iio/adc/mt6577_auxadc.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/iio/adc/mt6577_auxadc.c b/drivers/iio/adc/mt6577_auxadc.c
index d4fccd52ef08..fb08d761589a 100644
--- a/drivers/iio/adc/mt6577_auxadc.c
+++ b/drivers/iio/adc/mt6577_auxadc.c
@@ -46,6 +46,11 @@ struct mt6577_auxadc_device {
const struct mtk_auxadc_compatible *dev_comp;
};
+static const struct mtk_auxadc_compatible mt8186_compat = {
+ .sample_data_cali = false,
+ .check_global_idle = false,
+};
+
static const struct mtk_auxadc_compatible mt8173_compat = {
.sample_data_cali = false,
.check_global_idle = true,
@@ -334,6 +339,7 @@ static const struct of_device_id mt6577_auxadc_of_match[] = {
{ .compatible = "mediatek,mt2712-auxadc", .data = &mt8173_compat},
{ .compatible = "mediatek,mt7622-auxadc", .data = &mt8173_compat},
{ .compatible = "mediatek,mt8173-auxadc", .data = &mt8173_compat},
+ { .compatible = "mediatek,mt8186-auxadc", .data = &mt8186_compat},
{ .compatible = "mediatek,mt6765-auxadc", .data = &mt6765_compat},
{ }
};
--
2.25.1
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek
^ permalink raw reply related [flat|nested] 20+ messages in thread
* Re: [PATCH v1 1/2] dt-bindings: iio: adc: Add compatible for Mediatek MT8186
2022-01-10 8:48 ` Guodong Liu
(?)
@ 2022-01-10 10:01 ` AngeloGioacchino Del Regno
-1 siblings, 0 replies; 20+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-01-10 10:01 UTC (permalink / raw)
To: Guodong Liu, Jonathan Cameron, Lars-Peter Clausen, Rob Herring,
Matthias Brugger, Zhiyong Tao
Cc: linux-iio, devicetree, linux-kernel, linux-arm-kernel,
linux-mediatek, Project_Global_Chrome_Upstream_Group
Il 10/01/22 09:48, Guodong Liu ha scritto:
> This commit adds dt-binding documentation of auxadc for Mediatek MT8186 SoC
> Platform.
>
> Signed-off-by: Guodong Liu <guodong.liu@mediatek.com>
Acked-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> ---
> .../devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml b/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml
> index b939f9652e3a..65581ad4b816 100644
> --- a/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml
> @@ -34,6 +34,7 @@ properties:
> - items:
> - enum:
> - mediatek,mt8183-auxadc
> + - mediatek,mt8186-auxadc
> - mediatek,mt8195-auxadc
> - mediatek,mt8516-auxadc
> - const: mediatek,mt8173-auxadc
>
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH v1 1/2] dt-bindings: iio: adc: Add compatible for Mediatek MT8186
@ 2022-01-10 10:01 ` AngeloGioacchino Del Regno
0 siblings, 0 replies; 20+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-01-10 10:01 UTC (permalink / raw)
To: Guodong Liu, Jonathan Cameron, Lars-Peter Clausen, Rob Herring,
Matthias Brugger, Zhiyong Tao
Cc: linux-iio, devicetree, linux-kernel, linux-arm-kernel,
linux-mediatek, Project_Global_Chrome_Upstream_Group
Il 10/01/22 09:48, Guodong Liu ha scritto:
> This commit adds dt-binding documentation of auxadc for Mediatek MT8186 SoC
> Platform.
>
> Signed-off-by: Guodong Liu <guodong.liu@mediatek.com>
Acked-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> ---
> .../devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml b/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml
> index b939f9652e3a..65581ad4b816 100644
> --- a/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml
> @@ -34,6 +34,7 @@ properties:
> - items:
> - enum:
> - mediatek,mt8183-auxadc
> + - mediatek,mt8186-auxadc
> - mediatek,mt8195-auxadc
> - mediatek,mt8516-auxadc
> - const: mediatek,mt8173-auxadc
>
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH v1 1/2] dt-bindings: iio: adc: Add compatible for Mediatek MT8186
@ 2022-01-10 10:01 ` AngeloGioacchino Del Regno
0 siblings, 0 replies; 20+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-01-10 10:01 UTC (permalink / raw)
To: Guodong Liu, Jonathan Cameron, Lars-Peter Clausen, Rob Herring,
Matthias Brugger, Zhiyong Tao
Cc: linux-iio, devicetree, linux-kernel, linux-arm-kernel,
linux-mediatek, Project_Global_Chrome_Upstream_Group
Il 10/01/22 09:48, Guodong Liu ha scritto:
> This commit adds dt-binding documentation of auxadc for Mediatek MT8186 SoC
> Platform.
>
> Signed-off-by: Guodong Liu <guodong.liu@mediatek.com>
Acked-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> ---
> .../devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml b/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml
> index b939f9652e3a..65581ad4b816 100644
> --- a/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml
> @@ -34,6 +34,7 @@ properties:
> - items:
> - enum:
> - mediatek,mt8183-auxadc
> + - mediatek,mt8186-auxadc
> - mediatek,mt8195-auxadc
> - mediatek,mt8516-auxadc
> - const: mediatek,mt8173-auxadc
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH v1 2/2] iio: adc: mt8186: Add compatible node for mt8186
2022-01-10 8:48 ` Guodong Liu
(?)
@ 2022-01-10 10:01 ` AngeloGioacchino Del Regno
-1 siblings, 0 replies; 20+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-01-10 10:01 UTC (permalink / raw)
To: Guodong Liu, Jonathan Cameron, Lars-Peter Clausen, Rob Herring,
Matthias Brugger, Zhiyong Tao
Cc: linux-iio, devicetree, linux-kernel, linux-arm-kernel,
linux-mediatek, Project_Global_Chrome_Upstream_Group
Il 10/01/22 09:48, Guodong Liu ha scritto:
> This commit adds mt8186 compatible node.
>
> Signed-off-by: Guodong Liu <guodong.liu@mediatek.com>
Acked-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> ---
> drivers/iio/adc/mt6577_auxadc.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/drivers/iio/adc/mt6577_auxadc.c b/drivers/iio/adc/mt6577_auxadc.c
> index d4fccd52ef08..fb08d761589a 100644
> --- a/drivers/iio/adc/mt6577_auxadc.c
> +++ b/drivers/iio/adc/mt6577_auxadc.c
> @@ -46,6 +46,11 @@ struct mt6577_auxadc_device {
> const struct mtk_auxadc_compatible *dev_comp;
> };
>
> +static const struct mtk_auxadc_compatible mt8186_compat = {
> + .sample_data_cali = false,
> + .check_global_idle = false,
> +};
> +
> static const struct mtk_auxadc_compatible mt8173_compat = {
> .sample_data_cali = false,
> .check_global_idle = true,
> @@ -334,6 +339,7 @@ static const struct of_device_id mt6577_auxadc_of_match[] = {
> { .compatible = "mediatek,mt2712-auxadc", .data = &mt8173_compat},
> { .compatible = "mediatek,mt7622-auxadc", .data = &mt8173_compat},
> { .compatible = "mediatek,mt8173-auxadc", .data = &mt8173_compat},
> + { .compatible = "mediatek,mt8186-auxadc", .data = &mt8186_compat},
> { .compatible = "mediatek,mt6765-auxadc", .data = &mt6765_compat},
> { }
> };
>
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH v1 2/2] iio: adc: mt8186: Add compatible node for mt8186
@ 2022-01-10 10:01 ` AngeloGioacchino Del Regno
0 siblings, 0 replies; 20+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-01-10 10:01 UTC (permalink / raw)
To: Guodong Liu, Jonathan Cameron, Lars-Peter Clausen, Rob Herring,
Matthias Brugger, Zhiyong Tao
Cc: linux-iio, devicetree, linux-kernel, linux-arm-kernel,
linux-mediatek, Project_Global_Chrome_Upstream_Group
Il 10/01/22 09:48, Guodong Liu ha scritto:
> This commit adds mt8186 compatible node.
>
> Signed-off-by: Guodong Liu <guodong.liu@mediatek.com>
Acked-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> ---
> drivers/iio/adc/mt6577_auxadc.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/drivers/iio/adc/mt6577_auxadc.c b/drivers/iio/adc/mt6577_auxadc.c
> index d4fccd52ef08..fb08d761589a 100644
> --- a/drivers/iio/adc/mt6577_auxadc.c
> +++ b/drivers/iio/adc/mt6577_auxadc.c
> @@ -46,6 +46,11 @@ struct mt6577_auxadc_device {
> const struct mtk_auxadc_compatible *dev_comp;
> };
>
> +static const struct mtk_auxadc_compatible mt8186_compat = {
> + .sample_data_cali = false,
> + .check_global_idle = false,
> +};
> +
> static const struct mtk_auxadc_compatible mt8173_compat = {
> .sample_data_cali = false,
> .check_global_idle = true,
> @@ -334,6 +339,7 @@ static const struct of_device_id mt6577_auxadc_of_match[] = {
> { .compatible = "mediatek,mt2712-auxadc", .data = &mt8173_compat},
> { .compatible = "mediatek,mt7622-auxadc", .data = &mt8173_compat},
> { .compatible = "mediatek,mt8173-auxadc", .data = &mt8173_compat},
> + { .compatible = "mediatek,mt8186-auxadc", .data = &mt8186_compat},
> { .compatible = "mediatek,mt6765-auxadc", .data = &mt6765_compat},
> { }
> };
>
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH v1 2/2] iio: adc: mt8186: Add compatible node for mt8186
@ 2022-01-10 10:01 ` AngeloGioacchino Del Regno
0 siblings, 0 replies; 20+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-01-10 10:01 UTC (permalink / raw)
To: Guodong Liu, Jonathan Cameron, Lars-Peter Clausen, Rob Herring,
Matthias Brugger, Zhiyong Tao
Cc: linux-iio, devicetree, linux-kernel, linux-arm-kernel,
linux-mediatek, Project_Global_Chrome_Upstream_Group
Il 10/01/22 09:48, Guodong Liu ha scritto:
> This commit adds mt8186 compatible node.
>
> Signed-off-by: Guodong Liu <guodong.liu@mediatek.com>
Acked-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> ---
> drivers/iio/adc/mt6577_auxadc.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/drivers/iio/adc/mt6577_auxadc.c b/drivers/iio/adc/mt6577_auxadc.c
> index d4fccd52ef08..fb08d761589a 100644
> --- a/drivers/iio/adc/mt6577_auxadc.c
> +++ b/drivers/iio/adc/mt6577_auxadc.c
> @@ -46,6 +46,11 @@ struct mt6577_auxadc_device {
> const struct mtk_auxadc_compatible *dev_comp;
> };
>
> +static const struct mtk_auxadc_compatible mt8186_compat = {
> + .sample_data_cali = false,
> + .check_global_idle = false,
> +};
> +
> static const struct mtk_auxadc_compatible mt8173_compat = {
> .sample_data_cali = false,
> .check_global_idle = true,
> @@ -334,6 +339,7 @@ static const struct of_device_id mt6577_auxadc_of_match[] = {
> { .compatible = "mediatek,mt2712-auxadc", .data = &mt8173_compat},
> { .compatible = "mediatek,mt7622-auxadc", .data = &mt8173_compat},
> { .compatible = "mediatek,mt8173-auxadc", .data = &mt8173_compat},
> + { .compatible = "mediatek,mt8186-auxadc", .data = &mt8186_compat},
> { .compatible = "mediatek,mt6765-auxadc", .data = &mt6765_compat},
> { }
> };
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH v1 2/2] iio: adc: mt8186: Add compatible node for mt8186
2022-01-10 10:01 ` AngeloGioacchino Del Regno
(?)
@ 2022-01-15 15:02 ` Jonathan Cameron
-1 siblings, 0 replies; 20+ messages in thread
From: Jonathan Cameron @ 2022-01-15 15:02 UTC (permalink / raw)
To: AngeloGioacchino Del Regno
Cc: Guodong Liu, Lars-Peter Clausen, Rob Herring, Matthias Brugger,
Zhiyong Tao, linux-iio, devicetree, linux-kernel,
linux-arm-kernel, linux-mediatek,
Project_Global_Chrome_Upstream_Group
On Mon, 10 Jan 2022 11:01:28 +0100
AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> wrote:
> Il 10/01/22 09:48, Guodong Liu ha scritto:
> > This commit adds mt8186 compatible node.
> >
> > Signed-off-by: Guodong Liu <guodong.liu@mediatek.com>
>
> Acked-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Applied with a slight tweak to patch 2 as an earlier tidyup added
a bracket before the } in the table so make this line match as well.
Applied to the togreg branch of iio.git and pushed out as testing for
0-day to poke at it for us. I'll be rebasing the tree after rc1 is out.
Thanks,
Jonathan
>
> > ---
> > drivers/iio/adc/mt6577_auxadc.c | 6 ++++++
> > 1 file changed, 6 insertions(+)
> >
> > diff --git a/drivers/iio/adc/mt6577_auxadc.c b/drivers/iio/adc/mt6577_auxadc.c
> > index d4fccd52ef08..fb08d761589a 100644
> > --- a/drivers/iio/adc/mt6577_auxadc.c
> > +++ b/drivers/iio/adc/mt6577_auxadc.c
> > @@ -46,6 +46,11 @@ struct mt6577_auxadc_device {
> > const struct mtk_auxadc_compatible *dev_comp;
> > };
> >
> > +static const struct mtk_auxadc_compatible mt8186_compat = {
> > + .sample_data_cali = false,
> > + .check_global_idle = false,
> > +};
> > +
> > static const struct mtk_auxadc_compatible mt8173_compat = {
> > .sample_data_cali = false,
> > .check_global_idle = true,
> > @@ -334,6 +339,7 @@ static const struct of_device_id mt6577_auxadc_of_match[] = {
> > { .compatible = "mediatek,mt2712-auxadc", .data = &mt8173_compat},
> > { .compatible = "mediatek,mt7622-auxadc", .data = &mt8173_compat},
> > { .compatible = "mediatek,mt8173-auxadc", .data = &mt8173_compat},
> > + { .compatible = "mediatek,mt8186-auxadc", .data = &mt8186_compat},
> > { .compatible = "mediatek,mt6765-auxadc", .data = &mt6765_compat},
> > { }
> > };
> >
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH v1 2/2] iio: adc: mt8186: Add compatible node for mt8186
@ 2022-01-15 15:02 ` Jonathan Cameron
0 siblings, 0 replies; 20+ messages in thread
From: Jonathan Cameron @ 2022-01-15 15:02 UTC (permalink / raw)
To: AngeloGioacchino Del Regno
Cc: Guodong Liu, Lars-Peter Clausen, Rob Herring, Matthias Brugger,
Zhiyong Tao, linux-iio, devicetree, linux-kernel,
linux-arm-kernel, linux-mediatek,
Project_Global_Chrome_Upstream_Group
On Mon, 10 Jan 2022 11:01:28 +0100
AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> wrote:
> Il 10/01/22 09:48, Guodong Liu ha scritto:
> > This commit adds mt8186 compatible node.
> >
> > Signed-off-by: Guodong Liu <guodong.liu@mediatek.com>
>
> Acked-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Applied with a slight tweak to patch 2 as an earlier tidyup added
a bracket before the } in the table so make this line match as well.
Applied to the togreg branch of iio.git and pushed out as testing for
0-day to poke at it for us. I'll be rebasing the tree after rc1 is out.
Thanks,
Jonathan
>
> > ---
> > drivers/iio/adc/mt6577_auxadc.c | 6 ++++++
> > 1 file changed, 6 insertions(+)
> >
> > diff --git a/drivers/iio/adc/mt6577_auxadc.c b/drivers/iio/adc/mt6577_auxadc.c
> > index d4fccd52ef08..fb08d761589a 100644
> > --- a/drivers/iio/adc/mt6577_auxadc.c
> > +++ b/drivers/iio/adc/mt6577_auxadc.c
> > @@ -46,6 +46,11 @@ struct mt6577_auxadc_device {
> > const struct mtk_auxadc_compatible *dev_comp;
> > };
> >
> > +static const struct mtk_auxadc_compatible mt8186_compat = {
> > + .sample_data_cali = false,
> > + .check_global_idle = false,
> > +};
> > +
> > static const struct mtk_auxadc_compatible mt8173_compat = {
> > .sample_data_cali = false,
> > .check_global_idle = true,
> > @@ -334,6 +339,7 @@ static const struct of_device_id mt6577_auxadc_of_match[] = {
> > { .compatible = "mediatek,mt2712-auxadc", .data = &mt8173_compat},
> > { .compatible = "mediatek,mt7622-auxadc", .data = &mt8173_compat},
> > { .compatible = "mediatek,mt8173-auxadc", .data = &mt8173_compat},
> > + { .compatible = "mediatek,mt8186-auxadc", .data = &mt8186_compat},
> > { .compatible = "mediatek,mt6765-auxadc", .data = &mt6765_compat},
> > { }
> > };
> >
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH v1 2/2] iio: adc: mt8186: Add compatible node for mt8186
@ 2022-01-15 15:02 ` Jonathan Cameron
0 siblings, 0 replies; 20+ messages in thread
From: Jonathan Cameron @ 2022-01-15 15:02 UTC (permalink / raw)
To: AngeloGioacchino Del Regno
Cc: Guodong Liu, Lars-Peter Clausen, Rob Herring, Matthias Brugger,
Zhiyong Tao, linux-iio, devicetree, linux-kernel,
linux-arm-kernel, linux-mediatek,
Project_Global_Chrome_Upstream_Group
On Mon, 10 Jan 2022 11:01:28 +0100
AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> wrote:
> Il 10/01/22 09:48, Guodong Liu ha scritto:
> > This commit adds mt8186 compatible node.
> >
> > Signed-off-by: Guodong Liu <guodong.liu@mediatek.com>
>
> Acked-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Applied with a slight tweak to patch 2 as an earlier tidyup added
a bracket before the } in the table so make this line match as well.
Applied to the togreg branch of iio.git and pushed out as testing for
0-day to poke at it for us. I'll be rebasing the tree after rc1 is out.
Thanks,
Jonathan
>
> > ---
> > drivers/iio/adc/mt6577_auxadc.c | 6 ++++++
> > 1 file changed, 6 insertions(+)
> >
> > diff --git a/drivers/iio/adc/mt6577_auxadc.c b/drivers/iio/adc/mt6577_auxadc.c
> > index d4fccd52ef08..fb08d761589a 100644
> > --- a/drivers/iio/adc/mt6577_auxadc.c
> > +++ b/drivers/iio/adc/mt6577_auxadc.c
> > @@ -46,6 +46,11 @@ struct mt6577_auxadc_device {
> > const struct mtk_auxadc_compatible *dev_comp;
> > };
> >
> > +static const struct mtk_auxadc_compatible mt8186_compat = {
> > + .sample_data_cali = false,
> > + .check_global_idle = false,
> > +};
> > +
> > static const struct mtk_auxadc_compatible mt8173_compat = {
> > .sample_data_cali = false,
> > .check_global_idle = true,
> > @@ -334,6 +339,7 @@ static const struct of_device_id mt6577_auxadc_of_match[] = {
> > { .compatible = "mediatek,mt2712-auxadc", .data = &mt8173_compat},
> > { .compatible = "mediatek,mt7622-auxadc", .data = &mt8173_compat},
> > { .compatible = "mediatek,mt8173-auxadc", .data = &mt8173_compat},
> > + { .compatible = "mediatek,mt8186-auxadc", .data = &mt8186_compat},
> > { .compatible = "mediatek,mt6765-auxadc", .data = &mt6765_compat},
> > { }
> > };
> >
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [SPAM]Re: [PATCH v1 2/2] iio: adc: mt8186: Add compatible node for mt8186
2022-01-15 15:02 ` Jonathan Cameron
@ 2022-01-20 1:22 ` Guodong Liu
-1 siblings, 0 replies; 20+ messages in thread
From: Guodong Liu @ 2022-01-20 1:22 UTC (permalink / raw)
To: Jonathan Cameron, AngeloGioacchino Del Regno
Cc: Lars-Peter Clausen, Rob Herring, Matthias Brugger, Zhiyong Tao,
linux-iio, devicetree, linux-kernel, linux-arm-kernel,
linux-mediatek, Project_Global_Chrome_Upstream_Group
-----Original Message-----
From: Jonathan Cameron <jic23@jic23.retrosnub.co.uk>
To: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com
>
Cc: Guodong Liu <guodong.liu@mediatek.com>, Lars-Peter Clausen <
lars@metafoo.de>, Rob Herring <robh+dt@kernel.org>, Matthias Brugger <
matthias.bgg@gmail.com>, Zhiyong Tao <zhiyong.tao@mediatek.com>,
linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org,
Project_Global_Chrome_Upstream_Group@mediatek.com
Subject: [SPAM]Re: [PATCH v1 2/2] iio: adc: mt8186: Add compatible node
for mt8186
Date: Sat, 15 Jan 2022 15:02:08 +0000
On Mon, 10 Jan 2022 11:01:28 +0100
AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
wrote:
> Il 10/01/22 09:48, Guodong Liu ha scritto:
> > This commit adds mt8186 compatible node.
> >
> > Signed-off-by: Guodong Liu <guodong.liu@mediatek.com>
>
> Acked-by: AngeloGioacchino Del Regno <
> angelogioacchino.delregno@collabora.com>
Applied with a slight tweak to patch 2 as an earlier tidyup added
a bracket before the } in the table so make this line match as well.
Applied to the togreg branch of iio.git and pushed out as testing for
0-day to poke at it for us. I'll be rebasing the tree after rc1 is
out.
Thanks,
Jonathan
Hi Jonathan
Thanks for you help.
Thanks,
Guodong
>
> > ---
> > drivers/iio/adc/mt6577_auxadc.c | 6 ++++++
> > 1 file changed, 6 insertions(+)
> >
> > diff --git a/drivers/iio/adc/mt6577_auxadc.c
> > b/drivers/iio/adc/mt6577_auxadc.c
> > index d4fccd52ef08..fb08d761589a 100644
> > --- a/drivers/iio/adc/mt6577_auxadc.c
> > +++ b/drivers/iio/adc/mt6577_auxadc.c
> > @@ -46,6 +46,11 @@ struct mt6577_auxadc_device {
> > const struct mtk_auxadc_compatible *dev_comp;
> > };
> >
> > +static const struct mtk_auxadc_compatible mt8186_compat = {
> > + .sample_data_cali = false,
> > + .check_global_idle = false,
> > +};
> > +
> > static const struct mtk_auxadc_compatible mt8173_compat = {
> > .sample_data_cali = false,
> > .check_global_idle = true,
> > @@ -334,6 +339,7 @@ static const struct of_device_id
> > mt6577_auxadc_of_match[] = {
> > { .compatible = "mediatek,mt2712-auxadc", .data =
> > &mt8173_compat},
> > { .compatible = "mediatek,mt7622-auxadc", .data =
> > &mt8173_compat},
> > { .compatible = "mediatek,mt8173-auxadc", .data =
> > &mt8173_compat},
> > + { .compatible = "mediatek,mt8186-auxadc", .data =
> > &mt8186_compat},
> > { .compatible = "mediatek,mt6765-auxadc", .data =
> > &mt6765_compat},
> > { }
> > };
> >
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [SPAM]Re: [PATCH v1 2/2] iio: adc: mt8186: Add compatible node for mt8186
@ 2022-01-20 1:22 ` Guodong Liu
0 siblings, 0 replies; 20+ messages in thread
From: Guodong Liu @ 2022-01-20 1:22 UTC (permalink / raw)
To: Jonathan Cameron, AngeloGioacchino Del Regno
Cc: Lars-Peter Clausen, Rob Herring, Matthias Brugger, Zhiyong Tao,
linux-iio, devicetree, linux-kernel, linux-arm-kernel,
linux-mediatek, Project_Global_Chrome_Upstream_Group
-----Original Message-----
From: Jonathan Cameron <jic23@jic23.retrosnub.co.uk>
To: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com
>
Cc: Guodong Liu <guodong.liu@mediatek.com>, Lars-Peter Clausen <
lars@metafoo.de>, Rob Herring <robh+dt@kernel.org>, Matthias Brugger <
matthias.bgg@gmail.com>, Zhiyong Tao <zhiyong.tao@mediatek.com>,
linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org,
Project_Global_Chrome_Upstream_Group@mediatek.com
Subject: [SPAM]Re: [PATCH v1 2/2] iio: adc: mt8186: Add compatible node
for mt8186
Date: Sat, 15 Jan 2022 15:02:08 +0000
On Mon, 10 Jan 2022 11:01:28 +0100
AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
wrote:
> Il 10/01/22 09:48, Guodong Liu ha scritto:
> > This commit adds mt8186 compatible node.
> >
> > Signed-off-by: Guodong Liu <guodong.liu@mediatek.com>
>
> Acked-by: AngeloGioacchino Del Regno <
> angelogioacchino.delregno@collabora.com>
Applied with a slight tweak to patch 2 as an earlier tidyup added
a bracket before the } in the table so make this line match as well.
Applied to the togreg branch of iio.git and pushed out as testing for
0-day to poke at it for us. I'll be rebasing the tree after rc1 is
out.
Thanks,
Jonathan
Hi Jonathan
Thanks for you help.
Thanks,
Guodong
>
> > ---
> > drivers/iio/adc/mt6577_auxadc.c | 6 ++++++
> > 1 file changed, 6 insertions(+)
> >
> > diff --git a/drivers/iio/adc/mt6577_auxadc.c
> > b/drivers/iio/adc/mt6577_auxadc.c
> > index d4fccd52ef08..fb08d761589a 100644
> > --- a/drivers/iio/adc/mt6577_auxadc.c
> > +++ b/drivers/iio/adc/mt6577_auxadc.c
> > @@ -46,6 +46,11 @@ struct mt6577_auxadc_device {
> > const struct mtk_auxadc_compatible *dev_comp;
> > };
> >
> > +static const struct mtk_auxadc_compatible mt8186_compat = {
> > + .sample_data_cali = false,
> > + .check_global_idle = false,
> > +};
> > +
> > static const struct mtk_auxadc_compatible mt8173_compat = {
> > .sample_data_cali = false,
> > .check_global_idle = true,
> > @@ -334,6 +339,7 @@ static const struct of_device_id
> > mt6577_auxadc_of_match[] = {
> > { .compatible = "mediatek,mt2712-auxadc", .data =
> > &mt8173_compat},
> > { .compatible = "mediatek,mt7622-auxadc", .data =
> > &mt8173_compat},
> > { .compatible = "mediatek,mt8173-auxadc", .data =
> > &mt8173_compat},
> > + { .compatible = "mediatek,mt8186-auxadc", .data =
> > &mt8186_compat},
> > { .compatible = "mediatek,mt6765-auxadc", .data =
> > &mt6765_compat},
> > { }
> > };
> >
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH v1 1/2] dt-bindings: iio: adc: Add compatible for Mediatek MT8186
2022-01-10 8:48 ` Guodong Liu
(?)
@ 2022-01-21 23:38 ` Rob Herring
-1 siblings, 0 replies; 20+ messages in thread
From: Rob Herring @ 2022-01-21 23:38 UTC (permalink / raw)
To: Guodong Liu
Cc: linux-kernel, Project_Global_Chrome_Upstream_Group, Rob Herring,
linux-arm-kernel, Zhiyong Tao, linux-iio, Jonathan Cameron,
linux-mediatek, Lars-Peter Clausen, Matthias Brugger, devicetree
On Mon, 10 Jan 2022 16:48:40 +0800, Guodong Liu wrote:
> This commit adds dt-binding documentation of auxadc for Mediatek MT8186 SoC
> Platform.
>
> Signed-off-by: Guodong Liu <guodong.liu@mediatek.com>
> ---
> .../devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH v1 1/2] dt-bindings: iio: adc: Add compatible for Mediatek MT8186
@ 2022-01-21 23:38 ` Rob Herring
0 siblings, 0 replies; 20+ messages in thread
From: Rob Herring @ 2022-01-21 23:38 UTC (permalink / raw)
To: Guodong Liu
Cc: linux-kernel, Project_Global_Chrome_Upstream_Group, Rob Herring,
linux-arm-kernel, Zhiyong Tao, linux-iio, Jonathan Cameron,
linux-mediatek, Lars-Peter Clausen, Matthias Brugger, devicetree
On Mon, 10 Jan 2022 16:48:40 +0800, Guodong Liu wrote:
> This commit adds dt-binding documentation of auxadc for Mediatek MT8186 SoC
> Platform.
>
> Signed-off-by: Guodong Liu <guodong.liu@mediatek.com>
> ---
> .../devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
Acked-by: Rob Herring <robh@kernel.org>
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH v1 1/2] dt-bindings: iio: adc: Add compatible for Mediatek MT8186
@ 2022-01-21 23:38 ` Rob Herring
0 siblings, 0 replies; 20+ messages in thread
From: Rob Herring @ 2022-01-21 23:38 UTC (permalink / raw)
To: Guodong Liu
Cc: linux-kernel, Project_Global_Chrome_Upstream_Group, Rob Herring,
linux-arm-kernel, Zhiyong Tao, linux-iio, Jonathan Cameron,
linux-mediatek, Lars-Peter Clausen, Matthias Brugger, devicetree
On Mon, 10 Jan 2022 16:48:40 +0800, Guodong Liu wrote:
> This commit adds dt-binding documentation of auxadc for Mediatek MT8186 SoC
> Platform.
>
> Signed-off-by: Guodong Liu <guodong.liu@mediatek.com>
> ---
> .../devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
Acked-by: Rob Herring <robh@kernel.org>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 20+ messages in thread
end of thread, other threads:[~2022-01-21 23:39 UTC | newest]
Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-10 8:48 [PATCH v1 1/2] dt-bindings: iio: adc: Add compatible for Mediatek MT8186 Guodong Liu
2022-01-10 8:48 ` Guodong Liu
2022-01-10 8:48 ` Guodong Liu
2022-01-10 8:48 ` [PATCH v1 2/2] iio: adc: mt8186: Add compatible node for mt8186 Guodong Liu
2022-01-10 8:48 ` Guodong Liu
2022-01-10 8:48 ` Guodong Liu
2022-01-10 10:01 ` AngeloGioacchino Del Regno
2022-01-10 10:01 ` AngeloGioacchino Del Regno
2022-01-10 10:01 ` AngeloGioacchino Del Regno
2022-01-15 15:02 ` Jonathan Cameron
2022-01-15 15:02 ` Jonathan Cameron
2022-01-15 15:02 ` Jonathan Cameron
2022-01-20 1:22 ` [SPAM]Re: " Guodong Liu
2022-01-20 1:22 ` Guodong Liu
2022-01-10 10:01 ` [PATCH v1 1/2] dt-bindings: iio: adc: Add compatible for Mediatek MT8186 AngeloGioacchino Del Regno
2022-01-10 10:01 ` AngeloGioacchino Del Regno
2022-01-10 10:01 ` AngeloGioacchino Del Regno
2022-01-21 23:38 ` Rob Herring
2022-01-21 23:38 ` Rob Herring
2022-01-21 23:38 ` Rob Herring
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.