From nobody Thu Apr 2 11:45:46 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id ECC2BC07E9D for ; Sat, 24 Sep 2022 08:05:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233619AbiIXIFb (ORCPT ); Sat, 24 Sep 2022 04:05:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233554AbiIXIFM (ORCPT ); Sat, 24 Sep 2022 04:05:12 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5409210976E for ; Sat, 24 Sep 2022 01:05:10 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id k10so3534042lfm.4 for ; Sat, 24 Sep 2022 01:05:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=bp5cvx9fIhQfhCXFHIFjM/9YPHYEQQKS2L+foqEXDwU=; b=wJaX0XRVq3/HZcH49cBDOzAe4aCvXxOxOloXb8EDWyAQWOSrEtbyE2hWHFCaASDn9q sJgD4SFII00/svLYpcYTNrrWm4xLUzWTzKyiMeMZCoqkGKblTm8BexpInHOgiop+S0t0 uCYfTKQLVm3li+9RTLfS5vTQj1VcqIgwlSHqhHYgOnCaHo/fvq3juOUmnf5+aGpD1vkq c6hiF8kLp4oE9vqjw0a0zxyWia+TfCFYgg94h3cSC+ZjPAtrYZ8TI1y0QczR3WIMhCRI YgJbSmxemhQQermEYrqGcGgPi9yvmOoSYERkLsX8TmSroD2lUoVWKk7/BunmuDV5YUHj bPIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=bp5cvx9fIhQfhCXFHIFjM/9YPHYEQQKS2L+foqEXDwU=; b=Pi9vSteButb5+31/tQ9Lg0ts7cc1RmL/Rz+3zv6tA/0/ghBTmkHaPvt4CBz94v5Q7P T6+BjAtBkRDzbeMeYccVpRPz3m6aWzOhajI8r0uBY+o2bQ74ZPf/Lr4P+lyr3/wyS7f+ 2ysxTrcuGeGzFq+ezKm7OSIN1ZiJA1cB4U5L51eoPydUrd7nOkaUtIlK7TZyZavM1Ony Lr7R/6NMgGpgXeha2XBgTkrLdl7kBfMmnAuITbYDMOasCGeYV5BlwOLcsG2p9jZW2tCT yRD6JkgHtOFGa4nX3gSzoVyFzod5lEfqX1j/0FYsrEJpuFpohh0U4ickMsGQ5W8sMWOV z9NA== X-Gm-Message-State: ACrzQf1NNdU9rSg5qQr0o+c0LoyU9BWb5I09KICvbeP1BWnDOTdoU3Ks SKfr830p+U4IGQOed0f70zqUhQ== X-Google-Smtp-Source: AMsMyM6bZXfKpMDBxJtKN2BWrQlxVCqwlI4LunI8dKDoGfkDPbMiROPC1xEYqiOJpcSWzRrFNlAlkw== X-Received: by 2002:a05:6512:613:b0:497:a8a6:464e with SMTP id b19-20020a056512061300b00497a8a6464emr4630199lfe.604.1664006708705; Sat, 24 Sep 2022 01:05:08 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:08 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 01/32] arm64: dts: qcom: ipq6018-cp01-c1: correct blspi1 pins Date: Sat, 24 Sep 2022 10:04:28 +0200 Message-Id: <20220924080459.13084-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" When BLSPI1 (originally SPI0, later renamed in commit f82c48d46852 ("arm64: dts: qcom: ipq6018: correct QUP peripheral labels")) was added, the device node lacked respective pin configuration assignment. It used also blsp0_spi function but that was probably the same mistake as naming it SPI0. Fixes: 5bf635621245 ("arm64: dts: ipq6018: Add a few device nodes") Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/ipq6018-cp01-c1.dts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/ipq6018-cp01-c1.dts b/arch/arm64/boot= /dts/qcom/ipq6018-cp01-c1.dts index 1ba2eca33c7b..afc2dc79767d 100644 --- a/arch/arm64/boot/dts/qcom/ipq6018-cp01-c1.dts +++ b/arch/arm64/boot/dts/qcom/ipq6018-cp01-c1.dts @@ -37,6 +37,8 @@ &blsp1_i2c3 { =20 &blsp1_spi1 { cs-select =3D <0>; + pinctrl-0 =3D <&spi_0_pins>; + pinctrl-names =3D "default"; status =3D "okay"; =20 flash@0 { @@ -57,7 +59,7 @@ i2c_1_pins: i2c-1-pins { =20 spi_0_pins: spi-0-pins { pins =3D "gpio38", "gpio39", "gpio40", "gpio41"; - function =3D "blsp0_spi"; + function =3D "blsp1_spi"; drive-strength =3D <8>; bias-pull-down; }; --=20 2.34.1 From nobody Thu Apr 2 11:45:46 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B3975C07E9D for ; Sat, 24 Sep 2022 08:05:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233661AbiIXIFf (ORCPT ); Sat, 24 Sep 2022 04:05:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233497AbiIXIFP (ORCPT ); Sat, 24 Sep 2022 04:05:15 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C682D1129E9 for ; Sat, 24 Sep 2022 01:05:11 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id k10so3534098lfm.4 for ; Sat, 24 Sep 2022 01:05:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=8lAIBCt1PKqT83z5Pfqrod3Tf9eYcvIt2hipTAD1Nug=; b=c6xsZxHwLXVrzN+3vZjTN9Gh4e6mhd3Ame1kjOEd25xQl1pbJRPOoN+PF+zhFZ9TlK /IG0vV8crFJ1PTgP9Ht/VK0cCkNcnEJFwS10IqfsZRROjt6AJKD4CQqg3x4kAbfD/ZOQ FrvUZOEndUAOh+Ij8Tbp14iHIK+uCL76a3l/egz9w1rloBI16+4Go+mAKs2z4dLxR/P5 cG33dcXfSIfx4J1EsG3G2LW/6oYFsz89sGJGgBfa14PBEiEHOJOU+nPlecDR1999Xvl2 KiY7mfBsJqFzKtmQM+EpmsAAjC26z6frtLHwQHSpwt1efcL9ihm9++I7O9xnOhI7mhPL kung== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=8lAIBCt1PKqT83z5Pfqrod3Tf9eYcvIt2hipTAD1Nug=; b=wMtqJAnMo6EJ6dSlRsJUdyiYsQr3WwXlDfiuNQj0/nHEzHy4vo/8JePCu2M88XJru7 wgrmY9Whgna5xxpvpgQ8G2/IqNGDljqplpjnQPaC9qluFszEaXvoxSl+0vQRXht7w3/x mLGQ2T/i0HQaHXr+8Q5iDaFEHzy3GEMWYpI4mQjdW2akJ3sRZRZKKjwD5V6yI+vbxtxb nW1HURwiTYAz+i5tGhfiJHWC1CHccAsdZp6K+4PFZxE9BY5NvUbQvoXffkzb4gr4ahxD TjvWiU7VEusSTDz88NYh11Pgh2R+OyaozOhDgPBDkIQ5py5YX1bfVBc8eMm+PKZzNU1p 6wEQ== X-Gm-Message-State: ACrzQf0JB15o0tClqVKC/WPB3Rn6i8iwkNF7SD1bl5HzL6bmbMEinvmy Eld7J8bFeItngGgugxh/BoPXMA== X-Google-Smtp-Source: AMsMyM4y1A+dLv203gZHep1szWw2vpsDERPswIZBfSbm6/O5MVJi4Gg44hMNh6kNYuYeMcOw9OsPTg== X-Received: by 2002:a05:6512:6c8:b0:49a:1765:335d with SMTP id u8-20020a05651206c800b0049a1765335dmr4617975lff.29.1664006710046; Sat, 24 Sep 2022 01:05:10 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:09 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 02/32] arm64: dts: qcom: ipq6018: align TLMM pin configuration with DT schema Date: Sat, 24 Sep 2022 10:04:29 +0200 Message-Id: <20220924080459.13084-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" DT schema expects TLMM pin configuration nodes to be named with '-state' suffix and their optional children with '-pins' suffix. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/ipq6018-cp01-c1.dts | 4 ++-- arch/arm64/boot/dts/qcom/ipq6018.dtsi | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/ipq6018-cp01-c1.dts b/arch/arm64/boot= /dts/qcom/ipq6018-cp01-c1.dts index afc2dc79767d..e1fe7d598580 100644 --- a/arch/arm64/boot/dts/qcom/ipq6018-cp01-c1.dts +++ b/arch/arm64/boot/dts/qcom/ipq6018-cp01-c1.dts @@ -51,13 +51,13 @@ flash@0 { }; =20 &tlmm { - i2c_1_pins: i2c-1-pins { + i2c_1_pins: i2c-1-state { pins =3D "gpio42", "gpio43"; function =3D "blsp2_i2c"; drive-strength =3D <8>; }; =20 - spi_0_pins: spi-0-pins { + spi_0_pins: spi-0-state { pins =3D "gpio38", "gpio39", "gpio40", "gpio41"; function =3D "blsp1_spi"; drive-strength =3D <8>; diff --git a/arch/arm64/boot/dts/qcom/ipq6018.dtsi b/arch/arm64/boot/dts/qc= om/ipq6018.dtsi index a7c7ca980a71..9b9f778090e1 100644 --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi @@ -218,14 +218,14 @@ tlmm: pinctrl@1000000 { interrupt-controller; #interrupt-cells =3D <2>; =20 - serial_3_pins: serial3-pinmux { + serial_3_pins: serial3-state { pins =3D "gpio44", "gpio45"; function =3D "blsp2_uart"; drive-strength =3D <8>; bias-pull-down; }; =20 - qpic_pins: qpic-pins { + qpic_pins: qpic-state { pins =3D "gpio1", "gpio3", "gpio4", "gpio5", "gpio6", "gpio7", "gpio8", "gpio10", "gpio11", --=20 2.34.1 From nobody Thu Apr 2 11:45:46 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 495EAC07E9D for ; Sat, 24 Sep 2022 08:05:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233581AbiIXIFj (ORCPT ); Sat, 24 Sep 2022 04:05:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233615AbiIXIFU (ORCPT ); Sat, 24 Sep 2022 04:05:20 -0400 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14D68E5126 for ; Sat, 24 Sep 2022 01:05:13 -0700 (PDT) Received: by mail-lj1-x230.google.com with SMTP id q17so2283492lji.11 for ; Sat, 24 Sep 2022 01:05:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=FWVDuWp8BwqwRmMZ9J51BUVWuUxtUS1YpggdRQgiP8U=; b=lKqiHTyCaBQqonBvUzIa0MOK2PGwTxupkeVmCMlXsiL0hCMzRJcxjyDBaf3z1ha2hb 7LIzryArcR4kW6fvegtze4M9DXV2ACZfUmyN7Pif2q9bPshRPp7tAwZJk96GDY56pjzR 4XEX/XrgBoBStZUvKa3jAUiI7iKAJAe9jCQXUOTROvpLiNesTyqIlVltmk9i+Yqm1SSL kVZ0AFLYUf9SW4V0chPQgSVGTetNQIX3EoaeZF3aifyYIHJBCN/ONVA6BW568b0i/29o 6thn+K8O5x+/SDZmbLy51y8i++OyOUyJk+P73gP5fWwr2gG9nLENKe2G9ZYPGczzIg+S 329A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=FWVDuWp8BwqwRmMZ9J51BUVWuUxtUS1YpggdRQgiP8U=; b=0XPNgzFkqLwxFNRAtYW685DzFfPDiDB3Pcl8PgvZT27SopYxMQCsrbemyz6ecxSKco lm+tT0UXWdNBxoL83io0PqrMoww0qom1fcyYq2kfX0YW4TcLiF9p4FkSC1hwClf2Z6Ch CFN5Lo9/WHMpiCl4T4jIX3Gs1LjDCHz2AO7mCtM2u7Tf8dx8ZmqcQai3qUp8J/VohEX+ EBzRhjioLT/LSsqheD8ffkHXk8ojoYYub0kQZ2/PtoyKqZgFPeXeX52t49hb/j+0qsKN OL6RvfCVYzT9Dsc2V95eGF2/QqPKSkp0UMkh0EFxcqz/CP9s9dzBBE1Zh1eDtF7HP7Ui Heag== X-Gm-Message-State: ACrzQf0Sj4L3wxLjl2FGx70TwkYEeBQAK98iFGly7w6bhJftESZL5nPn u0K/YdSAfM10Bt9Ii25XKI9Hjw== X-Google-Smtp-Source: AMsMyM6h7DHWtiAHdnbYgp6OT8Z2eDM7rQSK7Nb2kym+FE7x4xYbhKt8v1OjF9u1wbIRQ6DtCop/Sw== X-Received: by 2002:a05:651c:1147:b0:26b:e6b4:6d34 with SMTP id h7-20020a05651c114700b0026be6b46d34mr4371508ljo.209.1664006711275; Sat, 24 Sep 2022 01:05:11 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:10 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 03/32] ARM: dts: qcom: sdx55: add gpio-ranges to TLMM pinctrl Date: Sat, 24 Sep 2022 10:04:30 +0200 Message-Id: <20220924080459.13084-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Add required gpio-ranges property to TLMM pinctrl node: qcom-sdx55-mtp.dtb: pinctrl@f100000: 'gpio-ranges' is a required property Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/qcom-sdx55.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx= 55.dtsi index c72540223fa9..f1c0dab40992 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -559,6 +559,7 @@ tlmm: pinctrl@f100000 { #gpio-cells =3D <2>; interrupt-controller; #interrupt-cells =3D <2>; + gpio-ranges =3D <&tlmm 0 0 109>; }; =20 sram@1468f000 { --=20 2.34.1 From nobody Thu Apr 2 11:45:46 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7C8ABC32771 for ; Sat, 24 Sep 2022 08:05:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229556AbiIXIFo (ORCPT ); Sat, 24 Sep 2022 04:05:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233546AbiIXIFW (ORCPT ); Sat, 24 Sep 2022 04:05:22 -0400 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18FA9115F63 for ; Sat, 24 Sep 2022 01:05:14 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id g20so2301125ljg.7 for ; Sat, 24 Sep 2022 01:05:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=qpPAnA+QVmbRHt57Vf9Ofo1IOIWMIyAWhzEBUC3GMcA=; b=PlY5vqslF7wJTD/i8kL2Fa7Nr8DVGgCizMgKhyxTsTzELwUUVbjvvRnzVapmqQvAOB yZ9e0JTdvDxOEhEy028vFxnCqK3wyodZ0RnqYynZYxj9wM/9E7eR1bC//f5YwkXWf3Bt 3dO4jIlVez3FPw6mwqEp6A88gsmuT59EiOdvHhggpzc7zFtbxOVMBDdNkGqXZtuCsXpj F3PZY45F2kJA59vsdlW/U+p+biuSNGnvUnEdqHFRYoqGgPEzY5DSw4jB21btM6uXVKCC d26qcer4vKFQljGo1ATIK5+Qcmpd4HEJ6HL4jGWxNhVLLQEWSsN8ItScemidLyxOtqCn hdqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=qpPAnA+QVmbRHt57Vf9Ofo1IOIWMIyAWhzEBUC3GMcA=; b=WukjpiBXEKvnvh5kWWM7LbjYkGEehB32a12zHyMSocea5BAaFx15/8C/Yh+Ytu0cVq 7vH09prFdw9/DX1gTohH8pomiiApJAnbH7liFAyShISgtqvxjyD0gibjRLGuiQu/uCpe HAUci5b/rmayEGhpFmZnVMu9o8i42IBRW2Yw/Air8zXzL9XYzRppujd1VQsgasm9pHtS tc0jw486QLz3kZX1xGvAo9ffC6jmTA5LvyCbc0GBsTUjPMTb2aeAs8nquchLeTAVk2CT U0L8kX/gl02n3qDlh4yU64/1CJDg7qY3dKPqHFeCjLheYerZ4Ubpo0lsI6FwLQ5PpbBy uL6g== X-Gm-Message-State: ACrzQf3daA9iOH26D3XEf0pRhXyb4UDz9vddQriRVY/2jdei/7qTbrQs JkY6+vkF7PDUqFSAG6GIYzpJQw== X-Google-Smtp-Source: AMsMyM5SssSTodF8AELP2K6sTbI+heTbN8c602rZtM+w+exc7FnStzJQl2BO0JvVdyCChkbqbKa7Eg== X-Received: by 2002:a2e:8881:0:b0:255:7790:25e6 with SMTP id k1-20020a2e8881000000b00255779025e6mr4091632lji.525.1664006712493; Sat, 24 Sep 2022 01:05:12 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:12 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 04/32] ARM: dts: qcom: sdx55: align TLMM pin configuration with DT schema Date: Sat, 24 Sep 2022 10:04:31 +0200 Message-Id: <20220924080459.13084-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" DT schema expects TLMM pin configuration nodes to be named with '-state' suffix and their optional children with '-pins' suffix. Schema also requires 'function' property, so two nodes for the same gpio (mux and config) should be merged into one. Signed-off-by: Krzysztof Kozlowski --- .../boot/dts/qcom-sdx55-telit-fn980-tlb.dts | 45 +++++++------------ 1 file changed, 15 insertions(+), 30 deletions(-) diff --git a/arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts b/arch/arm/bo= ot/dts/qcom-sdx55-telit-fn980-tlb.dts index a4fa468a095f..ac8b4626ae9a 100644 --- a/arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts +++ b/arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts @@ -282,40 +282,25 @@ &remoteproc_mpss { }; =20 &tlmm { - pcie_ep_clkreq_default: pcie_ep_clkreq_default { - mux { - pins =3D "gpio56"; - function =3D "pcie_clkreq"; - }; - config { - pins =3D "gpio56"; - drive-strength =3D <2>; - bias-disable; - }; + pcie_ep_clkreq_default: pcie-ep-clkreq-default-state { + pins =3D "gpio56"; + function =3D "pcie_clkreq"; + drive-strength =3D <2>; + bias-disable; }; =20 - pcie_ep_perst_default: pcie_ep_perst_default { - mux { - pins =3D "gpio57"; - function =3D "gpio"; - }; - config { - pins =3D "gpio57"; - drive-strength =3D <2>; - bias-pull-down; - }; + pcie_ep_perst_default: pcie-ep-perst-default-state { + pins =3D "gpio57"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-pull-down; }; =20 - pcie_ep_wake_default: pcie_ep_wake_default { - mux { - pins =3D "gpio53"; - function =3D "gpio"; - }; - config { - pins =3D "gpio53"; - drive-strength =3D <2>; - bias-disable; - }; + pcie_ep_wake_default: pcie-ep-wake-default-state { + pins =3D "gpio53"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-disable; }; }; =20 --=20 2.34.1 From nobody Thu Apr 2 11:45:46 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 22682C07E9D for ; Sat, 24 Sep 2022 08:05:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232759AbiIXIFs (ORCPT ); Sat, 24 Sep 2022 04:05:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233625AbiIXIFY (ORCPT ); Sat, 24 Sep 2022 04:05:24 -0400 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 529DCF1855 for ; Sat, 24 Sep 2022 01:05:15 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id s6so3513452lfo.7 for ; Sat, 24 Sep 2022 01:05:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=IKv3EVCnm3OfvhFspuLmPC8QUak40NUPqPQWboNeqpg=; b=a8Ih4jJzos8myLFJ8pH81tEyuv87eenShm0w5oCV1MWiN68B7AjI9AR4VrP9BRBQc6 WdgY6Lvl9ipYAxq//zlfGDH+lizqFDE8YEjQtFpG34uhY6NyxXFgZ69A/Q5JvVy/mlgi z4IsijSji6hyVGS5fH1KKGQrKjRcCl1YL70dXObjY4SvqyXnuunf64B/HtXHPc4W2Uof Q/rDX3RJZ6LFCIbCSCRTTPfMkU1f5A3kXbCi4td7ae8B9lfqvQx/7rPpiUHZf6bei7sc ylkLwZzutyMvQPzhDFNS7CwMDBhOt1jA6IkbiN6zrVjOAEQGOFVQmbJOg6NReJi6yloh dXBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=IKv3EVCnm3OfvhFspuLmPC8QUak40NUPqPQWboNeqpg=; b=RMRdoXogGuX0dMN2axUv0qWYSKnUt0XxBB3NNSjBJA9yaXVuDZP78ntgNjeobKbD2x NInuhN612YU4fAg1BgHDi2Ksb/BRD/4i+2urEWJHDyQGzOm6CZkQ5BgTbfaLIULtbqWd 7+yHoDpf11D8yqUNUQX5ojFC+odi3PbnUG9SiX+Q0PjdPR+LP/85OdojVwC2mV4wouGb VWZXWQAZGDjzBdCsbvA2zII1G0vcMgeOs/EvcB4c9hd95LlDFkweJmmRxLkGABEJMwl5 lYDhO16mQ5EciILchk3JsalqXeEAf5fVTXnOGwXC81gC+PXs4bUJ6xG5hoj1nkI44b3f NeAw== X-Gm-Message-State: ACrzQf2ZSs1gWCWOchHIYCYNTujs2YC2lctGX+1c1MO/tLBsGpewpHDI IIDqQK3EfCk0pvWGYhZnyK8Nlg== X-Google-Smtp-Source: AMsMyM56Tg1k54SLIQ6/YlCLFkRW7fBNyJBNCnRzZ4FQqsLY8/b5KE5vm8sMWM+LGw1tMp4TdS3mkA== X-Received: by 2002:a05:6512:1283:b0:499:d0a3:3ca8 with SMTP id u3-20020a056512128300b00499d0a33ca8mr4607380lfs.665.1664006713675; Sat, 24 Sep 2022 01:05:13 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:13 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 05/32] ARM: dts: qcom: msm8226: align TLMM pin configuration with DT schema Date: Sat, 24 Sep 2022 10:04:32 +0200 Message-Id: <20220924080459.13084-6-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" DT schema expects TLMM pin configuration nodes to be named with '-state' suffix and their optional children with '-pins' suffix. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts | 6 +++--- arch/arm/boot/dts/qcom-msm8226.dtsi | 24 ++++++++++----------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts b/arch/arm/boot/dt= s/qcom-apq8026-lg-lenok.dts index 193569f0ca5f..02bef5870526 100644 --- a/arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts +++ b/arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts @@ -299,8 +299,8 @@ bluetooth_default_state: bluetooth-default-state { input-enable; }; =20 - touch_pins: touch { - irq { + touch_pins: touch-state { + irq-pins { pins =3D "gpio17"; function =3D "gpio"; =20 @@ -309,7 +309,7 @@ irq { input-enable; }; =20 - reset { + reset-pins { pins =3D "gpio16"; function =3D "gpio"; =20 diff --git a/arch/arm/boot/dts/qcom-msm8226.dtsi b/arch/arm/boot/dts/qcom-m= sm8226.dtsi index cf2d56929428..3b6e746a4af9 100644 --- a/arch/arm/boot/dts/qcom-msm8226.dtsi +++ b/arch/arm/boot/dts/qcom-msm8226.dtsi @@ -354,35 +354,35 @@ tlmm: pinctrl@fd510000 { #interrupt-cells =3D <2>; interrupts =3D ; =20 - blsp1_i2c1_pins: blsp1-i2c1 { + blsp1_i2c1_pins: blsp1-i2c1-state { pins =3D "gpio2", "gpio3"; function =3D "blsp_i2c1"; drive-strength =3D <2>; bias-disable; }; =20 - blsp1_i2c2_pins: blsp1-i2c2 { + blsp1_i2c2_pins: blsp1-i2c2-state { pins =3D "gpio6", "gpio7"; function =3D "blsp_i2c2"; drive-strength =3D <2>; bias-disable; }; =20 - blsp1_i2c3_pins: blsp1-i2c3 { + blsp1_i2c3_pins: blsp1-i2c3-state { pins =3D "gpio10", "gpio11"; function =3D "blsp_i2c3"; drive-strength =3D <2>; bias-disable; }; =20 - blsp1_i2c4_pins: blsp1-i2c4 { + blsp1_i2c4_pins: blsp1-i2c4-state { pins =3D "gpio14", "gpio15"; function =3D "blsp_i2c4"; drive-strength =3D <2>; bias-disable; }; =20 - blsp1_i2c5_pins: blsp1-i2c5 { + blsp1_i2c5_pins: blsp1-i2c5-state { pins =3D "gpio18", "gpio19"; function =3D "blsp_i2c5"; drive-strength =3D <2>; @@ -390,13 +390,13 @@ blsp1_i2c5_pins: blsp1-i2c5 { }; =20 sdhc1_default_state: sdhc1-default-state { - clk { + clk-pins { pins =3D "sdc1_clk"; drive-strength =3D <10>; bias-disable; }; =20 - cmd-data { + cmd-data-pins { pins =3D "sdc1_cmd", "sdc1_data"; drive-strength =3D <10>; bias-pull-up; @@ -404,13 +404,13 @@ cmd-data { }; =20 sdhc2_default_state: sdhc2-default-state { - clk { + clk-pins { pins =3D "sdc2_clk"; drive-strength =3D <10>; bias-disable; }; =20 - cmd-data { + cmd-data-pins { pins =3D "sdc2_cmd", "sdc2_data"; drive-strength =3D <10>; bias-pull-up; @@ -418,21 +418,21 @@ cmd-data { }; =20 sdhc3_default_state: sdhc3-default-state { - clk { + clk-pins { pins =3D "gpio44"; function =3D "sdc3"; drive-strength =3D <8>; bias-disable; }; =20 - cmd { + cmd-pins { pins =3D "gpio43"; function =3D "sdc3"; drive-strength =3D <8>; bias-pull-up; }; =20 - data { + data-pins { pins =3D "gpio39", "gpio40", "gpio41", "gpio42"; function =3D "sdc3"; drive-strength =3D <8>; --=20 2.34.1 From nobody Thu Apr 2 11:45:46 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6ADCAC32771 for ; Sat, 24 Sep 2022 08:05:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233669AbiIXIFu (ORCPT ); Sat, 24 Sep 2022 04:05:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233627AbiIXIFZ (ORCPT ); Sat, 24 Sep 2022 04:05:25 -0400 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DFC811CB1B for ; Sat, 24 Sep 2022 01:05:15 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id j16so3555324lfg.1 for ; Sat, 24 Sep 2022 01:05:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=2SQmi2lgJlQQmepGaN3TdkXlKQrqpQ5shsgKmrI88Zw=; b=NtpudLGRDnzyPMtOFsTv4CpJvpK4iNb4FDcaotlQ7UN24Dfdg5f1qu02+XANNODwe0 hHFFu7qKTO+KLRsn/NQsPu3Pci+HGJIXf5wCL9DNVG000yTpI/4fNwIXbMqH2N95F9Ag 2B2NWq+2hpU+azqkE+xog1QW2c6OHnF5oI+dTL3sJrkEZezCprK/Zi5boU+rudTrfzXy T25OyrRnrb1l4ce70Psa5qRw8SUZbMW6hWUXGSIv9anxxMM+20ih41ywDiD88QhtC17p XYSkj0/MzozoPI+skokVkpoY5hweLr8GXt9I6D2azjivSV0j1SHomK2X+zB7n0jUCR+p +j5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=2SQmi2lgJlQQmepGaN3TdkXlKQrqpQ5shsgKmrI88Zw=; b=03Pa5Fp1Wq61UWoTQHOkXzVzR+9bhNXdx4ZDgRpa9ipgb570FscSNicXZsEjfL55aV CXCWd2WATzI9IcAtVSiRbaAseYROH0fqQOzjeCPwPmiMhiCAb3WwTDQX+KxPcjy6teDD /EfeAW+HIRfHClnErn9XDqEKxLrtrFOj1lMSAX30eapJAyVmkgzTN+xO8+JRr1ldUmQQ mIU+YevCih2FWOGdrVB7OQo6QkRaxZ7PgB4FllJvOrsNOtSG3BQwdPlSAma+arIPAHjQ gdGZJ+BO4fjr1CsA6rkYhfW/jrTJGSnLkCfcd3Bcvo+0k6F6/cSsx/XUxC+/lfcByl59 Ts3A== X-Gm-Message-State: ACrzQf0XRj7dinPLTRjV0alBu/OmMdWD03hMFADmTHkh+yfZyccraJwj 7n1NwlxiyYHhClGja/2W1kk91w== X-Google-Smtp-Source: AMsMyM6ZA66X/TF+zcgrWpyJ7uQ9V5Ok1vcOS7zx0HebEDIz65e+UpM/H6cVFHRHi/tjEEjmsmwAkg== X-Received: by 2002:a05:6512:c1c:b0:499:acb9:5788 with SMTP id z28-20020a0565120c1c00b00499acb95788mr4478702lfu.347.1664006714973; Sat, 24 Sep 2022 01:05:14 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:14 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 06/32] ARM: dts: qcom: msm8974: align TLMM pin configuration with DT schema Date: Sat, 24 Sep 2022 10:04:33 +0200 Message-Id: <20220924080459.13084-7-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" DT schema expects TLMM pin configuration nodes to be named with '-state' suffix and their optional children with '-pins' suffix. Signed-off-by: Krzysztof Kozlowski --- .../qcom-msm8974-lge-nexus5-hammerhead.dts | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts b/arc= h/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts index 6daceaa87802..8138f37233aa 100644 --- a/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts +++ b/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts @@ -573,43 +573,43 @@ bcrmf@1 { }; =20 &tlmm { - sdc1_on: sdc1-on { - clk { + sdc1_on: sdc1-on-state { + clk-pins { pins =3D "sdc1_clk"; drive-strength =3D <16>; bias-disable; }; =20 - cmd-data { + cmd-data-pins { pins =3D "sdc1_cmd", "sdc1_data"; drive-strength =3D <10>; bias-pull-up; }; }; =20 - sdc2_on: sdc2-on { - clk { + sdc2_on: sdc2-on-state { + clk-pins { pins =3D "sdc2_clk"; drive-strength =3D <6>; bias-disable; }; =20 - cmd-data { + cmd-data-pins { pins =3D "sdc2_cmd", "sdc2_data"; drive-strength =3D <6>; bias-pull-up; }; }; =20 - mpu6515_pin: mpu6515 { + mpu6515_pin: mpu6515-state { pins =3D "gpio73"; function =3D "gpio"; bias-disable; input-enable; }; =20 - touch_pin: touch { - int { + touch_pin: touch-state { + int-pins { pins =3D "gpio5"; function =3D "gpio"; =20 @@ -618,7 +618,7 @@ int { input-enable; }; =20 - reset { + reset-pins { pins =3D "gpio8"; function =3D "gpio"; =20 @@ -627,25 +627,25 @@ reset { }; }; =20 - panel_pin: panel { + panel_pin: panel-state { pins =3D "gpio12"; function =3D "mdp_vsync"; drive-strength =3D <2>; bias-disable; }; =20 - bt_pin: bt { - hostwake { + bt_pin: bt-state { + hostwake-pins { pins =3D "gpio42"; function =3D "gpio"; }; =20 - devwake { + devwake-pins { pins =3D "gpio62"; function =3D "gpio"; }; =20 - shutdown { + shutdown-pins { pins =3D "gpio41"; function =3D "gpio"; }; --=20 2.34.1 From nobody Thu Apr 2 11:45:46 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4AA20C6FA86 for ; Sat, 24 Sep 2022 08:06:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233705AbiIXIGC (ORCPT ); Sat, 24 Sep 2022 04:06:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233637AbiIXIF0 (ORCPT ); Sat, 24 Sep 2022 04:05:26 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0ABE011F120 for ; Sat, 24 Sep 2022 01:05:18 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id a8so3475115lff.13 for ; Sat, 24 Sep 2022 01:05:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=Kn8snOEqMnKZZ7rQ8tp5scK4VBgltPb1inLsc+Q/YzY=; b=jekkDd7tcu4nwlREc73k2xLdwzgw4KjbatOf2RG8qwswgFg8YhXly87z/qewXIeOfI PJg1d8Iu28acbKjBgEtpbHhrKM7k53Nm/9ikpbQlK6W5YzM0nDBZuyM0aWQMYLWcxDOe aRlGKDtkMA//jiKZZufO/3sJ3If2SweWhCit/0nxtO2qDglpoxwvIQ5PMg8AlWhZtCx+ TnHoA0cU/to5QSrUdI7IfP7L6nFcGV8CMfk09kjWHZRRQB9c5CLLO72JsKu/x1V8LO9V DE9Dsr7Rp/yTQ0H5W6sY81dZ7yHt4G6Cu0tocNGw5YaHOmE1mKTA3Ve6LNnJBboR5+Xr hVjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=Kn8snOEqMnKZZ7rQ8tp5scK4VBgltPb1inLsc+Q/YzY=; b=OfcstuMQIYScM/m7hTyvNfnooo8bfkqgaP7u6GCnl3afbyGaIcTNxzSJy1izh7F2qS kb9RvXU4TdqXit9tVD3J6l5L9GCv8+FL16FqGQip/SvdoabkYF+fObMUHkx3yR9CZKrs c8KvtF31j691u6LYUBYqVxTSN5FWbgp8lQGcYg4k7rauqve13CMUc5mhD25QP0ubsj90 rLouB7AF7OL43VUSqiqqfTZBDqIODgf2NIE8xPTXo5hwMIwWg1fNaUmJJ1QAQYDRUqWv EdksT3x+P3DVOhX3qLwnWbJB0FaCQC3mh5BZPMFgpW0W1NvHZDcvTY3krXzusFJA+q37 Gk1w== X-Gm-Message-State: ACrzQf2CyMMkRwyB251qDpFOPu8xb6bM812401u3CH32Y1b1VNDQY76H HSNnoL1vPpPJTB4TMG/cs+/VOA== X-Google-Smtp-Source: AMsMyM4QQWPwcGXvOUQEn9SQ5Mdb7FELrh7/7El1mOtX4lu2UwXVzYoaTV9A2rRrpYNPsreDBEYgbA== X-Received: by 2002:a19:5044:0:b0:49f:b08e:d1c8 with SMTP id z4-20020a195044000000b0049fb08ed1c8mr4676869lfj.180.1664006716384; Sat, 24 Sep 2022 01:05:16 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:15 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 07/32] dt-bindings: pinctrl: qcom,ipq6018: add qpic_pad function Date: Sat, 24 Sep 2022 10:04:34 +0200 Message-Id: <20220924080459.13084-8-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The IPQ6018 pinctrl driver supports qpic_pad and DTS already uses it: 'qpic_pad' is not one of ['adsp_ext', 'alsp_int', 'atest_bbrx0', ... Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl= .yaml b/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml index 931e5c190ead..1f7a5f285404 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml @@ -92,9 +92,9 @@ patternProperties: qdss_ctitrig_in_b0, qdss_ctitrig_in_b1, qdss_ctitrig_out_a= 0, qdss_ctitrig_out_a1, qdss_ctitrig_out_b0, qdss_ctitrig_out= _b1, qdss_traceclk_a, qdss_traceclk_b, qdss_tracectl_a, qdss_tr= acectl_b, - qdss_tracedata_a, qdss_tracedata_b, reset_n, sd_card, sd_w= rite, - sec_mi2s, smb_int, ssbi_wtr0, ssbi_wtr1, uim1, uim2, uim3, - uim_batt, wcss_bt, wcss_fm, wcss_wlan, webcam1_rst ] + qdss_tracedata_a, qdss_tracedata_b, qpic_pad, reset_n, sd_= card, + sd_write, sec_mi2s, smb_int, ssbi_wtr0, ssbi_wtr1, uim1, u= im2, + uim3, uim_batt, wcss_bt, wcss_fm, wcss_wlan, webcam1_rst ] =20 drive-strength: enum: [2, 4, 6, 8, 10, 12, 14, 16] --=20 2.34.1 From nobody Thu Apr 2 11:45:46 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 320FFC07E9D for ; Sat, 24 Sep 2022 08:05:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233640AbiIXIF5 (ORCPT ); Sat, 24 Sep 2022 04:05:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233638AbiIXIF0 (ORCPT ); Sat, 24 Sep 2022 04:05:26 -0400 Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC81C11F13A for ; Sat, 24 Sep 2022 01:05:19 -0700 (PDT) Received: by mail-lj1-x232.google.com with SMTP id c7so2273052ljm.12 for ; Sat, 24 Sep 2022 01:05:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=VY7fS0iu1FrQv7JLDwEKvC3Dn+VfsmyHaoeIkwh4NZU=; b=KRyeW7mG+bhv+Iv+m0hSEcOU1KuMs7Q17niR0GIN7m9OR+QNTdcYIfOIyPMgv8q+GX VyCPVJ5g62cfLsUun58wmndfn3Z8lt34LN3+x9xuVcNro0o9GO5iKQORRRFQPLJBPGj3 9jMBlmzuK8so+vl62hjNlCRRL0V3dW3Pdzw39cwGdLJSKDXVPWdbQ5A4Fc8Jf7YA1Wxc cWyaR3JOriRJgBHfT14uzgfBX5m7MUdGvrkUUUjLLYCH8kDyYGvu7efmolyyOKuLIMch ojqDE2AZhSJrHpNhQFCn87mTl3/YSerYcspZTX71zXIlXoXmd/j0Bg7iU9DuX0FLUix1 DfNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=VY7fS0iu1FrQv7JLDwEKvC3Dn+VfsmyHaoeIkwh4NZU=; b=aze/pg95LhztUUqIzwSf/YEL/dSZDVvAwojybQoyvOSIsykymnW14eM8hQ8xg/QJzB emg9GAwf54leAQtbdi4F9gX/8qbAX5XHs9TA/RdEGxstuG38l9hXr3VBOfko3Nhbt8ya yDbe9jiPG5TA1qe/SqjjnIv3iGGNywft6LbbVFpRCeh6/IDKONyWqflfO+XTd9+AdM5T Og1HHz/dMHTfNcPyI3mCank3+bgw8KVj6VPSm54eWAO79mjlBjutvQOjzyb2L1SWOmM/ tU0pG8zA6PFZ8bk02YfPHDb//DtAMMYPWcLI8xKlusu1e/JrgC66t5LfJlA2pkj1admL kFDQ== X-Gm-Message-State: ACrzQf1TqSx5WNxwVmhH7Zqxlknw3Bh2jSZwMU37Nn70F6IrzZ5iRW2M bBQv8ZStiyVZKBuYfNeKA2FyJw== X-Google-Smtp-Source: AMsMyM5vRgij2AaBub331/OuCNOMkPcE5eJp2i/WT6KBGxRfGdy0aH5B8gbw3V9h9208ub5CR+dmQg== X-Received: by 2002:a05:651c:1043:b0:26c:565b:2942 with SMTP id x3-20020a05651c104300b0026c565b2942mr4162300ljm.440.1664006717627; Sat, 24 Sep 2022 01:05:17 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:17 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 08/32] dt-bindings: pinctrl: qcom,ipq6018: increase number of pins in pinmux Date: Sat, 24 Sep 2022 10:04:35 +0200 Message-Id: <20220924080459.13084-9-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" One pinxmux node can have more than 4 pins to configure: ['gpio1', 'gpio3', 'gpio4', 'gpio5', 'gpio6', 'gpio7', 'gpio8', 'gpio10',= 'gpio11', 'gpio12', 'gpio13', 'gpio14', 'gpio15', 'gpio17'] is too long Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl= .yaml b/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml index 1f7a5f285404..9c6958a9cfe4 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml @@ -63,7 +63,7 @@ patternProperties: sdc2_data, qdsd_cmd, qdsd_data0, qdsd_data1, qdsd_da= ta2, qdsd_data3 ] minItems: 1 - maxItems: 4 + maxItems: 16 =20 function: description: --=20 2.34.1 From nobody Thu Apr 2 11:45:46 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D583BC07E9D for ; Sat, 24 Sep 2022 08:06:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233729AbiIXIGJ (ORCPT ); Sat, 24 Sep 2022 04:06:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233613AbiIXIF2 (ORCPT ); Sat, 24 Sep 2022 04:05:28 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1CBBF1871 for ; Sat, 24 Sep 2022 01:05:20 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id l12so2292164ljg.9 for ; Sat, 24 Sep 2022 01:05:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=V4HqYpo8tMEHEMR+IQ/EL+5/qaemZaDGSORGW1L0emg=; b=uh7Jvk4SCQQqWNT3MQ5m9zPWGWr7RlXPOTB1uKtRy3l/HZXbK07TAn9qRZHFUUHVU8 Q1LFvs48x+rZj8yiaUgZSq66Czp1RCeaj9b3N2z+r61KI5QN56vKOzJJANOvW4udshyQ Iv4y7x27c3rH7OzSsAJ0L9f6eAm1P9Fy4nBV/X3N135KITvTsF6HEhZTPnrfjtnX5yqr nOYlN7VRByAu/UGZ0lOyoCJHiWsTdvYWTZe4D+eodiKZyJ7vG0EomYE8jcR9wel49TO9 ycK0VGwHTWI1cBxebyEEoqo3wI/ZA3WzGlYEXv/Le9Gzl/a/QiPgN4PSoiy4dwyuA+yn MsBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=V4HqYpo8tMEHEMR+IQ/EL+5/qaemZaDGSORGW1L0emg=; b=RIIXfxTXc8V76VGTKM0S+CxRHMNzPOJQtq+Zy3L1vZIc0BRJOiRfDmbZtyqydSGqjb L595l/JeYh18r/frZvqFZIQgsUCoMYvIJ7Py7zxlmnnkdL45MADjBVYj/V9duk98UbSt hGGeFw/UPwcKyARiYaGAXjRTrXfzzlqzBRzDGGz/ZR8OwYuO2TxO7MbssaZzCzzyxuSj uXBoY9EaJ7a5dL1AYBnu9yRAoPRd2P20skKgwv670A8L13rldivcZlU7KpJCyHPhZU+9 vPwsFjnC6SCDfmME/oc7EHucexX3SSgOH82DFYvpkvNMIpy08LZyUyWlvnebOeXHW/ca KCpw== X-Gm-Message-State: ACrzQf3oHb2eAImrZ6spooBrKG6TNjNFj4iYx5PH+o14kaahcDWatyTE ancTTrVXklVWsD6zgCpt6is7wQ== X-Google-Smtp-Source: AMsMyM6ksJBlNqkBRNd8kafnhHTh6uTiurBiBB6JP/8s0cUerO/BthhvSnTyCZV/jymh/ZTDdVo4Xg== X-Received: by 2002:a05:651c:221a:b0:26c:6fe2:c146 with SMTP id y26-20020a05651c221a00b0026c6fe2c146mr4118969ljq.284.1664006718976; Sat, 24 Sep 2022 01:05:18 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:18 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 09/32] dt-bindings: pinctrl: qcom,ipq6018: fix matching pin config Date: Sat, 24 Sep 2022 10:04:36 +0200 Message-Id: <20220924080459.13084-10-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The TLMM pin controller follows generic pin-controller bindings, so should have subnodes with '-state' and '-pins'. Otherwise the subnodes (level one and two) are not properly matched. This method also unifies the bindings with other Qualcomm TLMM and LPASS pinctrl bindings. Signed-off-by: Krzysztof Kozlowski --- .../bindings/pinctrl/qcom,ipq6018-pinctrl.yaml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl= .yaml b/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml index 9c6958a9cfe4..e7f3106ccd39 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml @@ -42,10 +42,17 @@ properties: gpio-ranges: maxItems: 1 =20 -#PIN CONFIGURATION NODES patternProperties: - '-pinmux$': - type: object + "-state$": + oneOf: + - $ref: "#/$defs/qcom-ipq6018-tlmm-state" + - patternProperties: + "-pins$": + $ref: "#/$defs/qcom-ipq6018-tlmm-state" + additionalProperties: false + +$defs: + qcom-ipq6018-tlmm-state: description: Pinctrl node's client devices use subnodes for desired pin configura= tion. Client device subnodes use below standard properties. @@ -146,7 +153,7 @@ examples: #gpio-cells =3D <2>; gpio-ranges =3D <&tlmm 0 0 80>; =20 - serial3-pinmux { + serial3-state { pins =3D "gpio44", "gpio45"; function =3D "blsp2_uart"; drive-strength =3D <8>; --=20 2.34.1 From nobody Thu Apr 2 11:45:46 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4503DC6FA83 for ; Sat, 24 Sep 2022 08:06:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233724AbiIXIGG (ORCPT ); Sat, 24 Sep 2022 04:06:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233645AbiIXIF2 (ORCPT ); Sat, 24 Sep 2022 04:05:28 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 052FA120582 for ; Sat, 24 Sep 2022 01:05:20 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id k10so3534458lfm.4 for ; Sat, 24 Sep 2022 01:05:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=7FqghC6uXqvYVM4jUoLVE3N8bLSjgKHMBRM6ctfL5lI=; b=MEP/t71E71QXsD4bHfaWQbje9pDNFGcxqBpMonBslOH3sAiXdDkf+tZppxfnc+QCPr 7bhEABuCGLGVRS4NIsBK0Gw579nLbriNEnbLIQ0wTOHssUtejJRiyEMTaD/SHPjylw3S R8AOcIZSnORpjg6DhlN3WE96R8Gk2jcJ2ZVba2CzM0jwtmJsnORuj64h2PKkfp7pJYEn kDE+/sontiUNYIPjpDAFGIeCLp12etihHXzg2MueKmW0T5ILOsj98E5m4TUHx/C2FIJ3 FUTqBHp8lx82bIMdOGg8rl0Mshesf6Tbuj9K9gPAhdmrPX+Q8A2EPkuiSvaYHx3Rwi5h XYAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=7FqghC6uXqvYVM4jUoLVE3N8bLSjgKHMBRM6ctfL5lI=; b=cigxY+egDnO/agnrhRzB63z5KVXSw6b/rTguYJCS07LTKmnK3iVvlauqNMAvCQg9u+ jJJk+BPy/dXQnfE1GOUCQL3LRMyUwcaXhwT5QE4yDc6JvJ273leHUqKElvem0YLlI+wf Um4v/GRuJjwIF/lkaKkFLQzOtNR49/y0UI81gBDzJ9P72d4BHaXcZ7InY+1D2aveGRg7 zJNsr7R4dGLou3tD8RNNeTpQi8PBXMUeIxE3LYUiClc7Kc/uhEZ+i/PzPKYHMszcKi/q tVDwWerCj9CQgGovcdjzQ4sjHuhXeXCOt1iYYIzRmAISR1GVU6T0lltqSpxMo0wSexBQ LJJQ== X-Gm-Message-State: ACrzQf0U6sAHgnfK/2/RecDEN/m/UEBQd0qjBci9DojsojxW+k9Er/1p liHrEO2P29q/UwA0hLS/dq4DRg== X-Google-Smtp-Source: AMsMyM5jLMZR6CE3XAHPXKwevMWf6fzrpA+nhyjor/UxENBX4IbTzwOKnz3af4G59hVxceZI0r1Omg== X-Received: by 2002:ac2:4d2b:0:b0:498:fbf0:4f89 with SMTP id h11-20020ac24d2b000000b00498fbf04f89mr4619853lfk.500.1664006720473; Sat, 24 Sep 2022 01:05:20 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:19 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 10/32] dt-bindings: pinctrl: qcom,ipq6018: do not require function on non-GPIOs Date: Sat, 24 Sep 2022 10:04:37 +0200 Message-Id: <20220924080459.13084-11-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Certain pins, like SDcard related, do not have functions and such should not be required. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../bindings/pinctrl/qcom,ipq6018-pinctrl.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl= .yaml b/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml index e7f3106ccd39..2026fdac9fa8 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml @@ -56,7 +56,6 @@ $defs: description: Pinctrl node's client devices use subnodes for desired pin configura= tion. Client device subnodes use below standard properties. - $ref: "/schemas/pinctrl/pincfg-node.yaml" =20 properties: pins: @@ -121,7 +120,16 @@ $defs: =20 required: - pins - - function + + allOf: + - $ref: /schemas/pinctrl/pincfg-node.yaml + - if: + properties: + pins: + pattern: "^gpio([1-9]|[1-7][0-9]|80)$" + then: + required: + - function =20 additionalProperties: false =20 --=20 2.34.1 From nobody Thu Apr 2 11:45:46 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 54F09C32771 for ; Sat, 24 Sep 2022 08:06:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233731AbiIXIGP (ORCPT ); Sat, 24 Sep 2022 04:06:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233537AbiIXIF3 (ORCPT ); Sat, 24 Sep 2022 04:05:29 -0400 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98769120599 for ; Sat, 24 Sep 2022 01:05:23 -0700 (PDT) Received: by mail-lj1-x22e.google.com with SMTP id h3so2342575lja.1 for ; Sat, 24 Sep 2022 01:05:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=cGaQ8e4uNHVgE+zInbqahLbk6anJu3w+VY6OAYjn4Sw=; b=jgKb07IEFCnzodKEn4Hgz45nekbx1huLoshFOlSqC1myNkdxIfx//X+XQNEpmnW6/2 rj9DXO3EdnXb8bbwdKU+16mFwuiAXr3WDsCbjsk9NIzlB6HvRI/10og+FLjh3WiVfbrJ 4KAhaiZ2l7yv1NC8URFG5E3upgTkG3WosH88J+vCgc4KLvyHt2lRkUMXpKp+Oo22sYpD D8L8vMjRs2bbm/hyc0n+YuMmRNqCzir5XMGZpkxvmj6yTvJGgKYdLZgkCxlkpLePGJfd eOED2+tM20K2h2cV7BPJO8TTBsxW96M3uklMcRRuUSh4ChiUwykUodDW3nPA7tm26BAH +vUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=cGaQ8e4uNHVgE+zInbqahLbk6anJu3w+VY6OAYjn4Sw=; b=o+DsmlMeAG77HGt40i7EeUIBCU4ZcumQZII6RhcICW5X336Yt1Lcvi3suk+p3Cr7HJ Nd7GUnjBdo2SrkdvAwwYnD8dbtS33EwsERaTtPGMMv4VAdUXtvNM52L/KWeiiBn2ed8h kw8RfpEghpFb4Evc1oR94/RjSwWvPvf3Ykh/MbbmzkHOhYr2xjfAzCdeTTR1p8Hu59GQ Z0phXhRq/kQmz366FwY/Bei2eVI20N5BOVNZojJv7VXFcLiFXnvHESr3B6GnCeS5tpRZ ybRKQLhED7CsulTpfSUlvr5iz1TkQ2HQDFEAmiAnSA5Mb3VRkqn6w9PtRnznMVoDW24A MAvQ== X-Gm-Message-State: ACrzQf0BAUn2kY1aeh5mQ3aF0jVhA/TEn1XLbVpJVzJDMvIALaZiWN3D dQiInPrTJv4ynkGqDCYTr5KnJw== X-Google-Smtp-Source: AMsMyM5QmGyvwqI6fVrnfhExwT4jyDCZJk1E/w7xst5Wvc0ogWN/ccxXzYSjPxQY5zqRkHeL512NtA== X-Received: by 2002:a05:651c:110f:b0:26c:68f4:5b31 with SMTP id e15-20020a05651c110f00b0026c68f45b31mr4054209ljo.29.1664006722009; Sat, 24 Sep 2022 01:05:22 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:21 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 11/32] dt-bindings: pinctrl: qcom,ipq6018: fix indentation in example Date: Sat, 24 Sep 2022 10:04:38 +0200 Message-Id: <20220924080459.13084-12-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Bindings example should be indented with 4-spaces. Signed-off-by: Krzysztof Kozlowski --- .../pinctrl/qcom,ipq6018-pinctrl.yaml | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl= .yaml b/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml index 2026fdac9fa8..075d014b2ec5 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml @@ -150,21 +150,21 @@ additionalProperties: false =20 examples: - | - #include - tlmm: pinctrl@1000000 { - compatible =3D "qcom,ipq6018-pinctrl"; - reg =3D <0x01000000 0x300000>; - interrupts =3D ; - interrupt-controller; - #interrupt-cells =3D <2>; - gpio-controller; - #gpio-cells =3D <2>; - gpio-ranges =3D <&tlmm 0 0 80>; - - serial3-state { - pins =3D "gpio44", "gpio45"; - function =3D "blsp2_uart"; - drive-strength =3D <8>; - bias-pull-down; - }; + #include + tlmm: pinctrl@1000000 { + compatible =3D "qcom,ipq6018-pinctrl"; + reg =3D <0x01000000 0x300000>; + interrupts =3D ; + interrupt-controller; + #interrupt-cells =3D <2>; + gpio-controller; + #gpio-cells =3D <2>; + gpio-ranges =3D <&tlmm 0 0 80>; + + serial3-state { + pins =3D "gpio44", "gpio45"; + function =3D "blsp2_uart"; + drive-strength =3D <8>; + bias-pull-down; }; + }; --=20 2.34.1 From nobody Thu Apr 2 11:45:46 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 02464C6FA86 for ; Sat, 24 Sep 2022 08:06:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233546AbiIXIGT (ORCPT ); Sat, 24 Sep 2022 04:06:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233390AbiIXIFe (ORCPT ); Sat, 24 Sep 2022 04:05:34 -0400 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABFB81205A8 for ; Sat, 24 Sep 2022 01:05:23 -0700 (PDT) Received: by mail-lj1-x22e.google.com with SMTP id p5so2273207ljc.13 for ; Sat, 24 Sep 2022 01:05:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=s3LeD0fQ3lVXSe5LvWDqJOXNGaIcujKmFDelUx6yqVs=; b=zxo6hgeU0xtFLAXGPyymOXWMWlrXDjjARqZr/ipT2IQMQEE/CXf0N+eVputLmNjMi8 AMlb6K0Ppm/hnICiVRknz1Mkp8As8y+9QcEtoihcdzZqFSAF4tvnF3+oHVtE8ZZJ584B v3ZVhgw4XJAASLaDorORHZ7T3mGh+lMzvNyFlMTgiRmG3CrDTv1JSX1WHl4uiKtlBb6q oz/LCg/hw28eavkRAtdUQMCqUcQAIFHLFALkTVYnOcO3om2OkVAZO1SR21oun7vD8v4P 2JHvhtatopRyXgmo3/wVdmEQeyd3xQeJ4f0n2o+vJfJWfPDnUem3xBFK7wwo6rKODnOT kiaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=s3LeD0fQ3lVXSe5LvWDqJOXNGaIcujKmFDelUx6yqVs=; b=R7UBe8a59c7EGx3bHoJfFSiIX5Y5KoWU9jJZrPo+k+SkonuWW3DyCES5T6LK/OAKtG vXzvKD+XejZkTtnzVApdN2RslUCKBZyZc5mG0uAyc2CuWVnQXdSwGNV5VzLjx/4Xkdks wdr1oZ+Tl63M7KcguPXJj7mvHVhBWmI336mfVq/IOZdwa7Mye+aOpHZiGtl8wCQ75Jyx GiE3AqaX3Fj7CSzE94c+35UVcxhCgfq8fRqoAh3xZqbJPLS6n9vF6eYMYPs44eXcWBxq +qqsKxDmD3kDQzSwEB/7BD47jtC/bX+tWTFTvTXwomkRPLUmRBp0XOLbW1/NKIka7GJH g+QA== X-Gm-Message-State: ACrzQf0ZPBv1ED95upnOmigGBR7eTgFHc1/Ma3L2Dx3tBt8U3xLV+VFh HyG/4nT3aMxbEKW9maiIE49Szg== X-Google-Smtp-Source: AMsMyM52kN7DLYNG8Q6Lzb5UyWtfA2Y3HQHTEBjh00lg7JefgmzEPj9aKQ6TZi3uxMslQN0KdboEJA== X-Received: by 2002:a2e:9209:0:b0:26c:7b01:ddb with SMTP id k9-20020a2e9209000000b0026c7b010ddbmr2131449ljg.347.1664006723208; Sat, 24 Sep 2022 01:05:23 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:22 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 12/32] dt-bindings: pinctrl: qcom,msm8226: fix matching pin config Date: Sat, 24 Sep 2022 10:04:39 +0200 Message-Id: <20220924080459.13084-13-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The TLMM pin controller follows generic pin-controller bindings, so should have subnodes with '-state' and '-pins'. Otherwise the subnodes (level one and two) are not properly matched. This method also unifies the bindings with other Qualcomm TLMM and LPASS pinctrl bindings. Signed-off-by: Krzysztof Kozlowski --- .../bindings/pinctrl/qcom,msm8226-pinctrl.yaml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl= .yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml index ab4a2b4cfda2..ecb90c77f666 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml @@ -45,9 +45,17 @@ properties: gpio-reserved-ranges: maxItems: 1 =20 -#PIN CONFIGURATION NODES patternProperties: - '-pins$': + "-state$": + oneOf: + - $ref: "#/$defs/qcom-msm8226-tlmm-state" + - patternProperties: + "-pins$": + $ref: "#/$defs/qcom-msm8226-tlmm-state" + additionalProperties: false + +$defs: + qcom-msm8226-tlmm-state: type: object description: Pinctrl node's client devices use subnodes for desired pin configura= tion. @@ -126,7 +134,7 @@ examples: #interrupt-cells =3D <2>; interrupts =3D ; =20 - serial-pins { + serial-state { pins =3D "gpio8", "gpio9"; function =3D "blsp_uart3"; drive-strength =3D <8>; --=20 2.34.1 From nobody Thu Apr 2 11:45:46 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BB3CFC32771 for ; Sat, 24 Sep 2022 08:06:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233758AbiIXIGZ (ORCPT ); Sat, 24 Sep 2022 04:06:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233499AbiIXIFp (ORCPT ); Sat, 24 Sep 2022 04:05:45 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DA52121101 for ; Sat, 24 Sep 2022 01:05:24 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id k10so3534615lfm.4 for ; Sat, 24 Sep 2022 01:05:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=dzT2o8l8kfLsRyN4jbWpEjgtzkg60okM0dLWljLPehU=; b=Nut3dXqx4HdfFNUc0lFKLLnx8BUvU8aX7GO/hsNMTtxfWvtwbaPdSPNn3iENtgPhPa PXIRqjWP2+CCY7d3KSvXNCuFNQwQ/Qn2xdNPTGUQjRWD6zpu2tx0YKkiDSEQPXuuhMr6 JEVwUhIejzy2CmLYxY4xEB6mEKw4LDT1EeNoACGQkf8OmsFrdUYPAWHfznh3imuFhc+W zPvslhtSdjHAD7I14Oml0JOv/Oe0Eo3qZaCfLr5gzvjd7fKZCDwZ3nN7BSyAsvAazoK1 Agcy7llQrmRX51ZEXU+magHVM0Wjl9SOQ7XuVJKTXtmx6GKrHa+/d/tQwux3zTXkOp9P qxtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=dzT2o8l8kfLsRyN4jbWpEjgtzkg60okM0dLWljLPehU=; b=bn3Afa1yqK+9jya+kvvYkQDfEPAveX7fnowzCunsJ0GX7DzJA6oOAdu2susJ/LBbAS LrbaEYpUPTJrDMs7cqfa8/aNkFPAE0sGgOohf9cgl2X7+hH9zC5KkeXuN0hIB6fwHAYd Ic/ZIJabqvDOEcAQnSTGvh74/Jk7p4EeMuJ1xa/4TJpezKD7kZvXV9nb2cBo2nqNZ/8r p7HMdWUS2kjPClZD0wWZq9THdgm2Q/Xyv3GFHi6SRsfJGBwvD9gF+PEv8BteCBJnXioR ak9tivyeiazNv1W0ds2I0z3yXQPgYN2CHwrh+HBz/bgYBcJbgmDhZNUk4OlgHOS0CtC8 CUwg== X-Gm-Message-State: ACrzQf1PpY4uxStKVC+BwO1lV2cTWZuYJIJr1AuVEkkjtJMhXAdK4IqR 6BRfHtsu5twO/CB3LpYW3sh1oA== X-Google-Smtp-Source: AMsMyM7tZjF0XfS/xckpybmX1ihJDQCbeabJl3uER6gnAmeRxz59tt5YjtwQwaFJyVIjWgfyTFacgA== X-Received: by 2002:ac2:5cb9:0:b0:498:eb6f:740d with SMTP id e25-20020ac25cb9000000b00498eb6f740dmr4579246lfq.106.1664006724553; Sat, 24 Sep 2022 01:05:24 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:24 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 13/32] dt-bindings: pinctrl: qcom,msm8226: do not require function on non-GPIOs Date: Sat, 24 Sep 2022 10:04:40 +0200 Message-Id: <20220924080459.13084-14-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Certain pins, like SDcard related, do not have functions and such should not be required. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../bindings/pinctrl/qcom,msm8226-pinctrl.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl= .yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml index ecb90c77f666..f1d9696a1fe7 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml @@ -60,7 +60,6 @@ $defs: description: Pinctrl node's client devices use subnodes for desired pin configura= tion. Client device subnodes use below standard properties. - $ref: "/schemas/pinctrl/pincfg-node.yaml" =20 properties: pins: @@ -101,7 +100,16 @@ $defs: =20 required: - pins - - function + + allOf: + - $ref: /schemas/pinctrl/pincfg-node.yaml + - if: + properties: + pins: + pattern: "^gpio([0-9]|[1-9][0-9]|1[0-1][0-6])$" + then: + required: + - function =20 additionalProperties: false =20 --=20 2.34.1 From nobody Thu Apr 2 11:45:46 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7DE4CC32771 for ; Sat, 24 Sep 2022 08:06:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233676AbiIXIGb (ORCPT ); Sat, 24 Sep 2022 04:06:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233104AbiIXIFv (ORCPT ); Sat, 24 Sep 2022 04:05:51 -0400 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91689121669 for ; Sat, 24 Sep 2022 01:05:27 -0700 (PDT) Received: by mail-lj1-x22a.google.com with SMTP id z20so2329849ljq.3 for ; Sat, 24 Sep 2022 01:05:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=YwJzKwBTqbPcmrZWZ8ggkR5Ai2/8yEQ4t3c6bMiRPyY=; b=RWa5Jg+GEcDh7LyIvwqU/Rm/aL9t3qWq2Orw8zDXmd40mXYgeyvOrqI/QRF7ttf3qr wvB46cd/aQVCEqkVOSFeLjSy3J9Sm3b8Ds41BzKX+KlaeXaaKp+BZNfPugXrKFMYPLCF c7/8OPPQpYvjj4eN33UFmqNqLf8gHfe2mqlV4o1mttyb2VLB2i9R5u13fKucHEiUQjbh nNaTkyMAL4Kz7Q0jGitwBfd0mFXl0qSABrGFoBy0HYLOpkUEjA+FJQZ5Gl9Mq5FTxaCo 2+ra4IKRjb6s0j/onugDZzOQ9If+S5p2QFoQqBXRptrbGBijNg16nPvJHynAAFhRC28o gXoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=YwJzKwBTqbPcmrZWZ8ggkR5Ai2/8yEQ4t3c6bMiRPyY=; b=bLv/SHjOdCupWpzbWlvErR5QScz9aBYymJO3IBAmyp3eZg+c8jcXiMEca4gKDjErw6 2cdKqZGSsG7Ik8xJDXZdzZLhVFpOd2vZhDWm6APMtMvv59qsPZqg90koJ9S7fCz44RMJ B20KQ6NIav1TqrlPg153VMC2WdNfukQDwDlOBopUs4OqV77ziV2HRAD76KmgVSfR7dA8 zzqRs1rK3KO7dpmc+lm/axoZl3WiGqZL+Ep/XB1wIjXjSkezrHMwGL92WbT61N3nv18t C4l30CwfjBeowqG29gP39rqZmYD5MItVQqRrhLr88dF78V1TthWM/Z+jb/OhsO+PY72o IZkw== X-Gm-Message-State: ACrzQf3VqQsj4uckEo4yKRfB/6ibHDRQyKNYVA7SvLM7hiVRmlLgblGy Vu0WDh0vzOCIAO4/mCxeZ3SPmkkEVOg5sQ== X-Google-Smtp-Source: AMsMyM5MCAcuuBSS8RWt01vyxMeyycHdb+c9gv9m8PJoPO8R/B/Hg6oVsGvFWynLeqRd4bKJw/UxQw== X-Received: by 2002:a2e:894e:0:b0:26c:5434:e62b with SMTP id b14-20020a2e894e000000b0026c5434e62bmr4079035ljk.180.1664006725927; Sat, 24 Sep 2022 01:05:25 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:25 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 14/32] dt-bindings: pinctrl: qcom,msm8226: add functions and input-enable Date: Sat, 24 Sep 2022 10:04:41 +0200 Message-Id: <20220924080459.13084-15-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The MSM8226 pinctrl driver supports input-enable, blsp_i2c4, blsp_uart4 and sdc3 functions and DTS already uses it: qcom-msm8226-samsung-s3ve3g.dtb: pinctrl@fd510000: 'blsp1-i2c1', 'blsp1-i= 2c2', 'blsp1-i2c3', 'blsp1-i2c4', 'blsp1-i2c5' ... qcom-apq8026-lg-lenok.dtb: pinctrl@fd510000: touch-state: 'oneOf' conditi= onal failed, one must be fixed: 'input-enable' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- .../bindings/pinctrl/qcom,msm8226-pinctrl.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl= .yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml index f1d9696a1fe7..e665ae7ffe3c 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml @@ -78,9 +78,10 @@ $defs: Specify the alternative function to be configured for the specif= ied pins. Functions are only valid for gpio pins. enum: [ gpio, cci_i2c0, blsp_uim1, blsp_uim2, blsp_uim3, blsp_uim5, - blsp_i2c1, blsp_i2c2, blsp_i2c3, blsp_i2c5, blsp_spi1, + blsp_i2c1, blsp_i2c2, blsp_i2c3, blsp_i2c4, blsp_i2c5, bls= p_spi1, blsp_spi2, blsp_spi3, blsp_spi5, blsp_uart1, blsp_uart2, - blsp_uart3, blsp_uart5, cam_mclk0, cam_mclk1, wlan ] + blsp_uart3, blsp_uart4, blsp_uart5, cam_mclk0, cam_mclk1, = sdc3, + wlan ] =20 drive-strength: enum: [2, 4, 6, 8, 10, 12, 14, 16] @@ -89,13 +90,10 @@ $defs: Selects the drive strength for the specified pins, in mA. =20 bias-pull-down: true - bias-pull-up: true - bias-disable: true - + input-enable: true output-high: true - output-low: true =20 required: --=20 2.34.1 From nobody Thu Apr 2 11:45:46 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7E69EC07E9D for ; Sat, 24 Sep 2022 08:06:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233629AbiIXIGg (ORCPT ); Sat, 24 Sep 2022 04:06:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233675AbiIXIFv (ORCPT ); Sat, 24 Sep 2022 04:05:51 -0400 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD4DD1162E2 for ; Sat, 24 Sep 2022 01:05:27 -0700 (PDT) Received: by mail-lj1-x22d.google.com with SMTP id s10so2317445ljp.5 for ; Sat, 24 Sep 2022 01:05:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=QO7QqXbmKh3g6/j5SdIlkOzEb11401uJk2Kjlbs9Gs0=; b=kTHBiuOO4cm9gsDW+/l1n74kftMsOwDVohug9OYk6J7P9B+2JgMmmKr61eCrzGNEKx gS11EZcl9rM27Yk2bgJGkiME4juCmVYi7yW40Vcx2EfKe5k+PPLo67ItJUYss1ddYhUE UQ4vlqma6WioCD+tYdlykPxENaGLm82c4DiR8z0quH2756iZXOXyGk0TY7fZg5L/Xm/L oW6V2lNRJyN8oFXjPiL21RqENC22gunu1nIiPQdGBjyR5ES3wVZ0m8TCcIFoieGZF5Ly m+ViNcVzHgpGKngWGi/fdhUqEbdTqz25+mnhWptQ3U4ew1BbxkwDIBjAH9WRhea6XTRr Azig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=QO7QqXbmKh3g6/j5SdIlkOzEb11401uJk2Kjlbs9Gs0=; b=7CyzV9+3KOQYoKOmaCVRy6a8tWtUfexrN/svwa820E2BaBOgAnI4c7LjzYm7mtx1B0 vlV6lSKTSt3c+0l9TE42rc+xtVKREGCF58pYwOHTsTHlV5aEl7CE4ePMhgu4FL6nuS4s ArnZqWpQYKyqiyJg2y1jVGHWqGMkY7QvTpcit3I6PT5zlFldzoH5BWFkuIxmcrqvMO28 Jun0SbRkwwQ8zuvmvH8J0HuMc7TCoV87p5cg0Nhxl7Z3m5F33t8Pbj1dSJ/+/MfkLBTU zDEY0WQutPpCZSSaEopWabOtMsiP1ZomL95j+POeJelsS31MFyrJKm85qjDek3CbMLnM sYLw== X-Gm-Message-State: ACrzQf2cDJYg/lnjzrE05q6S7O8P5+8O7yJK600o9fIqs1vazgFWHbPZ jBZ2zNOwbdLsvfnJTxbM0FuO6A== X-Google-Smtp-Source: AMsMyM6WjCbaiKPbj6inOFUxJfgv8BOTT6UQFrx/FanhnWY5vE+V8dWNK6mzWDuMI/t+AC7MG82psQ== X-Received: by 2002:a05:651c:1694:b0:26c:5624:6d37 with SMTP id bd20-20020a05651c169400b0026c56246d37mr4191100ljb.500.1664006727173; Sat, 24 Sep 2022 01:05:27 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:26 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 15/32] dt-bindings: pinctrl: qcom,msm8226: fix indentation in example Date: Sat, 24 Sep 2022 10:04:42 +0200 Message-Id: <20220924080459.13084-16-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Bindings example should be indented with 4-spaces. Signed-off-by: Krzysztof Kozlowski --- .../pinctrl/qcom,msm8226-pinctrl.yaml | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl= .yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml index e665ae7ffe3c..61200fe7a748 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml @@ -128,22 +128,22 @@ additionalProperties: false =20 examples: - | - #include - msmgpio: pinctrl@fd510000 { - compatible =3D "qcom,msm8226-pinctrl"; - reg =3D <0xfd510000 0x4000>; - - gpio-controller; - #gpio-cells =3D <2>; - gpio-ranges =3D <&msmgpio 0 0 117>; - interrupt-controller; - #interrupt-cells =3D <2>; - interrupts =3D ; - - serial-state { - pins =3D "gpio8", "gpio9"; - function =3D "blsp_uart3"; - drive-strength =3D <8>; - bias-disable; - }; + #include + msmgpio: pinctrl@fd510000 { + compatible =3D "qcom,msm8226-pinctrl"; + reg =3D <0xfd510000 0x4000>; + + gpio-controller; + #gpio-cells =3D <2>; + gpio-ranges =3D <&msmgpio 0 0 117>; + interrupt-controller; + #interrupt-cells =3D <2>; + interrupts =3D ; + + serial-state { + pins =3D "gpio8", "gpio9"; + function =3D "blsp_uart3"; + drive-strength =3D <8>; + bias-disable; }; + }; --=20 2.34.1 From nobody Thu Apr 2 11:45:46 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E8926C07E9D for ; Sat, 24 Sep 2022 08:06:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233794AbiIXIGq (ORCPT ); Sat, 24 Sep 2022 04:06:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233690AbiIXIGA (ORCPT ); Sat, 24 Sep 2022 04:06:00 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 101F4121E58 for ; Sat, 24 Sep 2022 01:05:28 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id bu25so1625498lfb.3 for ; Sat, 24 Sep 2022 01:05:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=q8x9uNJv1GdLZmJTd8sk+6NP6nWeg6X+qM8aAbyTccQ=; b=C2DHYP4iiFXaUsom/T+schnOontFRttz/XOW5i9gotd5n9Ooa4q67Z4OTwOLt85PCi UrbnzOyAUJZ7y6xtJNSYDwOKubuaVFvqglcxiHFh1+QD/qscMCz9E8xZhXfaDsk3PUhI EkmdYzbxDJV08hQ1DTrfeVz8iP6T/KPz1t+8rj6iHYSfsGTRnXp1yG6ftVExYgQZXyPH 1+jrKLEtYszydUfxA8WzZpbSNnf7te+NWSWigf91LiPs6uhHuxR3FiisZc3zMPybnwZ0 QeqdR2ZVS3QtjIG8EbRsx8oxUpc7elKX1UGQBbtSVDKo0m8AVJq3aO+TF6DXgH8cgFIJ 5Qtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=q8x9uNJv1GdLZmJTd8sk+6NP6nWeg6X+qM8aAbyTccQ=; b=6d6L18NBjkmjndUK/AbcAAGGvTXnBo+0z0npSo4bmOUWEzidVGBRTMBKHFQ8+w6T28 mc7O68rpX6zEZCtu6N2+huP9Ffx33onnuXZCYGWuvrSlkG9cy3yiidgGsjrqxQWItZ6b L7evDl3mF88dxkEbPmB1YxBo+Die2QL65c3O+u+76ojTR08rSGCmlUDCOxAc5DLUL9eC h4OrA/uPXQyQSNoZZ3I6JgvhKwcEGz0MyW1cy1K2EXiCSL27fpzUc9lPJYafNm94Ep5Q dri1QChb+UePkL0t+V27/g4OOA+kZ0tEBZhMT9g3zMNa5t7zOz6ZZATD/EqpTDknhKUv yfLQ== X-Gm-Message-State: ACrzQf29pKAnwVjMOQmP6LGt9mx6HY4DZe4ruOM64XM3HmX/dHIVSW+y TQ5a33MGATNfqwFN/XrIHIfxpw== X-Google-Smtp-Source: AMsMyM64S/N8FT5hyfKWJNxchNsUKQri69eWg1V4EY4lVh35Lp2phGeMaZYXwfjOfTVE+2j3JlGBww== X-Received: by 2002:a05:6512:c0f:b0:49b:1e8c:59fd with SMTP id z15-20020a0565120c0f00b0049b1e8c59fdmr4531851lfu.426.1664006728356; Sat, 24 Sep 2022 01:05:28 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:27 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 16/32] dt-bindings: pinctrl: qcom,msm8909-tlmm: fix matching pin config Date: Sat, 24 Sep 2022 10:04:43 +0200 Message-Id: <20220924080459.13084-17-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The TLMM pin controller follows generic pin-controller bindings, so should have subnodes with '-state' and '-pins'. Otherwise the subnodes (level one and two) are not properly matched. This method also unifies the bindings with other Qualcomm TLMM and LPASS pinctrl bindings. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.ya= ml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml index e03530091478..b1735918fa90 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml @@ -43,8 +43,9 @@ patternProperties: oneOf: - $ref: "#/$defs/qcom-msm8909-tlmm-state" - patternProperties: - ".*": + "-pins$": $ref: "#/$defs/qcom-msm8909-tlmm-state" + additionalProperties: false =20 $defs: qcom-msm8909-tlmm-state: @@ -136,13 +137,13 @@ examples: }; =20 uart-w-subnodes-state { - rx { + rx-pins { pins =3D "gpio4"; function =3D "blsp_uart1"; bias-pull-up; }; =20 - tx { + tx-pins { pins =3D "gpio5"; function =3D "blsp_uart1"; bias-disable; --=20 2.34.1 From nobody Thu Apr 2 11:45:46 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B68F3C32771 for ; Sat, 24 Sep 2022 08:06:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233710AbiIXIGv (ORCPT ); Sat, 24 Sep 2022 04:06:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233695AbiIXIGB (ORCPT ); Sat, 24 Sep 2022 04:06:01 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C4211231F1 for ; Sat, 24 Sep 2022 01:05:31 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id z25so3552605lfr.2 for ; Sat, 24 Sep 2022 01:05:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=2TwKdNWuZMW4tDzGDR4b3f+SkPIFjsrJJLyu1c45nTY=; b=BX+VAm5C4U7EgFkWkAtZsTQt2H8S+glrOaE5O8XZcBgHUcBuOgyd58r28Vj/CwPLDr AmLMPNblOgTajSQKAXxgYJXXLegeI7WcAaPIHRqihtQ8GgDWAEBAmgQZxosW6J5U8n3t R3BNMDNHrn0+2Tl08koflm5rEGX8Is4FvBng+xMZOJknG3aXJ5w7w4DQgmBqs6GH+a6d pUlfP5C6txjSHxQ1YBFQ+cMKCKsVhsJybSIztQg5KLRzmOfYDgziSRt/xluuhJ3thRUM g2/d5uV0I17wacRFUJj2D4KkWK7VL+94+TRYHHKWTQ1uDT9Un+ErCmpO9nExWgPi+vUJ r4Iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=2TwKdNWuZMW4tDzGDR4b3f+SkPIFjsrJJLyu1c45nTY=; b=ZQp16/8J1fIGofoP64VL9sRH0/X3aoYu0iggHmyOQUA4LVqomt7GT2QH+kFNxSSd2f tGkb8haWIcLNMp+Sl8FLiaoTEWqQcQwBV7eyeH8EeLy2k92GG9BEA1slKE0Uud9M51MG wZtlC02GzU4tw+gl4FBJm38VtUr28rbpd15MdufopHapEhaiSOaKd2m63M5rRM8butZB vHyehgSll2g05sm2/n4ii4pq8IyWRKoeHnng5Jnv3fRLWRug+DJ/TvpCogWPa89vVIMM KRy0aaPywDrm4/TMkXwMeLY2HEgO2irPRQxfSceI9Z0mHJYh/DwFtuKfeX4XN42Q84DU JxYQ== X-Gm-Message-State: ACrzQf0Det7gc7arSWeNkvKlgVSKBVjNnTdOq50CuVWOwxAE+F5MnKFZ 9Qq0MuupphEo8RYl8DRDtCDUKA== X-Google-Smtp-Source: AMsMyM74XcWpxpndDWngG2GWNCotgtK1uoLqNmEioxLx/JHoTqKYKTmK2jus5plKWsiXe0tw1AF5fQ== X-Received: by 2002:a05:6512:694:b0:498:ff40:24e with SMTP id t20-20020a056512069400b00498ff40024emr4441740lfe.265.1664006729604; Sat, 24 Sep 2022 01:05:29 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:29 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 17/32] dt-bindings: pinctrl: qcom,msm8909-tlmm: do not require function on non-GPIOs Date: Sat, 24 Sep 2022 10:04:44 +0200 Message-Id: <20220924080459.13084-18-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Certain pins, like SDcard related, do not have functions and such should not be required. Signed-off-by: Krzysztof Kozlowski --- .../bindings/pinctrl/qcom,msm8909-tlmm.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.ya= ml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml index b1735918fa90..e4332e628698 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml @@ -53,7 +53,6 @@ $defs: description: Pinctrl node's client devices use subnodes for desired pin configura= tion. Client device subnodes use below standard properties. - $ref: "qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state" =20 properties: pins: @@ -113,7 +112,16 @@ $defs: =20 required: - pins - - function + + allOf: + - $ref: "qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state" + - if: + properties: + pins: + pattern: "^gpio([0-9]|[1-9][0-9]|10[0-9]|11[0-7])$" + then: + required: + - function =20 additionalProperties: false =20 --=20 2.34.1 From nobody Thu Apr 2 11:45:46 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id ED724C32771 for ; Sat, 24 Sep 2022 08:06:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233722AbiIXIG4 (ORCPT ); Sat, 24 Sep 2022 04:06:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233694AbiIXIGB (ORCPT ); Sat, 24 Sep 2022 04:06:01 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67E521231DB for ; Sat, 24 Sep 2022 01:05:31 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id k10so3534812lfm.4 for ; Sat, 24 Sep 2022 01:05:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=2ZOAScRGs8H4Skqtdv8bR90lbkI6ciAoFEEK65l9ndU=; b=ZvhT9gNGcaJEZJVoBbcwYgj47LQayW17GGYraWCGkGD+AkYvYb3yrNROSbxBikCSgw sQWQ0S1PAcOxqAicqc3pHcPtOcbaMK+bxn/bJ5T/Cp9sH144/AqzArtfLyNmVFLXn7Kq flt9rd3B0cJ8/GbVdq2J/TGLmrUFi74hB7DZfgX20jvOznmbhvTAp6I8oOqAi6zEPA1J q/7kFwPGxlyMPl+FdHI8H0u/VCZctB2axxaSKfEMVsqQPN75wUcujayGwKZUTPplB+qS fzyLP6bwD+uYVR8wiz931Erxp0CrfoQ2JDQB6KKnFgO5xVVL/kWcM09qhi1+Kh1+keVO Hmmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=2ZOAScRGs8H4Skqtdv8bR90lbkI6ciAoFEEK65l9ndU=; b=LOtWdFVMvD6yI6VSKosiN5rNIXIJjFfz8KWEXml9ex4qJkRIjyB+/f+Xf2jTeMdMkk aoiI6A+0MxJ4dEPzvWQi+YzLHCJh+frRcHTq2iMokgHUo6H2g/swuo/P2gBoj8+6Hc7b v9u5E5p4pIPCPTfv4Ha2XLEKbF7R/cpkkW98ZxfviVRNLBcNqx2TTMQJgGtT+5Vdo0+9 QGKKagb7PiXhHLvu7F2oiAX15fCBkvVFZVrlssM+aPIs74dQAuK8zNL7SEGXBkdyxSkf uJcQe2iEpSxFZOnmcR00bJmfjRmTluqntWE56XSpD+YiXshNzzYky7kRONUndCB413EQ lsaQ== X-Gm-Message-State: ACrzQf32oNch7QvZJ7/DTkYmz53j7G4/Iksncx+lm+AjKPan+cPkIsHH hDURHU02+CjyHBm8f86beNOPnA== X-Google-Smtp-Source: AMsMyM78F5Im26vGOFszmeaQHuEieX5lRowpZ493fB1/I2ih3jESZ+tyqDqxRBm6uGTqHjcMMDVXoQ== X-Received: by 2002:a05:6512:3da1:b0:49f:1b3d:88b9 with SMTP id k33-20020a0565123da100b0049f1b3d88b9mr4535243lfv.67.1664006730777; Sat, 24 Sep 2022 01:05:30 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:30 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 18/32] dt-bindings: pinctrl: qcom,msm8909-tlmm: fix indentation in example Date: Sat, 24 Sep 2022 10:04:45 +0200 Message-Id: <20220924080459.13084-19-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Bindings example should be indented with 4-spaces. Signed-off-by: Krzysztof Kozlowski --- .../bindings/pinctrl/qcom,msm8909-tlmm.yaml | 60 +++++++++---------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.ya= ml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml index e4332e628698..a49e91c6e31e 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml @@ -127,35 +127,35 @@ $defs: =20 examples: - | - #include - - pinctrl@1000000 { - compatible =3D "qcom,msm8909-tlmm"; - reg =3D <0x1000000 0x300000>; - interrupts =3D ; - gpio-controller; - #gpio-cells =3D <2>; - gpio-ranges =3D <&tlmm 0 0 117>; - interrupt-controller; - #interrupt-cells =3D <2>; - - gpio-wo-subnode-state { - pins =3D "gpio1"; - function =3D "gpio"; - }; - - uart-w-subnodes-state { - rx-pins { - pins =3D "gpio4"; - function =3D "blsp_uart1"; - bias-pull-up; - }; - - tx-pins { - pins =3D "gpio5"; - function =3D "blsp_uart1"; - bias-disable; - }; - }; + #include + + pinctrl@1000000 { + compatible =3D "qcom,msm8909-tlmm"; + reg =3D <0x1000000 0x300000>; + interrupts =3D ; + gpio-controller; + #gpio-cells =3D <2>; + gpio-ranges =3D <&tlmm 0 0 117>; + interrupt-controller; + #interrupt-cells =3D <2>; + + gpio-wo-subnode-state { + pins =3D "gpio1"; + function =3D "gpio"; }; + + uart-w-subnodes-state { + rx-pins { + pins =3D "gpio4"; + function =3D "blsp_uart1"; + bias-pull-up; + }; + + tx-pins { + pins =3D "gpio5"; + function =3D "blsp_uart1"; + bias-disable; + }; + }; + }; ... --=20 2.34.1 From nobody Thu Apr 2 11:45:46 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4B7FEC07E9D for ; Sat, 24 Sep 2022 08:07:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233813AbiIXIHM (ORCPT ); Sat, 24 Sep 2022 04:07:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233621AbiIXIGS (ORCPT ); Sat, 24 Sep 2022 04:06:18 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E95A11ADE0 for ; Sat, 24 Sep 2022 01:05:34 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id d42so3611475lfv.0 for ; Sat, 24 Sep 2022 01:05:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=tI3YcFf7I0VJoXV1p2liiPk9SIh1pwH6bZoypN8Fx6k=; b=cWc7G8MNLRbZcxslT7vdZB+/ctFVAmxxoDJaqE4owUMdEs8S++51x+EjSTNA3u0R2g /2bJDt6gT+H0nBTSVhO+TRSyaL7gISRjYGZud88UNv+9FbmaBrXCnV6ZetVDWE1T8+hH 5K3ESnAJVMG5RqSyheidTMQCDt9iZtkX8ozvfgQGpLG93xLfR4/y+pSmN5wSrAYAgF4Q LVVXHyYQ6YyxdGMKrhGehKafAQ/CsYB+TXKi2p29soCVnwqTLbT4YG83KOKdDrVZmt8p L0Q3mHwbo+EzF5dcRdlnUpYN98T74GVEQ3O6xxqEaddoVGpBeab8Zq7DgDiiAgBrzJC+ KmMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=tI3YcFf7I0VJoXV1p2liiPk9SIh1pwH6bZoypN8Fx6k=; b=DJTuDIYDC1loR24KVV6A05q3Lu9xSyWSa7RnfMlUAdKe+gQqlvMJaOWDl9PDTCudoN UIBhet/rPAjCJirgyrrhmK3TpyMNMx/QvkaE0djAVuT2+EXJSBMxqWII5l/453Hp+1Y3 1Fg3KJowTbWLmkU35G75Sk5FeikQ3iPiP2JMcH/U2dD370K3iyB//UESHJxAF6Gj86/a gl1NMpT0/Ri0cdZgKpEp9Xd1EFPUBEa3/xfsUMtkReV5CyfDiTMc9OXnIYbm+umZflu3 zFWAf6XneRkN2FD/mYYtS8u19jK2bpWXG7HvUpSG5bLgQt+CNGa0sqwoK7xHMw8KjYG/ hMIQ== X-Gm-Message-State: ACrzQf0A7Gqba425Ho7xut6BZuSpqWDc4cwTvbC6hZjLSJbDexQWiV4K I9vVgWK2bu5D1j7NziQ7ZOQgGw== X-Google-Smtp-Source: AMsMyM5QCZvY2kSyIDjhblOVJmECCo6yI6RDv8+qGfm/6pF5i4v72BGYL98vajM+mR/NUgglM2gnEg== X-Received: by 2002:a05:6512:2820:b0:4a0:5395:20f0 with SMTP id cf32-20020a056512282000b004a0539520f0mr2479425lfb.384.1664006732189; Sat, 24 Sep 2022 01:05:32 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:31 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 19/32] dt-bindings: pinctrl: qcom,msm8953: fix matching pin config Date: Sat, 24 Sep 2022 10:04:46 +0200 Message-Id: <20220924080459.13084-20-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The TLMM pin controller follows generic pin-controller bindings, so should have subnodes with '-state' and '-pins'. Otherwise the subnodes (level one and two) are not properly matched. This method also unifies the bindings with other Qualcomm TLMM and LPASS pinctrl bindings. Signed-off-by: Krzysztof Kozlowski --- .../bindings/pinctrl/qcom,msm8953-pinctrl.yaml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl= .yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml index d4da558cde54..c162796ab604 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml @@ -44,9 +44,17 @@ properties: gpio-ranges: maxItems: 1 =20 -#PIN CONFIGURATION NODES patternProperties: - '-pins$': + "-state$": + oneOf: + - $ref: "#/$defs/qcom-msm8953-tlmm-state" + - patternProperties: + "-pins$": + $ref: "#/$defs/qcom-msm8953-tlmm-state" + additionalProperties: false + +$defs: + qcom-msm8953-tlmm-state: type: object description: Pinctrl node's client devices use subnodes for desired pin configura= tion. @@ -163,7 +171,7 @@ examples: #gpio-cells =3D <2>; gpio-ranges =3D <&tlmm 0 0 142>; =20 - serial_default: serial-pins { + serial_default: serial-state { pins =3D "gpio4", "gpio5"; function =3D "blsp_uart2"; drive-strength =3D <2>; --=20 2.34.1 From nobody Thu Apr 2 11:45:46 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 86BD4C32771 for ; Sat, 24 Sep 2022 08:07:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233845AbiIXIHh (ORCPT ); Sat, 24 Sep 2022 04:07:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233632AbiIXIGZ (ORCPT ); Sat, 24 Sep 2022 04:06:25 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63E7A124C30 for ; Sat, 24 Sep 2022 01:05:35 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id d42so3611513lfv.0 for ; Sat, 24 Sep 2022 01:05:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=OXB1JJnvpREkopChp5a3jHnCV18ZCMCVb3LDYC85iAk=; b=Qw0XMyxq9XhsGSV8rSRc8Cn/Z578WiwrCcAe5Ew7wb1vPGFEkf6wsUcmKenupTszy8 0JZXNSLc91S5vWT+vw4Z8GHN8Ecqhsf96VSoKvaZuIDzHDpLxIpnW368ZiXAGTjttYrO Zwu979JfhNp1KibG+6cG+HAvtZc1xU/6hka/9YL2usT9ALUzig330awETosq4WJaJVqs T/434vtC6U/yyB3BSCyDYlPd0jsYZcbV7WCl61yNTljCJs8shUw2JEJKzsFfOijy8Je2 fOipT0ijYLM0SZ6Z0S2ZDKdO93U9ECBsPm5C+waEa8gKYfQGtKhh+hqA/oZ+XYcQKJ7d Gsvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=OXB1JJnvpREkopChp5a3jHnCV18ZCMCVb3LDYC85iAk=; b=QRgZAnFUhVaQZCWn7dCYKrdr564mn76T9luMrfxfwG8EBCyie5ZWgxiNJyhpZ0miPJ R86F6sQ7eO3DDeOJzYbPYvXcGakVeayShCjt1EnLQcIDczBFa++LUOBdgKA6LG81Hl6h 5UihJrC5UjaylfweC/761BFqlTstdyHxrjIYtSVxdrU76qE4LzIjxp4f+80D4JDBfT/j VKvsydFfL41T0i1EeG+w0G+c1RuqHpIIMse4mIwoGdC3u+FqZO5D+SmjbO/S4P8StvRk Vvqd98bfTao2vspPIH1TeEwcbNzlPKTRmgEMHbe4EQSqWgy0zDie2prXML2MRjggJC0n p0gg== X-Gm-Message-State: ACrzQf36iZW+xtOpLaXO8v+hnUmjjF2tPGtUil6qn8TOLoN7aHa9RMPd YTmPJ3hDiWY0h23NcLLFSbPC9g== X-Google-Smtp-Source: AMsMyM6/dvw76Ol2pCwL8Hm50D4bo1Ci0W33LWDkwe6Vi9rDoTeyhqOjp6PAm6oiZ1o/ddijQlPiOA== X-Received: by 2002:a05:6512:3128:b0:499:3c1d:f9e with SMTP id p8-20020a056512312800b004993c1d0f9emr4770567lfd.634.1664006733589; Sat, 24 Sep 2022 01:05:33 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:33 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 20/32] dt-bindings: pinctrl: qcom,msm8953: do not require function on non-GPIOs Date: Sat, 24 Sep 2022 10:04:47 +0200 Message-Id: <20220924080459.13084-21-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Certain pins, like SDcard related, do not have functions and such should not be required. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../bindings/pinctrl/qcom,msm8953-pinctrl.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl= .yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml index c162796ab604..67d3d90839ad 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml @@ -59,7 +59,6 @@ $defs: description: Pinctrl node's client devices use subnodes for desired pin configura= tion. Client device subnodes use below standard properties. - $ref: "/schemas/pinctrl/pincfg-node.yaml" =20 properties: pins: @@ -139,7 +138,16 @@ $defs: =20 required: - pins - - function + + allOf: + - $ref: /schemas/pinctrl/pincfg-node.yaml + - if: + properties: + pins: + pattern: "^gpio([0-9]|[1-9][0-9]|1[0-7][0-9])$" + then: + required: + - function =20 additionalProperties: false =20 --=20 2.34.1 From nobody Thu Apr 2 11:45:46 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 81E0BC32771 for ; Sat, 24 Sep 2022 08:07:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233766AbiIXIHa (ORCPT ); Sat, 24 Sep 2022 04:07:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233756AbiIXIGY (ORCPT ); Sat, 24 Sep 2022 04:06:24 -0400 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7FE5124C0B for ; Sat, 24 Sep 2022 01:05:35 -0700 (PDT) Received: by mail-lj1-x22f.google.com with SMTP id b24so2307892ljk.6 for ; Sat, 24 Sep 2022 01:05:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=vixtjzQEFhxmeb9aw2Fa7RIQ5p3yDWyK7tLeGuq1/oA=; b=w3ey7RiXbNN/tFzziGglHlRF9pyLgrrtJyyvu9JmAwAnIuQpJG8kvI+D6mhcErxdxD oBzbeOqbh4wb/kLDFWIhQTcs7qSI+eIcZyJlgHe9UitripyvlAJT3CcjZ3yQEyJ+vlvH hGFOsZs6tED7L8HsXYDa3ipXFdDa3L9oDZDDA43dg8U+KeI+Bs9kITOX1wuu85gb9sQK IHkrhTNhB/QkVCPRwDT0g0aQe7O0bkefqH7nRA1lcf+wJJSmoCjaSzDcGzvBM0a3ahsm XHG5ayiybe9PhocW1Ooepo0bdStg9yqffEHAphiWFJ15AG0v7uKHUzQdlicO9zhVOOu4 epaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=vixtjzQEFhxmeb9aw2Fa7RIQ5p3yDWyK7tLeGuq1/oA=; b=W96IQvAWk1ygwG1XRkP6MsN0lt+b4quWccTzX49qMRmhtwBCy4zmAi4qABtG36vV4n EouSRYEkwWqQjF8N63Ju9+CPfhK11n5s5VO5NwuPCJTPzzJMlewMTxD/wHEW+MwLRlrD DNK5uW1+lGFFAKfYe4Uy3b19hhTFDDXVDE8Ks8kgeUPui4a69Nryj8HyPWqlw/Dy/cfz Ye0fzsEzouEXiIwDHbfplBHfOSpAiB944Cjwkk1BN5YsskXxn5klHCKgRHAj2umbgk3H nM9H/dbO38je4Wd3ZUCsTD11PfKcM9MOa6CEvBeCz+m2i3B9thahl/ppx4dN7EdiZ18B +LJg== X-Gm-Message-State: ACrzQf0+x+x8fmTxX3SsojOQEW9qHRfoZ47nfOuqc9CjUoLLG0D2cZVh EJQ60Q/B0rAoBXzbaC2p0Yz3CQ== X-Google-Smtp-Source: AMsMyM6gXdtPbcAtTAGNR+izXH908tPToV0v64MOJSFQcIwwu3q4wYr9U6HkLgDGGoKahUrbOI6AXw== X-Received: by 2002:a05:651c:1027:b0:26d:8b41:a081 with SMTP id w7-20020a05651c102700b0026d8b41a081mr264859ljm.106.1664006735138; Sat, 24 Sep 2022 01:05:35 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:34 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 21/32] dt-bindings: pinctrl: qcom,msm8953: fix indentation in example Date: Sat, 24 Sep 2022 10:04:48 +0200 Message-Id: <20220924080459.13084-22-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Bindings example should be indented with 4-spaces. Signed-off-by: Krzysztof Kozlowski --- .../pinctrl/qcom,msm8953-pinctrl.yaml | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl= .yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml index 67d3d90839ad..3e3fcfc0261d 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml @@ -168,21 +168,21 @@ additionalProperties: false =20 examples: - | - #include - tlmm: pinctrl@1000000 { - compatible =3D "qcom,msm8953-pinctrl"; - reg =3D <0x01000000 0x300000>; - interrupts =3D ; - interrupt-controller; - #interrupt-cells =3D <2>; - gpio-controller; - #gpio-cells =3D <2>; - gpio-ranges =3D <&tlmm 0 0 142>; - - serial_default: serial-state { - pins =3D "gpio4", "gpio5"; - function =3D "blsp_uart2"; - drive-strength =3D <2>; - bias-disable; - }; + #include + tlmm: pinctrl@1000000 { + compatible =3D "qcom,msm8953-pinctrl"; + reg =3D <0x01000000 0x300000>; + interrupts =3D ; + interrupt-controller; + #interrupt-cells =3D <2>; + gpio-controller; + #gpio-cells =3D <2>; + gpio-ranges =3D <&tlmm 0 0 142>; + + serial_default: serial-state { + pins =3D "gpio4", "gpio5"; + function =3D "blsp_uart2"; + drive-strength =3D <2>; + bias-disable; }; + }; --=20 2.34.1 From nobody Thu Apr 2 11:45:46 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 47452C6FA83 for ; Sat, 24 Sep 2022 08:07:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233826AbiIXIHX (ORCPT ); Sat, 24 Sep 2022 04:07:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233747AbiIXIGS (ORCPT ); Sat, 24 Sep 2022 04:06:18 -0400 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63C391251A5 for ; Sat, 24 Sep 2022 01:05:37 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id j24so2322192lja.4 for ; Sat, 24 Sep 2022 01:05:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=I9UI65DEwAIEvnPw/7Aklq9Nug9drrNeZhV+82t1En4=; b=coQfwEXcRvx4ZbcQ4ke1HnuHdi5hVuUsbEBsrM9hTNtsP5FWLCfljrBMJeHbQ2B7Kn ZYn2/jpgH8gaXoBaNHzUffbEhA7NOYrM1T1RGTHMxcTONyPIf+MHfzt+nAaDnA1f13EU pVN9jUNZtGF/EdpD/BSVukWhMBia6wpLicsHciD5v8BxZOdZGXVu9284/uTDafttsF3S DY0UObeu3j/TOno6Yr0N7eO0MZsaz0Ji8xUYVdh+ngKxLSmMC4LxAo2W/2wij44PvRyp +mQ0hkdbm9kOgIBhUsO51UOVYGVjFw8J8nWRHF5atLGIrpQjKSpPdETSI964cHz9A7OQ uSNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=I9UI65DEwAIEvnPw/7Aklq9Nug9drrNeZhV+82t1En4=; b=ptFPx4M/bnanVORguCybjf+FPpenjd14EaOhqX+VQnRyjGJzfxMMrpdQ4PcBwwn3Ux xO9YZNbe98qyBVrGENR4/8qNYIKf/7ChE8s4r/tUBWk5cz8KGqiYlRM6cMdpJ/0rJLbK HGamlkAzYYD7bfZoWH22beoTviep8s5zd7/43IOw6zEnFKMS1StTXoOW+kz+mzVls5gT ATNLfJoDLFWJ//vL7GL936z8KWWx7M9mrs/PVee96rgmqh0Ih9/MdI/dKgFtkbQplk7c ApyYtZsOxNSUMsFLOsnfnxF4CX8q4PLgQ1Dbg3dPWjuVYxQa+u2DGNKJy5k5GVKHZElw Ae/g== X-Gm-Message-State: ACrzQf2WqKkOoktfAMqxcLYMz0ZSifUwKDX5dDvT2SOTihwGdkCRxNSn 4XZ0BdVsinO3c+LWz4hweXaZIA== X-Google-Smtp-Source: AMsMyM7sRo70fgBGTXgxjxqoLxubcDvl0NgXGmiAAPeKxyLV70pEN8PKSiXAusDGICoBOzkh7KFRhg== X-Received: by 2002:a2e:a7ca:0:b0:26c:51d6:55ed with SMTP id x10-20020a2ea7ca000000b0026c51d655edmr3940457ljp.426.1664006736602; Sat, 24 Sep 2022 01:05:36 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:36 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 22/32] dt-bindings: pinctrl: qcom,mdm9607: do not require function on non-GPIOs Date: Sat, 24 Sep 2022 10:04:49 +0200 Message-Id: <20220924080459.13084-23-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Certain pins, like SDcard related, do not have functions and such should not be required. Signed-off-by: Krzysztof Kozlowski --- .../bindings/pinctrl/qcom,mdm9607-pinctrl.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-pinctrl= .yaml b/Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-pinctrl.yaml index f7bd4be1739e..ef22090fd6d6 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-pinctrl.yaml @@ -53,7 +53,6 @@ patternProperties: description: Pinctrl node's client devices use subnodes for desired pin configura= tion. Client device subnodes use below standard properties. - $ref: "qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state" =20 properties: pins: @@ -115,7 +114,16 @@ patternProperties: =20 required: - pins - - function + + allOf: + - $ref: "qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state" + - if: + properties: + pins: + pattern: "^gpio([1-9]|[1-7][0-9]|80)$" + then: + required: + - function =20 additionalProperties: false =20 --=20 2.34.1 From nobody Thu Apr 2 11:45:46 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 770C7C32771 for ; Sat, 24 Sep 2022 08:07:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233832AbiIXIH0 (ORCPT ); Sat, 24 Sep 2022 04:07:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233672AbiIXIGY (ORCPT ); Sat, 24 Sep 2022 04:06:24 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C5FB12579B for ; Sat, 24 Sep 2022 01:05:38 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id w8so3474947lft.12 for ; Sat, 24 Sep 2022 01:05:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=Q5dFwhz+edvWchiYpL/Tsu1LCXZgF2hAyN0xPGws2rk=; b=lYgFmekYB50Zn9KViRzYwJLlONX1+wIkUsdAol4JZiqkW4I2z5K3wGdRIlUk9qVhTC +/QDcSMeJ2u/OKYJJB38B0oTINgdPfxcuehvkFTUbNZZLymkpUmunj/aCXRdhhWiRp0r 09aIcNlzhf2eGhG3fDpm1/PaWk86HNsMxC/AZ7efT7moyaqtx0XR+rPYC/C+DDOB6XxG YQws/LLT4qt5y3tI9fOvhto3hJ6IPlZELPIbTyNwe16Bd21nRD5wa1ESa1f8xQGrKT/G ATBE63uIFkGwf1aABDv0t3HdUzCspCt6U/sY+WU9+feaOXkbGzezSN2zXQBD26pCZyDu ECug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=Q5dFwhz+edvWchiYpL/Tsu1LCXZgF2hAyN0xPGws2rk=; b=mbERzKqLFyxfJsK4wlkTJnqU98TmjTYUG2C1pYkckLYkgd0vyxmUGvFxp0yFmE1g+S Ma+7y6eOklBfc8T0VyYLsdbc/csluuEwi15vpbkfTaupZTN/L51lYNJN2IbzIpoetfrb o9rXdyxfAN/FAK7k7v2h6WFH7VnasqhJIRJS/3oIcRtXxa7s1CLjVoI/+Vvg+5mI+zT3 IUSyiAmbBHxogyWxWOT5p4Tv5XCRe1koXE6C5Ae3c2lNHkchw6UsZstraIpjeNo98KK2 ipAaiPoe9Dj1GhSfoQ/lSsIWOPNOVLkhiGgljqykAC5ER4ZDVyCQR5uzPiJmZZb6EJL9 csaw== X-Gm-Message-State: ACrzQf0nULWKgDDZK6xgf/aSio/NDBotaVh6geEfOW+tTovyuvc1Ah2t WuFswNeCz83NX2cA8gDovnp5Fg== X-Google-Smtp-Source: AMsMyM7KegMaIGZG+TBkBpyFQfR7Jmx/BeTgWcRH+6qR0xtKP8Ugwl4qEwkOnbGI13LW+Q15ZG7KcA== X-Received: by 2002:ac2:5097:0:b0:498:f5b9:7a6f with SMTP id f23-20020ac25097000000b00498f5b97a6fmr4786708lfm.640.1664006737771; Sat, 24 Sep 2022 01:05:37 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:37 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 23/32] dt-bindings: pinctrl: qcom,mdm9607: fix indentation in example Date: Sat, 24 Sep 2022 10:04:50 +0200 Message-Id: <20220924080459.13084-24-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Bindings example should be indented with 4-spaces. Signed-off-by: Krzysztof Kozlowski --- .../pinctrl/qcom,mdm9607-pinctrl.yaml | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-pinctrl= .yaml b/Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-pinctrl.yaml index ef22090fd6d6..3757d6841085 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-pinctrl.yaml @@ -129,14 +129,14 @@ patternProperties: =20 examples: - | - #include - tlmm: pinctrl@1000000 { - compatible =3D "qcom,mdm9607-tlmm"; - reg =3D <0x01000000 0x300000>; - interrupts =3D ; - gpio-controller; - gpio-ranges =3D <&msmgpio 0 0 80>; - #gpio-cells =3D <2>; - interrupt-controller; - #interrupt-cells =3D <2>; - }; + #include + tlmm: pinctrl@1000000 { + compatible =3D "qcom,mdm9607-tlmm"; + reg =3D <0x01000000 0x300000>; + interrupts =3D ; + gpio-controller; + gpio-ranges =3D <&msmgpio 0 0 80>; + #gpio-cells =3D <2>; + interrupt-controller; + #interrupt-cells =3D <2>; + }; --=20 2.34.1 From nobody Thu Apr 2 11:45:46 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0D92DC6FA83 for ; Sat, 24 Sep 2022 08:07:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233858AbiIXIHy (ORCPT ); Sat, 24 Sep 2022 04:07:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233491AbiIXIGp (ORCPT ); Sat, 24 Sep 2022 04:06:45 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C077E127552 for ; Sat, 24 Sep 2022 01:05:39 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id a8so3475850lff.13 for ; Sat, 24 Sep 2022 01:05:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=xvXRb0zwWe37WFjqVxzmYbo7BlnZOnYHNQaO1Kmsw4c=; b=Vbx6fjcxdI4URQ5mGd34Rh6hNGO15J2BW3J0yM7ZdJRLJw46XtLcfRBF7X98IWmsdq f0vJgMwvjU94NJ0ArdZEIYqN9JOxunHjJ8aUnsdxS0h3RBCfum95aJuWFGBP57Zj+sGm F/hhKHKQy62NzAZfVBJDm0iqulzzWqNtxXWhQUK8FtcO97O3dSdOmDmLTZl7JMqPiIEY crMCZj4bJPeM5+BogWl4OUhlcx0TTa9orzMMk3KMW3dWkGOLa87ZeWbr0JW+RgQg8w6y sToM4v3Dfe7s85+FSlADpgLonRep71LkinR4Yq9EDYBmIZM2QTBUnBcLUPap8ntHhzvg 066A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=xvXRb0zwWe37WFjqVxzmYbo7BlnZOnYHNQaO1Kmsw4c=; b=aXi0gtVWgoiFnAmEcEhjJfAxdSwgpzx48XQq5y+VN5+uFnYwD0KXvqJJFtIEvUaz88 k27s6ybjWi67f8x1+lobvxgVzCraJrq3nhQnEy0L9qHW7+8v0CKyAN5kgzoFD4mDbaTO dc873UbPg7sNM8DV3ft6RBWPCYJmSCWzBMHOBqHKRvHypnqLGaH6kqRQBMzEOmrkqzXQ h6VbH5hRmosuIHq9sHB78N/ACWKqhuhuEpS0gdhmlDjC0NZwUFW3A1He+mZDkQsjmKAk snn2I8pcIJSfgMhOj666fN6JbSEDD8HSpqi7OAcKAsHHz1Uq+Sd+FN+IMq0802e/9YfR jE2A== X-Gm-Message-State: ACrzQf3/h25Z54KIp06upkCYFaC5u83LgN1pd03LSTxrc8FOY2Bh95OE zbfInJXq/lelAwiAo+CAkQy37w== X-Google-Smtp-Source: AMsMyM7r7AHN4fwhNau/v10IiRAB0j5Idl3h4smJwZTOVUYaQTyxriGuFPv7cBkAROeYQ5JI+DorEQ== X-Received: by 2002:a05:6512:3e10:b0:498:f317:e57e with SMTP id i16-20020a0565123e1000b00498f317e57emr5078453lfv.328.1664006739014; Sat, 24 Sep 2022 01:05:39 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:38 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 24/32] dt-bindings: pinctrl: qcom,qcm2290: fix matching pin config Date: Sat, 24 Sep 2022 10:04:51 +0200 Message-Id: <20220924080459.13084-25-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The TLMM pin controller follows generic pin-controller bindings, so should have subnodes with '-state' and '-pins'. Otherwise the subnodes (level one and two) are not properly matched. This method also unifies the bindings with other Qualcomm TLMM and LPASS pinctrl bindings. Signed-off-by: Krzysztof Kozlowski --- .../bindings/pinctrl/qcom,qcm2290-pinctrl.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-pinctrl= .yaml b/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-pinctrl.yaml index 3f4f1c0360b5..5324b61eb4f7 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-pinctrl.yaml @@ -50,8 +50,9 @@ patternProperties: oneOf: - $ref: "#/$defs/qcom-qcm2290-tlmm-state" - patternProperties: - ".*": + "-pins$": $ref: "#/$defs/qcom-qcm2290-tlmm-state" + additionalProperties: false =20 '$defs': qcom-qcm2290-tlmm-state: @@ -146,19 +147,19 @@ examples: gpio-ranges =3D <&tlmm 0 0 127>; =20 sdc2_on_state: sdc2-on-state { - clk { + clk-pins { pins =3D "sdc2_clk"; bias-disable; drive-strength =3D <16>; }; =20 - cmd { + cmd-pins { pins =3D "sdc2_cmd"; bias-pull-up; drive-strength =3D <10>; }; =20 - data { + data-pins { pins =3D "sdc2_data"; bias-pull-up; drive-strength =3D <10>; --=20 2.34.1 From nobody Thu Apr 2 11:45:46 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DC1C1C07E9D for ; Sat, 24 Sep 2022 08:08:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233800AbiIXIH7 (ORCPT ); Sat, 24 Sep 2022 04:07:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233798AbiIXIGs (ORCPT ); Sat, 24 Sep 2022 04:06:48 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24943127572 for ; Sat, 24 Sep 2022 01:05:40 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id w8so3475034lft.12 for ; Sat, 24 Sep 2022 01:05:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=XFjm6zy5pNuV6EFMWZDa8Aqoeg4BjA/X1Ww7Riz4YHM=; b=d88SHg6hQjd6/po0T0mVTUf8gaetCCcJuTdE+f8xyTPEAc5N7nPRWUyiVepvM7h2KR kLqUhiOgEQUZ+jWr4tOHZuqRrjDbK4OAw0T5KSNbgbrOAgNka2gozp92IAPbjOye8eeG wvG6Yi5JZpVh6n5rgNmuNCbUlmAEDCk26EmXw3nXXfKbP5g4/xLorMY6iGPjOfw8F4mC s3LOjbeiU9clUAuNl201I2VsWyLLVFcmFpbaEFrkQ/uE2zlqjfpGOG71XS2sOiOIoxaM za+93spcesN1+1sbxoY+IaJoXzhVmwprCOGHDA25v9p8W1BEQ0KkJkmkS1er/sC9O+IZ p1fQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=XFjm6zy5pNuV6EFMWZDa8Aqoeg4BjA/X1Ww7Riz4YHM=; b=7UVB09RoYAQ4MZ3XxZ5lPNi+Vo+Robjfi40AUSJn/ctR5l1BJQWQ0LFnLoU5WkZFFr SHqJGAsSA/8mUOJRihuMAELvZesxAyUFkiqTlGtvKBwb+hJZFJ1AD6InbHBf1APAeWYK dEouRrH2Wk7NRB2ciV/4ff2DVYr0kTl47BeD96kIAV4PFYuR2+TRklr+NmunQbC51qUM +HhVMMQtXImtuIcUQgdBhehfQSNF+sAljpBLC/lfkT02trtpgWu2mZ96zkHs2ypSx15x YWX3p3M+o4fw2YI0uX2coi51w6Mjlwdtx2cA5VO19lkKsxEPFr4mvC17ji+gMEh2X57Q fjFQ== X-Gm-Message-State: ACrzQf0QHmscedEkRKEiniHkrRoXv+ycvk5X9eHOnij3gkWOMfwonuCc rphrvtemja+4h1K19os+ENS3YA== X-Google-Smtp-Source: AMsMyM43sU6MM8cUoob4M5l0eYTi46ZkJ/Sn1rji1oXq0MyTlZzSxWdnSJ0i8i7LnsB0rOZ1Ao4DSA== X-Received: by 2002:a19:5e50:0:b0:497:a331:91d9 with SMTP id z16-20020a195e50000000b00497a33191d9mr4876766lfi.162.1664006740286; Sat, 24 Sep 2022 01:05:40 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:39 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 25/32] dt-bindings: pinctrl: qcom,qcm2290: do not require function on non-GPIOs Date: Sat, 24 Sep 2022 10:04:52 +0200 Message-Id: <20220924080459.13084-26-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Certain pins, like SDcard related, do not have functions and such should not be required. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../bindings/pinctrl/qcom,qcm2290-pinctrl.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-pinctrl= .yaml b/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-pinctrl.yaml index 5324b61eb4f7..89453cb60c12 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-pinctrl.yaml @@ -60,7 +60,6 @@ patternProperties: description: Pinctrl node's client devices use subnodes for desired pin configura= tion. Client device subnodes use below standard properties. - $ref: "qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state" =20 properties: pins: @@ -116,6 +115,16 @@ patternProperties: required: - pins =20 + allOf: + - $ref: "qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state" + - if: + properties: + pins: + pattern: "^gpio([0-9]|[1-9][0-9]|1[0-1][0-9]|12[0-6])$" + then: + required: + - function + additionalProperties: false =20 allOf: --=20 2.34.1 From nobody Thu Apr 2 11:45:46 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F3DE1C6FA83 for ; Sat, 24 Sep 2022 08:08:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233808AbiIXIIC (ORCPT ); Sat, 24 Sep 2022 04:08:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233799AbiIXIGs (ORCPT ); Sat, 24 Sep 2022 04:06:48 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F0CB130BE5 for ; Sat, 24 Sep 2022 01:05:42 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id a14so2300459ljj.8 for ; Sat, 24 Sep 2022 01:05:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=8nwp/MQe8qtj/E8pIN4GqMEGKKKg4JslS5CxcegQMDk=; b=IHq5m2G1mEGHNQi9oW5df5bFeje0cLCRYx+363ZOhCWSr9Q0eu16Khx72mjZTzW2dL x6jI2lTJpDicPfpc7Md5EhYgLgvSplJZdqoB9XuXuhrMQ0j0fNJHcXIc+tieh4tAS14g mvR/BB7UJiCTPPiA7KzCb8fCALmpXWLc5EuuAEy7x2mAzGqVTBwUGDTA+aED2Wj1bgGo GjYI9A+l5Wq3ZvtUcxfL9RvwdJzjsXVEQjJqIH+9stdRPQ90TB+LV5jSe8YQ+dTJufNx g/d0BJVMlsJuXN9mQckTFJcP8P33D/LckdW5UnJUyydWZK7bSchDZJY0TqgOzsrEW9Wt Ukvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=8nwp/MQe8qtj/E8pIN4GqMEGKKKg4JslS5CxcegQMDk=; b=A4MO0JZcKhE6ntraUI9ONcEbpLkCkLub55blUuVZzkw1lSSMSAxOVcesu+c2NEUTMX f7VUZx8hvYp0C2YtCG5sawtsGYDSp/+jz5jqG9iTA8AKhP8CYIxCmWVSvmMkSZA9a9Yw 4Gi38mUy8PQ88Vh2xuhJF5FFmibjB/fBYcbRGN3oXINi79tg+3t6pUAnEqeZ7QBfQFta Tn0UeDjDRl4c0C/ceyG7rpocQP3EuJSpRSjp6s0HQ7U+P2LdHEwyt7/Ye5RGVOQejYhI IDCRaQKsmVNCJ07ezyZB3zzRHxFShUb7GtPdJ+lTEIk93fdYgqNcAr1XoxaOFRbFX1xT 776Q== X-Gm-Message-State: ACrzQf2JKyWekaiTmCakkn2qM5ubdWhLpt7euIRdtU4qfRLYQWH0yGah c2BdjJk5xJbL+mrHAv1OH2Oo6Q== X-Google-Smtp-Source: AMsMyM4mblzni5JIHJDLuKzTnjVszENydJNmoF0LQXizQvfXuLie03AcVN2cs8b8AhGvvDqu/z56/w== X-Received: by 2002:a05:651c:1111:b0:26c:6b0f:472c with SMTP id e17-20020a05651c111100b0026c6b0f472cmr4028189ljo.384.1664006741589; Sat, 24 Sep 2022 01:05:41 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:41 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 26/32] dt-bindings: pinctrl: qcom,sdx55: fix matching pin config Date: Sat, 24 Sep 2022 10:04:53 +0200 Message-Id: <20220924080459.13084-27-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The TLMM pin controller follows generic pin-controller bindings, so should have subnodes with '-state' and '-pins'. Otherwise the subnodes (level one and two) are not properly matched. qcom-sdx55-telit-fn980-tlb.dtb: pinctrl@f100000: 'pcie_ep_clkreq_default'= , 'pcie_ep_perst_default', 'pcie_ep_wake_default' do not match any of the r= egexes: '-pins$', 'pinctrl-[0-9]+' This method also unifies the bindings with other Qualcomm TLMM and LPASS pinctrl bindings. Signed-off-by: Krzysztof Kozlowski --- .../bindings/pinctrl/qcom,sdx55-pinctrl.yaml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.y= aml b/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml index a38090b14aab..fff57abf4fbc 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml @@ -45,9 +45,17 @@ properties: gpio-reserved-ranges: maxItems: 1 =20 -#PIN CONFIGURATION NODES patternProperties: - '-pins$': + "-state$": + oneOf: + - $ref: "#/$defs/qcom-sdx55-tlmm-state" + - patternProperties: + "-pins$": + $ref: "#/$defs/qcom-sdx55-tlmm-state" + additionalProperties: false + +$defs: + qcom-sdx55-tlmm-state: type: object description: Pinctrl node's client devices use subnodes for desired pin configura= tion. @@ -146,7 +154,7 @@ examples: #interrupt-cells =3D <2>; interrupts =3D ; =20 - serial-pins { + serial-state { pins =3D "gpio8", "gpio9"; function =3D "blsp_uart3"; drive-strength =3D <8>; --=20 2.34.1 From nobody Thu Apr 2 11:45:46 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 973D9C07E9D for ; Sat, 24 Sep 2022 08:08:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233698AbiIXIIh (ORCPT ); Sat, 24 Sep 2022 04:08:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233853AbiIXIHu (ORCPT ); Sat, 24 Sep 2022 04:07:50 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D9EB154469 for ; Sat, 24 Sep 2022 01:05:56 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id u18so3505284lfo.8 for ; Sat, 24 Sep 2022 01:05:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=QNGxAbSYa/JdItjMwr8YuODhIc0b5cGCbpa0Z5P/1s4=; b=Y79NBdTflppNkFvLkmNJh+nQ2L1eIz9ZVD+Zzx12skyr5WK/wJAk+a9eChTWLHmUwV UQyDy2EcUDgojpppUPoDWdhocRv9Ki83j73EFjaLHx2NIblMp4kHUDM9nOneCtNxASh3 RADiGO3GJ0a6ySYI7ii8hzxJSrQQQoXEb1OGHrE6XZb238sbNAFBzTkdDGMRG1hiarsf H4mC+QuiyzVhCk7VmyPCRtTxxmfOtYqj+LT9aY/h57Ymwi+CQdrAn/57aMUefYmZIaQ+ c3KZvJGy8ZbThRpN2h2KKowv+i884+p3afnPVLXMz9hO4fP8lDX8gmFxM7cvRLsFYI87 vTcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=QNGxAbSYa/JdItjMwr8YuODhIc0b5cGCbpa0Z5P/1s4=; b=bbCIJuRSszBS6QDm2yj6Dz604kGYuRNo04ZgJ+FNRz1zdiNafBlzVK/dtsFfMMOTtH xzgnSHy/Z3gxLBgBkgq5JEdSb5PcO2TkBbZ6KbhjfpITCfqtXyduLMsQj0sHrvKdJr0w 7y9RbBGmhXsLv6riTw4qM2JqHOvVUWjup3G8sbFTXQipT6PYU1Z2PonDI2VjQwDkJ3B8 +r+19JufXABkHaT4gJ2IlJVfMmdQtnsi0j3OzaqBfXdbYK745XqTNTLdyy/eIzADkBDs dCwDLnvRmCA1QtSJqMeaeq5FJ4NcD0yVneFk99L2nRwPNXI9S5LSv7H5pDEP62N5VG77 tR4w== X-Gm-Message-State: ACrzQf31RXx1T8nLuir0Yh7RyQQsZlMu0jEZZN78SWgmdk1HnO3p9Ss3 ZCTpviy8JKbvGMNBCZ9iu91NgQ== X-Google-Smtp-Source: AMsMyM58Fq3RHeaIMMCZOsBAT+NzJs6X5/m0DTr/n9K/5AU+Lm8RHlxEivXAiW24lBprsRiZAQKJIA== X-Received: by 2002:a05:6512:12c8:b0:49b:8005:1d9d with SMTP id p8-20020a05651212c800b0049b80051d9dmr5043257lfg.489.1664006743222; Sat, 24 Sep 2022 01:05:43 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:42 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 27/32] dt-bindings: pinctrl: qcom,sdx55: do not require function on non-GPIOs Date: Sat, 24 Sep 2022 10:04:54 +0200 Message-Id: <20220924080459.13084-28-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Certain pins, like SDcard related, do not have functions and such should not be required. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../bindings/pinctrl/qcom,sdx55-pinctrl.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.y= aml b/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml index fff57abf4fbc..006aeec7794f 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml @@ -60,7 +60,6 @@ $defs: description: Pinctrl node's client devices use subnodes for desired pin configura= tion. Client device subnodes use below standard properties. - $ref: "/schemas/pinctrl/pincfg-node.yaml" =20 properties: pins: @@ -122,7 +121,16 @@ $defs: =20 required: - pins - - function + + allOf: + - $ref: /schemas/pinctrl/pincfg-node.yaml + - if: + properties: + pins: + pattern: "^gpio([0-9]|[1-9][0-9]|1[0-1][0-6])$" + then: + required: + - function =20 additionalProperties: false =20 --=20 2.34.1 From nobody Thu Apr 2 11:45:46 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 37A65C6FA83 for ; Sat, 24 Sep 2022 08:08:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233869AbiIXIIo (ORCPT ); Sat, 24 Sep 2022 04:08:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233696AbiIXIHx (ORCPT ); Sat, 24 Sep 2022 04:07:53 -0400 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BE5615447D for ; Sat, 24 Sep 2022 01:05:57 -0700 (PDT) Received: by mail-lj1-x22b.google.com with SMTP id b24so2308096ljk.6 for ; Sat, 24 Sep 2022 01:05:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=6+EgX4QUTZBqad+VbzdSiC8aLzAL/6GsYzQHJR1pJJ4=; b=h2wnBXHsAYs7WKS/KXFOg05ZsJYUONjRoyQPQnY/PDOhZEclvCv0VfY+/7fqOz8WeI bujzzF29RUWFcc3TvGD84JxC7bOo8BzcSF/rFaFXEMSqYqL24c8N9waA0gU/HDqMNvni QrvA0PNo7Wy8H7n6kpYZJBF6IpgpB+1B+r92xeyXyuQ/8EwCFpev3B3039mqFCBSbLwP WTGyTllTvjzmFTxEEVRHjpuiH+2fLd8T1XtQn8SdjCsI0iQ+CKMnqbH7/y0Krjpae1jU ob+GgmgieSPoC5IlYGZGaDS4cjLJc1y5clz59UzDHjlCOhMuzZM/WxiwbcW0XiVMfbPG fzEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=6+EgX4QUTZBqad+VbzdSiC8aLzAL/6GsYzQHJR1pJJ4=; b=UYMiIQAJy7YpSkK685VRMB7wwE+DlzYDjluBIFdPuQ8zE7Gf9tb/VLgUekr5429Kh7 X2nfe/KED1To3YOS16m/MyLlRgTkDu4vm80wkVBAP9jQO6yTx8ILFsQBbVP5nuucA717 Ti/VRGFQZ1Ov8P6PRJzCL1H20plCEqjh20tbJVck7iPGT90KVDPvKBQStS5W16pg0zz6 f3arB5cEOSRZkAMp58oQlEK2Mk/QSORzrzJV+8oRLuFKn5Dpjea3xB+wy6PO8hwrMt4I U/+ugvzlw9a6rbHLpNBHEvWdaQ8Fs1hlss33/08sIed0P71khqPGPKmyR8KJS1SolJkX jWkQ== X-Gm-Message-State: ACrzQf2AxpRhEjuNMrJQ5KgcSHfFmF5UjuvpAinKJ8QO5C6tj9oQXLAP m+4b3paXblYtZI4y6W0C7gao1Q== X-Google-Smtp-Source: AMsMyM7lmg1xzNo8qYpqlYg2XO2fMiN/E0vw+x6jpv28EdC1XKBZ2TP+nJsqLPlFmqfVQrnDx+rFPA== X-Received: by 2002:a2e:b8ca:0:b0:26b:e846:ead9 with SMTP id s10-20020a2eb8ca000000b0026be846ead9mr4086311ljp.224.1664006744469; Sat, 24 Sep 2022 01:05:44 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:43 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 28/32] dt-bindings: pinctrl: qcom,sdx55: fix indentation in example Date: Sat, 24 Sep 2022 10:04:55 +0200 Message-Id: <20220924080459.13084-29-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Bindings example should be indented with 4-spaces. Signed-off-by: Krzysztof Kozlowski --- .../bindings/pinctrl/qcom,sdx55-pinctrl.yaml | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.y= aml b/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml index 006aeec7794f..e381769e42ae 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml @@ -151,23 +151,23 @@ additionalProperties: false =20 examples: - | - #include - tlmm: pinctrl@1f00000 { - compatible =3D "qcom,sdx55-pinctrl"; - reg =3D <0x0f100000 0x300000>; - gpio-controller; - #gpio-cells =3D <2>; - gpio-ranges =3D <&tlmm 0 0 108>; - interrupt-controller; - #interrupt-cells =3D <2>; - interrupts =3D ; - - serial-state { - pins =3D "gpio8", "gpio9"; - function =3D "blsp_uart3"; - drive-strength =3D <8>; - bias-disable; - }; + #include + tlmm: pinctrl@1f00000 { + compatible =3D "qcom,sdx55-pinctrl"; + reg =3D <0x0f100000 0x300000>; + gpio-controller; + #gpio-cells =3D <2>; + gpio-ranges =3D <&tlmm 0 0 108>; + interrupt-controller; + #interrupt-cells =3D <2>; + interrupts =3D ; + + serial-state { + pins =3D "gpio8", "gpio9"; + function =3D "blsp_uart3"; + drive-strength =3D <8>; + bias-disable; }; + }; =20 ... --=20 2.34.1 From nobody Thu Apr 2 11:45:46 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5A90BC32771 for ; Sat, 24 Sep 2022 08:08:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233888AbiIXIIN (ORCPT ); Sat, 24 Sep 2022 04:08:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233812AbiIXIHL (ORCPT ); Sat, 24 Sep 2022 04:07:11 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B213014F835 for ; Sat, 24 Sep 2022 01:05:46 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id z25so3553136lfr.2 for ; Sat, 24 Sep 2022 01:05:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=t8+qCMdbFYWvCOtbDLsLD7tINzyrBmDRKDZb7KLMHDo=; b=wj7gXW76HGRB4ISM4MbJMdaYz9RO4fFyboHkEeGWqC+otdROMPPTqYkvKLDiOFAr8K Uo3y95gDkuMIhGb5qsd2WCbgfha03bEBFCr6NIx0UtdXEN7dJw8/sdJasC707VG6x2K5 leN/crNtKHx6waFfDRxju6XQthPyIFXk2TKWRwQcEOTetxUSz+pj534tQ9tyeU/mKk2F XvNDtCYkg5UYpVkfkmAH0d+EYe6sw/6KcPVuaYmNReu/Yw1kviUDpMg4hIbcG0aGkEpk ZZueB3jEI5+LqwruYZXteJDbOkbpwgJlCSf2v+ieXeWY+todgDrwelcTJZ8ucyBSiVzC TFNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=t8+qCMdbFYWvCOtbDLsLD7tINzyrBmDRKDZb7KLMHDo=; b=ey9NyD0vqGfq5WmwP3JEx3175evi8Rl9eCQaTvYdSbPj+TuCgRQTAU/4As9on3sPFb ilBCxQc8+AZBM3IS4I8dyZ5ydc9loFDhGp8d9aaNsbr+vr+IcY/v8jtkYKfURSuPj64u DwMqvX40H6s+fIgBWLH89upwkdwhqgd5p5yc08WjrXwpoQM9uG2ERqtk5BOvQ4P8mywC /3k0JZ6hzd03k+/eZagLwI4izmjXYyAn3ViAhAW6zFydRURcxrSq6XnwO4k8KryDeAuH lF2GikPNJQmvK0+mnUpd8jvJZoyFo3kMaAhfVGL3gl0/h54thCOrEIbtyZDSFvm6Vsc+ +CtQ== X-Gm-Message-State: ACrzQf2KvsCBmsH34RsrM9238qV+Upo5KYYklZAdmObkvlclPPJrIUZ4 XVn2pxp31hOgR2H/mWurOuTy+A== X-Google-Smtp-Source: AMsMyM5xSGB3chGQKXCWHfGyEtRivWmbNTmoYpo9RPkM456N37aw4jVi501tdVB+m9LkbM3twVJ25A== X-Received: by 2002:a05:6512:159a:b0:49f:6357:971 with SMTP id bp26-20020a056512159a00b0049f63570971mr4811667lfb.81.1664006745806; Sat, 24 Sep 2022 01:05:45 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:45 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 29/32] dt-bindings: pinctrl: qcom,sdx65: fix matching pin config Date: Sat, 24 Sep 2022 10:04:56 +0200 Message-Id: <20220924080459.13084-30-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The TLMM pin controller follows generic pin-controller bindings, so should have subnodes with '-state' and '-pins'. Otherwise the subnodes (level one and two) are not properly matched. This method also unifies the bindings with other Qualcomm TLMM and LPASS pinctrl bindings. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/pinctrl/qcom,sdx65-pinctrl.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-pinctrl.y= aml b/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-pinctrl.yaml index cdfcf29dffee..0f796f1f0104 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-pinctrl.yaml @@ -49,8 +49,10 @@ patternProperties: oneOf: - $ref: "#/$defs/qcom-sdx65-tlmm-state" - patternProperties: - ".*": + "-pins$": $ref: "#/$defs/qcom-sdx65-tlmm-state" + additionalProperties: false + '$defs': qcom-sdx65-tlmm-state: type: object @@ -175,13 +177,13 @@ examples: }; =20 uart-w-subnodes-state { - rx { + rx-pins { pins =3D "gpio4"; function =3D "blsp_uart1"; bias-pull-up; }; =20 - tx { + tx-pins { pins =3D "gpio5"; function =3D "blsp_uart1"; bias-disable; --=20 2.34.1 From nobody Thu Apr 2 11:45:46 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1CAFCC6FA83 for ; Sat, 24 Sep 2022 08:08:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233898AbiIXIIQ (ORCPT ); Sat, 24 Sep 2022 04:08:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233817AbiIXIHO (ORCPT ); Sat, 24 Sep 2022 04:07:14 -0400 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA05A14F8E1 for ; Sat, 24 Sep 2022 01:05:47 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id j24so2322431lja.4 for ; Sat, 24 Sep 2022 01:05:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=HNwxWQOq48N1VUFnvQ2D5d/loFw4gC2TJinoSqyo+l8=; b=BiVzSgMFabdIamj0lCD/Het6ygXdhSXgsoFt9JwIJrvxpsOyaJniaB7g4RlJIc8Agc CvcoxUVOt9bVH4JhMYuW65fo3vjZEkM9i94vZ2Ci2oYOS3FAX0o/Oqpo9lNhoCo3ylzg gKqGgEeJcDn3lhk6gZ0E6Qb5+Ei69O7/URA38uxk1PSZMfRmo6Rctm62OfyOL3+dQIEM b46XV6hqTVMQ+Fqcztvi+MxaPcp9Yf4kJUGhct5mAhTgi34F2kNXeeVnCp5j/QrSdhl1 TwyQpBeObzLfov3diQMO5vddlS+Z0DOT7mU3ijAO4yfJ5kxXqBo1w2L0FeQwfNpq8ltb SQqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=HNwxWQOq48N1VUFnvQ2D5d/loFw4gC2TJinoSqyo+l8=; b=2mM1sK87HP5JbPcmeu0DdWIVOyk0C0jvniua8bWSkB7VKUUU8uoO0cbX5qDsGYMllv byGuJ42Z/saez3w6HFpVgwpv6GE3FHi0mWOqTQ3jmdPmZ7k2ubcv7Uy1GKzzoZLqKEWM FFbYHPCGJ0yAm3F6/eS4d7P4oNZzERzqK3hmNkgBHx3nu/tUH/QXMyN4WW9obrRnPNbZ LW+aZybqtrAK+llo5Vf5PGj0OpJFSg3bckhnSXNltEQNbPFckJTry9qmq4NFd2SiOzJx kwFO+Sg3ONLE05E014yPs9t+BbDUwL6S4ZIJEZscBOh63nZGRDqK1hCZsyb7oAZ26E9/ 2s+Q== X-Gm-Message-State: ACrzQf220/GZrszJKOWMTHGv4xqW4UuPYn728i/1FjfRYZJbNFuJQwiR 1PTljItGOFf1T31DT4h1OQyuow== X-Google-Smtp-Source: AMsMyM6GwrYhOjw4DiSyDWrcY3mKxoP5UbseKfXQTYb8bBXaTxmPBodlXStoAJewcXc71Aquw2FImA== X-Received: by 2002:a2e:958f:0:b0:26c:fd2:80b4 with SMTP id w15-20020a2e958f000000b0026c0fd280b4mr3890692ljh.147.1664006746974; Sat, 24 Sep 2022 01:05:46 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:46 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 30/32] dt-bindings: pinctrl: qcom,sdx65: do not require function on non-GPIOs Date: Sat, 24 Sep 2022 10:04:57 +0200 Message-Id: <20220924080459.13084-31-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Certain pins, like SDcard related, do not have functions and such should not be required. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../bindings/pinctrl/qcom,sdx65-pinctrl.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-pinctrl.y= aml b/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-pinctrl.yaml index 0f796f1f0104..a45dc81cfb98 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-pinctrl.yaml @@ -59,7 +59,6 @@ patternProperties: description: Pinctrl node's client devices use subnodes for desired pin configura= tion. Client device subnodes use below standard properties. - $ref: "qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state" =20 properties: pins: @@ -142,7 +141,16 @@ patternProperties: =20 required: - pins - - function + + allOf: + - $ref: "qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state" + - if: + properties: + pins: + pattern: "^gpio([0-9]|[1-9][0-9]|10[0-7])$" + then: + required: + - function =20 additionalProperties: false =20 --=20 2.34.1 From nobody Thu Apr 2 11:45:46 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2092BC32771 for ; Sat, 24 Sep 2022 08:08:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233836AbiIXIIV (ORCPT ); Sat, 24 Sep 2022 04:08:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233753AbiIXIHW (ORCPT ); Sat, 24 Sep 2022 04:07:22 -0400 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6970414F8FB for ; Sat, 24 Sep 2022 01:05:48 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id a10so2388048ljq.0 for ; Sat, 24 Sep 2022 01:05:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=Zawl5uwjby0oyqN1nYVliQNubSbgLZAX+iK/cI5YQFc=; b=NsinxENL6TBcJwYzGJuvtGBKa4JU2xIsBigfXUSO5PVd4Xq9Dn7l4gE5BPx0ydV90G PPPIph9mQaTIOv4wDWnraJcLlz3x0mFBEK+TjZSNCU+DFWdwEJRzM1/sRUP3dCFGiPZ3 M/pKu4D4OqdA20l7fXNn3D+H7UD36QVYrSvFwZY11OgN3rBD46rAIZkjOOeYcFLA5Kzd Kt2grbjcuGLy3R9BdD16pMYKcV4m9/qUsry+xBr5Mgre5NJbsboTcsacfaPIthDMjbRZ c0l1BpfyDE73UqIblwAVp6MZJbhnzg51M1XJu+bdfxRfXlJ0cQ97XYjJl8Fck6jU792/ pU8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=Zawl5uwjby0oyqN1nYVliQNubSbgLZAX+iK/cI5YQFc=; b=loRURG2yGDBViaZ/UG0m/IQZqeCtA8L0ls1tUYQxd8MaeQZXflzL55OT+xBSRvL7kn p5+hB33HSMfq8jRsFIGGlMQBXheK22deFrVrcerJ/zSk8m9sZcXFYDM43xqd1KU6zIuz bzh6l5086SCv8Fw2adssar5KTT+kEqnbzNdCUzzufQYQn1hEk9MZr5e1t35u5Y3ARX1g JE4lhWleXFbLOgRFse6Z7Aiq4gyStK65ugEq85of4B+yKZ3J1IaFSy81uJH26JQIZyST gtbx4gSquV7/ANHopko2JoFgDjf7yYJTIMClYQ344M5wevlBhyQlUhG1X3hwxuEmq1vs W+Ow== X-Gm-Message-State: ACrzQf1P6RoQQrwKS2ALA9IwkPEQDPFOLUFqU6gxmozLMSF1XN3dO6JW 97LR78tW3XclKLwKWeMIHXXzoQ== X-Google-Smtp-Source: AMsMyM4lxZZvY9zIYqBvmNQ7eSjyKMxnFjB3hoPpP+al5KmDZzeMaDyh0wObWQUpsGWtP6j/efSiLw== X-Received: by 2002:a05:651c:1111:b0:26c:7178:ac4f with SMTP id e17-20020a05651c111100b0026c7178ac4fmr3789553ljo.461.1664006748404; Sat, 24 Sep 2022 01:05:48 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:47 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 31/32] dt-bindings: pinctrl: qcom,sc7280: fix matching pin config Date: Sat, 24 Sep 2022 10:04:58 +0200 Message-Id: <20220924080459.13084-32-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The TLMM pin controller follows generic pin-controller bindings, so should have subnodes with '-state' and '-pins'. Otherwise the subnodes (level one and two) are not properly matched. This method also unifies the bindings with other Qualcomm TLMM and LPASS pinctrl bindings. Signed-off-by: Krzysztof Kozlowski --- .../bindings/pinctrl/qcom,sc7280-pinctrl.yaml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-pinctrl.= yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-pinctrl.yaml index ad3496784678..4606ca980dc4 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-pinctrl.yaml @@ -47,9 +47,17 @@ properties: =20 wakeup-parent: true =20 -#PIN CONFIGURATION NODES patternProperties: - '-pins$': + "-state$": + oneOf: + - $ref: "#/$defs/qcom-sc7280-tlmm-state" + - patternProperties: + "-pins$": + $ref: "#/$defs/qcom-sc7280-tlmm-state" + additionalProperties: false + +$defs: + qcom-sc7280-tlmm-state: type: object description: Pinctrl node's client devices use subnodes for desired pin configura= tion. @@ -162,7 +170,7 @@ examples: gpio-ranges =3D <&tlmm 0 0 175>; wakeup-parent =3D <&pdc>; =20 - qup_uart5_default: qup-uart5-pins { + qup_uart5_default: qup-uart5-state { pins =3D "gpio46", "gpio47"; function =3D "qup13"; drive-strength =3D <2>; --=20 2.34.1 From nobody Thu Apr 2 11:45:46 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 742D6C07E9D for ; Sat, 24 Sep 2022 08:09:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233907AbiIXIJK (ORCPT ); Sat, 24 Sep 2022 04:09:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233896AbiIXIIQ (ORCPT ); Sat, 24 Sep 2022 04:08:16 -0400 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBA3915566A for ; Sat, 24 Sep 2022 01:06:06 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id u18so3505507lfo.8 for ; Sat, 24 Sep 2022 01:06:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=rip9dlqrCxUoqsfVIdKnVGZs/mVmoXJ1pwJE84kTnM0=; b=BYN1RmEIN4HrrjJwUV3E18I1szEFwmb2/CMwcfYPEvwwNESZcsHBcnysZ4SeIMQWpk tG5VIanHjeIG+WFDdufpzrqzH8PNA/GJG/PmBJjth5yJR3bmzzdJteXRkpwiMgKNmzyY RwyC0mKRBR3Nx2dbJySeGwd8rR16638gKhNmOvIAZjl18V71FwyJk0iWvU0ldHzHrpDx XJ5+FRGLfiDn5NV8kcHsE1ZkRes2qIyUtahEyl9jXdF2X3zm5gDbNE9XrU0Ay3kCwc/e w1CqMHmGxMm/fOYpT6AN4o0Bry/FyS8IE7FL9GM7GfZrisRz2e5jcsaN2q/Z8TYSMfwM ezoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=rip9dlqrCxUoqsfVIdKnVGZs/mVmoXJ1pwJE84kTnM0=; b=CVx7mzLQrC3Hu/Ub54ZKhdGzThw5aCDXmERjv6hx/L634ABJ4twRyoV86VqI05w5sV Y3EJJSAM8550UbfZ7TrO2SidLfWssIQy9ERfyLKxDLL8Oq5VZrictOZNW3rbps7bi171 7TzxjgXRtS0TD3SniNrKPxZgITDolgJwwsmbKz3xZXlPFUZ8BdfV3rGQB1Npyj1gwNhV eQRKiNBjRU+z4ITyCk5G6eR9SfCPHpENmT1ilozl+bqpKJZ2GFSpAYN99r/kBTpoZN3E j+MPLA0nEr7EcE3x7Zc3vPteY7Lp29VXPHorAUdZOeLhAZbhokMBuSHvP4Ud1x3I1bDH xr3w== X-Gm-Message-State: ACrzQf3kOUax2Vbvkk81VZCKWr+cJGp2f7/fxt2H6JnCE3mxTeCeVZgs jr2k+x7BJGVZbSKkJfcKmG+0kw== X-Google-Smtp-Source: AMsMyM7DtqDqvO9kU8Kg5Vt/9Z6iBx2qR1S10wUIArD6VgSDnEosqOQTk0yPfKO7tpYCWpCAU/Bt9w== X-Received: by 2002:ac2:5469:0:b0:497:ed1:97c6 with SMTP id e9-20020ac25469000000b004970ed197c6mr4510420lfn.248.1664006750150; Sat, 24 Sep 2022 01:05:50 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:49 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 32/32] dt-bindings: pinctrl: qcom,sc8280xp: fix indentation in example (remaining piece) Date: Sat, 24 Sep 2022 10:04:59 +0200 Message-Id: <20220924080459.13084-33-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Bindings example should be indented with 4-spaces. Previous adjustment missefd one spot. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/pinctrl/qcom,sc8280xp-pinctrl.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-pinctr= l.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-pinctrl.ya= ml index b9ab130cd558..0b251caaebf2 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-pinctrl.yaml @@ -139,8 +139,8 @@ examples: gpio-ranges =3D <&tlmm 0 0 230>; =20 gpio-wo-subnode-state { - pins =3D "gpio1"; - function =3D "gpio"; + pins =3D "gpio1"; + function =3D "gpio"; }; =20 uart-w-subnodes-state { --=20 2.34.1