Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3344962iog; Mon, 27 Jun 2022 14:08:48 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ujnpCQ6LFKonFdr6fceV07XZzQsHqVqmTO65Ibd4kKTrjRE0SkZgw0zXqfeusGOV5Br09m X-Received: by 2002:a17:906:9751:b0:722:e52b:aef7 with SMTP id o17-20020a170906975100b00722e52baef7mr14164114ejy.537.1656364127876; Mon, 27 Jun 2022 14:08:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656364127; cv=none; d=google.com; s=arc-20160816; b=YVNqFF/eWeWWQ5Av3m1viShIXocOPxHkkqQBaoRlLG3s4YiYLoksKAZUBKjulLPKSm ddnWe9SjtDCNRMVggWtG7heZDNOm8YvM7Z5R8ESnWIc1Sp19B1fzoCKMTkLlbb/Id157 oSUniWehjmTg/lYAx19OmySn9f5bmqX33QSpQ7snAtAMHwn1Sdb7P8ZAJulCfyb5X72I /yTwjso2stNqlSJJK0h68wM17wcVEexK09NbGjUnJftt3lvDXlfqpLZHayrVVuh+kRR+ QqT+UK4CTkLUUyLyxHDi+mJ8oKBkKnuwS3D/RLcSAyNE7S62BTtMasWQWrX7RFWm99eU dh8w== 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 :dkim-signature; bh=OLWwuKwhDGZ5AVt1p7fFud+w2xnXRC2cyekV81w3MDU=; b=inieUDePBsj4zUdZG8Pq+BxtmhnLFm5ociwjLmehwH7dlSdaDZn5j7TpiNv33WJHXs QIuMrL2C5YIe2OmLYZzbdWSxXJOk+AzItX5kJIwSTRL2Su9Bvr1t04RJ7SYCd9KAq4bF sDnXdhaD05vtiacBiVT4UIzEufmn+jkUfwTLAWV6lN43Hbfm3o5l19D4A+NuinQgH13n UUysRqUUkWdf+1ZgSnHyPYTwEUjIVlc8U7Gd8QikVZkEtTmAPJkP5IUGOdprEw8ipwsV ZYuMSEAHWVqffQuZdu/MlgnbvgslYOoVS3tdonaDNOH2bqPdLRJYpZqp729invn88hCv X+jA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=dheqE6WH; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u23-20020a056402065700b004357fc49fd6si12811651edx.113.2022.06.27.14.08.21; Mon, 27 Jun 2022 14:08:47 -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=@gmail.com header.s=20210112 header.b=dheqE6WH; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241359AbiF0UeI (ORCPT + 99 others); Mon, 27 Jun 2022 16:34:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239299AbiF0UeF (ORCPT ); Mon, 27 Jun 2022 16:34:05 -0400 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0BA046340; Mon, 27 Jun 2022 13:34:05 -0700 (PDT) Received: by mail-ed1-x533.google.com with SMTP id o9so14690887edt.12; Mon, 27 Jun 2022 13:34:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=OLWwuKwhDGZ5AVt1p7fFud+w2xnXRC2cyekV81w3MDU=; b=dheqE6WHwvec6tvb6t2RbF5VQNheGf73O7aOBbWBM90uPgRY7rjxLwdopKqx72QETI 9+X7x7jSPVLe35HXCDQldILySK6vIaAFKfnX3HPBP0/j95N8DUoKhHp7021brMu9adLG yQGG2iTCry+dnpBEIfhwqQI3FsMWrs6gaWN1SzhlRdwlpU7TA0f87EBVzhZUvyEl9p+v naGmnvUsNkzChfpTJPj4aM2kXkZNXpdjNvCCAz1DtdjOEQXU3H55lUVo3BTVg3PJr9qn krDTRJOYoa/gMT7+yRFcL+eTIiPJv1z1iYTuQSFygvCy6I+O2QDSnCP6uUX6MCdwidHK IKVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=OLWwuKwhDGZ5AVt1p7fFud+w2xnXRC2cyekV81w3MDU=; b=npCC/2A/rRewfTLLDahvlN07iqT6//+Cc3df09bfNy4n561wVLfxK0mjlTJrAqtgEg xYWLSlwE2HtxaQcXytTcEKBvL+QIcpkvFcxTvbeIv3lnYfxcBqDoi94ZXEVk7dykap0F H+blwsmATO0h6qHamCt9GMCQnW+tZUNGwou3OllmGIbH9/GlO+ZiWvOBeK3OPLNKutbN r18JWkNxTuy8Pp73Hh8nN3iGiMbhNT6aTMPIiiU177VLQxCR4kHQIp9eF1J5Tp3gQFZa CY+FpSQBuY6RT9eyJXtuicJQYIsCV0CySeDR2dvY/1ENrfnbI9Rc9q1SeD4R8l2QEfTn aFIQ== X-Gm-Message-State: AJIora+5I/NoKCkc4jsfstWAuDdEiYKYYdG8u2lPD8RTzgPDBjMifSKd cJDdv+CtSG+Tm6cAjXNseiYrC2jOjYo= X-Received: by 2002:a05:6402:280b:b0:437:9efc:a065 with SMTP id h11-20020a056402280b00b004379efca065mr5648487ede.3.1656362043648; Mon, 27 Jun 2022 13:34:03 -0700 (PDT) Received: from jernej-laptop.localnet (213-161-3-76.dynamic.telemach.net. [213.161.3.76]) by smtp.gmail.com with ESMTPSA id b9-20020aa7d489000000b004358243e752sm8120949edr.5.2022.06.27.13.34.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jun 2022 13:34:02 -0700 (PDT) From: Jernej =?utf-8?B?xaBrcmFiZWM=?= To: Chen-Yu Tsai , Linus Walleij , Samuel Holland Cc: Samuel Holland , 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 Subject: Re: [PATCH 2/6] pinctrl: sunxi: Add I/O bias setting for H6 R-PIO Date: Mon, 27 Jun 2022 22:34:00 +0200 Message-ID: <4405996.LvFx2qVVIh@jernej-laptop> In-Reply-To: <20220626021148.56740-3-samuel@sholland.org> References: <20220626021148.56740-1-samuel@sholland.org> <20220626021148.56740-3-samuel@sholland.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,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 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? Best regards, Jernej