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 5C10FC6FA86 for ; Tue, 27 Sep 2022 17:37:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232698AbiI0RhZ (ORCPT ); Tue, 27 Sep 2022 13:37:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229489AbiI0RhR (ORCPT ); Tue, 27 Sep 2022 13:37:17 -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 0A1751D3580 for ; Tue, 27 Sep 2022 10:37:16 -0700 (PDT) Received: by mail-lj1-x22f.google.com with SMTP id x29so11759657ljq.2 for ; Tue, 27 Sep 2022 10:37: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=JHCjDmNzA6ce+e/MAOdHluOTeKhVdn9kfCUAVEme8Xs=; b=mhk+Uhfib8taALnFf8/xniduw3+f9fqWBosEOvmW0RP+YzzPWX0otS6Xg0zcxsa3PN F7otZwy1c4nAy1QSzOuASXh2fasJhsR7wYNO0t/ms1KXERmMeffzVfrHKPWoC2k84qgn yX4W6r/U2YS1lnTaJasw59a2L1zA/TvYyr6hObHfQKtnEQWYM7ItNccmi8CfehqTuUzT kI0YRRDhelmsJiOW1z0Z1srgQzUsqCpXqlLmvjvNxOxzFek+/HjW4cv/eEWedLUGJrPo 1aWHCATaljztmHYIsZryuEqc3xXgppF3PPD57TLJoIu83tChvf1hRiITqQHz6leN6ieO m27A== 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=JHCjDmNzA6ce+e/MAOdHluOTeKhVdn9kfCUAVEme8Xs=; b=2SOG9uiHtT9ZShZK6c1mrqVr5Y1bNhW3OAEKPE7w7xNNJi8r9SgVVstzalb8ly4f6y Fx4YCIE7F7K/VxA+mf4pGMS6OUDNb3ZMtWtNSkx9tqqywa9vL2QeiySbJgNVwEwshHmt fvkye7WufCSOnBEKo4BPtTW1HgjHpZfzr8UTYRYTN1Qt5nqr0dOXaHF4z7EvYH6UJO0m ljqoU64e3mX5n252nnqqHgwL8mfDxP8TlBjNFafl+QM/5FuoeBGaJOAsvwruUgyPGLg1 VGnUgkjVwKCUT7jZzqolRkOcR/9kXrQL9m2x0nNEGKc0iOiyZccj+P9ajJ3MNTApSl8n F5Ww== X-Gm-Message-State: ACrzQf2CIAKtXj0kBmsdVXIlefF6/K7uUw7rnbUVI0sSd5d7yyhERoRA XdVkLEEToD07yZR6zWwK5fe9Gw== X-Google-Smtp-Source: AMsMyM6Qmc8joGC1ysYB2a4vBKpzT8ZoKIWrGsfQyo4vhGORDJ60H2BrBGtdEP2ZO7JQXpFbFAv51w== X-Received: by 2002:a2e:7217:0:b0:26d:b206:b3fa with SMTP id n23-20020a2e7217000000b0026db206b3famr155058ljc.323.1664300234401; Tue, 27 Sep 2022 10:37: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 q12-20020ac246ec000000b00498f570aef2sm218879lfo.209.2022.09.27.10.37.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 10:37:12 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , 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 v3 01/34] arm64: dts: qcom: ipq6018-cp01-c1: use BLSPI1 pins Date: Tue, 27 Sep 2022 19:36:29 +0200 Message-Id: <20220927173702.5200-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> References: <20220927173702.5200-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. Fixes: 5bf635621245 ("arm64: dts: ipq6018: Add a few device nodes") Signed-off-by: Krzysztof Kozlowski Reviewed-by: Bjorn Andersson Reviewed-by: Konrad Dybcio --- Changes since v2: 1. Do not switch to blsp1 (Robert) --- arch/arm64/boot/dts/qcom/ipq6018-cp01-c1.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq6018-cp01-c1.dts b/arch/arm64/boot= /dts/qcom/ipq6018-cp01-c1.dts index 1ba2eca33c7b..6a716c83e5f1 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 { --=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 68A1FC54EE9 for ; Tue, 27 Sep 2022 17:37:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232808AbiI0Rh3 (ORCPT ); Tue, 27 Sep 2022 13:37:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230015AbiI0RhT (ORCPT ); Tue, 27 Sep 2022 13:37:19 -0400 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EFF961D2D2A for ; Tue, 27 Sep 2022 10:37:17 -0700 (PDT) Received: by mail-lj1-x234.google.com with SMTP id h3so11766288lja.1 for ; Tue, 27 Sep 2022 10:37: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=lYqcncrJGbkL6jJNc/7gkbAt6RxgsaRGH+e6gIoil6Q=; b=GpTs1D7KwdJaD4GMtF7yHB7ekrTcNh/FAi6MKN+ALiPeD85JxLsVJ7wUgNCGcg9h4p yK2IQXjwtMotWpoWs8F8kJIyOwRBhIWjRr+yCne/OvZhxgyIKkhMWOa70vWT1ts59M7y K9LmAnWyJiI5SlLtAtFD/iaUyaZKMXvQoStm5GtCSj6yCb351LO3+u/cLCCVNqn0yuhk lZyPWQnnRNGTTOmZiD0Tae3Bi6RBYD5tIIZlXQMey1NxAI6bLSgycQA+ug4s6/iCcSm1 UDH4lbgWOGfvAYgf9OamPZISZlbciep0JgUhS11jKDw6yofMs0EuL3Qw7gBucjzHp5ao Si8g== 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=lYqcncrJGbkL6jJNc/7gkbAt6RxgsaRGH+e6gIoil6Q=; b=I7q61wstp4Jp5RGZ71RiOihIHeJ7UmIy07T4dgVhs1u6nzCKqnAZskLikk/0qofNHy GAOx0XAmgx0ybs80+S1derx+/xfgIFEDkPNroC6x9iYFUB3AxPbvaEq0KwpCqy9joklD 102wunyYsVA1tfbHQcRhvldv2Sr66l2fMbkcHTbJHEATjgOz4zPgRSisky5vqwgWUTsp gEG4Uv+bk26bYzorBFIDr0+HILOV+cObQKP4ox4SlLBPyQQgbSt7QnT1Yeei1B3UDRnz zio8MRR4rHhgn9PXpcy43osLuGJ3hnoruAxfYeIFn6LezRgT+k2ic4v0+c4KvYxM8v9v UmNg== X-Gm-Message-State: ACrzQf3wLLRzp46GvTIDKxYg4197fUuwHAS3X+3Pe+b0c3KvhIAPwvm6 x5wTgl3MAt3/KxWLLxZKQx7ekQ== X-Google-Smtp-Source: AMsMyM7838SqPCdhGV8cY8t7zcatz3PPQu+joRYoWTPbfu6z10AbVoUu0ginTxBSIpsj2DVwvJJWIw== X-Received: by 2002:a2e:8848:0:b0:26c:cbb:9a1c with SMTP id z8-20020a2e8848000000b0026c0cbb9a1cmr10493970ljj.165.1664300237317; Tue, 27 Sep 2022 10:37: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 q12-20020ac246ec000000b00498f570aef2sm218879lfo.209.2022.09.27.10.37.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 10:37:15 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , 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 v3 02/34] arm64: dts: qcom: ipq6018: align TLMM pin configuration with DT schema Date: Tue, 27 Sep 2022 19:36:30 +0200 Message-Id: <20220927173702.5200-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> References: <20220927173702.5200-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 Reviewed-by: Bjorn Andersson Reviewed-by: Konrad Dybcio --- 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 6a716c83e5f1..ec999f972360 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 "blsp0_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 A0E10C07E9D for ; Tue, 27 Sep 2022 17:37:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232760AbiI0Rhe (ORCPT ); Tue, 27 Sep 2022 13:37:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230265AbiI0RhX (ORCPT ); Tue, 27 Sep 2022 13:37:23 -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 3310B1D3591 for ; Tue, 27 Sep 2022 10:37:22 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id a2so16770417lfb.6 for ; Tue, 27 Sep 2022 10:37:22 -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=C8o5PFjxV2DbD9sEGHbpRvhtOpSPJbDO58y01xwZ0Oc=; b=DjG3389Xr93XVQ5+XBJDTlNwrCXwSMnPetH69F3nIUp60C01yT0PJ6LY8wxQsvJp4k Aj1fpAwaRVbXrLYzzF8HOckCW1qzbQlju66xhPLGTlql/cJOPW743crJde9HX64JGRv6 MF7JycKmWK8ZVT2wCunCRedu+zZHq+uUebMkS23gXDlfjSvkD+LDaypaeFbQ3UZ9sb5a FxNdqWJtTVnRiagMAaQn9G/QO7C/UC9E/mfAO5l4OTfTdUHZRx8mSu1pZJj522ygEent l0YrPUc3U/IStWgyE0PXCw2nb3SthreSt9hNFwTkvnLfd51gzFgVdyeWB1MPwTtX20a7 8HBw== 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=C8o5PFjxV2DbD9sEGHbpRvhtOpSPJbDO58y01xwZ0Oc=; b=Zw+MeIAXmlxxlzcb2ejYkK5P+C0lLTNQd21sQ0h5pGqk6y34xDCVQiQc0eGWuNvK+z 8BZ1gisCAxxwi0PU7hldqvUxFBf0n1Kj+hUtv75zA9jUZi/tfjW/h0Pnw7sVfsF4eip/ x6pGl5t0k6patKlPCrnmm/IBLxyQjWazx3YpNLIe+Gdf2CiBnitLaH3/E20LIwq7Q2+S CUjIJRIgiEKditfqzCfnW+s4fzE4I8/F702Qi1nLaE/VevPSkPsw44WAXZQuHs56W2a6 pdGRe+amet2xcxsIdeYrHDms+JitlQO1MS0TMxhel6oitrEHaM/zzkFyVMK10DEIDrhd Ss/Q== X-Gm-Message-State: ACrzQf016oNwzfFJGMCtAWI+guYCSC6xbCB70pq2jcMYRKiajyajVT01 ++uXl8r9Wne1BXJRCSxpe434OQ== X-Google-Smtp-Source: AMsMyM7eTF583bXkUf0LOwqQCcLRAePLgBN4b/NKH5P5Af6w3eZcUE4vKy/b+nJe9t0skUmG3NG0SQ== X-Received: by 2002:a05:6512:3a8e:b0:49a:e5ed:d6aa with SMTP id q14-20020a0565123a8e00b0049ae5edd6aamr12116690lfu.271.1664300240429; Tue, 27 Sep 2022 10:37: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 q12-20020ac246ec000000b00498f570aef2sm218879lfo.209.2022.09.27.10.37.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 10:37:18 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , 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 v3 03/34] ARM: dts: qcom: sdx55: add gpio-ranges to TLMM pinctrl Date: Tue, 27 Sep 2022 19:36:31 +0200 Message-Id: <20220927173702.5200-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> References: <20220927173702.5200-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 Reviewed-by: Bjorn Andersson Reviewed-by: Konrad Dybcio --- 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 D115AC6FA83 for ; Tue, 27 Sep 2022 17:37:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232901AbiI0Rhh (ORCPT ); Tue, 27 Sep 2022 13:37:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232735AbiI0Rh0 (ORCPT ); Tue, 27 Sep 2022 13:37:26 -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 6B1821D359F for ; Tue, 27 Sep 2022 10:37:25 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id 10so16805501lfy.5 for ; Tue, 27 Sep 2022 10:37:25 -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=cZ9oR+D/ntPl4smbOciC/3TQd2xPuUm410NdDVUtl4c=; b=y9s8rKgqHrtHKvLw1f0XV20FCGU45un3WEm2EYvqLahplGQIgU/QqPU8U1YA1sjPmL PA41EwHFWj3cOZcj0MPfgi8lkQLPBPyQ8wswVvMG58PuTV5J8X4O4BKQ7hPdPDIct+g8 3Jff4yp0Pe+oyOOwCfNcve+YXod/W8YkWDvEnKun0fvJ6LUiPK/PTfJDwCaAnt1lM+Wg V5dwO+xp/+a9ySMLXKS8Cg0YwP7E1JpXWYG5aymaJvrpGlav36M4gahJ7nHymxMNTUxa 1FKuT7tOaQKTd+8I1OZpfb4oOWTWnVSzcGEkpyzTo8k9XCIV+n9DPFR2WhFa6oSjJdLF zUtg== 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=cZ9oR+D/ntPl4smbOciC/3TQd2xPuUm410NdDVUtl4c=; b=f1L+DRiHMkOjFfvkD84CfxrJaoObJRkb8x2gwBJQvjljs2RBDgNPycdXQ0awMYAPPE g2GBrnOVspq2fOjm2OuSmNNjEKd0JMy5pg7047MvqbvVUI3nXr20CcW845CXXqhpX1KY HW2ZrTh0Baie3nPI3znRaXtbVSOeEhrpYWjnw3+6lvA9K1i4ztygOnNqmx8KJ3rXNk5q UFyKaHVTyABq7ZE8JN5JBNZ0ldyf5Kic/2XSlkNlPeWeIO2eiItUEWy4SMLhS3txah9k NyDS8zADiN4kmuP+QXAZlOuLfqUcfbnDqEeq8rKlqssYhH0xBBQupFQ1lqGjFGeTXwas 6+wA== X-Gm-Message-State: ACrzQf0/2jhg0cnXRgtIt1L2j2g/ZWS6AycE99tPJ/FM+PN/82qJknZa qbwvHrrYG23wjvLVhSejzA2f1A== X-Google-Smtp-Source: AMsMyM5nISlEWKYwHX/wI6R4cUfGRy0CNgugstzjdSD4IsGU3jIscdW2GoHYSfVEZDBwTzRXT6dkOQ== X-Received: by 2002:a05:6512:a88:b0:4a0:28eb:672c with SMTP id m8-20020a0565120a8800b004a028eb672cmr11197789lfu.594.1664300244982; Tue, 27 Sep 2022 10:37: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 q12-20020ac246ec000000b00498f570aef2sm218879lfo.209.2022.09.27.10.37.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 10:37:23 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , 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 v3 04/34] ARM: dts: qcom: sdx55: align TLMM pin configuration with DT schema Date: Tue, 27 Sep 2022 19:36:32 +0200 Message-Id: <20220927173702.5200-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> References: <20220927173702.5200-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 Reviewed-by: Bjorn Andersson Reviewed-by: Konrad Dybcio --- .../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 BEB61C6FA83 for ; Tue, 27 Sep 2022 17:37:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232731AbiI0Rhr (ORCPT ); Tue, 27 Sep 2022 13:37:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232674AbiI0Rhb (ORCPT ); Tue, 27 Sep 2022 13:37:31 -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 B40D91D2D2C for ; Tue, 27 Sep 2022 10:37:29 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id a10so11796768ljq.0 for ; Tue, 27 Sep 2022 10:37:29 -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=2gDOzllem5f8xWJ1rmunAEBHFIGtwMgu8HM0Bmh8ICk=; b=WJP3fV2Q7OvVWv20B85q9E9abA0wUp+3TcCIvqss0hhdo169gSAFQmjITOMM79r/cF IEQTObSsV3ixg+t74eJrToQOI3T0NoKVLx+swqyAYSIPFsD/mLn6zTL4ZPS0Yiglnvis Xk/2CQ/IoUTSrGykuyLsee5EZmoQTIAru8Cw29xx+QJPruf6T+bU9K/DMFT/DqDS/OYM CiyXLNPS4VNe4XifyXkdnEbbKPBIMPDd3wE1FFq+RwHQCCWSLBQm5mhX1ZAYPunrDy0G ZNKcTZKbOb9hRBiXhsExbAwnnUNEzEqlmylkPZcm4SS+p1N6XnZkDQa2E6y0D3UG2Bdh YPxA== 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=2gDOzllem5f8xWJ1rmunAEBHFIGtwMgu8HM0Bmh8ICk=; b=MwCuUOLfNp0ZtKmMCDdXqWAMiwHMjuoJgbTh4z0c0s4ZPS7UHEzRV2ssE5dfxBHxiv 5d/X2xCJYDGeFWyrVsjlECUZW23UhYBZf+Fte41CRsR3vLcMwZqi09MgDT7L81/0s+KO IfNMFRPvbwmwXX/RriY5UhlLdOmwq974LaExmE6dRhhvVKj1e7F6NZS7EOeN7EZUgWST BGzlpz/CL1K01nNmkg2iS5W0zmLODSTQX6fIOABorlFBuAuV4Zbn8v9Vt29sIg4ZaasW J4vXJF/jGVHoc1l3CxX6s/DF5ESzHRSmFoxXSuDdd9/muS3puzrkWautQ792irgzzFgf sgGQ== X-Gm-Message-State: ACrzQf1qbO+fwH5GQAEdBQY/a/2kXbrcj48YFMBcxcju4h6fO7arXyOY +3cKu5qcUrzNIO5ZT8kOOAuLyA== X-Google-Smtp-Source: AMsMyM6rjB1apNAfb54OVA4H36PboTUlevCYnl10/fkRfE7nO5+LOQXdEt1vVpxlV0K8JxhUTWZvzw== X-Received: by 2002:a05:651c:1a23:b0:26b:fcbf:5c29 with SMTP id by35-20020a05651c1a2300b0026bfcbf5c29mr9500452ljb.307.1664300249271; Tue, 27 Sep 2022 10:37: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 q12-20020ac246ec000000b00498f570aef2sm218879lfo.209.2022.09.27.10.37.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 10:37:27 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , 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 v3 05/34] ARM: dts: qcom: msm8226: align TLMM pin configuration with DT schema Date: Tue, 27 Sep 2022 19:36:33 +0200 Message-Id: <20220927173702.5200-6-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> References: <20220927173702.5200-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 Reviewed-by: Bjorn Andersson Reviewed-by: Konrad Dybcio --- 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 E9CF7C6FA86 for ; Tue, 27 Sep 2022 17:38:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232807AbiI0Rh7 (ORCPT ); Tue, 27 Sep 2022 13:37:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232937AbiI0Rhn (ORCPT ); Tue, 27 Sep 2022 13:37:43 -0400 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A08271D6D22 for ; Tue, 27 Sep 2022 10:37:40 -0700 (PDT) Received: by mail-lj1-x234.google.com with SMTP id h3so11767313lja.1 for ; Tue, 27 Sep 2022 10:37: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=S8p9f8npWVzLL+xxIGq+LPGJqP+UsFdvXgAaWjNbjvo=; b=THDBHN6pIuGeaBEKD0wMoXARQ8F4m0R90VgUzZubmiheHf7gXmwYG/G96i2q6R1kQK POqBssWpaUjaoMuLaJ33XOiThEnmBXWb8xbfATOR09R/Nb8TcbrbEst0Q//fw2SfJnZF APYQ6Ar30IHmF7QB8rZKG0DB5U/Q+fD/bKs6HdBlm+XTVC9+7LGRgjsTBclNldGmf87s bOgKXZZySYGGZyMAKKVVw5l6iSn2+uM5W1mM8MY9jA5TcVXyiSWkLH0kcBmB2tojX9Gg zYhiMebsZ6bAAqB3om6AOZyo5mM5WYNYK1dL0NYeW1VfxkmW2SD2JIWKj6jWiHTPVfg6 aoVg== 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=S8p9f8npWVzLL+xxIGq+LPGJqP+UsFdvXgAaWjNbjvo=; b=h4RTgruds2i1u2DtetMWJ3jpOzAsMkAYK9tDwvtGvjBeOJrrjsnvHw8lXGCqwKQsLf nfiNJ8C7KUDkWr3y0GKMUH/ejwRZkj/R8DG5NJ7x7KbZ9/+FIYoUoj8JN1BIi5tYZJ6C I8bq/kJQL98NinaiXejlIM+SaRmFUxM1nVN6EoTTmxRDLdIkNPQnqUim9jtMREC3ki8c wdvVtei4x03Y+rXVLEn3FjP/nqrHsBZ3Am5kJCDqTnZL/fCz/wvjkdVRVT+zKA8Q9VT9 bpZek0A96i1ycOamFbJHPrscvighIrgodrN44/+9HtBoXJy+26dWPQmVkTKduJ1lJjh+ ajfA== X-Gm-Message-State: ACrzQf1vBufAfGQCxcb3Jwea2VGITwy274geG2qcN6HOtBJ3vfXErZmW 2CntPpe6DZSz/RTArbtuvpqP8b38DWrp+Q== X-Google-Smtp-Source: AMsMyM48zPBDDyrGDHGqAZOF/HrESoIiPpO2ZN6iklFqu+FO0CZxRXGENxTkf9gXDtfmBHsrlkRj5A== X-Received: by 2002:a2e:bd12:0:b0:264:7373:3668 with SMTP id n18-20020a2ebd12000000b0026473733668mr9410022ljq.18.1664300260021; Tue, 27 Sep 2022 10:37: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 q12-20020ac246ec000000b00498f570aef2sm218879lfo.209.2022.09.27.10.37.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 10:37:35 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , 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 v3 06/34] ARM: dts: qcom: msm8974: align TLMM pin configuration with DT schema Date: Tue, 27 Sep 2022 19:36:34 +0200 Message-Id: <20220927173702.5200-7-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> References: <20220927173702.5200-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 Reviewed-by: Bjorn Andersson Reviewed-by: Konrad Dybcio --- .../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 80F63C07E9D for ; Tue, 27 Sep 2022 17:38:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232781AbiI0RiP (ORCPT ); Tue, 27 Sep 2022 13:38:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232909AbiI0Rht (ORCPT ); Tue, 27 Sep 2022 13:37:49 -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 F09D01D88C2 for ; Tue, 27 Sep 2022 10:37:45 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id j16so16821029lfg.1 for ; Tue, 27 Sep 2022 10:37:45 -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=vNG4GFYOyMZYbc+jKx0tALJsbLNDTZON3pUsUF82eUM=; b=wxf0tbLQ6jIwn/jH0ZxPwoIGk8LSN1w/QHYQjJpUfjUX6fx5eWSn9rtCl/Z2O26ayB Xh5dENnTec8cxquS0p/u5B9/sQ3/ol+zFt25cWNHY9Gakafzb9iQsxFPAIRoGvgWxm+c yY1jxSwarX0xpUKWUlDuhc4pK5wdJPo5zRc6UHNWG8nvnGr/qJnu4AfrV6g//j7v0i1J WFVilfE8Nstw4MplqDTiP5uPD5rj1If2nGgJSKMGSU04Xd5GTqCxhMQ/h56jBykur71j ju6qQ3Jr42Jesen+0ZzcFNLkpTLC8uTnx9DE7yLqTWGm6wS8txwY/dIc/x0Ds/IlnvK+ 32FQ== 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=vNG4GFYOyMZYbc+jKx0tALJsbLNDTZON3pUsUF82eUM=; b=Q4X/XcWM+GU9swFUZpKH+v/Ke38oOVumhgP7TdsFseWr3/4CESimGG7v1SdFVo65+W Xmd5lC+E0ublQx7Pxrm1YEsjU8CxhWl9fwAjmx4m6PdJxuoKaAgfRdMDdOrXTrZotdmf zJ/5EZeMr0GkRgIQg7Z7mFkDfxQZpOa+yZo4F5uMYxPRoiHvj149IvkkiDVTfiGy6tD8 d6fQREY4BC0lMMZzxS/CwcWyDh5EzAJ+Kg2kF0oCLwQJB6EpvCIZSr+PFWwo854sRwyV DaDCOYEIyOAwldyyQns52W+4OV04aQxcoWj1CNCq7rJXtZdbBmvw42ydBG4CuTJPC3Q5 ojVQ== X-Gm-Message-State: ACrzQf0Zf9vB/FwvSap9STOBn/kP26+GSXT9JlHOmmKoo5mjbRSrsk23 dVk4oPbrX8l/1ZhA4tc61QOmNg== X-Google-Smtp-Source: AMsMyM7cSK0KTT3e52vosNnCkgmd3vFc1g8GePRWvtQ3WBE+YJxlZ1ES3MFXaGKHNwUQlFS93y2hNA== X-Received: by 2002:ac2:4c30:0:b0:49f:53dc:324d with SMTP id u16-20020ac24c30000000b0049f53dc324dmr11961235lfq.395.1664300265372; Tue, 27 Sep 2022 10:37: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 q12-20020ac246ec000000b00498f570aef2sm218879lfo.209.2022.09.27.10.37.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 10:37:42 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , 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 v3 07/34] dt-bindings: pinctrl: qcom,tlmm-common: add common check for function Date: Tue, 27 Sep 2022 19:36:35 +0200 Message-Id: <20220927173702.5200-8-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> References: <20220927173702.5200-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. Add a check for this in common Qualcomm TLMM pin controller schema. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring Reviewed-by: Stephan Gerhold --- .../bindings/pinctrl/qcom,tlmm-common.yaml | 20 +++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,tlmm-common.yam= l b/Documentation/devicetree/bindings/pinctrl/qcom,tlmm-common.yaml index c88c8dcb69d9..e1354f0c64f8 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,tlmm-common.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,tlmm-common.yaml @@ -65,10 +65,6 @@ additionalProperties: true =20 $defs: qcom-tlmm-state: - allOf: - - $ref: pincfg-node.yaml# - - $ref: pinmux-node.yaml# - properties: drive-strength: enum: [2, 4, 6, 8, 10, 12, 14, 16] @@ -82,5 +78,21 @@ $defs: output-high: true output-low: true =20 + allOf: + - $ref: pincfg-node.yaml# + - $ref: pinmux-node.yaml# + + - if: + properties: + pins: + items: + pattern: "^gpio" + then: + required: + - function + else: + properties: + function: false + additionalProperties: true ... --=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 6ED11C07E9D for ; Tue, 27 Sep 2022 17:38:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232988AbiI0RiY (ORCPT ); Tue, 27 Sep 2022 13:38:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233069AbiI0Rh4 (ORCPT ); Tue, 27 Sep 2022 13:37:56 -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 E05051D983B for ; Tue, 27 Sep 2022 10:37:53 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id a3so16750358lfk.9 for ; Tue, 27 Sep 2022 10:37:53 -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=KZq/VCOTUDh8d3vinjVf9ILpIBpS9jWKM4jmHbH7DA0=; b=tO2/pCx8JS42OyCSh+yEYIt+He7OGI5Az5S5+uxIAgpdvIsulXPyzfEfwvzvNjn9o2 nmvkEQkJmn1uFzFwVj2qxuTXI1/icSwakFT/I0ei8YOZJnhPsu3bZxNJUIJYG5GFRCWB kdWK78rh8C8PueC8/Y25uPWB2u7ZeR3ik+prhwbN2vXcg3fIX+mYC3CistHYV3NoSic0 VWNVjAxvDLWrWWguHkkCS0WzL8UZdRA/6IYcOaGNZHS0toSlB5jyWxW2kcxmXrvOYbAS jNFhVyvlT1cYh9fXecTQiCtGeqM1QOlR1USQL31Vai22eaVZKMBYJhERwbi+mnpdMfVE FxDw== 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=KZq/VCOTUDh8d3vinjVf9ILpIBpS9jWKM4jmHbH7DA0=; b=cK4taBlgAAMUu4emSj13dAmqKthaVwRlI8qBj3f6u+M6YBmDrTugf25b36FORnz4Mw WA5txnJTn0UrO73OyMOnvtqnEEqK0plzGPn0AK4ipcYyC8X/Al1iJfKSsFopYvbugnkv /ZGjV9HXoRcdiScrfMVxBeAEsX6pH7MZkMshu0Gj2/2yQNDtVRkJyVOVtHf5zAQy/Iio MMEvbrSNLhHpIS/nlncqa2DLVmpAvC+o4yX93Sz5ZnBPy5snJg+l7TmQgiaz3o1snJFr GObHgj0JiTbkXroHUXc2zn6Z77IYNLWogJ1pg3g8+za9lpJHGXlm/8QFB1JnWjnfueyx +zPA== X-Gm-Message-State: ACrzQf2ViMaTXL0vGkH+Xk0X3t4Z6kFlFSsiOYbovW1K9delai84G8+z jXb46ty+O0B1t2qYTtailmdRYw== X-Google-Smtp-Source: AMsMyM4hYR9bZgBkwkJolmXHbKiym4oVsu1h1wrs8QrL332ZOtTHrdCmNZydXniMXPcJEtxOyOdXXQ== X-Received: by 2002:a05:6512:1195:b0:4a1:e2ef:adbe with SMTP id g21-20020a056512119500b004a1e2efadbemr3045291lfr.239.1664300272293; Tue, 27 Sep 2022 10:37:52 -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 q12-20020ac246ec000000b00498f570aef2sm218879lfo.209.2022.09.27.10.37.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 10:37:50 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , 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 v3 08/34] dt-bindings: pinctrl: qcom,ipq6018: add qpic_pad function Date: Tue, 27 Sep 2022 19:36:36 +0200 Message-Id: <20220927173702.5200-9-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> References: <20220927173702.5200-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 Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring --- .../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 9c6e2cb0c6a5..0bd1aded132d 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 AE2C8C6FA83 for ; Tue, 27 Sep 2022 17:38:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233128AbiI0Rif (ORCPT ); Tue, 27 Sep 2022 13:38:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232993AbiI0RiG (ORCPT ); Tue, 27 Sep 2022 13:38:06 -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 50CF41E1CEA for ; Tue, 27 Sep 2022 10:38:02 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id q17so11695959lji.11 for ; Tue, 27 Sep 2022 10:38:01 -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=Mi1c5O8t+ABf8uuzMkxRRUW8s/gQxdD68rNUaiMpPrM=; b=y/iHV/TKjBAEd4WGn82lvnfxtBRxHV9iFFz6/38Iuu7LkokYHC5h82nE0ZR7Q+/BRb E1QZ9lo0kms1RhomBpLBaVNd6dbXDJcmbVj7cMQqcPvuTt+MCzEizXwShIBnteRaoIJc u32ENujVXpOA+KHhfp6y4N93VLtVTKtxJmwcA+oWm/yrAteiBcOimnxy/2gNGKqGKUlG CzokHV5l1r1xjH++6DwYx1HCZR1KG21O6vLmSgOWG8d7ikZHTYql4CCaMQTaKp+ey5LF jkB96W5dCFhU2a+Q+4+HUMjSuny/1Pi+4tdBl9nhzuKmQ7qVv3iKNt5hfqJNA8XYkiIe kf/A== 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=Mi1c5O8t+ABf8uuzMkxRRUW8s/gQxdD68rNUaiMpPrM=; b=ZYWjhskdONidL1DWetP5VX0SR1c5+fvwNq1iuYDk46yxi61ac5j4dYdpo+C2gryp16 hIxQJ65bfPMgjBwapd23TLK3uQ5eIyEzXEjRL0KrGM6CN2y72N1YInUnMjoD4Qn2v4m/ J+vj84381HjrMBS9qTo5PIqIfJXBCkqzOIA8Ea2KqGax73gSTdaoFF3BF2yU35ua/xw/ 8oGmkXZgDWJjVXe/0EctuoQUcG82iGlb+9JJ+YGhFPxP3z4JpGVRIwQaZM2DLX5vbUjo rZhR2lvLBcBrIwbHRwvsf1Qe4VFwZmZuHzgq3IujBuup2Zngiw8oSVgJrv90odSkmiqa 0hag== X-Gm-Message-State: ACrzQf3oR+DfdhRh3KsoU+/lzFpKp3uS5l7Ye5jrf74ljWel2sVSGA5O z8ve2oa0uEoFmjJaJu92CrBOVQ== X-Google-Smtp-Source: AMsMyM4JuMfZU3TDcDw9cMWwJO3IeGLjeshApIUkPIdhLXvGMbfOjIpa4+rYJTUpuD4IbpOFWH93+w== X-Received: by 2002:a05:651c:b0d:b0:26c:5556:81bc with SMTP id b13-20020a05651c0b0d00b0026c555681bcmr9853834ljr.495.1664300281627; Tue, 27 Sep 2022 10:38:01 -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 q12-20020ac246ec000000b00498f570aef2sm218879lfo.209.2022.09.27.10.37.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 10:37:56 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , 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 v3 09/34] dt-bindings: pinctrl: qcom,ipq6018: correct BLSP6->BLSP0 functions Date: Tue, 27 Sep 2022 19:36:37 +0200 Message-Id: <20220927173702.5200-10-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> References: <20220927173702.5200-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 pin controller driver has BLSP functions from 0 to 5, not 1 to 6. Add missing blsp0_i2c, blsp0_spi (already used in ipq6018-cp01-c1) and blsp0_uart. Drop blsp6_i2c and blsp6_spi. This fixes dtbs_check warning: ipq6018-cp01-c1.dtb: pinctrl@1000000: spi-0-state: 'oneOf' conditional fa= iled, one must be fixed: 'bias-pull-down', 'drive-strength', 'function', 'pins' do not match any= of the regexes: '-pins$', 'pinctrl-[0-9]+' 'blsp0_spi' is not one of ['adsp_ext', 'alsp_int', ..... Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- Changes since v2: 1. New patch --- .../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 0bd1aded132d..76698cd97e8c 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml @@ -72,12 +72,12 @@ patternProperties: enum: [ adsp_ext, alsp_int, atest_bbrx0, atest_bbrx1, atest_char, atest_char0, atest_char1, atest_char2, atest_char3, atest_= combodac, atest_gpsadc0, atest_gpsadc1, atest_tsens, atest_wlan0, - atest_wlan1, backlight_en, bimc_dte0, bimc_dte1, blsp1_i2c, - blsp2_i2c, blsp3_i2c, blsp4_i2c, blsp5_i2c, blsp6_i2c, bls= p1_spi, + atest_wlan1, backlight_en, bimc_dte0, bimc_dte1, blsp0_i2c= , blsp1_i2c, + blsp2_i2c, blsp3_i2c, blsp4_i2c, blsp5_i2c, blsp0_spi, bls= p1_spi, blsp1_spi_cs1, blsp1_spi_cs2, blsp1_spi_cs3, blsp2_spi, blsp2_spi_cs1, blsp2_spi_cs2, blsp2_spi_cs3, blsp3_spi, blsp3_spi_cs1, blsp3_spi_cs2, blsp3_spi_cs3, blsp4_spi, bl= sp5_spi, - blsp6_spi, blsp1_uart, blsp2_uart, blsp1_uim, blsp2_uim, c= am1_rst, + blsp0_uart, blsp1_uart, blsp2_uart, blsp1_uim, blsp2_uim, = cam1_rst, cam1_standby, cam_mclk0, cam_mclk1, cci_async, cci_i2c, cc= i_timer0, cci_timer1, cci_timer2, cdc_pdm0, codec_mad, dbg_out, disp= lay_5v, dmic0_clk, dmic0_data, dsi_rst, ebi0_wrcdc, euro_us, ext_l= pass, --=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 7F0D5C6FA83 for ; Tue, 27 Sep 2022 17:38:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232909AbiI0Riu (ORCPT ); Tue, 27 Sep 2022 13:38:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233190AbiI0RiL (ORCPT ); Tue, 27 Sep 2022 13:38:11 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFE691E3F58 for ; Tue, 27 Sep 2022 10:38:08 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id o2so16740530lfc.10 for ; Tue, 27 Sep 2022 10:38:08 -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=ZxNHa3NmbypE7KiSYNFouVgBSkT6lX8rb1wW96dFOkA=; b=AK+HmeIXCt/5GpbOH3C59+xDwTETSWd8lQKz3fvhOoQ5UPOEgpz7lb0NTDU9mo/nya KfdYDyrumsOaSxN86vM3R4rhgfm8DJzWP20X8S8FVVd3wF0CQg5QPOrQrEK099Gj++di DYeTFTQzS2COmnXIXsh/nHEJNb6T6CGQrDG14ctUjVTg0hhtSlSCJy6vjL1EkeXUfR6V xZNgJQjnEiRjp52FliBNsq5S6XwvgkkH1oRvXsbznhiNLuTCwxx+cMYTC9MN2T5GC7IZ GZ9cim9247JZYebg/PnmCuDdD0CcC9oAMRM6/00uL9XJspn3yUGzL1AsuRKXNUObBNys VSkg== 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=ZxNHa3NmbypE7KiSYNFouVgBSkT6lX8rb1wW96dFOkA=; b=MHBQgxCvV1VKwpHPo3gdNs8/Vmt028YF0X0P7WmmPjgchhSOG4+S0LBHXXCHYCFNpo pDen4UKLHvrBn+mTgIiphkyrhI/hsMi6EUEh2dHdkUUzKkVgTEc14Yy+v+gOxhtUKZzM 7Ptx/8FSTd03KsiSU0MkgGl+IxlFmaJmOsfGGno+pb8rwDlzuQOpTwrp0qyeo9WVYOBT iB9XRKux+wnmFrbjCfZ83XNPrU+QQIXERf7x1K+cdQBjRr26M5JsnIGqctmejs5iIyRJ nzKiQM9LhzAzeFrPRg7vVHdE/nFj16Kul7uVncjtOLNkgo7T/7grveBYxtb5cnllc52K s8HA== X-Gm-Message-State: ACrzQf1iOEgWHJkFlTvPfdy4lah3YNUU9HPrsJsNrdctnFqzKob7ds/C l55U4yuZqYQZN/lqDT0vvYHE4Q== X-Google-Smtp-Source: AMsMyM5W9ix5a2wH13d17zz8oTmvuoHeqfyRNXVsb11TNdURJd2vb6M8bAKqBnlk9MzTBj2QkRSQ9A== X-Received: by 2002:a05:6512:c20:b0:499:18:c967 with SMTP id z32-20020a0565120c2000b004990018c967mr10899398lfu.18.1664300286590; Tue, 27 Sep 2022 10:38:06 -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 q12-20020ac246ec000000b00498f570aef2sm218879lfo.209.2022.09.27.10.38.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 10:38:04 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , 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 v3 10/34] dt-bindings: pinctrl: qcom,ipq6018: increase number of pins in pinmux Date: Tue, 27 Sep 2022 19:36:38 +0200 Message-Id: <20220927173702.5200-11-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> References: <20220927173702.5200-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 Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring --- .../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 76698cd97e8c..7202e2af200b 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 0113EC6FA83 for ; Tue, 27 Sep 2022 17:38:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233073AbiI0Riz (ORCPT ); Tue, 27 Sep 2022 13:38:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233225AbiI0RiQ (ORCPT ); Tue, 27 Sep 2022 13:38:16 -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 DAAF01E3F5D for ; Tue, 27 Sep 2022 10:38:09 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id w8so16757383lft.12 for ; Tue, 27 Sep 2022 10:38:09 -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=kObwly8KM8UXKGIu2/gCaga6ryxknVlFGZT/OaEow5s=; b=rceIIaBgG64gmIVxVTG1SpmPVB0025LJSF5zHQcfvxVvRD770nabuLK6aD5g7xYk4w tWl6uOTFMYPums6k3kjwMxotaU/ehSdvI+lq6WfUsAgVRUlLx8yBtAdb1pVIifQS8/gx OFzwTI0h5cmACndXFvRmpkemZwDJoWWkKFOIOUe/oh3Mm2OIwMgefAKRsOEtifHDx+e+ XiG7ZDkGm81kmm989DI9h4tQdp8+0owlQHTGki0F59avvagYiwVtsWsJXOB7QcQH6vp5 LQjzSZIwEN545n7SNYbLPt/q5mgRHLzxIbHW/tecG3YuOmM4qzzFj30tIB0ry1Cit0Yc 5r8A== 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=kObwly8KM8UXKGIu2/gCaga6ryxknVlFGZT/OaEow5s=; b=hnTHgPlXMNE8N9BAgomJ98Tv+vAxc/EIMvkoPkVDU66AB0XZNQpiKxM/3ol08li3vJ 9Cj8xHr2E/jxTOL+uCeG6oIcH85mgATAljBs6a+mXC7AeRE3xoLjmweX6joVrqS1bc05 aanaBiPhXJ7qcsa2sVjM1gXnIhxaJnnW0lxdogMgn/6wZMBRlCkNo12jQg2NdC9xmaES orY48nwUWy/tA05IiZWgMgkGCTgRvaD2+AYpZBO9t1WMBBRp2iR+BGvc27YS0KPDETjt GKV6DqMPgeTawaOrMQbxkTs4phKncAfNo50kESpylhLt6MG9Wt1tEDAF4IG124LjK0LU yJIg== X-Gm-Message-State: ACrzQf2hmYyjVtO4zBFeodVSho1myC+W5KD/LrmkI0LTxrqryBImJk7Y 9oX4rjMt/DYpH9IpuKPBVBjyqg== X-Google-Smtp-Source: AMsMyM7TR2DHM1fj1Onn7DOWnaaDlK/lbPAz/mX2SH9DzO84HvAEwMUOvFbDlr1aXslH/wmowN39HA== X-Received: by 2002:a05:6512:3e1e:b0:499:34:e8a7 with SMTP id i30-20020a0565123e1e00b004990034e8a7mr11091385lfv.655.1664300289133; Tue, 27 Sep 2022 10:38:09 -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 q12-20020ac246ec000000b00498f570aef2sm218879lfo.209.2022.09.27.10.38.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 10:38:07 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , 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 v3 11/34] dt-bindings: pinctrl: qcom,ipq6018: fix matching pin config Date: Tue, 27 Sep 2022 19:36:39 +0200 Message-Id: <20220927173702.5200-12-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> References: <20220927173702.5200-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 Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring --- .../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 7202e2af200b..735a8786cb13 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 C0024C07E9D for ; Tue, 27 Sep 2022 17:39:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232805AbiI0RjA (ORCPT ); Tue, 27 Sep 2022 13:39:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233051AbiI0RiW (ORCPT ); Tue, 27 Sep 2022 13:38: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 B082F1D624A for ; Tue, 27 Sep 2022 10:38:14 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id a10so11798768ljq.0 for ; Tue, 27 Sep 2022 10:38: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=D9NqHmVscqTgR80MyGgo4xdR6r5XZK5KUzqO3Hs+6YU=; b=jt9V6nOZuEJWPhqzBalm7Ci9griAR9Qq4CMaYb+FMJDgC12laM45FKXNI88Gh2p0cl 98s4CJXWAHUPogi19xjx3IwNWLmMA+mAwZcMn2X/ZqUn+9TIGG0g9o/DCrSRE/xhMy2n C5Ax2Kp6DVQPSWXeIdCic6pB/ZLx9bqMbFDaTfrvgSeJCy3mDy+ZWiNjBn/MhoZdYu1L mp/Eg/RPNxXOpQSA0jUuCNvdgCyWptgZcyrponc9+wW9Kdmh7mcaG+JMrRa9s3+k+Ad0 jTSpfRHT7gVgx1ajBqbMHBhI4f6cSOl4B9beD2NXx9yrpw6MJu5OnrQRRJo0fHWF0GgL fCng== 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=D9NqHmVscqTgR80MyGgo4xdR6r5XZK5KUzqO3Hs+6YU=; b=vJ0Y1YC/JWzS4Xtk6h6XTRZywPO+Rw1BYlA7pWlHddI0ueswD6mm4IiKMYsowlVd1R EGTNg76bFpW4E4aEqtTktg7zjJIiI3vwQ4eA5DYTCoOpBBrzUEcKsO7uN9hhZYLq/8YD IBjU3eYkLofx8dwqLR5BJHkiBnJNIBiFWgK8cDWOY9oFCa1OydjoaNcXGLyus74ktjqw yDopVUwAmO8WX+F0gxem5lS1cO2h1AZQny6Qj5N9IMHz1hlrP2YYfLkhGUrd0XNe4NHv kToaX4blyY6AAtToLW6QvDWI3ZFEf6X1oGxEDAE3aZGxDcFcmbz2vjoHTaTu3CKkRUU2 c49Q== X-Gm-Message-State: ACrzQf0V/U4mB76Jf5t3E/vclEodlZVfYxmyzeTKkztKwDYqydKmJa5L ZbmHBbmAiGYcs6g6aBUr4Jorbg== X-Google-Smtp-Source: AMsMyM4poDckf7x6/pf84z11NdpCVpIvrYbhs+WGnnKXbnXboA+64M9rKgs0ForXgo0ekfMFTUZgXQ== X-Received: by 2002:a05:651c:128d:b0:26c:37f9:c8d8 with SMTP id 13-20020a05651c128d00b0026c37f9c8d8mr9761270ljc.97.1664300294096; Tue, 27 Sep 2022 10:38: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 q12-20020ac246ec000000b00498f570aef2sm218879lfo.209.2022.09.27.10.38.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 10:38:11 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , 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 v3 12/34] dt-bindings: pinctrl: qcom,ipq6018: use common TLMM schema Date: Tue, 27 Sep 2022 19:36:40 +0200 Message-Id: <20220927173702.5200-13-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> References: <20220927173702.5200-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" Reference common Qualcomm TLMM pin controller schema, to bring other regular schemas and additional checks, like function required only for GPIOs. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring --- v1 was reviewed by Rob, but patch was changed since that time, so not adding Rob's tag. --- .../devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl= .yaml b/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml index 735a8786cb13..bc85e098b5d7 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml @@ -56,7 +56,7 @@ $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" + $ref: qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state =20 properties: pins: @@ -121,12 +121,11 @@ $defs: =20 required: - pins - - function =20 additionalProperties: false =20 allOf: - - $ref: "pinctrl.yaml#" + - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# =20 required: - compatible --=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 7ED88C54EE9 for ; Tue, 27 Sep 2022 17:39:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233239AbiI0RjN (ORCPT ); Tue, 27 Sep 2022 13:39:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233094AbiI0Rie (ORCPT ); Tue, 27 Sep 2022 13:38:34 -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 98C841E3F61 for ; Tue, 27 Sep 2022 10:38:18 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id z25so16819028lfr.2 for ; Tue, 27 Sep 2022 10:38:18 -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=WqjZLYmMlQ3mNOcPU7Wva2dXZF2BgJT6gPAgFenRy9o=; b=Xn9G24D2MpyjgtbWFb2vEPYKG5YP/zB3jeC6RgLG2HHwEH2gpcTUp4GC//b0kaewLB jBEvpNXab+b5Dz+yWEpQ+b7B96KnJohA4ltxDSel6iWN2JN4TmpKBB/+XCwX8G0MYUOK U2+UsBKSADnVM7DfartgKdjqin4LV1Vf5OHmQnjZHQ8WIz6MW7mu0yvtsJFdI+iH/8jX KjScpi+3oCT0tCYPrNSIGyRr/cTPCq4oxUMHUmlNDjYYz9ZNHYw/Nelv97L605IahDzH OW5EID7ZmdQPoUs+yb4HQnuwqty7l3Fzk4N8EWA03Uz2IZzgL0ZCj9VfrzlSJPTIR+XR FGhQ== 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=WqjZLYmMlQ3mNOcPU7Wva2dXZF2BgJT6gPAgFenRy9o=; b=Q5NAp7zmRpnRcGb/n2/2gdL7IubxdCjBjzGG1a9OpL+HDuIRmmvNexJt5Op7J/dtVY h/xwEh6HQnjyFPXMYbLHHcwaymekMwiJwgttcdyE7uRLIvBuUZvbnwJj8uhDyYcqx/ZL QQNCzslUX8uLuwINz+gsipepckroduHk2cS/RBIcAvg95FVSuoBdF6ZRjSUeBkaC6Fiu hI5SYL4ZWEphazK5emGoJaurPKnfBN081HgypbdpMyFO1PomExUkcpLuiiiEj1Boc+E7 qPZ7JsehJ4gDHaQG+pPwLQfhstOUYGoxOWoeCIr9igZNmg7jtcTavbbCG/F652hwMmt3 OkHw== X-Gm-Message-State: ACrzQf1KaGC073VlHv2MiCPCfcUFIz9i3ZdCSFfF5yny9U/FCTI9ut28 pOpaAjjmF6LVPQPRWjzMafU8bQ== X-Google-Smtp-Source: AMsMyM4UAKbPloMpGpKA1+ePFN8umxdOc6uHa8bL9IBy5F0NN1d1BVMf6OszkS1NZHnoes8RiJS7GQ== X-Received: by 2002:a05:6512:261e:b0:4a1:8b6:86bb with SMTP id bt30-20020a056512261e00b004a108b686bbmr7348354lfb.334.1664300297959; Tue, 27 Sep 2022 10:38: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 q12-20020ac246ec000000b00498f570aef2sm218879lfo.209.2022.09.27.10.38.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 10:38:15 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , 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 v3 13/34] dt-bindings: pinctrl: qcom,ipq6018: fix indentation in example Date: Tue, 27 Sep 2022 19:36:41 +0200 Message-Id: <20220927173702.5200-14-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> References: <20220927173702.5200-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 Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring --- .../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 bc85e098b5d7..9cd3a5466eb9 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml @@ -141,21 +141,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 B85B1C07E9D for ; Tue, 27 Sep 2022 17:39:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233303AbiI0RjT (ORCPT ); Tue, 27 Sep 2022 13:39:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233267AbiI0Rij (ORCPT ); Tue, 27 Sep 2022 13:38:39 -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 11B4A1D9819 for ; Tue, 27 Sep 2022 10:38:20 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id j16so16823113lfg.1 for ; Tue, 27 Sep 2022 10:38: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=QZpy1tQNR59VQx71GuVhrGdOEH9JzyWI/ex9XtbiKQ0=; b=cBr+FXjI2QdZouUINVDb5snru1miuCdF0/9KuAlaFeBNR3FerBcm0MSlEd4JRMe8LO Sm50aKKepQObpqku0nKbPzAOPcCdWInvwh/Q3ScyNla+FQwdX72dFsDQmpE4kEqVfneK tJ/QD1cJU/8JnmjmjRJqIHFWQOK23wPUOh16xlY6f6bUSyy44mOZ+xwxhl3jB67Yc7X0 7+Vzy1L6rsXWh3cslj50vVcuNGilxXJaBolDluGzixZSPrVlupFuVK0uVvvcxrdMETc6 BhuNO9stpCep9glQlYRK4zkQ9wkcu54ffp2mcD0b8xQ6OtP87qXGMl2X8kBYLxi1us93 bIaQ== 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=QZpy1tQNR59VQx71GuVhrGdOEH9JzyWI/ex9XtbiKQ0=; b=xgXzDC4sR9LBBbNV2HrOfFLPPs1zFWLeuDWX5//waaf6rqV6nf/TD42UgwixwNBcN2 zW8hlCOmQ4JobkEvifOVozNeM+VrHovxuv+2zRndpWXPneknCE/oSSfNCptrdX6QegiB C1e9X4GB31xC4ryK/RcT38SYsJ2GH6FapQBXmVbekW/ya/YJJXRLQiju8pw2IipNflr3 7oc/Q9TyvqwmHgpxxnbnAbZWCG4pxv5tHyi4ldwYnq3lXW8h2zzCJIaSPTVzwlCDmHpK oAkPdwIaMMzYGTZeOmf8o0GpRnBf8ec6NDRuoAR+D5JxNJoQn9XW4kJ1/xCx8NHrpkib lOww== X-Gm-Message-State: ACrzQf3TN4l+Cc2iNfq8OmG+zowrwlHGYBXc5Wj2Pbusv9vUYWg8ieR8 sL3C7kuHKmKsgh6z/C/yVTLW9w== X-Google-Smtp-Source: AMsMyM48G+IHPuxXwnXw+FyxHn5JBEimD90hr4zfb5of9AjoGUI9FgEmH3Tw2607uxpd0k8ochWDUw== X-Received: by 2002:ac2:4d0b:0:b0:497:a7fb:229 with SMTP id r11-20020ac24d0b000000b00497a7fb0229mr10956634lfi.174.1664300300449; Tue, 27 Sep 2022 10:38: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 q12-20020ac246ec000000b00498f570aef2sm218879lfo.209.2022.09.27.10.38.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 10:38:19 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , 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 v3 14/34] dt-bindings: pinctrl: qcom,msm8226: fix matching pin config Date: Tue, 27 Sep 2022 19:36:42 +0200 Message-Id: <20220927173702.5200-15-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> References: <20220927173702.5200-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 Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring --- .../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 66939C6FA83 for ; Tue, 27 Sep 2022 17:39:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233030AbiI0Rjh (ORCPT ); Tue, 27 Sep 2022 13:39:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232880AbiI0Rir (ORCPT ); Tue, 27 Sep 2022 13:38:47 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 728021E45AD for ; Tue, 27 Sep 2022 10:38:28 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id u18so16752884lfo.8 for ; Tue, 27 Sep 2022 10:38: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=QWyssu4OHqLC0ekOypoYy6Karlav9/nAQkw9wJJv+F8=; b=x/7OMCb5ZemXQCpvosP0/1zP+kN5C1A4bPCEiIZjTnwuYKxOL8m7wKhxa+mGiF+FP+ yIve6ketdbi/sr17l9UF+KVVNIwRL2xmnm99yekKsAKLlTXXB9n3ONitVpFJNKHz+q8O ydIQSSxYDYlZfzKGMYmQ1qmo0ZGOFYYCL4+I0d7PNDkeXllCLR+Y0z4eXcP31jXeMvNl JHcO+mM2h8LkW4l3V4R5E1tzhr/HlgEvMaYcIuyV6RsLnZHhXKg/t2L9L3vG09gm/0x3 jdwhplZLObhAEdfJV5kx44F3Gan4QjTLbDJA6sOWeo4HgafqQK1rEXGaZrkie3sYwsZa ZVaQ== 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=QWyssu4OHqLC0ekOypoYy6Karlav9/nAQkw9wJJv+F8=; b=zBT1HUQuAUGhqQSQtJqfVV3RY03bFzpp3NZ1SPuuWBGzYE/CAc+2Q9B/icYuZI9ze+ UwYJv7GY+pAblraCISue4bPZTgi3+XaG6QShL2nadoUpt2W1JizyPG+4Cwy4goJqFzY4 AlhTbJO3GINF8qf+EMXiGxTgWkBV/tmFbtg9H3LhBQ+Ozu3fBrVzJNSWQ9N2y36dgeqJ glUgCvnSs9eqYQaq3nHkMrZe+EDLHCwundBTFwppb09Hxbz1KybcB6cyGDKAeY3XmEUX RkxIPsNpL0fGDiTVa1PLnFDkJVoO4RdQ1oFsTjLxX/wXMfqZHiDD53nb8yDiJItz8ERN /IPw== X-Gm-Message-State: ACrzQf1poHXqBkv6LpxSF/PkadEifo8zOiNiYqv8JfarwZ9aesCHJqH5 s3snBWYY+zxOv8WFlk9EK5Mm7A== X-Google-Smtp-Source: AMsMyM5owfis2ExO5cEq2GgPgm/4v4UZuoIM6wgjK7l78bW6W9XPiMEdhEP2yShAroSZhAdfrNMzIQ== X-Received: by 2002:ac2:59cc:0:b0:4a0:5393:3791 with SMTP id x12-20020ac259cc000000b004a053933791mr9092855lfn.495.1664300306096; Tue, 27 Sep 2022 10:38:26 -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 q12-20020ac246ec000000b00498f570aef2sm218879lfo.209.2022.09.27.10.38.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 10:38:22 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , 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 v3 15/34] dt-bindings: pinctrl: qcom,msm8226: use common TLMM schema Date: Tue, 27 Sep 2022 19:36:43 +0200 Message-Id: <20220927173702.5200-16-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> References: <20220927173702.5200-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" Reference common Qualcomm TLMM pin controller schema, to bring other regular schemas and additional checks, like function required only for GPIOs. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring --- v1 was reviewed by Rob, but patch was changed since that time, so not adding Rob's tag. --- .../devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl= .yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml index ecb90c77f666..a64e2dbb0972 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml @@ -60,7 +60,7 @@ $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" + $ref: qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state =20 properties: pins: @@ -101,12 +101,11 @@ $defs: =20 required: - pins - - function =20 additionalProperties: false =20 allOf: - - $ref: "pinctrl.yaml#" + - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# =20 required: - compatible --=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 039C8C54EE9 for ; Tue, 27 Sep 2022 17:39:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233324AbiI0Rjo (ORCPT ); Tue, 27 Sep 2022 13:39:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233140AbiI0Ris (ORCPT ); Tue, 27 Sep 2022 13:38:48 -0400 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2A631E45BD for ; Tue, 27 Sep 2022 10:38:32 -0700 (PDT) Received: by mail-lj1-x231.google.com with SMTP id b6so11705066ljr.10 for ; Tue, 27 Sep 2022 10:38:32 -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=Ce1RLC8Lp4whfUOlQ7LnP5iwovECtMTj8NmWNaZ5bG8=; b=oJkUwCAgT3gSmz67OllTriTcdGxpwOlWQkIJu6B4x/RbFPurBhwHF7vuCWPuhjQJNy fbPfV1M0odRal4T7BQFLNYH4CiVpA1U9Mc9WEzXNTrTHNX0mdkr1U19ejJC8S3QNESRU tZux00lg6TXeqJNtZ3XXb5GvIk7tgpALDB6x7+yv4vSXWCUdAPzqhyl/nhVM2By8f0yi uq0dEgr8nFoLOfTJDD1HOFtflCpESW22E3fu6AnXoOpKMcdakx9LHaafH5noFJGQA2d1 9d+2Wp19F5QoM+7fmmcyb79r72bAdPth4TL50YdQ7RKk1uS0I6K5yhMc6hY3txtYgR6Z QXuw== 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=Ce1RLC8Lp4whfUOlQ7LnP5iwovECtMTj8NmWNaZ5bG8=; b=aaWIKWCOfQ1WpHL9axHZok2B2l5o2O5Ln2asQ7Mbv0u7k1lL+8jfo66a8JDkWeqILA SYr+yY/mJdUdZhdFAhsaT6qpS6KPdYhj1atZ6biF/X/iXbCgIyiieNmkobaq3J2LD9Xf zfTXj219w00JBXoNZzKaVs+qZjiMRKfBFcQqqZxQF+Yt/VPMh+XYBKRuIc+iGzg6E5nY jc6+yEg8w9IsZQRL7LTdAp6tb8XBkJVupbnKzyzV8nEUADGHUUTX92OqfLQFr0IZ+eqx itUz01YUeL1lhSq+WcZU/2wq4IfQikEZzRJM+vIi4f+69GTiVVgyJcqAMDUllC/KyRy3 GKzA== X-Gm-Message-State: ACrzQf1ZN446COYE6joUW05yafmhRx7f9WDp+JfbDL2fKdzqVLaT8+/D UbWGMeX9vS1cwPYWnzSJoW/fDQ== X-Google-Smtp-Source: AMsMyM5wprF7tgdmJ47jhCu372/u4zL0YN4y3SgTEhUzs9YOkmW+i7SP84eyFfmmO8P+443NS+qMcA== X-Received: by 2002:a05:651c:114a:b0:25d:5ae6:42a4 with SMTP id h10-20020a05651c114a00b0025d5ae642a4mr9908009ljo.255.1664300310655; Tue, 27 Sep 2022 10:38: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 q12-20020ac246ec000000b00498f570aef2sm218879lfo.209.2022.09.27.10.38.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 10:38:27 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , 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 v3 16/34] dt-bindings: pinctrl: qcom,msm8226: add functions and input-enable Date: Tue, 27 Sep 2022 19:36:44 +0200 Message-Id: <20220927173702.5200-17-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> References: <20220927173702.5200-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 Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring --- .../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 a64e2dbb0972..9c2dbc1e31fe 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml @@ -79,9 +79,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] @@ -90,13 +91,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 D6F1EC54EE9 for ; Tue, 27 Sep 2022 17:40:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233089AbiI0RkG (ORCPT ); Tue, 27 Sep 2022 13:40:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232937AbiI0RjG (ORCPT ); Tue, 27 Sep 2022 13:39:06 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF17D1E1CE9 for ; Tue, 27 Sep 2022 10:38:35 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id s6so16769868lfo.7 for ; Tue, 27 Sep 2022 10:38: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=3YnWEuMUPvAuCowPmcYb0nhKTEJ0n3SzHEzCPy2SNUM=; b=j/ARjmq/LYpbQnK4OtkLEsFECJhDbD+kWanOUOeGHxR60JvfhrJJftFhL3EQ/XRPgc Y63AyGWRsqCV++GLUVQ4Jz0Wd13WSixNByH8mHFE4dQNGw52dcxMuatnuJdULGRMEWt7 rSfXNz77AO+SluvmmdO2BJVjYZZ66QZQF/083/JU29SnABSzITtMnb3ufyZ7rgJCuEkn nHxmdg5I1z3p8ajjTTKkL1y2Oyj/cA7Zzcpn5VTUd6xxJtnvPvG1twmrwnS+JbVh3tdS bhKBGHLq6j+hZGL4zkm/VuaeEai8dVDFPgwjMWa4bVUnoxDhDxbC1UtbbdNWf1q+SgTr +Fug== 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=3YnWEuMUPvAuCowPmcYb0nhKTEJ0n3SzHEzCPy2SNUM=; b=oME2dIaZ3P2/yfPJE/FfKXblLRukMfWGRDmkdGRgk3H5h2HLYxOlWXXbA29yUE2c7u rXTxiGjPdb8iqqTSsxdFstdEvROSDcTs5qpOz0XQ8cJooEskU4aa8Rzd/fabJ/u/ehh1 yft77raKQF8rTgAeA+ot6/1ZgND5Zdymw89byfhQmvgwDCgYGNspEmbYyjNfBj7ntVwl xi3+lH29JejvCpx9gQcZ/PZyxuK8mfm6xGmai4beEFgN/RXD/6HyK7SgSU9Dtmg9KKQM WewJQ1a73OcT5xoA/7/AGE7l/67i6knCMLgdcAEPnK+vHunFLhsRC+IpokIlQOjs+DYw yjJw== X-Gm-Message-State: ACrzQf0aIxWxRtxLjkpFCzvWDyRw70gAkhpnIqrqKO7axutTYnZ7YidS jBKm9WGJXUAVwwwWEHFT5OJ+VA== X-Google-Smtp-Source: AMsMyM74SfcxFyAYkTALHgnhAOCUH5Tlq2QeczDacfoODPxp6erWyQgb76ixtli7UhnLttW5SKgEUg== X-Received: by 2002:a05:6512:2987:b0:496:ae22:9147 with SMTP id du7-20020a056512298700b00496ae229147mr11237203lfb.97.1664300314203; Tue, 27 Sep 2022 10:38:34 -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 q12-20020ac246ec000000b00498f570aef2sm218879lfo.209.2022.09.27.10.38.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 10:38:32 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , 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 v3 17/34] dt-bindings: pinctrl: qcom,msm8226: fix indentation in example Date: Tue, 27 Sep 2022 19:36:45 +0200 Message-Id: <20220927173702.5200-18-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> References: <20220927173702.5200-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 Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring --- .../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 9c2dbc1e31fe..ecee354715f2 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml @@ -119,22 +119,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 952A9C54EE9 for ; Tue, 27 Sep 2022 17:40:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233346AbiI0RkN (ORCPT ); Tue, 27 Sep 2022 13:40:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233299AbiI0RjM (ORCPT ); Tue, 27 Sep 2022 13:39:12 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 146DD1E4582 for ; Tue, 27 Sep 2022 10:38:38 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id u18so16753628lfo.8 for ; Tue, 27 Sep 2022 10:38: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=xB28Educepf+IPa2bu7radSAhQAuISxlsfTo2XNAGj0=; b=hSZRNPzh2KrqCkPodlMo83NivQfwuyoByIw3eM7iaH+BnC+Hgb2xxcRqOn6gHe+HSX xwVtW0OAh96LJdVzOtyg3dC/ajk3BsoLxuvtYxGRNtXk4E1oH0FABxEKIIRPyIgQhRy3 V1ed6UxUDJgsxwKFRfSmAnTISNkOrfsEUzPavEkUuEJ0D0T4yVVXUw8Y7uji/rpYykWW id3algpFXucNGbclxuCeli9rBHVwLUAVEv6xZBRRTj9dAdaStYqSj9MUVfEp2EOjOQn+ T2wwShUIO/wYQ2j3VPRe4igNtusVcVHg5GoDZq0kqU8AFXC+76jcFfTpz7M3yfj4h/51 TKrw== 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=xB28Educepf+IPa2bu7radSAhQAuISxlsfTo2XNAGj0=; b=2urjSNcVpVsknuDWxOsAQEwU8GlDNJGGu+Sg+EZOY52mD2akwVgXbwoXL8TVwshXzO tEOfiLujTlHclSHUfsZFgsGfRRRBbknsiTJoZEHLihRvr7A9gdXbsp9RiOH/isZEkeVp Np3rxDeHQUSVrF8X4gI1FMy+GEB6x+Lq2gKvAF7KbU2HMlBmT9Id0LH8VUAT9jUChF5b nhOY1HdTzBpcvcYSmhA3poNPS6EQsDaSa2AlqQma2gZWbPluZnu+s1pIErMsCOlSvjes 5GL03amh65DAcj3YCNbTuDctPffxFSt+t30/MSQL0VKp76PKjilDetvxGk5qFA8HptKA LMoQ== X-Gm-Message-State: ACrzQf3YiuPx9Riydp4R2EJoEGjGYgSHBhH41dRifYy00szJCYZ7YPNX w9wNONDknNuVr25FbMTTyM82xw== X-Google-Smtp-Source: AMsMyM48me0beCgoGDPz0SC/BrZGdw0oEi+C/2M2ntiEeXFZGZK3vCINmtJQYBq/UOACiNAw150GHQ== X-Received: by 2002:a05:6512:3a91:b0:49a:d3f2:1b09 with SMTP id q17-20020a0565123a9100b0049ad3f21b09mr10707842lfu.255.1664300318409; Tue, 27 Sep 2022 10:38:38 -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 q12-20020ac246ec000000b00498f570aef2sm218879lfo.209.2022.09.27.10.38.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 10:38:37 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , 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 v3 18/34] dt-bindings: pinctrl: qcom,msm8909-tlmm: fix matching pin config Date: Tue, 27 Sep 2022 19:36:46 +0200 Message-Id: <20220927173702.5200-19-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> References: <20220927173702.5200-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 Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring Reviewed-by: Stephan Gerhold --- .../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 1A1F9C07E9D for ; Tue, 27 Sep 2022 17:40:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232674AbiI0Rk3 (ORCPT ); Tue, 27 Sep 2022 13:40:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233304AbiI0RjU (ORCPT ); Tue, 27 Sep 2022 13:39:20 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C11DD1E7699 for ; Tue, 27 Sep 2022 10:38:42 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id a3so16753429lfk.9 for ; Tue, 27 Sep 2022 10:38:42 -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=lCmscB9HoSOsvxfbLHIo1vqOoKuqSEqO2nxtzExDOCQ=; b=K0hqnmWjl41grgVpa430TOvKb6GTLsdsm+uQ1XY4Yt5uW2m/zzHePP5nNZBnk05qun AN5T7Vpl7fHpe7FiJmvrOmW1msRAojGsamvbgrBYSz99IldzjQE8s6Y+va+ziN4LVT33 QQMQc4rkWgNhPuHYNzvxla6El+tzkU74lXU31T1rFl5OnOUoTHjVshyxIqedz8QEAY5c n/EHJpz7ANelgNYwcq+rcxAS42sI+Eb7AbfEct7+DqEa9C0Ls7jWrL5xNQHPb2SfBncV CT93xoNnwPVLKsJ/VPTY+Rs6iMgagC3LftMOGzCcJAB1HsCtxyjBIIfV3XPq0/q2qBho 75TQ== 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=lCmscB9HoSOsvxfbLHIo1vqOoKuqSEqO2nxtzExDOCQ=; b=tRoHKTS79sNhhKfLLiK7la+nxru69fHHX9UTNrRaOv7xyxZjKMKM3/dEb3XMbJJKLM pVNj8MdMUJ3rPq3xf6sdvdHIXdiZUeZ/7XR1fAxnMXrUqwSTc8JlK3AAnCGQa3CbTIg8 jlXEt2eR9ZdToPOM3uEOt4FqwQV1goCcW4+C/mB7mpxLGVq5WgJRfdhvsdO0+Eujz6XC dvIlpsZDxzatl8ds0J+u78Tc+w4W0GPqSqhwjwpBNV82ApcczFvBLNhtZPbmgMMM6oC1 0+frGK5bHTznXanGQZ1OvgJD/MQCadBy2ivYHoD0xbHRukfWjF0val+RH0HRCvxpgPOU b8PA== X-Gm-Message-State: ACrzQf1nfB8TKOhKDwgBsH0NK8IjQoJc6+6d5YmzCarK8WW4eGYi0vHP 4jEeyV5Qehwl1cSQb2qb81hz7A== X-Google-Smtp-Source: AMsMyM6sWIpERQcf2T2x8b9tHQ1BMjCZbsjr1jGaxCa2V3bOoirO6srVqHm+wwhlhewWXD/82Sl/3g== X-Received: by 2002:a05:6512:a85:b0:49a:c6f2:7aa4 with SMTP id m5-20020a0565120a8500b0049ac6f27aa4mr11543372lfu.59.1664300320288; Tue, 27 Sep 2022 10:38: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 q12-20020ac246ec000000b00498f570aef2sm218879lfo.209.2022.09.27.10.38.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 10:38:39 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , 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 v3 19/34] dt-bindings: pinctrl: qcom,msm8909-tlmm: do not require function on non-GPIOs Date: Tue, 27 Sep 2022 19:36:47 +0200 Message-Id: <20220927173702.5200-20-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> References: <20220927173702.5200-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: Bjorn Andersson Reviewed-by: Rob Herring Reviewed-by: Stephan Gerhold --- v1 was reviewed by Rob, but patch was changed since that time, so not adding Rob's tag. --- Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.ya= ml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml index b1735918fa90..08e2dd5cbebe 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml @@ -113,7 +113,6 @@ $defs: =20 required: - pins - - 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 1FA9DC54EE9 for ; Tue, 27 Sep 2022 17:40:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233282AbiI0RkZ (ORCPT ); Tue, 27 Sep 2022 13:40:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233272AbiI0RjR (ORCPT ); Tue, 27 Sep 2022 13:39:17 -0400 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D027B1E3F58 for ; Tue, 27 Sep 2022 10:38:43 -0700 (PDT) Received: by mail-lj1-x231.google.com with SMTP id b6so11705643ljr.10 for ; Tue, 27 Sep 2022 10:38:43 -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=9+tXTwnubeAkN3SzieQvhrB6VbDPmkXBs62KmjOv75A=; b=CFEunxakkd3tmBC+XsoxcOKyQvxfDlNpQnmi5vkKMgAMsjODZgCL5uceD+g2XqQbjm 4MealeUeLYI9EHXxbMDPrYH62dTjJzSyoVOndJwJRwkF2Mc2rU7mogr17xEbYfi2ilFb GPm00W+Qr2NSn/95FYqengWDjEzv+BiSd7Untp2TzvbHy83ji67xCvuPwONWsWrm1WPh kOyUuykmnBotkYU6/XgQIL7h2zof6oxLM7c/t7RAR+/kbygfIJfBakzbTxkmwSrfEKBs ljc9iyiht5A9RLaC5+wHhqPu3mkjddLyHeTrFGTS1JGAn8Cyw2AjQgEr4OcS3P5fLQGQ wFJw== 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=9+tXTwnubeAkN3SzieQvhrB6VbDPmkXBs62KmjOv75A=; b=EsLfNPOYxp8zlJFD6p6cFLhe7U625iqjbm7OjJWf/pl7Wg8HvqkVxjaRfQcHOENaVc sMSSQhqzsD5bUf3VD77a3+GsF+0C521sddxI1IsB3WNwZknMcYdbEM5lYfl6C91h6ym3 gkKIwsIDiaKwNjfTC2GBz77QNrQ1nU6umyJ6Y0i0I0u6ZL9eZHUERbDR05bfMsh8DF0G yJydvVjfxq253zDBYTaBH5en3LzAoE4ziGn+XgGGxo2nvPVjyWM5m+qUeohjBoKOrejJ vlobu30OnBL240rJxP4mqUjC0dgYgSom4cOhJ0gL+XYxpBHBiHBZMCCJHEviJiHCpbFf wPeQ== X-Gm-Message-State: ACrzQf26UO+5br+ROpGSLK2bBlz6/tG2fMcxSrtlmunTVl6+68I/evDi OHI8Smscxgcj4+fiiOybf31ysA== X-Google-Smtp-Source: AMsMyM5na8T4oCKS672ibKsOpKYw+CQA3ThZkfAtxzhQv1pRSeFmWJE8RI1z8UMgP160EjCdzCWEmg== X-Received: by 2002:a05:651c:555:b0:26c:6a30:770 with SMTP id q21-20020a05651c055500b0026c6a300770mr10551692ljp.376.1664300323235; Tue, 27 Sep 2022 10:38: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 q12-20020ac246ec000000b00498f570aef2sm218879lfo.209.2022.09.27.10.38.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 10:38:41 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , 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 v3 20/34] dt-bindings: pinctrl: qcom,msm8909-tlmm: fix indentation in example Date: Tue, 27 Sep 2022 19:36:48 +0200 Message-Id: <20220927173702.5200-21-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> References: <20220927173702.5200-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 Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring Reviewed-by: Stephan Gerhold --- .../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 08e2dd5cbebe..9c647e24fa9a 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml @@ -118,35 +118,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 CE107C54EE9 for ; Tue, 27 Sep 2022 17:40:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233309AbiI0Rko (ORCPT ); Tue, 27 Sep 2022 13:40:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233310AbiI0Rjk (ORCPT ); Tue, 27 Sep 2022 13:39:40 -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 ED5B31E76A5 for ; Tue, 27 Sep 2022 10:38:45 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id a8so16751374lff.13 for ; Tue, 27 Sep 2022 10:38:45 -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=V7CgKVZozN4gM1PrgaoGvydsZwQHsP11i4E2EPmWkyA=; b=dEOKL+wWe/Aw9sSzag+qu9MFnocb/XMY+eGIuCnILtn2BizL8+rUADH1Hw5KJacbOe DjpvpNuXr48hAqoScYbUVEbjlcxGZesPG0e6VjG57g+6G2RmGiE3ZbIgQZiJzkNQwugQ 0TZA2vSN0EVITXBq/61kobUwmw07d57uCXJg3vz8Wcp2+VTvVQ7ZZdnIEBZJhQW51AeH ueU8Sa6Pam0Fks7WZrtmqYehaqcrteUQfmuAMgJWT5AhKC0Ya+Xxdnf37CRmj49NhvSz BxwiY8QW5Mo+97NE83U48HvfT4JBlwsqj+dX1WZDt8kTSYWR6YGkkN8EfjTL+3GmtEKU cEpw== 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=V7CgKVZozN4gM1PrgaoGvydsZwQHsP11i4E2EPmWkyA=; b=2sRgluAxr72DmGEbIk9a8+3P1sxxZWw524pJkZ/U1wRtDX7EZsyaNgKPf6yFUL1HJp 06hGkiOlPxGm1Pw4AXLvr1JP4VlGi7y81Meh9EmCQLU3jaaRD2cquaypJu6d8/lJ8vCT h+ym+Fira6wBYccDTABXiHJ+BFCO2t5+jfx1F7BPBZW9K3JqzfRNEbezvGUWedHweCM8 +kAddsOlhShMwxtlK7nXGZ0DR5vfmAb4UaK1dL+WRtPRE2hE4bPYC61sONW+R3BCNgxd NHXivMCEZQ6aMd3rYRWDI1fl9Ei5m6c+8XNyzY0/XNnxldIKyUHkta52Ia3C5p3t2Owd IUmA== X-Gm-Message-State: ACrzQf0DkFbeS5f3+gx/tVYv1o1fK+6+Iu2qbLUDIgBnqWSgr0+OYMrv k6ZXXJDYx4cIhhYfMwAZwz53gQ== X-Google-Smtp-Source: AMsMyM7DbsH+9dz6FoGCnZavDkqRUQQwL/q2LOVUFNKPd62F6Z71ux9keqWAt5VNcw87RzZ4mQDdmg== X-Received: by 2002:a05:6512:1287:b0:49e:f94f:eb72 with SMTP id u7-20020a056512128700b0049ef94feb72mr12499012lfs.376.1664300325264; Tue, 27 Sep 2022 10:38: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 q12-20020ac246ec000000b00498f570aef2sm218879lfo.209.2022.09.27.10.38.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 10:38:44 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , 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 v3 21/34] dt-bindings: pinctrl: qcom,msm8953: fix matching pin config Date: Tue, 27 Sep 2022 19:36:49 +0200 Message-Id: <20220927173702.5200-22-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> References: <20220927173702.5200-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 Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring --- .../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 2C820C07E9D for ; Tue, 27 Sep 2022 17:40:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233362AbiI0Rkx (ORCPT ); Tue, 27 Sep 2022 13:40:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233317AbiI0Rjk (ORCPT ); Tue, 27 Sep 2022 13:39:40 -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 450431E3F5A for ; Tue, 27 Sep 2022 10:38:48 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id 10so16810505lfy.5 for ; Tue, 27 Sep 2022 10:38: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=uD2RyyoUDEDp73DlKG49OaPatIgbAFXoIb3QJoCnkRM=; b=PI7jVYVHsGUNnsUonQhY/OxVvEse8uvvhzz/lCB20arB7R7UBYrqcAqaLv3VcKJCbH nDHp4FzlxZjudjkyxUqMiYaYHxzTfl/tdnCyyiNakYq/OtopoRE9CbIVpia11szXY7P0 3+DcZwuarbDApfylMlZ8aYZo9djicqUu1YI9+rxxMLp9yFURTgUnzNFVGGy9nq0gC3hc kQQh0ALu7z7B58eCP0WQxPVzcQjbjfPzcAlvauHXN2iiwx8QfRYesbSOpsL8edzHlAr7 0U/maMDGyaUXnrJCjMkTkXnWNBHYm9Yf4a/Fb+DCjx95lBWSiBk5727Mf5yUOT5p8QJ+ tr2w== 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=uD2RyyoUDEDp73DlKG49OaPatIgbAFXoIb3QJoCnkRM=; b=YYF97Qh1+EABd3vsf0/lLklfb67YwnxaJsgCGCO0Dp6gAd4UqOQsyJhaOPucNT7aQ/ RZRYzM6TrN6imdXKGm9uF7ajbE1l7qkQofTXYh6Q6sByS+GI8Mh5d485LfTh+TWhqn2B sDmveKZj+SMGwGD3uyse8btUEXpS3NyqE80cx0va94sC47Wba84ywiapDJa8sm/2H3OZ EeybTjt/f0Aft8oWzxgcTxkXuLBQuj2N4cOjwajjxKnqGQ06aFrAMRwWCrpjRk5hxEmJ 8fXb7KIbAL29i8llBx2Run+QiVZFkvPT923cFDG2+nOX/u61xbq0eUMc/GTqgrE4u0Fw R3ZQ== X-Gm-Message-State: ACrzQf0XAFZY6EzF43cQXwxDEgmW+tIulNOqDfp8g7yc0jTJ4lmKmkbk Y3RYJKgER76ShmbwHt9BezwGjQ== X-Google-Smtp-Source: AMsMyM7SXDzFfaxQ4C0iI1F2BDR4krUVI54+cVu7LFnutLWKpHao5yWlgIXim5/TYPg+uy4nq07rzw== X-Received: by 2002:ac2:484d:0:b0:4a0:5399:9b70 with SMTP id 13-20020ac2484d000000b004a053999b70mr10306484lfy.216.1664300327554; Tue, 27 Sep 2022 10:38:47 -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 q12-20020ac246ec000000b00498f570aef2sm218879lfo.209.2022.09.27.10.38.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 10:38:46 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , 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 v3 22/34] dt-bindings: pinctrl: qcom,msm8953: use common TLMM schema Date: Tue, 27 Sep 2022 19:36:50 +0200 Message-Id: <20220927173702.5200-23-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> References: <20220927173702.5200-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" Reference common Qualcomm TLMM pin controller schema, to bring other regular schemas and additional checks, like function required only for GPIOs. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring --- v1 was reviewed by Rob, but patch was changed since that time, so not adding Rob's tag. --- .../devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl= .yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml index c162796ab604..1bf29b82f486 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml @@ -59,7 +59,7 @@ $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" + $ref: qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state =20 properties: pins: @@ -139,12 +139,11 @@ $defs: =20 required: - pins - - function =20 additionalProperties: false =20 allOf: - - $ref: "pinctrl.yaml#" + - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# =20 required: - compatible --=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 6E65BC6FA90 for ; Tue, 27 Sep 2022 17:41:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233094AbiI0RlL (ORCPT ); Tue, 27 Sep 2022 13:41:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233293AbiI0RkG (ORCPT ); Tue, 27 Sep 2022 13:40:06 -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 C9A2B1D88E2 for ; Tue, 27 Sep 2022 10:38:51 -0700 (PDT) Received: by mail-lj1-x232.google.com with SMTP id x29so11763855ljq.2 for ; Tue, 27 Sep 2022 10:38:51 -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=V882ZXRWt861rkG9mSWqjy+/gID1mfuqr2SQxJhNRpo=; b=RXEfRIG3/d8oJHs6dyEWKkZHiD7YyOXuQA9gv7634oFUdJT8G5iRJgnHBWkTkmaNEZ p6q4VnhHqxXVBMbki+ROYtBEiZ+kbiMmhPgdhfm6xuAXLYlvemooBAJABEUOzl8JpXFk 5tjgDis3EUAu3+/DFJ8dnfPFgdYQB4GocvBnJCqO5vjCfEAtmUyJt7lUFrFYMhhIYeZ4 xAqkdeeOEL4x6RfC5e+6CvdeztppQ0R0lrI21mDybYKwB+HA+cMJZcbtq15qItQa/GSZ HLGVaXzms3LIipbHSxDfkH+6+HI1xtE1+j4NJB+5dh3aQ+OIWFOJHbbEa522LXd2wzSM HIVw== 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=V882ZXRWt861rkG9mSWqjy+/gID1mfuqr2SQxJhNRpo=; b=Ovlytx7cW1kCinTCZv9jBsJFN2E2lfEjs9vpdyc1QcaHjqJw0yAm/3HYl1VIk4CGzQ NqSOtSEmtjsNuNIynR68hM5LpYTSoEehuyLhbpO5j+dk2cQ2bjrztrHhpta9tOX6EQgr 9lFH/+lyJqd16stX60rtrmfbWIJ9pFygmxHDYJSwfN/AMggPcUCy38z04o71bnq90nDY hSeWyVOJ+Hx4dnhseOaZa6TN9fQ+zqsYhqgettcrvtoCp3gp/C6QxduWcoRrocHjC1b0 wX8TSAIQpMKDk8wOjxkCIBc+Ra1pUakI7/wzJqcHv8CYIHJuCjkp9uc4Ovjr5pZDx06N myNQ== X-Gm-Message-State: ACrzQf1Q1auZWb4/Nb5TA44aSgL9UBH5X7VPVtLNV9GvN8LNdR4wm0Al NQkbUmmoHAGBclW/Ly/xY77z8Q== X-Google-Smtp-Source: AMsMyM45ofWxYiGMVPOcglyvDn9RTSIMn+Tvv0Lv5W24qlKkcskQbihAxvB/gxsMYPuFEDxas0kVag== X-Received: by 2002:a05:651c:897:b0:26a:c213:f0cf with SMTP id d23-20020a05651c089700b0026ac213f0cfmr10470266ljq.216.1664300329689; Tue, 27 Sep 2022 10:38:49 -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 q12-20020ac246ec000000b00498f570aef2sm218879lfo.209.2022.09.27.10.38.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 10:38:48 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , 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 v3 23/34] dt-bindings: pinctrl: qcom,msm8953: fix indentation in example Date: Tue, 27 Sep 2022 19:36:51 +0200 Message-Id: <20220927173702.5200-24-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> References: <20220927173702.5200-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 Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring --- .../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 1bf29b82f486..6d97ea421633 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml @@ -159,21 +159,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 9307FC54EE9 for ; Tue, 27 Sep 2022 17:41:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233382AbiI0RlH (ORCPT ); Tue, 27 Sep 2022 13:41:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233341AbiI0RkE (ORCPT ); Tue, 27 Sep 2022 13:40:04 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B37871E76BC for ; Tue, 27 Sep 2022 10:38:52 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id o2so16743236lfc.10 for ; Tue, 27 Sep 2022 10:38:52 -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=6olcrfTmSd+7xQ71Ft5xZKlyP6y55gjUvfbuGSNxtY8=; b=gHjTu0bMefylyfUSEx8hxfK/9l6e9xWtvZAWCRAb1e8ohGwgpcEJ+To7QDRaNjfq3m BoSWnb9KaZbUjHNkB51zeaZz6S8dYiQKJ69xSy4+jd6T3MvaxELACcXWZLz2uVsyy8XC Mrt4kP88Pr54UqifpsY0SlZL+IEo3Z9+XSKycdcp2XJW8aFdW9Otv8Kw90m0j055zTCb TkK3P7GudOcMmDRJumV/HcnPj8UAq6q9zg5p91dNwxfgPzKkUumRr+6HRbh68WONLuPx InaDRrGAPHorFJg6/1CdDUrK2pIYzi2EE8kGwEOyg0I7zlH0HTbl9nvIngz0FAuQ7g9A nmuQ== 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=6olcrfTmSd+7xQ71Ft5xZKlyP6y55gjUvfbuGSNxtY8=; b=jb8WJRxELzowDHo8sNOK95hBk9rv5HZoSOgcoTdAhUB/xID+LFF5K4qUgupLoqrYmy B+Sx5v68Co2AMvsm83xiOe3k+cv5Mw1to8gurUNQhqanEr/3DrNGafafH/SOlXMsxYk3 Gr4nJA0bjqMoR0Hz8VPO/UCSgdvDIUIgIrWni4DR/SRYf5T7NWKXyf8Y7iiqUjLuLj7q 9b6LyXszqSrReVSyxQuu/Aw94gnv/OOWgBvenKsGezNnVOstVn0JLIY6EKh8Uko/5VvQ 12mpB+UpDsTcKPFwwLhADhkwg5PNwzXtIswctAMFs7qZuMqZPv2f+PptfHEuDeF3TdBm 0G5g== X-Gm-Message-State: ACrzQf0/x4JSqiXZxU4ajVBSL7WFrYlfEYmxcmxyC3U18WKn1GOVLkv9 7BC6p6O1dq54Ql96V4pMAkSVKQ== X-Google-Smtp-Source: AMsMyM7jvGuOSZVfdjOhOghhQxpmUFZh/O8OsCfUxVORU6CyuLZ14lx4dK7KHnYgxptQlejjPJlTKw== X-Received: by 2002:a05:6512:11e9:b0:49f:d530:9f25 with SMTP id p9-20020a05651211e900b0049fd5309f25mr12419876lfs.533.1664300332038; Tue, 27 Sep 2022 10:38:52 -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 q12-20020ac246ec000000b00498f570aef2sm218879lfo.209.2022.09.27.10.38.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 10:38:51 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , 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 v3 24/34] dt-bindings: pinctrl: qcom,mdm9607: do not require function on non-GPIOs Date: Tue, 27 Sep 2022 19:36:52 +0200 Message-Id: <20220927173702.5200-25-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> References: <20220927173702.5200-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: Bjorn Andersson Reviewed-by: Rob Herring --- v1 was reviewed by Rob, but patch was changed since that time, so not adding Rob's tag. --- .../devicetree/bindings/pinctrl/qcom,mdm9607-pinctrl.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-pinctrl= .yaml b/Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-pinctrl.yaml index f7bd4be1739e..57a4fed55de7 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-pinctrl.yaml @@ -115,7 +115,6 @@ patternProperties: =20 required: - pins - - 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 91154C6FA83 for ; Tue, 27 Sep 2022 17:41:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233422AbiI0Rlh (ORCPT ); Tue, 27 Sep 2022 13:41:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233283AbiI0RkZ (ORCPT ); Tue, 27 Sep 2022 13:40:25 -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 22C431E3F53 for ; Tue, 27 Sep 2022 10:39:11 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id s6so16771059lfo.7 for ; Tue, 27 Sep 2022 10:39: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=EGhxJ0JptFAB8FEIZTdaS5Ga4GZ33kMJV3Efk94SpRg=; b=tZR15wNkAOnS8cpWG4AA+dlutl6xt8U0WEeBXwkIRMP6lWrOODbRYDgKy1oOfhP1di llroUKibJ8s9WU9iX1NVJY48P+HhbjuPZcjoyU1pKBAZRxNax7ga/Fxvn0CcYJP4BYeL 1CgW6RpDK6ziPVZcYLzPO6McE6X/62f02ig0n/vTQ1XcX9CMPE5HhB0Zs2PTPYBGvwAy NGRgsDe2XY7whoPF7+L2Gf/fMjesMieAi6hImzvuiMklQ2s/0iY6wdRXDUyTu4mps8rx gw/oOPRD9i6qY7rXLtPvsNA+OGm9bt2LujYTZtBxy6LW2CboHgrdQXmj74tISWfAlY/c KsWw== 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=EGhxJ0JptFAB8FEIZTdaS5Ga4GZ33kMJV3Efk94SpRg=; b=MgjctfosawnLOcLDq29ikTa4WdjDgVAiJNlRtd9eGnS0DoCGXuOsA4DCndYKApwQQS ObdNdtcoNaOLZcoQPSH8502tKrsnIeLPu3z9XUGkg+jNi57JKqnMBf7KzjGVO6TxtV83 ZGYmEPk4xY2hzor4lKKUvpQe9BJdgW1RkEmwOHjQcuxBh94kMzeS/ig+u/IFIs801ohZ 5F7yTz81zpP6o6rOkU3LPvbNiqXJolqhRuiV+Q4JiWKt/y6glFoEuDKBtzYs29pxEG0h Njm34Ev+/vwhd5cApMYIk7n3OuPqXReruCTKEmGo41bbxkXCIGV9nQoBIoDOQ0psVGnH LCyQ== X-Gm-Message-State: ACrzQf1mjISQivjBwt36Y16GwqDkzOlbMy/4JfQ+N8cPQkSCGRmEgXtG 5YEwJL9ZG/2RMTisp0K1tDvo+g== X-Google-Smtp-Source: AMsMyM4L6ieu0ioQjxjQZDtJDHVScPuhqnm4vXAksExHOriSXxJK2iazo5Sf0t0S8uDSe6UG9ev+3g== X-Received: by 2002:a05:6512:31cf:b0:496:f023:5471 with SMTP id j15-20020a05651231cf00b00496f0235471mr11805249lfe.133.1664300334046; Tue, 27 Sep 2022 10:38:54 -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 q12-20020ac246ec000000b00498f570aef2sm218879lfo.209.2022.09.27.10.38.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 10:38:52 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , 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 v3 25/34] dt-bindings: pinctrl: qcom,mdm9607: fix indentation in example Date: Tue, 27 Sep 2022 19:36:53 +0200 Message-Id: <20220927173702.5200-26-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> References: <20220927173702.5200-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 Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring --- .../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 57a4fed55de7..a37b358715a3 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-pinctrl.yaml @@ -120,14 +120,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 4F9C3C07E9D for ; Tue, 27 Sep 2022 17:41:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233439AbiI0Rlv (ORCPT ); Tue, 27 Sep 2022 13:41:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233319AbiI0Rkx (ORCPT ); Tue, 27 Sep 2022 13:40:53 -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 C1EEF1DADDA for ; Tue, 27 Sep 2022 10:39:17 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id o2so16743525lfc.10 for ; Tue, 27 Sep 2022 10:39: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=uQBQubZDQ7K3yOnczh8/VeEfY3Wku/sI1yMfxa3VpJg=; b=A9Xhda4UO0F0NdXOFsfSYdwExCyoDcyqIXbBlGnzGFTyRa8PZCIlpzQ63RS5WwYt/R rMdkylQ97FiaU+e41iGSNN9nxuJ5Vj/AI3U3honh8WAkibpUmNAv1zJRKtJd/rapZVeO Ds1XaJcmTemQf98o6BPzcY9uStlX5VtJVhoaFMlbSS68rT6IH90E/Xf9DHmawepL0cX5 ZDXybnlkbQ829zRLyR7uhxhxNzyl9+m1h7SvgY8hePs46EpyGGU7kBbG1vTm+sxPSFa4 MG0ngpYm8c8WVTeQSHgm5NbGRnKkiCO3JmDDQvYjPn4FF0tBPUx7gWfgRd0FawKhxTr9 W2xg== 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=uQBQubZDQ7K3yOnczh8/VeEfY3Wku/sI1yMfxa3VpJg=; b=oc/zBBS54cZy2Z/xD/eVM8Tx2lq6mfpH4aIHqXMHQzuflqCuQ9vNPV6dgKTrvPbrR9 Ny3M15HXexT6PkQ+Tarz+7nrfwpLG7twTugCQl2GkX9kJliTT4VNf0YUinGaAj/1HBlh Joc9+VLpLgzuk3BMMNlHAGL+dAqdJzrfe5wQR56mYgqPh087Ax/LDPjrSZlWyY5C84BW /9WnQMAvYfyMhEABAB/BZpNl5/jHtoBFqfKmJXe8YIzj8Jc2pQS9EtGWhrvjeh0Y9ZQa DUlhABmankD96BFKrUfU/MP8zxuOHedo8oSXDT85rBf+Kzsu3jcQTldm8jIMJoUOMJSH yEWg== X-Gm-Message-State: ACrzQf2Ze4z/K56ceAmEUkKyfAOEVSILGqONakEpVV+ZK7rn1Mm+uvUY HRPTx7Ur0FKyVbJNUGRdpcIthA== X-Google-Smtp-Source: AMsMyM5Du/H5bhSAVXq5u/SibEUZr58gVH3iQ8idnq/YChag1KrkFB+EGTMuiUj9NS7LWPcJN98fGg== X-Received: by 2002:a05:6512:3409:b0:499:f8f1:8322 with SMTP id i9-20020a056512340900b00499f8f18322mr11820080lfr.459.1664300336964; Tue, 27 Sep 2022 10:38:56 -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 q12-20020ac246ec000000b00498f570aef2sm218879lfo.209.2022.09.27.10.38.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 10:38:55 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , 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 v3 26/34] dt-bindings: pinctrl: qcom,qcm2290: fix matching pin config Date: Tue, 27 Sep 2022 19:36:54 +0200 Message-Id: <20220927173702.5200-27-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> References: <20220927173702.5200-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 Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring --- .../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 8197BC07E9D for ; Tue, 27 Sep 2022 17:41:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233393AbiI0RlP (ORCPT ); Tue, 27 Sep 2022 13:41:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232590AbiI0RkP (ORCPT ); Tue, 27 Sep 2022 13:40:15 -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 D7BB31E8025 for ; Tue, 27 Sep 2022 10:39:03 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id z25so16821795lfr.2 for ; Tue, 27 Sep 2022 10:39:03 -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=dybnjr5p61/gPgkCl/RaZs1FBVAW8oN+hfiHVJUJz8M=; b=JXG5CBa8BebjlIe1kGsL7RXljPnpEp2TKYyvuJqPwLh4vM0oE5VTmMr2ECcMjUhKqv lBujoju+vXkLp12j8kUTlWa6G+BwLZ2JiaLVYSIGBRBOqpgaiqvTfM0Dn+n/GAmmEYEF +ZMri3aoDbzQmKdLM5EesrC04+6KhHha+5wlb4238vsCYEN40jhzzwwgOhF/a4q7mXTK bTAkLdjxlWbxfeqX/l+79tmRDpDqt+pXO2PIFR2aKjmImVSbOMQ2IxcS2CUbeCYQxgDO NDe9xOMipeeL6DqGc293JDPCiMQXyJBgsKEwv60cokM6hqPZR+p62n/onnG9x9ZCWLXR ZEUQ== 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=dybnjr5p61/gPgkCl/RaZs1FBVAW8oN+hfiHVJUJz8M=; b=F/fx31/oeCasTrEvwtjkTaB5YkJ2UprX301S1obzysbJPX8Q3gs1KdYEATN4e0gyjo S6Kf3IGzvrtqgMHXsmH/g0kBofg1BbUibpApw8jaxjrZ/sOQgXVQo86VrhWK+JUk/0J/ qdge5mf7icxDFkgvdf3STvEvHkUJ/uJr8dyLCaLQiunGAWD51bNtcQFvBMbQZVcx4cMJ EgDjDPfJThggL9mhzzAeRkglOBXvvGYkRpusahvdjZHPJO/HyNXp7kERqDBPFvpdZC34 6UExf+5wDIupknO1TzAXIYKTo8kWdCPvAK1AXEK9zNqTLRDJiW6cKYjhzlZOhf9Mih/e YvmQ== X-Gm-Message-State: ACrzQf0ZdVwlEFmX+tySlQDCHeZr1pTpmcQ+X/6LRR8h/dJyR9g1546P 0z2a4iVDa0XTmpSkNw0oGe5ghA== X-Google-Smtp-Source: AMsMyM4QQVi1ri2hpBm1kaQp8KjesUFkx6szvF420AgHpdmNUad5KKnAzZRnIE4dDHRrZAwES9ieoQ== X-Received: by 2002:a05:6512:3f1c:b0:4a1:d76f:ff4 with SMTP id y28-20020a0565123f1c00b004a1d76f0ff4mr4501278lfa.292.1664300343140; Tue, 27 Sep 2022 10:39:03 -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 q12-20020ac246ec000000b00498f570aef2sm218879lfo.209.2022.09.27.10.38.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 10:38:59 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , 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 v3 27/34] dt-bindings: pinctrl: qcom,qcm2290: use common TLMM schema Date: Tue, 27 Sep 2022 19:36:55 +0200 Message-Id: <20220927173702.5200-28-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> References: <20220927173702.5200-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" Reference common Qualcomm TLMM pin controller schema, to bring other regular schemas and additional checks, like function required only for GPIOs. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring --- v1 was reviewed by Rob, but patch was changed since that time, so not adding Rob's tag. --- .../devicetree/bindings/pinctrl/qcom,qcm2290-pinctrl.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-pinctrl= .yaml b/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-pinctrl.yaml index 5324b61eb4f7..2a23f413c8c2 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-pinctrl.yaml @@ -119,7 +119,7 @@ patternProperties: additionalProperties: false =20 allOf: - - $ref: "pinctrl.yaml#" + - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# =20 required: - compatible --=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 60466C54EE9 for ; Tue, 27 Sep 2022 17:41:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233401AbiI0Rl0 (ORCPT ); Tue, 27 Sep 2022 13:41:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233271AbiI0RkY (ORCPT ); Tue, 27 Sep 2022 13:40:24 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A31B91E8034 for ; Tue, 27 Sep 2022 10:39:06 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id a8so16752573lff.13 for ; Tue, 27 Sep 2022 10:39: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=EdFPEdu98Qeq/DyGzm+zuDUjyhN02vIkP9ZedDus6Ik=; b=Y43EAQLom1oxkcFJL6OdnJOmFbSJUKGhTJPZZXTkv4KJT7QjKk7MoP1OgLVO6vWlFz FHcSjm29M+YvgzjweWk33WktUzNq2nv2ngMGiYsRl/72a74a47glSazUJhpofvgXiiBf 0TvoRN2OHg7z3Y0KsRnTgmZeuFrI2q37QFhBd16OxSiu7D4cZhw7n6wvRjfKXw7SYbiX i2bybTY+3u7t4vBcLDtR4XEBeE2bHeWvMGErURtuJklTodJ3y/IlkbprA0Wx4ZiqrDf+ DOfHmIm2PoWdXga7FUIctDl2mAHTy/QrQOmVmSBLutFNLOJFQFlSfLp3CFvhZGheE3w4 fVog== 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=EdFPEdu98Qeq/DyGzm+zuDUjyhN02vIkP9ZedDus6Ik=; b=AepoWEAhYVgLDKzA37vdy01NOFDMiPO2OqV22nNQ2z4MVgi7iOR270hoaqiVI2tCwW U3803dciE6WaFS4ycm2wq+eisQuWcu0gRHfMACPxCYL0A6UvDHX5GayM0IZpMbwxYxWe vNB84RosfCZnQZkO1OZlcvM0/hwUefSzxHM5XcIj+2FdhIFpAfrNsOFY6p6IDGZGkWvH n+FnkbVjHpZKlH4T1kDIhTpxmnrjTTm3MyyPfjtf2cqA/SCVwfievzANftoTHmvvMoRB 9PB3yfbHiYSrC5ieL2JXnCgLHoncuI3bSN9i8JfEgGnXzNRFjWjhE+fduduE41wyd3a6 BUzg== X-Gm-Message-State: ACrzQf356e/FmGEbpUmEWg/KRUAOaVJ4pslLRrdzKOtdtFLYPu7EpUhM KnJCzytNtVcvRl6iEAwqfP6mQQ== X-Google-Smtp-Source: AMsMyM4A5LRv+AG19HGCKM2Au/P+2JjkTMQs+iwERXAu8cUE6Ei6/qEmNyWOoH2YRo5ZVcxxAF1eYQ== X-Received: by 2002:a05:6512:10cd:b0:498:fe5b:8ab3 with SMTP id k13-20020a05651210cd00b00498fe5b8ab3mr12332626lfg.613.1664300345904; Tue, 27 Sep 2022 10:39:05 -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 q12-20020ac246ec000000b00498f570aef2sm218879lfo.209.2022.09.27.10.39.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 10:39:04 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , 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 v3 28/34] dt-bindings: pinctrl: qcom,sdx55: fix matching pin config Date: Tue, 27 Sep 2022 19:36:56 +0200 Message-Id: <20220927173702.5200-29-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> References: <20220927173702.5200-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 Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring --- .../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 8FA70C07E9D for ; Tue, 27 Sep 2022 17:41:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233286AbiI0Rld (ORCPT ); Tue, 27 Sep 2022 13:41:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233272AbiI0Rk0 (ORCPT ); Tue, 27 Sep 2022 13:40:26 -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 E174C1EAD43 for ; Tue, 27 Sep 2022 10:39:10 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id 10so16811814lfy.5 for ; Tue, 27 Sep 2022 10:39: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=1QJkk+vQOB36zDh7TVEesCBla0uHOGKfK/9NnJQaTyM=; b=b+GZNBvZIV/P/cby8+vgiMfpViV/PmBa0cAQaWvcI5sa1/IKjVDCs+QiKhubd4mnsP Wt44BrTr+jYHf4ClKz2yUpHJRvWyvjwgstxbWFGmHUiwNdmFUuIGwYJk/3C7XCw9avf5 WttxxssPjcc8sVgT00kZLTOwtBaQsZYtDcIYvf3DahVPNuiR9tIYZYy64gpWYURclduc OpiwzqW4iiqMcISooX0h1D3jC4UVomfPIYbuCzMuwlfo6laS1Ut2f8/jWI2AuqPaJwD6 Zm0sC7M2YwdAruv8G4B/HBou4JPQ+6UXuD8mE9KxB/AjWyL3fplF3HDbCcq7plJ4gbkx W3AQ== 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=1QJkk+vQOB36zDh7TVEesCBla0uHOGKfK/9NnJQaTyM=; b=6ngBcZVvefqVL/4WgxSZNSkytzLBuUhEIqFaPpUU/AotRrYjOxr4SD7c5Cfp6S5yd4 OJZBOZ1GuqBYTzmF4ecpgQI5Ix9jlHTdS8SUQt8UiTUx1rHWUgZ9uKEVc+Sva7ncPlCj gppouh+0kUMptSjGmw7STq1oW+nShqvhj9ESoEfJWOwP3LH6WXbBrSf+uuJK0ni3wN8M p196gHuFvq41q6E1oEGBJwI403XehHQAwRSw0hRrey0Buwlfy1Or/qqv3+WjhgDMpeEr /exsU4cSBkriyYeFxYzndd71Rh8P0XIgbtMNV1V5QqiBzaMAGVpTYB6bHbSlPINw54Aj 6Abg== X-Gm-Message-State: ACrzQf3N4ZJcR+BOA4T35If8ADE07FmWgyXveDtEEjP7+qBRbn5KVIbP /mlLyAKoyR/8sGpj3zU8uQUPxg== X-Google-Smtp-Source: AMsMyM5v0KjQxhDpJWnoKveGxshlrbAVJrlZMD9/5OCDgNPK445iwsl9/d2T0Wxfm8xQdesN4ZVSEg== X-Received: by 2002:a05:6512:3134:b0:49f:ba4d:3b71 with SMTP id p20-20020a056512313400b0049fba4d3b71mr12110532lfd.30.1664300350026; Tue, 27 Sep 2022 10:39: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 q12-20020ac246ec000000b00498f570aef2sm218879lfo.209.2022.09.27.10.39.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 10:39:07 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , 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 v3 29/34] dt-bindings: pinctrl: qcom,sdx55: use common TLMM schema Date: Tue, 27 Sep 2022 19:36:57 +0200 Message-Id: <20220927173702.5200-30-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> References: <20220927173702.5200-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" Reference common Qualcomm TLMM pin controller schema, to bring other regular schemas and additional checks, like function required only for GPIOs. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring --- v1 was reviewed by Rob, but patch was changed since that time, so not adding Rob's tag. --- .../devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml | 5 ++--- 1 file changed, 2 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 fff57abf4fbc..498f2f87217f 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml @@ -60,7 +60,7 @@ $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" + $ref: qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state =20 properties: pins: @@ -122,12 +122,11 @@ $defs: =20 required: - pins - - function =20 additionalProperties: false =20 allOf: - - $ref: "pinctrl.yaml#" + - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# =20 required: - compatible --=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 E2AA8C07E9D for ; Tue, 27 Sep 2022 17:41:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233414AbiI0Rl3 (ORCPT ); Tue, 27 Sep 2022 13:41:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233280AbiI0RkY (ORCPT ); Tue, 27 Sep 2022 13:40:24 -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 C3AE91D980A for ; Tue, 27 Sep 2022 10:39:13 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id z25so16822393lfr.2 for ; Tue, 27 Sep 2022 10:39:13 -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=jxM1ze0TJoMq0tnGJSQJuEhnSrZAlWLgaVv7dZzzKys=; b=aN3hTO9Euh7t/ZKm9hwN+KEzSzrY+9EuyxsGym/WuYHDQ1HzmXm6/CFoykzbPgE7h/ Y8OEIaZAcgrihIP6pWh5kymH5zmEbTHFTn0uPAcFXbHW52AJBIu6HAQWlJtMdroD65tS FueAtml01BoN9eagIppg3YWnaoc/si7lGkYT5NpjaV1tnt+z8dRsHmo3w2D6LLrXFl2F QRgQ+U2P4HB3PCb4kqwXlDR6/GJthlWpFqoWHWX/km53G9VUNEzFaODYBtgQDxsrVuf/ C3v6x9DgXRBl/7fnGbvcm0yzbMxaRkXe1ywH1IYRf5qmpMXpIefy0RpH7tyDUMIenOy5 Aiqg== 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=jxM1ze0TJoMq0tnGJSQJuEhnSrZAlWLgaVv7dZzzKys=; b=DNtwvf92VouqBgoM6xJ9a3JlX0XGvXw5FVuX3tmntgdEyC9g98Kkiv8CwaMIWwGjcq KCzEva6h9z1YLIHTreqdI03Sw1h7nzNP51XNzNYqR9paUR/qVbDrGWBaQOZb48Sgl/t9 DvdnvHqF8zmrsMgmTV9A8ssAQDyhJZouH1G4sP7XzK06G8jFtvgW5UxF/4wLPZ1uvH7w uSq1aAuIPkhuDg3aVczgAyBbEQEUPaGwnkXvmcNUcpG0dhLGZdqFnXmr+DR7wFc4KT8S /Zk8DIbTl3oezJnX440XL7ZH8PPqir/DyHjJ9rkHC+MLsGagena9Fhkmm/k0IxP2TqiX hxeA== X-Gm-Message-State: ACrzQf0jFbIBhy6IJQXJ1Ot94MMrp1dXxZ0eux4vgYEpldvv8QhKh9tT /h+jHjZCo008extpcrnDwl25gg== X-Google-Smtp-Source: AMsMyM4eSnuI2btkGhg4appx7DxwhP3qta0FPzJ6CvmgDuzgKGyRRwZYVtetegfOvXUE9c9yBXmPNQ== X-Received: by 2002:a05:6512:3f8c:b0:4a1:8d5:d75b with SMTP id x12-20020a0565123f8c00b004a108d5d75bmr8018061lfa.670.1664300352996; Tue, 27 Sep 2022 10:39: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 q12-20020ac246ec000000b00498f570aef2sm218879lfo.209.2022.09.27.10.39.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 10:39:11 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , 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 v3 30/34] dt-bindings: pinctrl: qcom,sdx55: fix indentation in example Date: Tue, 27 Sep 2022 19:36:58 +0200 Message-Id: <20220927173702.5200-31-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> References: <20220927173702.5200-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 Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring --- .../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 498f2f87217f..afe60b1c6d89 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml @@ -142,23 +142,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 6FF65C07E9D for ; Tue, 27 Sep 2022 17:42:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233491AbiI0RmT (ORCPT ); Tue, 27 Sep 2022 13:42:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233243AbiI0RlR (ORCPT ); Tue, 27 Sep 2022 13:41:17 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA57A1EAD68 for ; Tue, 27 Sep 2022 10:39:22 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id i26so16762370lfp.11 for ; Tue, 27 Sep 2022 10:39:22 -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=3AqWHKVr9feMrytN8eOln5pgl8oFY8kkD5WrTOHH3LI=; b=GdMnuyBadWE6RY5FYf42KqN/L7jDWDkoO6AH1LjPopKnbJ7M+uzZbFPEq34A3eeOV6 9afiZXMCcFT/Okh8IS9/6cMQ4Htx+kcyOqEIT4C1jBxBcspvUzOfPhmAhtMg6E2lfqfi mUVUiRRRHtWsmw1YNi7GXjGRjYL2asiHVFWj8AVxHr3kY5CFNkt7Z8onYnGuAqC3rHZ/ 0YHvw384Xrjq5yETufpVWULE5/9pP4hfMzwgVbGDa9mNFY/tMo2QLZAqBvxIgLmL6Qfh FYKEZjpXJRnpI8IMl2B+WV9/MEWa71h2/4azqnr7Q2M3MMA6jW1QQid+B1yxH3WaAB0K MXLg== 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=3AqWHKVr9feMrytN8eOln5pgl8oFY8kkD5WrTOHH3LI=; b=jMfflYbRnoFpg1BwBcfAi4fUCRhk9tbxs9vKphbDm0OM3dSPnEiQZ9R1dIIAFWuSkd rRsa1vqtfy9IQCDPGc1FoA3TWXGPNl47Ri3m8joGjTh8YAotFnTVwyK+Vbotc4+EWqUu +MeAd9nGvk2CtDulaF2FLeSqwVoICFJJlgNlOhSzW0ssXihX+2Ldu9UvX43lJ+iqsCOH n+qLj+n5Wx9+SWudK3+rS6BqCQUo4v7HW7NLwgwDxyRlKy5Dxglu4aJJcKgg+ORKSIk3 dFIsFLtJy6u40CcXgauRVhoC8bZet5bSvBAbEKpXurkr65g7FoWFjZsGqj6PaY8ahSyX kZUA== X-Gm-Message-State: ACrzQf3AqE5+Rq4Klm3SCWD6NmE8zbROxlGp2zgOiAhumbHh3ovOk5I9 MbGO5hVi8LCl7eecgc6xEP/Qeg== X-Google-Smtp-Source: AMsMyM7Vfpm1KjgF04GbyDZRSJBk6DiRWvxzIQJ+d7qgM5waYGzlYTKJbxcYW1jrFyTDxI9tgoh/kQ== X-Received: by 2002:a05:6512:3185:b0:49c:3310:6910 with SMTP id i5-20020a056512318500b0049c33106910mr12790994lfe.352.1664300354756; Tue, 27 Sep 2022 10:39: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 q12-20020ac246ec000000b00498f570aef2sm218879lfo.209.2022.09.27.10.39.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 10:39:14 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , 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 v3 31/34] dt-bindings: pinctrl: qcom,sdx65: fix matching pin config Date: Tue, 27 Sep 2022 19:36:59 +0200 Message-Id: <20220927173702.5200-32-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> References: <20220927173702.5200-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 Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring --- .../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 94B89C6FA83 for ; Tue, 27 Sep 2022 17:42:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233472AbiI0RmJ (ORCPT ); Tue, 27 Sep 2022 13:42:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233379AbiI0RlG (ORCPT ); Tue, 27 Sep 2022 13:41:06 -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 EAF511D35B0 for ; Tue, 27 Sep 2022 10:39:29 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id j24so11733460lja.4 for ; Tue, 27 Sep 2022 10:39:29 -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=ltLGpU1h6jZiQR61UECYm7DLTFR8lVcOJSAS94IZQoc=; b=O7Mbicb+6edgQvvk34cOePY8+ZiWVat0hWtEDIccHA9hP4bvfLWohyCrPeyx9dSqGq HTvW83mIRt2n3scLlvvgBk2EIv1bZzQCp0Qhf6US3cgqDJ3n9pPny4xu+A3Or2MAk8qc WxHBpGeyKNVaolvCEdQPLgjbm5Kb9DW7Nvr2lDZCUSqVOpfgW04kZUjShhiXg59H37z0 NsGw6UOOst7ervmbThIS5uNrtwLwAZhFEsolW4/FkYuR5F9l/L6L3o9c5wJA2fr8SFE9 YBGXn5sZe3+bP2X7bwVrOJHOnwiB9cmK+GiGvvwEqVLnpTIoqhQfu12qHq5OrsvgwRy+ 66uw== 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=ltLGpU1h6jZiQR61UECYm7DLTFR8lVcOJSAS94IZQoc=; b=DnPtsKIuoXx4KUhvus9RGRRYdqP2p0i5LzpjnYFoh0WYw1G7tc3HWxnLEGmG/T+xk9 DPdqKmJdW5L5M/E/LfSYF8k6mxujWU+5tueVi2KMi5EScjHLuYCVpj0XUmdDh+wjp5o5 kKjci9OA65JTHH5w40nvpCNO3fP87Gf5SLuoUZu/98243B1UMNJn6yQcjd1PRmvMloW/ yrSKBpjbNQadXaf+E9AxQ2fZ2dz1B8NvzhXIEG8NVNaCwiiBiupPjCROmRUHWOtIAgOW PaHjdvvPVih5Tg6RBp8qB3dwck2m+u49qfJuSA1RqGo0GkZEoV2xSYV8JDUf4kkXHD2T TcaQ== X-Gm-Message-State: ACrzQf2+5kGLkm4Vwg5kgQYepWm7vzPVyFaevbA3CIITk10+lnoyG1Wy rjd7pvzASRPmvjZPkAiPvX0OHQ== X-Google-Smtp-Source: AMsMyM5qIM+yDbAZmajj3xr8GrulfAYa7rrZr+u9ppiNFplrs8xUh6tb7E3CEecyVVwjhuTFOLOvJg== X-Received: by 2002:a2e:bc28:0:b0:26b:d979:fc72 with SMTP id b40-20020a2ebc28000000b0026bd979fc72mr10651732ljf.292.1664300356447; Tue, 27 Sep 2022 10:39: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 q12-20020ac246ec000000b00498f570aef2sm218879lfo.209.2022.09.27.10.39.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 10:39:15 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , 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 v3 32/34] dt-bindings: pinctrl: qcom,sdx65: use common TLMM schema Date: Tue, 27 Sep 2022 19:37:00 +0200 Message-Id: <20220927173702.5200-33-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> References: <20220927173702.5200-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" Reference common Qualcomm TLMM pin controller schema, to bring other regular schemas and additional checks, like function required only for GPIOs. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring --- v1 was reviewed by Rob, but patch was changed since that time, so not adding Rob's tag. --- .../devicetree/bindings/pinctrl/qcom,sdx65-pinctrl.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-pinctrl.y= aml b/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-pinctrl.yaml index 0f796f1f0104..f5451b1a3a2f 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-pinctrl.yaml @@ -142,10 +142,12 @@ patternProperties: =20 required: - pins - - function =20 additionalProperties: false =20 +allOf: + - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# + required: - compatible - reg --=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 16D8BC07E9D for ; Tue, 27 Sep 2022 17:42:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233436AbiI0Rmj (ORCPT ); Tue, 27 Sep 2022 13:42:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233431AbiI0Rlp (ORCPT ); Tue, 27 Sep 2022 13:41:45 -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 1739325C65 for ; Tue, 27 Sep 2022 10:39:41 -0700 (PDT) Received: by mail-lj1-x230.google.com with SMTP id x29so11765213ljq.2 for ; Tue, 27 Sep 2022 10:39: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=d1tmVRQxjIT1+LCWPv85FgiJzbUwILjqiWs/rdSbJ9E=; b=lClivy8s9Uco1i34MPyfMn8QLSq8GeARI17bmmojONEuM0ku0hhrTNWAPhkPO89nVa 2gFPvgjjoTvi7t8nAOX+eF9sIu5rjbxsPKZsYzq10P5nI76m3R2FS0k1lotfY0MdI14F nsVvT4FmNjFd6einqVNX6oWQb4KqnskJPKCdAI5URBlD9Ro2cSVYXrfbm1G+0tjMX6eX dWFATkqkWXITjvWt5L2guqkXJXoxeAjGGyqZgVyiTfhQaVQB5ZKHu8tIwZFgDVh8Gutf EYLsJppIuNpilDvkVmiWF53lwyn494HoEn6wQSBlqaTURTCAskHCwMEHbA7iQeVlDODc ZROw== 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=d1tmVRQxjIT1+LCWPv85FgiJzbUwILjqiWs/rdSbJ9E=; b=YjhrgDdSp9OKo5u5C9gMFjhJVl1ytzkoV/N1qX2l1wsAuYB86bGjhP770BbtFPq1oN RAyAHuYhvj9RAbj2LvJXpPy3ex9ZHbcahiuc6JRGtEnceAsTUu5rMaiCBkZ4TzV+ansU ajmd/kQ5ZPd7381JPIVuDsb5Iyluv48ypU+v2pLN92MlPsOu04p77l6J0wkRVUfwIHgS QdNPC6UCyMRLrYs7f2+X11lEvviWTkOm7OElBNlS1qqJRyId6gaCdBf6hoWS+0rsBSLt EMfMYkAYXqFV6086aH3xBhDdvSZZF4YpzJtxvIOEkGpHGIXoiNvjUdJOy3ZaBJxl/GXA J6RA== X-Gm-Message-State: ACrzQf1/tVbU0T2nnwzJhGjMtP7tnzSbVFVpwkGt/9JOY6nGKEzYTkqb I4HgUHVdsfY81zuLSmTA0YgfEA== X-Google-Smtp-Source: AMsMyM7uf7nA6OaVSa7p48KHJN6B8M7+nlfK43EL4lt27axPia4L7tX0VuPtknL1X7ScuqIWpPwGSQ== X-Received: by 2002:a05:651c:1504:b0:26c:6331:3463 with SMTP id e4-20020a05651c150400b0026c63313463mr10482547ljf.30.1664300359678; Tue, 27 Sep 2022 10:39:19 -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 q12-20020ac246ec000000b00498f570aef2sm218879lfo.209.2022.09.27.10.39.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 10:39:17 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , 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 v3 33/34] dt-bindings: pinctrl: qcom,sc7280: fix matching pin config Date: Tue, 27 Sep 2022 19:37:01 +0200 Message-Id: <20220927173702.5200-34-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> References: <20220927173702.5200-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 Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring --- .../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 E3BE5C54EE9 for ; Tue, 27 Sep 2022 17:41:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233446AbiI0Rl4 (ORCPT ); Tue, 27 Sep 2022 13:41:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233365AbiI0Rkz (ORCPT ); Tue, 27 Sep 2022 13:40:55 -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 C9B6E1E8029 for ; Tue, 27 Sep 2022 10:39:21 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id a2so16777507lfb.6 for ; Tue, 27 Sep 2022 10:39:21 -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=eAxpH6loNU1iZeyA8GiJlas/ttJky4BrFApN1xAe7yY=; b=NLyEVVNddfnTHSmbZNZ/w7X8uV5KFeKgIH8RauK4PeuC8IfmjYrsTxriGGR++Jlcp0 S2aoYebYYreI//5RTbL+meXTjlFCf6xlDha73PMFdAOBUw21wR0kclSZPeySXnx4U3D9 297XUrgbeLBbev50zRyZJd2qz8L4I3Xd12stfKPgWvSWizDXkUnN+zvNZCPegGj2GaxB VDMwHLKEjOShiK+2CsNU0O8XlxmrScFqTdx4GMUed/RxlRfgoxwzsZbxSFAC9/jtzhAl yN8FdV64L8AaXgn7EAEKtv/+I9DyTN47f/Sxrc0A3Kcc5H9bwinRyMtic98P1e0bdZWX 5t2g== 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=eAxpH6loNU1iZeyA8GiJlas/ttJky4BrFApN1xAe7yY=; b=G7ndSyXUwPkDXZ3Rp8ZHxERAk/Led9LRptjFOSHMvfbMA1vEahk3DFsGQhZ+cIS9kX bZ7Eq4yOPR3QHneVvvGleF9LjRbm1Odc7tabrfAulDaAeK4Df8hSNf+n/qutqAIzZW/f CJxhRdZACHSDgLZqpxmA0AS0aqNZ6y1RHq2hzfzDNYgbgQ3GARjlU5hWww8Ux52JAQsp MRyoUCtquDY5n4sPFBD/r6HPuZOuFbTHPUCRlftIKyIA9lyNfbTplBGSND2I8uEs9Ply LUyQqIQV0/mOVHI2vgFBVSaJ5ozLQcrdXt+QvNz1hIXZHGEPRSlNU0Zqm+3mU4s6MoUa Y37g== X-Gm-Message-State: ACrzQf32Sw6uYdYPBQj4kg+eoISL3geZ52X5H6uyOcfvLZy+aDdA/Uzd LnpJ6AaD2d4PVtONdz1IV/lE6Q== X-Google-Smtp-Source: AMsMyM4hMJHYiZwblEf+lFcnE65TS2ubA/NfDAnElbA++I9XUy1z/+NwnRUxUmBJwGwhT8vk/DIHVA== X-Received: by 2002:ac2:4945:0:b0:498:eb8d:e283 with SMTP id o5-20020ac24945000000b00498eb8de283mr11868886lfi.192.1664300361251; Tue, 27 Sep 2022 10:39:21 -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 q12-20020ac246ec000000b00498f570aef2sm218879lfo.209.2022.09.27.10.39.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 10:39:20 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , 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 v3 34/34] dt-bindings: pinctrl: qcom,sc8280xp: fix indentation in example (remaining piece) Date: Tue, 27 Sep 2022 19:37:02 +0200 Message-Id: <20220927173702.5200-35-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927173702.5200-1-krzysztof.kozlowski@linaro.org> References: <20220927173702.5200-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 Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring --- .../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