From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 130B7C433EF for ; Fri, 1 Jul 2022 13:12:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=KkndqTg28kQ731rp7T7kVA8bARBuSj2TTEsivbYW21E=; b=JjqI6psyJt23MJ diQwVzyNY3Uh9zi/Lp+fu/oSCHcnIsWgJ+VUGGfkjj6SBYdpLf+5Gt6Y1FKC+6TjR6AbPRA6Z7Ayn k0u/uwZMcGi9mJUAi4wW7S8YdP+4rC1xoh6uNuc0HZqLOxg8IVf/Qn5rmivlIGtyroZr8rPLbWxkm Cox/fj//YM+eTrPULnwIuTUtQQjcuyiuYUY/5Iu8WCc4noMdBXGOZZgqtoZ1R6nODh8tBCmEnLbNg scVxsV40M4ZPfLAbPHag83ZNqdp9dzaDIWU9bllg2GleS4OW2gZyfRV4l9ShKVCXOOjM9+20C5tNo YloAcKjyT6KMvlwl2ZqQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o7GQL-004ycn-VE; Fri, 01 Jul 2022 13:11:06 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o7GOf-004xfG-VO for linux-arm-kernel@lists.infradead.org; Fri, 01 Jul 2022 13:09:23 +0000 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 1o7GOc-0001dK-8y; Fri, 01 Jul 2022 15:09:18 +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 5/6] pinctrl: sunxi: Make some layout parameters dynamic Date: Fri, 01 Jul 2022 15:09:18 +0200 Message-ID: <5030179.KRxA6XjA2N@phil> In-Reply-To: <20220626021148.56740-6-samuel@sholland.org> References: <20220626021148.56740-1-samuel@sholland.org> <20220626021148.56740-6-samuel@sholland.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220701_060922_069988_4CBF1F0C X-CRM114-Status: GOOD ( 11.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Am Sonntag, 26. Juni 2022, 04:11:46 CEST schrieb Samuel Holland: > Starting with the D1/D1s/T113 SoC, Allwinner changed the layout of the > pinctrl registers. This new layout widens the drive level field, which > affects the pull register offset and the overall bank size. > > In order to support multiple register layouts, some of the layout > parameters need to be set based on the pinctrl variant. This requires > passing the pinctrl struct pointer to the register/offset calculation > functions. > > Signed-off-by: Samuel Holland On a D1-Nezha Tested-by: Heiko Stuebner Reviewed-by: Heiko Stuebner _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel