Received: by 2002:a05:6a10:5594:0:0:0:0 with SMTP id ee20csp270967pxb; Mon, 25 Apr 2022 09:41:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzmP4J4HO8amwqE+9HaWxifldL0W8HlSKmpjlXpRC0sRAVK4hv7sMnwmiFwb46Q7wg2LwhF X-Received: by 2002:aa7:c5c9:0:b0:425:ca31:4e35 with SMTP id h9-20020aa7c5c9000000b00425ca314e35mr14475202eds.315.1650904893296; Mon, 25 Apr 2022 09:41:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650904893; cv=none; d=google.com; s=arc-20160816; b=yOGhiaev53YZRwyOU1UP0HhpXePDxyC+Swh8TYakJICY3hwZ/0X2BJw+hQzWbH4h2I Ijx+0dICuiu5GjZhA1vGWjqEcct+7iSA4fJQt3cmohJ6YTGn45xGixviuJ81DMpNNOoy EgWTQavEA9LHGwMEbEhN6Ph6NCksl0g3stMWNtoWuPGIgigNXeb3f2JmJjYbww8KVN3I ED5SedQ7oMCcABV3r+mfEBrpyvPwz00phOCwapXasJucePTmBw09Ik3w1wyQ4YsAXt8g m0fTbqNno2AuqDzRM+sHEfsAzirsbsXl3reN82h3uB3Zgy9g8Gxh/qQQnnmWJ0HhKbIG NM5Q== 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=8SYtqx9WAW/TC9A+uDkTEfLgepPZ44oRCIrWKgMuLyo=; b=HhGc5eregCihUURENIcJ76kiBsCElhbduw4I/5BtXyoI0rCaKWHsC+qQ2qwG/h7Fna AuyL7Dl3W0fNziWsE8n6/flGmIvun4fxhBelH5gZTrHRPKJSjlbjhk+9I8B56T7SDw4B 7y1nfzGtKVc7D70Bb1xfXRFhlfBmbGGDpl/A7fXlqlH50FObsRIRsebN290T06JKGeeE N07d1BLPwqqKN8BuFcPQJ5LW4AbWytOqCV6Sw68mV4Fthtg/H4fer4KaMPZXMGvYMfxm p6ZATmPTCYDOzB8+xK8EokRP3XS/uJjCfu8pSALLow2GoNGZmE+wKusvDn9S2PUcVqWP vlwg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i13-20020a1709061e4d00b006efe08752d0si14618972ejj.468.2022.04.25.09.41.05; Mon, 25 Apr 2022 09:41:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243492AbiDYQ3c (ORCPT + 99 others); Mon, 25 Apr 2022 12:29:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243456AbiDYQ1e (ORCPT ); Mon, 25 Apr 2022 12:27:34 -0400 Received: from mout.perfora.net (mout.perfora.net [74.208.4.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2DDF912010C; Mon, 25 Apr 2022 09:24:26 -0700 (PDT) Received: from toolbox.int.toradex.com ([81.221.85.15]) by mrelay.perfora.net (mreueus002 [74.208.5.2]) with ESMTPSA (Nemesis) id 0MItSh-1nlULQ4Brd-002Xyr; Mon, 25 Apr 2022 18:24:10 +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 v2 01/14] ARM: dts: imx6ull-colibri: use pull-down for adc pins Date: Mon, 25 Apr 2022 18:23:43 +0200 Message-Id: <20220425162356.176665-2-marcel@ziswiler.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220425162356.176665-1-marcel@ziswiler.com> References: <20220425162356.176665-1-marcel@ziswiler.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:ioYDyEmp+YzqCsQRQ3ZsrSpMMbKSFnOrfoMcKlNjRnxQYGxwkBf Nc75AcaqESLP9FCxwUfDkOYhSIeL+nGlew5otZ3PyVcPt41TsMgtTnAQ2qnW4xzp0cWQ244 MciDJtjHxM+TLIN1jx8+XTrm+r9HCC+9vpJaQLcCuO0rBiXeDcFPvK0ATkxZzMi1hh9+XK9 Ad1wL/h6CQ2CI5OsuPOPw== X-UI-Out-Filterresults: notjunk:1;V03:K0:CaMUM9+/O8I=:3xhg8ACPhzRPpUOC2+rR1I IKQFiPACAJqH1hAKRxXo4YzsJx+f5scjdZCjAclwfi9ymhN6Iq4XUd1KFbBQEgoquhdk5p8ms GfRWngkq9iX/5X6wQkP3O7+Kp2lfoxn4kpvljp0A00XJWMwMVDH/m81PnM0Opiwu5x8/8/hio TPStyYDW8anZebKX9etVpa1Oodm0nVS7Ja3EtV43tEhoR1A79J8M/8mSYeAcpIKBDnXLL4ByM uCHmB2xodfdHc+eUmU2S6Mb9zNwDEkShC6FTJTTNj5JTg8WSqsWsCS5H+e3PWHSjFKLTrHNwa 78fm0dvTC+/qbJHZLI2Fx2YbM/XjBp5uoEwSpAqGlbqgQrLifsHCrj4r9yM+tb5FbNKXbXk1q cg9AEd9Lm2auw3Yaoe17F3nert8vqBoUMxaAjqN4TjcLFCn14LyGTD28bKgkQmf8OaDFdlaax +ELCZJJkwKB+jvdKDY7I7Z//a3I7sVx+P4JN5PpRBdMCug498IAt1N+eIGKSb5VGFr5ayZJy5 IaLkLNvwRynrti4NqiO+6GTs1Mp47E3S+hUiA2e1UOTD4EWjuRJZoweop8pzcg5NyX6RtKbSv lONSIv8ARwRUUX2qC8YeXBRJmSndnBlNdAyOV6flODYwa2BpJbu7hBkxy7I4HKDl8N6q//JGm aGCNVNSeNm0ORKtfBDcIJ0oYmqiyfRqKxte5bPGmuqC/o8Gy9LQn6iTxhfTmneFsgOm8= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE autolearn=ham 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 951a2a6c5a65..eb13ed60d2e4 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