Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1737730pxb; Sat, 15 Jan 2022 22:46:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJx4D2HclITYxnaIVdzIEGXlCSMgcxatHQ12aqoCDZwAFAIwhG63fGNrxUhxtBW5uBxgLmDS X-Received: by 2002:a17:90b:3644:: with SMTP id nh4mr19036742pjb.222.1642315581112; Sat, 15 Jan 2022 22:46:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642315581; cv=none; d=google.com; s=arc-20160816; b=D1s5O3WDf5Mka+2WVHRp+hPAxYDbIR83FgfvNNXkwxbWCKxJKdxMum6wLM9Or4i+da FXtIPUg2giMNlL2KLYNnvu3WoTgSorBMMzjYrA7XnyGURmkYi7Imt060a99tbJsnxELk 6ZCs8/h8SyP/E4dAwZbLZiJRnTh29ss6BtjLkkzsw82xW5jiE9/MTqqOEP+8IJ1gB4ES gKKCwNTWqAoTc2NICidwr2E0A69oa8H1+ikWf2c2IX0CJnUvirKqQL5XK20WWGaZKPku lqK/6c6mypo6lzavcEm8ljn2n4zOpk2TdF6hZ+Saq8hiKzwwRxMfRkjqa/zX3EACfZ83 fY5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=0u2nzZrll+Tf0mj4yOltVj+QXFrG/OQdmd9iXUIZ+tU=; b=BZJv0jc7FeemMF5xUs2KXY+fP3l+s5zrZnU7RuxiwmQI23brGOVbUy5GMSYjszYqNx clMg3bxsja/sGyha/j6MbCeONf8RVU33gdMRVCm8aSI4uQRPamdqIqbXyWzpG5Dhplew USsjRHRNzS5rbmBhBxcWbNYf7MagknfAxcaeJmjH4Wo6Ohxi5c4GpkK4pDtll/ey5Htm b0Bx1NYSgjlAhHOAm9NsO5oqwc5na3bZwurN/WU2vDkK9jS+HAs2d0Liy8ldOV2pPMjB L3KVmfZpMWexwGqgjpuSBQ3iRgnllR5IWx9gN9uxwzCEKd1cWAvlIRTA0vQM4IIA5OF8 vvGQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o4si120526pls.588.2022.01.15.22.46.09; Sat, 15 Jan 2022 22:46:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232933AbiAOO40 (ORCPT + 99 others); Sat, 15 Jan 2022 09:56:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231804AbiAOO4Y (ORCPT ); Sat, 15 Jan 2022 09:56:24 -0500 Received: from haggis.mythic-beasts.com (haggis.mythic-beasts.com [IPv6:2a00:1098:0:86:1000:0:2:1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82519C061574; Sat, 15 Jan 2022 06:56:24 -0800 (PST) Received: from [81.101.6.87] (port=47186 helo=jic23-huawei) by haggis.mythic-beasts.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1n8kTV-0000NS-RE; Sat, 15 Jan 2022 14:56:14 +0000 Date: Sat, 15 Jan 2022 15:02:08 +0000 From: Jonathan Cameron To: AngeloGioacchino Del Regno Cc: Guodong Liu , Lars-Peter Clausen , Rob Herring , Matthias Brugger , Zhiyong Tao , 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: Re: [PATCH v1 2/2] iio: adc: mt8186: Add compatible node for mt8186 Message-ID: <20220115150208.15fb6284@jic23-huawei> In-Reply-To: <292950d7-d057-4e66-5d0d-a5144f50f2ce@collabora.com> References: <20220110084841.575-1-guodong.liu@mediatek.com> <20220110084841.575-2-guodong.liu@mediatek.com> <292950d7-d057-4e66-5d0d-a5144f50f2ce@collabora.com> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BlackCat-Spam-Score: 19 X-Spam-Status: No, score=1.9 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 10 Jan 2022 11:01:28 +0100 AngeloGioacchino Del Regno wrote: > Il 10/01/22 09:48, Guodong Liu ha scritto: > > This commit adds mt8186 compatible node. > > > > Signed-off-by: Guodong Liu > > Acked-by: AngeloGioacchino Del Regno 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}, > > { } > > }; > >