Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4630175iob; Sun, 8 May 2022 19:52:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwB3gJKUlhuB9+COoqU2ProfmGWv0pZ2Wd0mOTsWSd+4LHZW/1aZah/dzHpzAbFxJxstZXH X-Received: by 2002:a05:6a00:1492:b0:50e:11ae:f62f with SMTP id v18-20020a056a00149200b0050e11aef62fmr14216782pfu.43.1652064769003; Sun, 08 May 2022 19:52:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652064768; cv=none; d=google.com; s=arc-20160816; b=UyyF877egXhE1t4e90oQJ8lQczgLGC/Vm6+cjA7aIb/3XvKpla9CqQsHMphYNiOa4P ff6JYoTFCcVbIDVUYxS6WwGdrbINmH8jKUE9RJp4Wc+MtWs9MbjlL2hRz/FmLgoicgUs pvG94nyWz8OoUZVcFTdctcVwE8Qzf5EuicCMPv0+uzfobmO6X3FebhLru0ad8ouwfqL+ 6/22vbWp+6lwtBx4v7/g7obJPecalvHeBonL3w0MQ3WzL3z9TTUW6LDQi3hdGgHdlJ2c M8Mt7infkwfgW0O5PelgNTzDdq20PM/AbgHr4PX/ec+jKxfxRthyww34d4xeRuzhaDU7 JURw== 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:date:subject:cc:to:from; bh=C5j39oykxk7DkTxvD1DVB2m3i9Ttufu43SggBkZ9YOw=; b=bza9+MZYbB5busrUq5inQBvzKG/Lp9DS2uqUlY2MleQ8al55SMXxt41n19WJv4eWyl AVjWaHwu/efuhNSj3FDpI64dRlWjlQmAgkqoKw/tl4rhxxkfI3d0L51oM35gcBDcgpa7 3CUZXKoQSP4V1BH2XDp+sZEyw+5gu3fLVK9Xj4Kbj4go8eyhr+FEOrdyN3F9bH1bZtLs jGu+2wURNJDILsyU79q+hntAh8vPK8uegWV5Gj0/xE9Jl+TJpT6A9nCw/6whovhyR7V4 pk9uk1pmxclk6kSw9dqK0RnQtbuFo/b87xuGdQukm0Vtwgjizu/rsukHx2nleh1lwvpw 84Og== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id u4-20020a63d344000000b003c1eb460705si12655537pgi.33.2022.05.08.19.52.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 19:52:48 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6DE8381489; Sun, 8 May 2022 19:52:15 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1392499AbiEFN2g (ORCPT + 99 others); Fri, 6 May 2022 09:28:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240891AbiEFN2b (ORCPT ); Fri, 6 May 2022 09:28:31 -0400 Received: from mout.perfora.net (mout.perfora.net [74.208.4.196]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D15686830B; Fri, 6 May 2022 06:24:48 -0700 (PDT) Received: from toolbox.int.toradex.com ([81.221.85.15]) by mrelay.perfora.net (mreueus003 [74.208.5.2]) with ESMTPSA (Nemesis) id 0M6Bzg-1o39Hj1CFG-00y5m5; Fri, 06 May 2022 15:24:29 +0200 From: Marcel Ziswiler To: linux-arm-kernel@lists.infradead.org Cc: Philippe Schenker , Denys Drozdov , Marcel Ziswiler , Fabio Estevam , Frank Rowand , Krzysztof Kozlowski , NXP Linux Team , Pengutronix Kernel Team , Rob Herring , Russell King , Sascha Hauer , Shawn Guo , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 01/13] ARM: dts: imx6ull-colibri: use pull-down for adc pins Date: Fri, 6 May 2022 15:24:04 +0200 Message-Id: <20220506132416.273965-2-marcel@ziswiler.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220506132416.273965-1-marcel@ziswiler.com> References: <20220506132416.273965-1-marcel@ziswiler.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:3VT8w+ktg62MV0eMvjsS2ZfZOqDK2QgsLt+GERFnFjSfhXnZQzg gUmsqNMOdt6h7gfCMPj+/PVDT+3mhNw+KenhnnP+l/LtMqnF5UfJBXVNQW7mt1B5UyebP8u W536co2WvoBnF0BPvMHmejd7o1xf6H/YJC69kaQIghNFVBrUKVBuTv6pkTn350leZQxj4Uo u2cJ9BQzVVoSHeoi1o1Fw== X-UI-Out-Filterresults: notjunk:1;V03:K0:RNH7X0xkl8E=:Le5VvuRgBR4dLEQ26ZYmdY BiqHApNqGiJ8wv7tyBi5MRJ92I8SwLkHf0vzA2WsmebcihmSWzGhqSvoNJ+Facza0Q7O3W0IC hEasZC16jJPr8nYbSpMteQrFTahwX5Xx/YcrVDeNvADNbeSvmzBVVJm7KiYVBXob3c+GdX3El 6RNE29X4CX6hga0JyhAXTWgt2/Y0rr86CmSpAybDixFKzlxiRYmLuW9pt/EX2hPW1xC37C++E IsklCq54k+s0zD8WPmt0qq/+Cg5+YpbDP3jEbeouo7thlg37kxLG3aZOG6Os9KNuGgU/659x5 QxwE2iWG+d+PqNii1PA5bGRpyaLnrU+pK0DVaCP3y/u904PDylVttxYutrrzibJw51MPinKPP mth2SQfLa2SsBrAQbKA6Jja5h9m27jPQAXbpyWH37vm69ShRIqZR/fx3Xrius74r/XKIHYHRj C4i7uwmpob4hGLV36YDrihfEICf5CbY34A5Iu+quezecXI49PtdSO/cWFj9R2ZJ78tXTFwMjD r4xvYQlJUGw8eAPY3+Hm16SO6dNccgu4r5tPxVs1g/8Toxz3PLWs6hBSc4Na0W9ZBxuSvYUeG rxWxEaKtpgMz6mK4AQOS/r6DI4MOBGlHJGD/r3dq9d/oIfeA+DC+fjwsAQ1mOwcnxumA7C8Je uSZENBIYxNvd5gSkjF/XfTGBzs79MG2NppTp1LpP40PVecBpbuaDeDnrjze40ig3PYNY= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Philippe Schenker Disable the keeper and enable a 100k pull-down on the ADC pins as per the following note in section 13.2 of the i.MX 6ULL Application Processor Reference Manual, Rev. 1, 11/2017 [1]: The keeper causes an undesired jump behavior in ADC. To avoid the problem, disable keeper before starting ADC. [1] https://www.nxp.com/webapp/Download?colCode=IMX6ULLRM Signed-off-by: Philippe Schenker Signed-off-by: Denys Drozdov Signed-off-by: Marcel Ziswiler --- (no changes since v1) arch/arm/boot/dts/imx6ull-colibri.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/imx6ull-colibri.dtsi b/arch/arm/boot/dts/imx6ull-colibri.dtsi index 7f35a06dff95..84bb7574d211 100644 --- a/arch/arm/boot/dts/imx6ull-colibri.dtsi +++ b/arch/arm/boot/dts/imx6ull-colibri.dtsi @@ -52,6 +52,8 @@ reg_sd1_vmmc: regulator-sd1-vmmc { &adc1 { num-channels = <10>; vref-supply = <®_module_3v3_avdd>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_adc1>; }; &can1 { @@ -214,6 +216,16 @@ &wdog1 { }; &iomuxc { + + pinctrl_adc1: adc1grp { + fsl,pins = < + MX6UL_PAD_GPIO1_IO00__GPIO1_IO00 0x3000 /* SODIMM 8 */ + MX6UL_PAD_GPIO1_IO01__GPIO1_IO01 0x3000 /* SODIMM 6 */ + MX6UL_PAD_GPIO1_IO08__GPIO1_IO08 0x3000 /* SODIMM 4 */ + MX6UL_PAD_GPIO1_IO09__GPIO1_IO09 0x3000 /* SODIMM 2 */ + >; + }; + pinctrl_can_int: canint-grp { fsl,pins = < MX6UL_PAD_ENET1_TX_DATA1__GPIO2_IO04 0x13010 /* SODIMM 73 */ -- 2.35.1