Received: by 2002:ac0:c50a:0:0:0:0:0 with SMTP id y10csp1247526imi; Fri, 1 Jul 2022 06:11:01 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vUjtzTuAtljr7/zfqMWCgeZNYXrrvCISGGH9yyUwn2BoPTqLHzWNqACKSbP5JC8VXXPFZp X-Received: by 2002:a17:906:b78f:b0:726:9341:5d62 with SMTP id dt15-20020a170906b78f00b0072693415d62mr14303582ejb.571.1656681061578; Fri, 01 Jul 2022 06:11:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656681061; cv=none; d=google.com; s=arc-20160816; b=BupNMejvd7OQfRir3WDV1n6WPAwDABPIEXS9HTINZBCFZQRelqNO27t9z5AlYuigqO bikyyPYs+TBC1aTbU3yjdGoSZuBanhCVaRm7q8rEFR4a41bMsiQNqag8r3GdJZ4ucAZy AIjJ1AocWVOqXveC2LWNuPkaOUi7msLRiAwXCo/xSPIKLy+VVvyplyGGXSA1LZ+Tv5DA 1RH/ID9WJXqghWUCnWVadz9ICIh1vbgYDpNFKFSpuTm17BB5tT70t+Ss8wI7ze6Fmlwb 0GpkdbdQQBaABypFbnBDBSKqpJW802Yw/FfzVQJxQWazSeKxATkIzWsAm70kzsruiVjq yv8A== 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=O/3OCmIIdAiPr/eZYRvM/mkVTFOBfstGsA4otuCcCVU=; b=uCwm43RWvufBrOGYY5Yqwx4o7ZnfnSEDOeDrc9/BJhOxxAbBjbUi8JNpDdPOlp8/UP 7vus7uzFA3TKmj/JiRKziSxmwOoXmogvlLQqcuuhgkiuw2gY2ypqwnM7y9ro2K21u3my yAkQwoxjLXYNye7r89Fq+Evh8Q1sTGT6pmiBZQBX2g/LTdXWZoXBAzaUcb2TTCavGqqI RR5xFWgYWPCgXdMY7ypSME48JviTHCx85OLxQ9/6Q9mKXOYmLEH2B2act4m3uTiHwsjl nb7sfhqT/MXnPMoMew/pn1qhra8FTBX7EF0+0fvNesGLR9QNNzj65hWLfK0R4LjKGxyn sFRA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dz17-20020a0564021d5100b00435705f2c71si37793edb.439.2022.07.01.06.10.36; Fri, 01 Jul 2022 06:11:01 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236624AbiGANDq (ORCPT + 99 others); Fri, 1 Jul 2022 09:03:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236519AbiGANDo (ORCPT ); Fri, 1 Jul 2022 09:03:44 -0400 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DFF04D164; Fri, 1 Jul 2022 06:03:42 -0700 (PDT) Received: from p508fd39e.dip0.t-ipconnect.de ([80.143.211.158] helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1o7GJ5-0001Xm-Q1; Fri, 01 Jul 2022 15:03:35 +0200 From: Heiko Stuebner To: Chen-Yu Tsai , Jernej Skrabec , Linus Walleij , linux-arm-kernel@lists.infradead.org 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, Samuel Holland Subject: Re: [PATCH 2/6] pinctrl: sunxi: Add I/O bias setting for H6 R-PIO Date: Fri, 01 Jul 2022 15:03:35 +0200 Message-ID: <6931273.CvnuH1ECHv@phil> 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=-1.9 required=5.0 tests=BAYES_00,SPF_PASS, T_SCC_BODY_TEXT_LINE,T_SPF_HELO_TEMPERROR 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 Am Sonntag, 26. Juni 2022, 04:11:43 CEST schrieb Samuel Holland: > 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 On a D1-Nezha Tested-by: Heiko Stuebner