From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793210036; b=rifC2lpSUKa7J5bHKnZJ9QrPe6LlFHCY85a983HGUl9LPJI1F6qxQYDor5SXQ8AVbo8k msZO/recBJeytzfLyRCpQ0bdC6vUvpoKBVr0hGt/VBhdPsUFdIvNyGIT7jtoHHcfbj2z6 snY/hyRn5kaEDDUvfij+tzl15BqUWT7DANcmJx0BhyyAGtO2zNWFAvGtCy+qHFslJp8Bu HZ+TA7bGtFIQK2qfL+GAy1V22YBsgZqDjolcsbrdb9pA0MYohC/3xI/eBtQ+NHgkjsiJ3 nhQWQ6vc3vXwwwhfVQxHgc0Z1jA3kKPNQ4O/hjMPcF2qTtBbUkeKqsx6eKJQd+5EGwA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793210036; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:User-Agent:X-stable:X-Patchwork-Hint: MIME-Version:Content-Transfer-Encoding; bh=B5okx7yM96MkxTUe6VVGgK0tGT9y9fmIKf5cnSSi3Ig=; b=4bTG/1PXJs/AA3HYjhX7mJQ9asi4vCllT/RYRsSw2c2/5IbqlDZBD2lv8hR6/Jen9ojz SEyI/IAaPg+nIXGXIdzgqJxN//rlgjX2CjoFm5xjmAxmz0ttBcfmPWiBblifVHRoWKoYX p/x5wDXpc4WgcwsUaUMy/EdUHawTmHUlUHj0IcIrGWYIDT5dbMYQ3gopuayAjucBctsXc wbvPU6bxbUcPBps5JFWXTrr0KpBWroZZTGFgcRc/Osg4uysx0kxPUjqTADgoy9MsKttbP k525riimQXWV/afPjhilNQj1VcqIidztx6+XJ0uCTaQKbuTCf34kFYNEDrIPL3yHk/A== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=Rn3zeZ0L; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 71C8F606A31C; Wed, 28 Oct 2026 17:53:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=Rn3zeZ0L Received: by smtp.kernel.org (Postfix) with ESMTPSA id C175A1F01825; Wed, 28 Oct 2026 17:53:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793210036; bh=B5okx7yM96MkxTUe6VVGgK0tGT9y9fmIKf5cnSSi3Ig=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Rn3zeZ0LXaVFr/xqEvo5gTUGd7Z17DSPIVIUpOYqfLulQms3vjdPyQruXpboITjSj pr5P1KYOmzUDzwtGHBKHjjcjFlY+74QJyzdS96jqU7/x6NFawLq6pN1igH5wkPbZUf JfvDt9/5mUZHohHS7HTnIT95Yf0zWGVVlVO2scnk= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Gilberto Conde , Konrad Dybcio , Bartosz Golaszewski , Sasha Levin Subject: [PATCH 6.6 009/168] pinctrl: qcom: ipq5018: add missing pwm3 function on gpio13 Date: Wed, 28 Oct 2026 17:59:05 +0100 Message-ID: <20261028165943.319045045@linuxfoundation.org> X-Mailer: git-send-email 2.56.0 In-Reply-To: <20261028165943.089486480@linuxfoundation.org> References: <20261028165943.089486480@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore X-Mailing-List: patches@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Gilberto Conde [ Upstream commit c6c159fcdb4e9a678eda0831f971e4a3a488ec47 ] GPIO13 supports the PWM3 function at mux select value 4, but the pingroup table leaves that slot empty and gpio13 is not listed in pwm3_groups. Selecting pwm3 on gpio13 is therefore rejected by the pinmux core: ipq5018-tlmm: invalid group "gpio13" for function "pwm3" The GL.iNet GL-X2000 drives its fan from PWM3 on this pin, and the vendor firmware muxes it with select value 4: gpio13 : out low func4 8mA no pull Add pwm3 to the fourth function slot of gpio13 and list gpio13 in pwm3_groups. With this the pin muxes as expected: pin 13 (GPIO_13): device 1941010.pwm function pwm3 group gpio13 Fixes: 725d1c891658 ("pinctrl: qcom: Add IPQ5018 pinctrl driver") Signed-off-by: Gilberto Conde Reviewed-by: Konrad Dybcio Link: https://patch.msgid.link/20260921093419.2870168-1-gilbertorconde@gmail.com Signed-off-by: Bartosz Golaszewski Signed-off-by: Sasha Levin --- drivers/pinctrl/qcom/pinctrl-ipq5018.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/qcom/pinctrl-ipq5018.c b/drivers/pinctrl/qcom/pinctrl-ipq5018.c index 68f65b57003e9..18e68f7185bd5 100644 --- a/drivers/pinctrl/qcom/pinctrl-ipq5018.c +++ b/drivers/pinctrl/qcom/pinctrl-ipq5018.c @@ -565,7 +565,7 @@ static const char * const qdss_cti_trig_out_b1_groups[] = { }; static const char * const pwm3_groups[] = { - "gpio45", + "gpio45", "gpio13", }; static const char * const qdss_cti_trig_in_b1_groups[] = { @@ -691,7 +691,7 @@ static const struct msm_pingroup ipq5018_groups[] = { PINGROUP(10, blsp0_spi, blsp1_uart0, led0, gcc_plltest, qdss_tracedata_a, _, _, _, _), PINGROUP(11, blsp0_spi, blsp1_uart0, _, gcc_tlmm, qdss_tracedata_a, _, _, _, _), PINGROUP(12, blsp0_spi, blsp0_i2c, blsp1_uart0, _, gcc_plltest, qdss_tracedata_a, _, _, _), - PINGROUP(13, blsp0_spi, blsp0_i2c, blsp1_uart0, _, qdss_tracedata_a, _, _, _, _), + PINGROUP(13, blsp0_spi, blsp0_i2c, blsp1_uart0, pwm3, qdss_tracedata_a, _, _, _, _), PINGROUP(14, pcie0_clk, _, _, cri_trng0, qdss_tracedata_a, _, _, _, _), PINGROUP(15, _, _, cri_trng1, qdss_tracedata_a, _, _, _, _, _), PINGROUP(16, pcie0_wake, _, _, cri_trng, qdss_tracedata_a, _, _, _, _), -- 2.53.0