From patchwork Sat May 18 03:54:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Watts X-Patchwork-Id: 1936655 X-Patchwork-Delegate: andre.przywara@arm.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=jookia.org header.i=@jookia.org header.a=rsa-sha256 header.s=key1 header.b=SkuireUv; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Vh93L5Fmgz20KF for ; Sat, 18 May 2024 13:55:42 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 43733885A0; Sat, 18 May 2024 05:55:26 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=jookia.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=jookia.org header.i=@jookia.org header.b="SkuireUv"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B8F63884AC; Sat, 18 May 2024 05:55:25 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.2 Received: from out-174.mta1.migadu.com (out-174.mta1.migadu.com [IPv6:2001:41d0:203:375::ae]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id DA16A885D1 for ; Sat, 18 May 2024 05:55:23 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=jookia.org Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=contact@jookia.org X-Envelope-To: contact@jookia.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jookia.org; s=key1; t=1716004523; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qk3SWYrHO030nbIshZ7k5LNdi0+IQAc8D7b6QkVc0H4=; b=SkuireUv9/A7KhsRkFm0DITp0g1VXuIy/r+Uzhh2RfIx7x4MKW9cOPRdmfqr6w4FKveof+ 3F9jOOKKCAg9hEWSNnDtJMJGKNL8T+fud6OSN5/B5cNTh2m43Ttgtc5YMcHiKn3ZvXWh+E U0WTz+hYP3LVh2HnYcyOhx9hRXV3nPKVr699Yh4A/mk6G4A1Uf8VmggNF+WcQ68GIRiG+G XEKOfmA76nYHcw+ecls25tO2OMcJV6Aa5/GbtewJ67VC6GmbFYyp3nR5tkUhEjWPO3mCW2 McVXHryCJF1MJMdVU/dYnHiZDIe358aQGqGGzaD+92CgYyjZ2XEPh21Q3ivPZw== X-Envelope-To: lukma@denx.de X-Envelope-To: rick@andestech.com X-Envelope-To: seanga2@gmail.com X-Envelope-To: ycliang@andestech.com X-Envelope-To: sumit.garg@linaro.org X-Envelope-To: u-boot@lists.denx.de X-Envelope-To: trini@konsulko.com X-Envelope-To: andre.przywara@arm.com X-Envelope-To: jagan@amarulasolutions.com X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: John Watts Date: Sat, 18 May 2024 13:54:44 +1000 Subject: [PATCH RFC 2/4] pinctrl: sunxi: Add PWM7 pinctrl for the D1 MIME-Version: 1.0 Message-Id: <20240518-pwm_d1-v1-2-311fc5fe2248@jookia.org> References: <20240518-pwm_d1-v1-0-311fc5fe2248@jookia.org> In-Reply-To: <20240518-pwm_d1-v1-0-311fc5fe2248@jookia.org> To: Jagan Teki , Andre Przywara , Lukasz Majewski , Sean Anderson , Tom Rini , Rick Chen , Leo , Sumit Garg Cc: u-boot@lists.denx.de, John Watts X-Developer-Signature: v=1; a=openssh-sha256; t=1716004490; l=750; i=contact@jookia.org; h=from:subject:message-id; bh=6bTlha38aNs4J1rib2aurYVoiRH4rAEaIAGHCBwenas=; b=U1NIU0lHAAAAAQAAAEoAAAAac2stc3NoLWVkMjU1MTlAb3BlbnNzaC5jb20AAAAgpGuA3uho2 8zVxm554DVLHyl4gq5/nBHglU5WIWN8/zYAAAAEc3NoOgAAAAZwYXRhdHQAAAAAAAAABnNoYTUx MgAAAGcAAAAac2stc3NoLWVkMjU1MTlAb3BlbnNzaC5jb20AAABAi/l2D9HPMoxF83QH12Cjh8r EK01YUI3aygzeXCXj9oDvLEFn4DPU3uIjP0le+nRZWwdOyojysHtmagaow/XBCwUAAPRL X-Developer-Key: i=contact@jookia.org; a=openssh; fpr=SHA256:6LBQmZH5u7i/edmEZXzCTwCrpSevs/ZshZxNmlD1thY X-Migadu-Flow: FLOW_OUT X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean This is currently only used for PD22 on the Mango Pi MQ-Dual. Signed-off-by: John Watts --- drivers/pinctrl/sunxi/pinctrl-sunxi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pinctrl/sunxi/pinctrl-sunxi.c b/drivers/pinctrl/sunxi/pinctrl-sunxi.c index 37ea93715d..b3f2568ffe 100644 --- a/drivers/pinctrl/sunxi/pinctrl-sunxi.c +++ b/drivers/pinctrl/sunxi/pinctrl-sunxi.c @@ -615,6 +615,7 @@ static const struct sunxi_pinctrl_function sun20i_d1_pinctrl_functions[] = { { "uart1", 2 }, /* PG6-PG7 */ { "uart2", 7 }, /* PB0-PB1 */ { "uart3", 7 }, /* PB6-PB7 */ + { "pwm7", 5 }, /* PD22 */ }; static const struct sunxi_pinctrl_desc __maybe_unused sun20i_d1_pinctrl_desc = {