Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3570548iog; Mon, 27 Jun 2022 20:24:07 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tJrsk9bV2ZZyh/YCp79vICD8Od4xEGb+LljJKASTcoE2YvqZ8piV1LuLqJQi1h3Hj7yKha X-Received: by 2002:a05:6402:280b:b0:437:9efc:a065 with SMTP id h11-20020a056402280b00b004379efca065mr7295822ede.3.1656386647203; Mon, 27 Jun 2022 20:24:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656386647; cv=none; d=google.com; s=arc-20160816; b=DKRqjKLuwf/bko+dSQeGVKir15WGepSfnv+Cu2+7/9bUCUlbyD1EaQSJ5saLy+iTA0 u09gWsNrgyKC2GqJ95iF5mNUYwM59gS2ZFz0m7czEUZMW2cuTn3sT/rUy0j06rTyYuIK WDOy6/mO/XEFWLR7Ce5veIcMpVnng+TPhJvKRbNbv2t5Gu1byxOiclQ3mLGw/pSPLcRr G3qNsLDj/Vn/3Yl5+JS8LuevImJ3Nwlw8duh6zZjqNY/XUvTGENDs+odi9uO+QPINL6j imdP4CHPYTrSWdgoe1xZe/tXy2kkjy+WKXzOsWNHZztyQBxSFX8XtrpLlwTWiDN2F/Dw 6spg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:feedback-id:dkim-signature:dkim-signature; bh=/YpMypc4CtUEpSm1nrTuU0i+0ewy87iAcDekmp+xtcA=; b=GjsCk6k8eCoKSnXOpJZ5yKGkolboBk1pV80aCwCF5Gu+USJIRe5MqS+F3pc3OyhEKO GQsu7oTZXhosW7ffxl9SGHT2blMEH7Zp/tZJ0ZQUnWDtZdbHMjJZSCC1bYecCu0Mco+8 jnqONDRBZLyqwh2mnibaCDmaBW5wMYxZv2+y0j4CoEoVJMd0XN7e78obSBdHZz6qRRD1 4Gk+Me7eE+52sVh/9dd7INWk4sDgWN1TXWUPfuAuotxjA+skF4uL2AmitKuBu4lsnaCJ 7zPqvtheebDnADp546ivjsbdhhAAZ78DjDziTFzA7rI7vY0yaganohc/JbqeM4ecwned WMwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm3 header.b=UBZcVDfc; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=HrDg86DI; 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 n25-20020aa7c459000000b00435802a2e93si13536556edr.504.2022.06.27.20.23.42; Mon, 27 Jun 2022 20:24:07 -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; dkim=pass header.i=@sholland.org header.s=fm3 header.b=UBZcVDfc; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=HrDg86DI; 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 S230480AbiF1DTN (ORCPT + 99 others); Mon, 27 Jun 2022 23:19:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230513AbiF1DS5 (ORCPT ); Mon, 27 Jun 2022 23:18:57 -0400 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A51761EC68; Mon, 27 Jun 2022 20:18:55 -0700 (PDT) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 593873200956; Mon, 27 Jun 2022 23:18:51 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 27 Jun 2022 23:18:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1656386330; x= 1656472730; bh=/YpMypc4CtUEpSm1nrTuU0i+0ewy87iAcDekmp+xtcA=; b=U BZcVDfchVaWFO56Wp9ddD3Kb5jzex7CQrh0fAzLw9+tJxlvf6RNiq1EHMZDE6z3Y SCe/zhclh2hLgnv2273e5KEABKupjZjmdlmz0gDHI9S2CUJkRE+qeeVxMRd44XQ7 unUpKkqe+1A4iaRF5yV8pTsgbyObVdpX8JMQ7L3vhfmZzec0gJo8flQBc+SlEtmX CjyZBdZml+uLp5oQb3enjovrte4QPB+jGwOSvE3dMlRsaA8oPt/4ywJcwcIV3Kdt m+oZ8xgOW0Kuyav4Y+LGRQtDGX+IUhdImTSiKALNwQ7GJ93HwTt4AV8SdDbn6kwo GF1QevF8+P6eipMt/HqDw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1656386330; x= 1656472730; bh=/YpMypc4CtUEpSm1nrTuU0i+0ewy87iAcDekmp+xtcA=; b=H rDg86DII921aq69Gy4ZvLxZyipPCHUXDdsip8zmaFj43+zDzBaGgoKz7G19hxtC5 Vyn4al/oeY6p3IvbMaJV8u1dqG8qMdcnPILXYwG0XlEVWAmjtIs1JcH49BRwckR5 64CMBsQjOWPq3yZstOiEGJqiY8S7IzY+ltFhAEKOB9yqLxXWIg/0mwgnpO7PZ0vW abp9UPhxqfX5C3SlGIhT/zN0d6uJOPaXuQ6CMkQI2zn6443ccHS2YZsKQtRGFoG2 E9r5VBieX9W4Q3SCBaT4ZsQ4x6byMAnXNBLK6gJh0/AcSDZQRMmDyd2h4H2QjWUs lYzNGVb+RHe3e8hHk3tWw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudegiedgjeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvvehfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpefurghm uhgvlhcujfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenuc ggtffrrghtthgvrhhnpedtvefhheehgfdvkeetffeludeuudehudeuvddtveelleekvedv uedviefhkeeuheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 27 Jun 2022 23:18:49 -0400 (EDT) Subject: Re: [PATCH 2/6] pinctrl: sunxi: Add I/O bias setting for H6 R-PIO To: =?UTF-8?Q?Jernej_=c5=a0krabec?= , Chen-Yu Tsai , Linus Walleij Cc: Krzysztof Kozlowski , Maxime Ripard , Ondrej Jirman , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev References: <20220626021148.56740-1-samuel@sholland.org> <20220626021148.56740-3-samuel@sholland.org> <4405996.LvFx2qVVIh@jernej-laptop> From: Samuel Holland Message-ID: Date: Mon, 27 Jun 2022 22:18:48 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <4405996.LvFx2qVVIh@jernej-laptop> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On 6/27/22 3:34 PM, Jernej Škrabec wrote: > Dne nedelja, 26. junij 2022 ob 04:11:43 CEST je Samuel Holland napisal(a): >> H6 requires I/O bias configuration on both of its PIO devices. >> Previously it was only done for the main PIO. >> >> The setting for Port L is at bit 0, so the bank calculation needs to >> account for the pin base. Otherwise the wrong bit is used. >> >> Fixes: cc62383fcebe ("pinctrl: sunxi: Support I/O bias voltage setting on >> H6") Signed-off-by: Samuel Holland > > Reviewed-by: Jernej Skrabec > > Did you noticed any improvement with this properly set? In theory, 3.3 V bias > should always work, right? I think it matters for inputs, which may not detect a high level state if the bias (comparator reference) voltage is too high. It looks like Orange Pi 3 has a 1.8 V supply for port M. I am not currently set up to test the behavior with different bias settings, but I may do that if I get the chance. Regards, Samuel