mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-04 11:43:54 +08:00
iio: adc: mt8186: Add compatible node for mt8186
This commit adds mt8186 compatible node. Signed-off-by: Guodong Liu <guodong.liu@mediatek.com> Acked-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20220110084841.575-2-guodong.liu@mediatek.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
parent
f247d58efb
commit
ff04eb4786
@ -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 },
|
||||
{ }
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user