From patchwork Sat Sep 24 08:04:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 609275 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 588B4C6FA90 for ; Sat, 24 Sep 2022 08:05:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233641AbiIXIF0 (ORCPT ); Sat, 24 Sep 2022 04:05:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233599AbiIXIFP (ORCPT ); Sat, 24 Sep 2022 04:05:15 -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 A1C7D10FE19 for ; Sat, 24 Sep 2022 01:05:11 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id k10so3534092lfm.4 for ; Sat, 24 Sep 2022 01:05:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=8lAIBCt1PKqT83z5Pfqrod3Tf9eYcvIt2hipTAD1Nug=; b=c6xsZxHwLXVrzN+3vZjTN9Gh4e6mhd3Ame1kjOEd25xQl1pbJRPOoN+PF+zhFZ9TlK /IG0vV8crFJ1PTgP9Ht/VK0cCkNcnEJFwS10IqfsZRROjt6AJKD4CQqg3x4kAbfD/ZOQ FrvUZOEndUAOh+Ij8Tbp14iHIK+uCL76a3l/egz9w1rloBI16+4Go+mAKs2z4dLxR/P5 cG33dcXfSIfx4J1EsG3G2LW/6oYFsz89sGJGgBfa14PBEiEHOJOU+nPlecDR1999Xvl2 KiY7mfBsJqFzKtmQM+EpmsAAjC26z6frtLHwQHSpwt1efcL9ihm9++I7O9xnOhI7mhPL kung== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=8lAIBCt1PKqT83z5Pfqrod3Tf9eYcvIt2hipTAD1Nug=; b=GtY0D9NNGSfxFrmekKV7xp8t2yVTexDtPmTru32MgM3wXwSVSIFvKrnuVUR74pmYWd Kc9JhfUzsyEYDDhUCDesTthC06WDixagi7O8vc0kYZesVfda517cITRNKXUFOQkaplx6 f3RDPTCmYGX1YeG8oVr0gcxhUAU7nAxm0BMOg3cv6NQam/XjAN/auJ0MDddiOfjUaYdx iBbkRhnjCy+FFHymv/ibS+4okN+JXBKX+rwplW4OqMenKwK7NOtIOIUyPD4CwdcxMxK4 DLf19Ud9hipPW/yTkV7H2PZQrDUnG9iHBJ/817xKRM7T5483H2boSDMH7s5ajMuU5l6I 1UhQ== X-Gm-Message-State: ACrzQf07QjV5mCyou5qVsmM6FLg+jTQXFe2xqttxrCw0dUesKf8L3/5I TRz0PfRlKcZH2wpvm7j1zjzHTw== X-Google-Smtp-Source: AMsMyM4y1A+dLv203gZHep1szWw2vpsDERPswIZBfSbm6/O5MVJi4Gg44hMNh6kNYuYeMcOw9OsPTg== X-Received: by 2002:a05:6512:6c8:b0:49a:1765:335d with SMTP id u8-20020a05651206c800b0049a1765335dmr4617975lff.29.1664006710046; Sat, 24 Sep 2022 01:05:10 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:09 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 02/32] arm64: dts: qcom: ipq6018: align TLMM pin configuration with DT schema Date: Sat, 24 Sep 2022 10:04:29 +0200 Message-Id: <20220924080459.13084-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org DT schema expects TLMM pin configuration nodes to be named with '-state' suffix and their optional children with '-pins' suffix. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/ipq6018-cp01-c1.dts | 4 ++-- arch/arm64/boot/dts/qcom/ipq6018.dtsi | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/ipq6018-cp01-c1.dts b/arch/arm64/boot/dts/qcom/ipq6018-cp01-c1.dts index afc2dc79767d..e1fe7d598580 100644 --- a/arch/arm64/boot/dts/qcom/ipq6018-cp01-c1.dts +++ b/arch/arm64/boot/dts/qcom/ipq6018-cp01-c1.dts @@ -51,13 +51,13 @@ flash@0 { }; &tlmm { - i2c_1_pins: i2c-1-pins { + i2c_1_pins: i2c-1-state { pins = "gpio42", "gpio43"; function = "blsp2_i2c"; drive-strength = <8>; }; - spi_0_pins: spi-0-pins { + spi_0_pins: spi-0-state { pins = "gpio38", "gpio39", "gpio40", "gpio41"; function = "blsp1_spi"; drive-strength = <8>; diff --git a/arch/arm64/boot/dts/qcom/ipq6018.dtsi b/arch/arm64/boot/dts/qcom/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 = <2>; - serial_3_pins: serial3-pinmux { + serial_3_pins: serial3-state { pins = "gpio44", "gpio45"; function = "blsp2_uart"; drive-strength = <8>; bias-pull-down; }; - qpic_pins: qpic-pins { + qpic_pins: qpic-state { pins = "gpio1", "gpio3", "gpio4", "gpio5", "gpio6", "gpio7", "gpio8", "gpio10", "gpio11", From patchwork Sat Sep 24 08:04:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 609274 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 BE7CBC6FA93 for ; Sat, 24 Sep 2022 08:05:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233529AbiIXIFa (ORCPT ); Sat, 24 Sep 2022 04:05:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233621AbiIXIFY (ORCPT ); Sat, 24 Sep 2022 04:05:24 -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 2A9B611A6B9 for ; Sat, 24 Sep 2022 01:05:14 -0700 (PDT) Received: by mail-lj1-x232.google.com with SMTP id b24so2307325ljk.6 for ; Sat, 24 Sep 2022 01:05:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=qpPAnA+QVmbRHt57Vf9Ofo1IOIWMIyAWhzEBUC3GMcA=; b=PlY5vqslF7wJTD/i8kL2Fa7Nr8DVGgCizMgKhyxTsTzELwUUVbjvvRnzVapmqQvAOB yZ9e0JTdvDxOEhEy028vFxnCqK3wyodZ0RnqYynZYxj9wM/9E7eR1bC//f5YwkXWf3Bt 3dO4jIlVez3FPw6mwqEp6A88gsmuT59EiOdvHhggpzc7zFtbxOVMBDdNkGqXZtuCsXpj F3PZY45F2kJA59vsdlW/U+p+biuSNGnvUnEdqHFRYoqGgPEzY5DSw4jB21btM6uXVKCC d26qcer4vKFQljGo1ATIK5+Qcmpd4HEJ6HL4jGWxNhVLLQEWSsN8ItScemidLyxOtqCn hdqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=qpPAnA+QVmbRHt57Vf9Ofo1IOIWMIyAWhzEBUC3GMcA=; b=cKnORWZ8UxJ+QgTyVbIJthzanmEVxSm1jzoGCT0ABfph3SI3Vr1VPOnc9hySQnq/hE aa/kCQ9Jr1wwOcSxEY746LllSWW+SUssgAah2uXzr09FbP3ovCnj3O8Yi2PJpt9O0Agq 7sr2C11uiT9eFX8WzecSUZmSvl9HfNf16m4PeAZDiMlsfG29yG7G6CELx/xp6gf3oNrR ByOQ2SATCwEpU29sd0tdDl0k4AmFkvACuxlMUg1Lh0d9upp1szOi2d03trZVQUPJndDr gWZ9uelbpaVn1DKQ7GYclJmhJdoaY3O3gvljIDYVLvGhmQ1V1GiCBu0diUEgPrxMhGR9 ujwA== X-Gm-Message-State: ACrzQf3Gku3NgmZ/gd7iGesBTTnOTBH2uP9oTZ2C1BjaRQFMA9NrXLCf gc/GkL7+evzHn1KjyMVLog1Xnw== X-Google-Smtp-Source: AMsMyM5SssSTodF8AELP2K6sTbI+heTbN8c602rZtM+w+exc7FnStzJQl2BO0JvVdyCChkbqbKa7Eg== X-Received: by 2002:a2e:8881:0:b0:255:7790:25e6 with SMTP id k1-20020a2e8881000000b00255779025e6mr4091632lji.525.1664006712493; Sat, 24 Sep 2022 01:05:12 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:12 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 04/32] ARM: dts: qcom: sdx55: align TLMM pin configuration with DT schema Date: Sat, 24 Sep 2022 10:04:31 +0200 Message-Id: <20220924080459.13084-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org DT schema expects TLMM pin configuration nodes to be named with '-state' suffix and their optional children with '-pins' suffix. Schema also requires 'function' property, so two nodes for the same gpio (mux and config) should be merged into one. Signed-off-by: Krzysztof Kozlowski --- .../boot/dts/qcom-sdx55-telit-fn980-tlb.dts | 45 +++++++------------ 1 file changed, 15 insertions(+), 30 deletions(-) diff --git a/arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts b/arch/arm/boot/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 { }; &tlmm { - pcie_ep_clkreq_default: pcie_ep_clkreq_default { - mux { - pins = "gpio56"; - function = "pcie_clkreq"; - }; - config { - pins = "gpio56"; - drive-strength = <2>; - bias-disable; - }; + pcie_ep_clkreq_default: pcie-ep-clkreq-default-state { + pins = "gpio56"; + function = "pcie_clkreq"; + drive-strength = <2>; + bias-disable; }; - pcie_ep_perst_default: pcie_ep_perst_default { - mux { - pins = "gpio57"; - function = "gpio"; - }; - config { - pins = "gpio57"; - drive-strength = <2>; - bias-pull-down; - }; + pcie_ep_perst_default: pcie-ep-perst-default-state { + pins = "gpio57"; + function = "gpio"; + drive-strength = <2>; + bias-pull-down; }; - pcie_ep_wake_default: pcie_ep_wake_default { - mux { - pins = "gpio53"; - function = "gpio"; - }; - config { - pins = "gpio53"; - drive-strength = <2>; - bias-disable; - }; + pcie_ep_wake_default: pcie-ep-wake-default-state { + pins = "gpio53"; + function = "gpio"; + drive-strength = <2>; + bias-disable; }; }; From patchwork Sat Sep 24 08:04:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 609273 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 733A8C32771 for ; Sat, 24 Sep 2022 08:05:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232972AbiIXIFq (ORCPT ); Sat, 24 Sep 2022 04:05:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233629AbiIXIFZ (ORCPT ); Sat, 24 Sep 2022 04:05:25 -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 6E3C011D611 for ; Sat, 24 Sep 2022 01:05:15 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id w8so3474175lft.12 for ; Sat, 24 Sep 2022 01:05:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=2SQmi2lgJlQQmepGaN3TdkXlKQrqpQ5shsgKmrI88Zw=; b=NtpudLGRDnzyPMtOFsTv4CpJvpK4iNb4FDcaotlQ7UN24Dfdg5f1qu02+XANNODwe0 hHFFu7qKTO+KLRsn/NQsPu3Pci+HGJIXf5wCL9DNVG000yTpI/4fNwIXbMqH2N95F9Ag 2B2NWq+2hpU+azqkE+xog1QW2c6OHnF5oI+dTL3sJrkEZezCprK/Zi5boU+rudTrfzXy T25OyrRnrb1l4ce70Psa5qRw8SUZbMW6hWUXGSIv9anxxMM+20ih41ywDiD88QhtC17p XYSkj0/MzozoPI+skokVkpoY5hweLr8GXt9I6D2azjivSV0j1SHomK2X+zB7n0jUCR+p +j5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=2SQmi2lgJlQQmepGaN3TdkXlKQrqpQ5shsgKmrI88Zw=; b=ErFbBxwxVkFZs2kk9YMR2VCiJ1AyHjYe0jPETr6jTS31txpxl3K/MugE2S+tO6jeZn nckz4bD0pqZY1Mz6KbhqIviHx7dky0Ku0v3CW9Vl6RHfWhYJXT8CxiUbioT+odhEJ+98 /9S1H6ejHKemaQCC8MthOUIAWfW/wvT4rP7cqlS6J7jedRexn/+DZ92ePnZr/G4wFj/6 /QQqH4ySGPgejxHqhU+OPOETbtOfuDdiQJy4BiZAkLyX+oxVt3zKynYkKHrYfyvUDLO7 g/9o/mN/Ek1ygwjH6DgVMkwjGj3AxBsPZrbuYgHi4NsVoQVx7UBopElJr6dbCQ7uPKbH E3wQ== X-Gm-Message-State: ACrzQf1uaRB7pB1Zhj/QcG5jhaXa8LP324IvxQEeYfOeiX0XwHPrdspl /mEPEgoVeOjTYCNyXHJLx+DVyQ== X-Google-Smtp-Source: AMsMyM6ZA66X/TF+zcgrWpyJ7uQ9V5Ok1vcOS7zx0HebEDIz65e+UpM/H6cVFHRHi/tjEEjmsmwAkg== X-Received: by 2002:a05:6512:c1c:b0:499:acb9:5788 with SMTP id z28-20020a0565120c1c00b00499acb95788mr4478702lfu.347.1664006714973; Sat, 24 Sep 2022 01:05:14 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:14 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 06/32] ARM: dts: qcom: msm8974: align TLMM pin configuration with DT schema Date: Sat, 24 Sep 2022 10:04:33 +0200 Message-Id: <20220924080459.13084-7-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org DT schema expects TLMM pin configuration nodes to be named with '-state' suffix and their optional children with '-pins' suffix. Signed-off-by: Krzysztof Kozlowski --- .../qcom-msm8974-lge-nexus5-hammerhead.dts | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts b/arch/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 { }; &tlmm { - sdc1_on: sdc1-on { - clk { + sdc1_on: sdc1-on-state { + clk-pins { pins = "sdc1_clk"; drive-strength = <16>; bias-disable; }; - cmd-data { + cmd-data-pins { pins = "sdc1_cmd", "sdc1_data"; drive-strength = <10>; bias-pull-up; }; }; - sdc2_on: sdc2-on { - clk { + sdc2_on: sdc2-on-state { + clk-pins { pins = "sdc2_clk"; drive-strength = <6>; bias-disable; }; - cmd-data { + cmd-data-pins { pins = "sdc2_cmd", "sdc2_data"; drive-strength = <6>; bias-pull-up; }; }; - mpu6515_pin: mpu6515 { + mpu6515_pin: mpu6515-state { pins = "gpio73"; function = "gpio"; bias-disable; input-enable; }; - touch_pin: touch { - int { + touch_pin: touch-state { + int-pins { pins = "gpio5"; function = "gpio"; @@ -618,7 +618,7 @@ int { input-enable; }; - reset { + reset-pins { pins = "gpio8"; function = "gpio"; @@ -627,25 +627,25 @@ reset { }; }; - panel_pin: panel { + panel_pin: panel-state { pins = "gpio12"; function = "mdp_vsync"; drive-strength = <2>; bias-disable; }; - bt_pin: bt { - hostwake { + bt_pin: bt-state { + hostwake-pins { pins = "gpio42"; function = "gpio"; }; - devwake { + devwake-pins { pins = "gpio62"; function = "gpio"; }; - shutdown { + shutdown-pins { pins = "gpio41"; function = "gpio"; }; From patchwork Sat Sep 24 08:04:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 609272 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 04CFDC6FA83 for ; Sat, 24 Sep 2022 08:05:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233684AbiIXIFw (ORCPT ); Sat, 24 Sep 2022 04:05:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233643AbiIXIF1 (ORCPT ); Sat, 24 Sep 2022 04:05:27 -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 CC60D11F136 for ; Sat, 24 Sep 2022 01:05:19 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id j24so2321752lja.4 for ; Sat, 24 Sep 2022 01:05:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=VY7fS0iu1FrQv7JLDwEKvC3Dn+VfsmyHaoeIkwh4NZU=; b=KRyeW7mG+bhv+Iv+m0hSEcOU1KuMs7Q17niR0GIN7m9OR+QNTdcYIfOIyPMgv8q+GX VyCPVJ5g62cfLsUun58wmndfn3Z8lt34LN3+x9xuVcNro0o9GO5iKQORRRFQPLJBPGj3 9jMBlmzuK8so+vl62hjNlCRRL0V3dW3Pdzw39cwGdLJSKDXVPWdbQ5A4Fc8Jf7YA1Wxc cWyaR3JOriRJgBHfT14uzgfBX5m7MUdGvrkUUUjLLYCH8kDyYGvu7efmolyyOKuLIMch ojqDE2AZhSJrHpNhQFCn87mTl3/YSerYcspZTX71zXIlXoXmd/j0Bg7iU9DuX0FLUix1 DfNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=VY7fS0iu1FrQv7JLDwEKvC3Dn+VfsmyHaoeIkwh4NZU=; b=sqAINg5HRYeoqM9P1kriLfv5icQE5tdXqgIIvtCMk7HoMHRJEc14hyAexz8euPUrCp smK70t9idTf12DEVYWVyQm3hX4skap2/eI8irlvjJreeVewhS6isqN1oG86mGdQ8wOyG H4NUHQl+k+t7/pNSEajaahMJ12Ykc4CReSLhpggBkGmxSj+u1SHesYuZ7VXMeTGVmtBo nNR4ZgNImbYSzxLhem21keA2Gs6eDEq+Akxrbu3Y6gbfre2oQFU7zGmkAzgvjW7Lutp/ fWa7vpt8NsSkUC9VF0OiLoVeUAQJAVt44Z4dNByvOEMH+YaxnM7gCj67BBO2hPrpdU+C 3WEA== X-Gm-Message-State: ACrzQf2rw4+1ByTgaHMdnXlfwyAHBHGCmX+3TJ0l9nBt1WfW535eAGry vyXZ5rHZELd0aevWqJXO7wXT/A== X-Google-Smtp-Source: AMsMyM5vRgij2AaBub331/OuCNOMkPcE5eJp2i/WT6KBGxRfGdy0aH5B8gbw3V9h9208ub5CR+dmQg== X-Received: by 2002:a05:651c:1043:b0:26c:565b:2942 with SMTP id x3-20020a05651c104300b0026c565b2942mr4162300ljm.440.1664006717627; Sat, 24 Sep 2022 01:05:17 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:17 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 08/32] dt-bindings: pinctrl: qcom, ipq6018: increase number of pins in pinmux Date: Sat, 24 Sep 2022 10:04:35 +0200 Message-Id: <20220924080459.13084-9-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org One pinxmux node can have more than 4 pins to configure: ['gpio1', 'gpio3', 'gpio4', 'gpio5', 'gpio6', 'gpio7', 'gpio8', 'gpio10', 'gpio11', 'gpio12', 'gpio13', 'gpio14', 'gpio15', 'gpio17'] is too long Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml index 1f7a5f285404..9c6958a9cfe4 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml @@ -63,7 +63,7 @@ patternProperties: sdc2_data, qdsd_cmd, qdsd_data0, qdsd_data1, qdsd_data2, qdsd_data3 ] minItems: 1 - maxItems: 4 + maxItems: 16 function: description: From patchwork Sat Sep 24 08:04:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 609271 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 172AFC6FA83 for ; Sat, 24 Sep 2022 08:06:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233704AbiIXIGC (ORCPT ); Sat, 24 Sep 2022 04:06:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233605AbiIXIF3 (ORCPT ); Sat, 24 Sep 2022 04:05:29 -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 8C097120595 for ; Sat, 24 Sep 2022 01:05:22 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id j24so2321851lja.4 for ; Sat, 24 Sep 2022 01:05: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=cGaQ8e4uNHVgE+zInbqahLbk6anJu3w+VY6OAYjn4Sw=; b=jgKb07IEFCnzodKEn4Hgz45nekbx1huLoshFOlSqC1myNkdxIfx//X+XQNEpmnW6/2 rj9DXO3EdnXb8bbwdKU+16mFwuiAXr3WDsCbjsk9NIzlB6HvRI/10og+FLjh3WiVfbrJ 4KAhaiZ2l7yv1NC8URFG5E3upgTkG3WosH88J+vCgc4KLvyHt2lRkUMXpKp+Oo22sYpD D8L8vMjRs2bbm/hyc0n+YuMmRNqCzir5XMGZpkxvmj6yTvJGgKYdLZgkCxlkpLePGJfd eOED2+tM20K2h2cV7BPJO8TTBsxW96M3uklMcRRuUSh4ChiUwykUodDW3nPA7tm26BAH +vUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=cGaQ8e4uNHVgE+zInbqahLbk6anJu3w+VY6OAYjn4Sw=; b=Zq+kH8m1SPzLayLDAXuhhCst7ZHuvGW5XuRISaJKQZ9HYsiSGWRzWnDJG6SKgPrsUr HvTRFv+IFa5fy+it/ZDFK1Lxc0qdMamflBI2dDDigpvbRWoNcOr0CLq2S54YtJzde8G5 obsr9z200T7QBHaXthuR6drsRq8LitiM2EErSr9RkXl0V+WZoGbB99rft4QnF8jyZU41 ZVov33jZ5bBbG0fUETuEWblqqYQWdTkDRY+0dmpqeHYZdVmm2Cqs7b5e0jQ8w1ZrRgu+ tmZ9IFAnFBJA4Oq4kMUfveLtL/kjkHfdWCbmWuF/XLFs4H6zxd7BCoDbVq6hhl3vhjto tPgg== X-Gm-Message-State: ACrzQf1qOtgjwsHqRcHil+nixwaSXlAGgT9jVYP42uxbGFPWsSPuU4e+ AQD75+Vj32MAZJxikujkLfj0pw== X-Google-Smtp-Source: AMsMyM5QmGyvwqI6fVrnfhExwT4jyDCZJk1E/w7xst5Wvc0ogWN/ccxXzYSjPxQY5zqRkHeL512NtA== X-Received: by 2002:a05:651c:110f:b0:26c:68f4:5b31 with SMTP id e15-20020a05651c110f00b0026c68f45b31mr4054209ljo.29.1664006722009; Sat, 24 Sep 2022 01:05:22 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:21 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 11/32] dt-bindings: pinctrl: qcom, ipq6018: fix indentation in example Date: Sat, 24 Sep 2022 10:04:38 +0200 Message-Id: <20220924080459.13084-12-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Bindings example should be indented with 4-spaces. Signed-off-by: Krzysztof Kozlowski --- .../pinctrl/qcom,ipq6018-pinctrl.yaml | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml index 2026fdac9fa8..075d014b2ec5 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml @@ -150,21 +150,21 @@ additionalProperties: false examples: - | - #include - tlmm: pinctrl@1000000 { - compatible = "qcom,ipq6018-pinctrl"; - reg = <0x01000000 0x300000>; - interrupts = ; - interrupt-controller; - #interrupt-cells = <2>; - gpio-controller; - #gpio-cells = <2>; - gpio-ranges = <&tlmm 0 0 80>; - - serial3-state { - pins = "gpio44", "gpio45"; - function = "blsp2_uart"; - drive-strength = <8>; - bias-pull-down; - }; + #include + tlmm: pinctrl@1000000 { + compatible = "qcom,ipq6018-pinctrl"; + reg = <0x01000000 0x300000>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&tlmm 0 0 80>; + + serial3-state { + pins = "gpio44", "gpio45"; + function = "blsp2_uart"; + drive-strength = <8>; + bias-pull-down; }; + }; From patchwork Sat Sep 24 08:04:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 609270 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 CF115C07E9D for ; Sat, 24 Sep 2022 08:06:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233719AbiIXIGF (ORCPT ); Sat, 24 Sep 2022 04:06:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233654AbiIXIF3 (ORCPT ); Sat, 24 Sep 2022 04:05:29 -0400 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABEAD12059B for ; Sat, 24 Sep 2022 01:05:23 -0700 (PDT) Received: by mail-lj1-x22d.google.com with SMTP id j24so2321879lja.4 for ; Sat, 24 Sep 2022 01:05:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=s3LeD0fQ3lVXSe5LvWDqJOXNGaIcujKmFDelUx6yqVs=; b=zxo6hgeU0xtFLAXGPyymOXWMWlrXDjjARqZr/ipT2IQMQEE/CXf0N+eVputLmNjMi8 AMlb6K0Ppm/hnICiVRknz1Mkp8As8y+9QcEtoihcdzZqFSAF4tvnF3+oHVtE8ZZJ584B v3ZVhgw4XJAASLaDorORHZ7T3mGh+lMzvNyFlMTgiRmG3CrDTv1JSX1WHl4uiKtlBb6q oz/LCg/hw28eavkRAtdUQMCqUcQAIFHLFALkTVYnOcO3om2OkVAZO1SR21oun7vD8v4P 2JHvhtatopRyXgmo3/wVdmEQeyd3xQeJ4f0n2o+vJfJWfPDnUem3xBFK7wwo6rKODnOT kiaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=s3LeD0fQ3lVXSe5LvWDqJOXNGaIcujKmFDelUx6yqVs=; b=Tu9TpOdbshQUv/veJH8vYdFHqOhRyfU0PJt/zuJC2nkV3t7tgAavZpw7mS4bWqQXFt 7UUcXPuCWeB2uxGPZzxmNgaG6U1/hTWsUQASDt6xliikca7wuhDrYRTn18K1K59bngGk P4Uo6PxQK5nWXARklBKRsAuO7YZa10aDHKCIphOP9vp1YL4Q42k96zhzgme+SLAXDPWy D9ll9Nl5AJphCB2mr/W6Qooi6U0LMbveyyEHAHZMxILXmU+YDdkcQroEFQ/OvrCSDwye TMsuvn62VKCwv0lfAm3QfADBFUd5JCi/3L1veJ0lZ+ZutuvIYA/F2QARqmjwz4bwhPfN tb4g== X-Gm-Message-State: ACrzQf072+tqRWYaE+u+2IxDhdI7XoAZoB5NISWaQOq1nwX8NxjpGJbp 25CMsy+Fntzsih6WWFE4zxL+Dw== X-Google-Smtp-Source: AMsMyM52kN7DLYNG8Q6Lzb5UyWtfA2Y3HQHTEBjh00lg7JefgmzEPj9aKQ6TZi3uxMslQN0KdboEJA== X-Received: by 2002:a2e:9209:0:b0:26c:7b01:ddb with SMTP id k9-20020a2e9209000000b0026c7b010ddbmr2131449ljg.347.1664006723208; Sat, 24 Sep 2022 01:05:23 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:22 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 12/32] dt-bindings: pinctrl: qcom,msm8226: fix matching pin config Date: Sat, 24 Sep 2022 10:04:39 +0200 Message-Id: <20220924080459.13084-13-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The TLMM pin controller follows generic pin-controller bindings, so should have subnodes with '-state' and '-pins'. Otherwise the subnodes (level one and two) are not properly matched. This method also unifies the bindings with other Qualcomm TLMM and LPASS pinctrl bindings. Signed-off-by: Krzysztof Kozlowski --- .../bindings/pinctrl/qcom,msm8226-pinctrl.yaml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml index ab4a2b4cfda2..ecb90c77f666 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml @@ -45,9 +45,17 @@ properties: gpio-reserved-ranges: maxItems: 1 -#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 configuration. @@ -126,7 +134,7 @@ examples: #interrupt-cells = <2>; interrupts = ; - serial-pins { + serial-state { pins = "gpio8", "gpio9"; function = "blsp_uart3"; drive-strength = <8>; From patchwork Sat Sep 24 08:04:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 609269 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 8F5F0C6FA92 for ; Sat, 24 Sep 2022 08:06:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233571AbiIXIGV (ORCPT ); Sat, 24 Sep 2022 04:06:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233626AbiIXIFq (ORCPT ); Sat, 24 Sep 2022 04:05:46 -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 8B166121113 for ; Sat, 24 Sep 2022 01:05:26 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id a10so2387495ljq.0 for ; Sat, 24 Sep 2022 01:05:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=YwJzKwBTqbPcmrZWZ8ggkR5Ai2/8yEQ4t3c6bMiRPyY=; b=RWa5Jg+GEcDh7LyIvwqU/Rm/aL9t3qWq2Orw8zDXmd40mXYgeyvOrqI/QRF7ttf3qr wvB46cd/aQVCEqkVOSFeLjSy3J9Sm3b8Ds41BzKX+KlaeXaaKp+BZNfPugXrKFMYPLCF c7/8OPPQpYvjj4eN33UFmqNqLf8gHfe2mqlV4o1mttyb2VLB2i9R5u13fKucHEiUQjbh nNaTkyMAL4Kz7Q0jGitwBfd0mFXl0qSABrGFoBy0HYLOpkUEjA+FJQZ5Gl9Mq5FTxaCo 2+ra4IKRjb6s0j/onugDZzOQ9If+S5p2QFoQqBXRptrbGBijNg16nPvJHynAAFhRC28o gXoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=YwJzKwBTqbPcmrZWZ8ggkR5Ai2/8yEQ4t3c6bMiRPyY=; b=BbFvWxdD8BoL48oiRcTQPJvWQXYw9dOFlT+3YO3ZRMZYAEL99xjtdjhI5/AWR+R5s2 JBoKJnd0h791fzSnp2TIKH1GEP5kPy3FiaDM3iJ/wNvnecB5iHb1YFd4qURHbbdDmdY4 zVuQBdHA3BK37p59G9OOOWow4OXtJFcal2yncgbTq8d5W29iR1VvgQ4DqMzzfSVaejbb UIj+rVczSgygsVO8dhqpABZBVLDbuA4PfOHn7akVrswHn9MtmA/71fNbb8yac6Q8ksek NSrdsPuPfDDWEgZGdVCA2pqFLS4Oqt9aN8v/kK+vF/Xr9GiPi6cO7EZq2epYMkQAecNC Tycg== X-Gm-Message-State: ACrzQf3U9flf54v2TS/YnheT6sdvUG+dirgx/NnY/UEdOY/z/kNVf5Ej RZwaNq262DHN3wph00uyfpqpRg== X-Google-Smtp-Source: AMsMyM5MCAcuuBSS8RWt01vyxMeyycHdb+c9gv9m8PJoPO8R/B/Hg6oVsGvFWynLeqRd4bKJw/UxQw== X-Received: by 2002:a2e:894e:0:b0:26c:5434:e62b with SMTP id b14-20020a2e894e000000b0026c5434e62bmr4079035ljk.180.1664006725927; Sat, 24 Sep 2022 01:05:25 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:25 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 14/32] dt-bindings: pinctrl: qcom,msm8226: add functions and input-enable Date: Sat, 24 Sep 2022 10:04:41 +0200 Message-Id: <20220924080459.13084-15-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org 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-i2c2', 'blsp1-i2c3', 'blsp1-i2c4', 'blsp1-i2c5' ... qcom-apq8026-lg-lenok.dtb: pinctrl@fd510000: touch-state: 'oneOf' conditional failed, one must be fixed: 'input-enable' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- .../bindings/pinctrl/qcom,msm8226-pinctrl.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml index f1d9696a1fe7..e665ae7ffe3c 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml @@ -78,9 +78,10 @@ $defs: Specify the alternative function to be configured for the specified 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, blsp_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 ] drive-strength: enum: [2, 4, 6, 8, 10, 12, 14, 16] @@ -89,13 +90,10 @@ $defs: Selects the drive strength for the specified pins, in mA. bias-pull-down: true - bias-pull-up: true - bias-disable: true - + input-enable: true output-high: true - output-low: true required: From patchwork Sat Sep 24 08:04:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 609268 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 A9BF3C07E9D for ; Sat, 24 Sep 2022 08:06:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233671AbiIXIGn (ORCPT ); Sat, 24 Sep 2022 04:06:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233682AbiIXIFv (ORCPT ); Sat, 24 Sep 2022 04:05:51 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10073121E4F for ; Sat, 24 Sep 2022 01:05:28 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id a3so3501298lfk.9 for ; Sat, 24 Sep 2022 01:05:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=q8x9uNJv1GdLZmJTd8sk+6NP6nWeg6X+qM8aAbyTccQ=; b=C2DHYP4iiFXaUsom/T+schnOontFRttz/XOW5i9gotd5n9Ooa4q67Z4OTwOLt85PCi UrbnzOyAUJZ7y6xtJNSYDwOKubuaVFvqglcxiHFh1+QD/qscMCz9E8xZhXfaDsk3PUhI EkmdYzbxDJV08hQ1DTrfeVz8iP6T/KPz1t+8rj6iHYSfsGTRnXp1yG6ftVExYgQZXyPH 1+jrKLEtYszydUfxA8WzZpbSNnf7te+NWSWigf91LiPs6uhHuxR3FiisZc3zMPybnwZ0 QeqdR2ZVS3QtjIG8EbRsx8oxUpc7elKX1UGQBbtSVDKo0m8AVJq3aO+TF6DXgH8cgFIJ 5Qtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=q8x9uNJv1GdLZmJTd8sk+6NP6nWeg6X+qM8aAbyTccQ=; b=fdrhS+TUWzmQ9yT7e55grdVTfKk8Lju4FRbAHNjdVqOxSw8C3RymwLzux8VtcFsXUK oGcUGc3hGJlh0ntGHE9FqFhDCjAWs+26Zttlh0Ozp/wTrntnAcw8DT8EO2UyDaawYFuH LwHJ/Xs6GrX29zwfSHGuNXGw/edTSeFtHcvvSDeVAZYbP0YA+USSY7EWejpwAvZnbVt1 ucfo+XDivzkzonAm1KajMXebwtNpnDqZbZjA/suQNWYstg8/tvBuFkLmr1Fh3BdDsaZ1 HqY4rg9MPlaN+zhQdEit+6jENDxJeL3/L9qbxP/qJsfycFYY3SwYIK3rJzai4sU5Bl1b M/4Q== X-Gm-Message-State: ACrzQf0MOjqCZhx2krWVNsXkfgF7EdB1xmduqs1p84ZM9IrIrQbNPK5B esVeIS91PvoIruRkC7/4sQUGu5u0XaOCrQ== X-Google-Smtp-Source: AMsMyM64S/N8FT5hyfKWJNxchNsUKQri69eWg1V4EY4lVh35Lp2phGeMaZYXwfjOfTVE+2j3JlGBww== X-Received: by 2002:a05:6512:c0f:b0:49b:1e8c:59fd with SMTP id z15-20020a0565120c0f00b0049b1e8c59fdmr4531851lfu.426.1664006728356; Sat, 24 Sep 2022 01:05:28 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:27 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 16/32] dt-bindings: pinctrl: qcom,msm8909-tlmm: fix matching pin config Date: Sat, 24 Sep 2022 10:04:43 +0200 Message-Id: <20220924080459.13084-17-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The TLMM pin controller follows generic pin-controller bindings, so should have subnodes with '-state' and '-pins'. Otherwise the subnodes (level one and two) are not properly matched. This method also unifies the bindings with other Qualcomm TLMM and LPASS pinctrl bindings. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml 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 $defs: qcom-msm8909-tlmm-state: @@ -136,13 +137,13 @@ examples: }; uart-w-subnodes-state { - rx { + rx-pins { pins = "gpio4"; function = "blsp_uart1"; bias-pull-up; }; - tx { + tx-pins { pins = "gpio5"; function = "blsp_uart1"; bias-disable; From patchwork Sat Sep 24 08:04:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 609267 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 6C04AC32771 for ; Sat, 24 Sep 2022 08:06:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233803AbiIXIGs (ORCPT ); Sat, 24 Sep 2022 04:06:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233605AbiIXIGC (ORCPT ); Sat, 24 Sep 2022 04:06:02 -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 22EA4123D91 for ; Sat, 24 Sep 2022 01:05:32 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id i26so3481249lfp.11 for ; Sat, 24 Sep 2022 01:05: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=tI3YcFf7I0VJoXV1p2liiPk9SIh1pwH6bZoypN8Fx6k=; b=cWc7G8MNLRbZcxslT7vdZB+/ctFVAmxxoDJaqE4owUMdEs8S++51x+EjSTNA3u0R2g /2bJDt6gT+H0nBTSVhO+TRSyaL7gISRjYGZud88UNv+9FbmaBrXCnV6ZetVDWE1T8+hH 5K3ESnAJVMG5RqSyheidTMQCDt9iZtkX8ozvfgQGpLG93xLfR4/y+pSmN5wSrAYAgF4Q LVVXHyYQ6YyxdGMKrhGehKafAQ/CsYB+TXKi2p29soCVnwqTLbT4YG83KOKdDrVZmt8p L0Q3mHwbo+EzF5dcRdlnUpYN98T74GVEQ3O6xxqEaddoVGpBeab8Zq7DgDiiAgBrzJC+ KmMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=tI3YcFf7I0VJoXV1p2liiPk9SIh1pwH6bZoypN8Fx6k=; b=3+y0ruWz+JlL6fPHKmE8wzJwnDPc+qojVpTqkl3kmQQylRZkQdS1m7pJ+ZiixOGMjj bq9UeVQs0TzNPigWYB7mel0qviW57zbyUFtE7O2hfjRAgQrVZ/COm9Ddd+LyKzpdIOrD Zh/qdpa3uvnTHyBrSdOeVtQiNsl1z+I/uJ6DSecdgvqLdjbqaReFY60Ro1NNE7qO0eQO eTIVXC/KeBfbEjLokoj6Ky6CVjevLMVM2ZpTJ6Xarv88OlJzQUNBU9u5Hprz1Rt5cYiU FCDKk5yk8n1/U3tnnBxLztvxCCtCjngF1Yt0dE4vHzZuaxQwHQ0HkR5y2SsZYcqoidwD qoqw== X-Gm-Message-State: ACrzQf0rRIyPabapjMqpMGtvaQ0BWb3R3wNMkBBsygDym9maZ0q/jngU WbX+jMJlxH7ZbV3gqi4Zlcn6BA== X-Google-Smtp-Source: AMsMyM5QCZvY2kSyIDjhblOVJmECCo6yI6RDv8+qGfm/6pF5i4v72BGYL98vajM+mR/NUgglM2gnEg== X-Received: by 2002:a05:6512:2820:b0:4a0:5395:20f0 with SMTP id cf32-20020a056512282000b004a0539520f0mr2479425lfb.384.1664006732189; Sat, 24 Sep 2022 01:05:32 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:31 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 19/32] dt-bindings: pinctrl: qcom,msm8953: fix matching pin config Date: Sat, 24 Sep 2022 10:04:46 +0200 Message-Id: <20220924080459.13084-20-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The TLMM pin controller follows generic pin-controller bindings, so should have subnodes with '-state' and '-pins'. Otherwise the subnodes (level one and two) are not properly matched. This method also unifies the bindings with other Qualcomm TLMM and LPASS pinctrl bindings. Signed-off-by: Krzysztof Kozlowski --- .../bindings/pinctrl/qcom,msm8953-pinctrl.yaml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml index d4da558cde54..c162796ab604 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml @@ -44,9 +44,17 @@ properties: gpio-ranges: maxItems: 1 -#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 configuration. @@ -163,7 +171,7 @@ examples: #gpio-cells = <2>; gpio-ranges = <&tlmm 0 0 142>; - serial_default: serial-pins { + serial_default: serial-state { pins = "gpio4", "gpio5"; function = "blsp_uart2"; drive-strength = <2>; From patchwork Sat Sep 24 08:04:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 609266 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 A12F4C07E9D for ; Sat, 24 Sep 2022 08:06:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233712AbiIXIGv (ORCPT ); Sat, 24 Sep 2022 04:06:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233713AbiIXIGF (ORCPT ); Sat, 24 Sep 2022 04:06:05 -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 62A06124166 for ; Sat, 24 Sep 2022 01:05:34 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id s6so3514119lfo.7 for ; Sat, 24 Sep 2022 01:05:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=OXB1JJnvpREkopChp5a3jHnCV18ZCMCVb3LDYC85iAk=; b=Qw0XMyxq9XhsGSV8rSRc8Cn/Z578WiwrCcAe5Ew7wb1vPGFEkf6wsUcmKenupTszy8 0JZXNSLc91S5vWT+vw4Z8GHN8Ecqhsf96VSoKvaZuIDzHDpLxIpnW368ZiXAGTjttYrO Zwu979JfhNp1KibG+6cG+HAvtZc1xU/6hka/9YL2usT9ALUzig330awETosq4WJaJVqs T/434vtC6U/yyB3BSCyDYlPd0jsYZcbV7WCl61yNTljCJs8shUw2JEJKzsFfOijy8Je2 fOipT0ijYLM0SZ6Z0S2ZDKdO93U9ECBsPm5C+waEa8gKYfQGtKhh+hqA/oZ+XYcQKJ7d Gsvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=OXB1JJnvpREkopChp5a3jHnCV18ZCMCVb3LDYC85iAk=; b=aDXOu/d8QiE3Zwjz09xd2/5PdAhGuZ9QD1Nq4AK6JWRREFdEvkV5AwsOCLdVZuUx05 WlDhIQ5etSyKIjNl2GHndREk4emDIQPqwq29PDz4f4qkk1rFIG6FLFt+VZpQRuDlBpTL rnXJc+M+b4KS68DTXaoD7v8RyPqVKZeaiACEAlsZ/rLIOUmhuEsguNxijQULZMiRO/ok 1MlrYY2Da9yT6ClBI9Z9qA2aj0apLw7ToKh3S+XjXYnFd7rMgNN/pVWzf8/EXZzOht21 x2OtemW/jlNPWqLYb7LEGIt4YC1dxkpdVKHZhpeSNGtKVg4xL8yL6ixyPBk/t2z48KX/ TSPw== X-Gm-Message-State: ACrzQf2gtTKRZmEOJgkfsg/HSxF2LGbtlqQgtfcp35JG0bu7oBUmv5qt CNARWu1PqOZxAj1kHRElptl5Dw== X-Google-Smtp-Source: AMsMyM6/dvw76Ol2pCwL8Hm50D4bo1Ci0W33LWDkwe6Vi9rDoTeyhqOjp6PAm6oiZ1o/ddijQlPiOA== X-Received: by 2002:a05:6512:3128:b0:499:3c1d:f9e with SMTP id p8-20020a056512312800b004993c1d0f9emr4770567lfd.634.1664006733589; Sat, 24 Sep 2022 01:05:33 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:33 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 20/32] dt-bindings: pinctrl: qcom,msm8953: do not require function on non-GPIOs Date: Sat, 24 Sep 2022 10:04:47 +0200 Message-Id: <20220924080459.13084-21-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Certain pins, like SDcard related, do not have functions and such should not be required. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../bindings/pinctrl/qcom,msm8953-pinctrl.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml index c162796ab604..67d3d90839ad 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml @@ -59,7 +59,6 @@ $defs: description: Pinctrl node's client devices use subnodes for desired pin configuration. Client device subnodes use below standard properties. - $ref: "/schemas/pinctrl/pincfg-node.yaml" properties: pins: @@ -139,7 +138,16 @@ $defs: required: - pins - - function + + allOf: + - $ref: /schemas/pinctrl/pincfg-node.yaml + - if: + properties: + pins: + pattern: "^gpio([0-9]|[1-9][0-9]|1[0-7][0-9])$" + then: + required: + - function additionalProperties: false From patchwork Sat Sep 24 08:04:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 609265 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 E108AC6FA86 for ; Sat, 24 Sep 2022 08:07:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233670AbiIXIHX (ORCPT ); Sat, 24 Sep 2022 04:07:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233759AbiIXIGZ (ORCPT ); Sat, 24 Sep 2022 04:06:25 -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 63CB91251A6 for ; Sat, 24 Sep 2022 01:05:37 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id a10so2387746ljq.0 for ; Sat, 24 Sep 2022 01:05:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=I9UI65DEwAIEvnPw/7Aklq9Nug9drrNeZhV+82t1En4=; b=coQfwEXcRvx4ZbcQ4ke1HnuHdi5hVuUsbEBsrM9hTNtsP5FWLCfljrBMJeHbQ2B7Kn ZYn2/jpgH8gaXoBaNHzUffbEhA7NOYrM1T1RGTHMxcTONyPIf+MHfzt+nAaDnA1f13EU pVN9jUNZtGF/EdpD/BSVukWhMBia6wpLicsHciD5v8BxZOdZGXVu9284/uTDafttsF3S DY0UObeu3j/TOno6Yr0N7eO0MZsaz0Ji8xUYVdh+ngKxLSmMC4LxAo2W/2wij44PvRyp +mQ0hkdbm9kOgIBhUsO51UOVYGVjFw8J8nWRHF5atLGIrpQjKSpPdETSI964cHz9A7OQ uSNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=I9UI65DEwAIEvnPw/7Aklq9Nug9drrNeZhV+82t1En4=; b=vjW3QfsLijh6wdkI4Qk4IA3aYOtVYENTYsgEYPiYDNzw4o6ORIgNKtoZ5apGbGXD1I 4tMKGhgTINa4o3YRdqSAope+djLzK3YU0WyhHS6rBDmEBgvBsl9w3WQwYC9DPi10f8sy SfSBb2HHbNy5fhSnauoPJQuekHsOKVN+IWBlv0B2o/bn8L1WaEKIyv989cUYu8M9C8SP uQS5wlqEm8TzxDysg6hh9TUWcbotWdtk6vLWfr8wMZZpdVpTta1A9iCYZYPzK+v/Q8BJ wo5DN2cDgB2bbXR+V88ze7YtSiGQN7CimqSdUUYL1W+ncBx/1S8TWpI/jjvP1f7BsmwC jOFQ== X-Gm-Message-State: ACrzQf0Ebvt8WdMY4yLdzXj4eqRixwXRGjrq4FzBaKSW7YrPW/qJNb8D hwTBf2N1Dqo7sRMrxcAPIpz5uA== X-Google-Smtp-Source: AMsMyM7sRo70fgBGTXgxjxqoLxubcDvl0NgXGmiAAPeKxyLV70pEN8PKSiXAusDGICoBOzkh7KFRhg== X-Received: by 2002:a2e:a7ca:0:b0:26c:51d6:55ed with SMTP id x10-20020a2ea7ca000000b0026c51d655edmr3940457ljp.426.1664006736602; Sat, 24 Sep 2022 01:05:36 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:36 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 22/32] dt-bindings: pinctrl: qcom,mdm9607: do not require function on non-GPIOs Date: Sat, 24 Sep 2022 10:04:49 +0200 Message-Id: <20220924080459.13084-23-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Certain pins, like SDcard related, do not have functions and such should not be required. Signed-off-by: Krzysztof Kozlowski --- .../bindings/pinctrl/qcom,mdm9607-pinctrl.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-pinctrl.yaml index f7bd4be1739e..ef22090fd6d6 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-pinctrl.yaml @@ -53,7 +53,6 @@ patternProperties: description: Pinctrl node's client devices use subnodes for desired pin configuration. Client device subnodes use below standard properties. - $ref: "qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state" properties: pins: @@ -115,7 +114,16 @@ patternProperties: required: - pins - - function + + allOf: + - $ref: "qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state" + - if: + properties: + pins: + pattern: "^gpio([1-9]|[1-7][0-9]|80)$" + then: + required: + - function additionalProperties: false From patchwork Sat Sep 24 08:04:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 609264 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 AF31DC32771 for ; Sat, 24 Sep 2022 08:07:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233849AbiIXIHs (ORCPT ); Sat, 24 Sep 2022 04:07:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233781AbiIXIGn (ORCPT ); Sat, 24 Sep 2022 04:06:43 -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 900AA126B52 for ; Sat, 24 Sep 2022 01:05:39 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id k10so3535054lfm.4 for ; Sat, 24 Sep 2022 01:05:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=xvXRb0zwWe37WFjqVxzmYbo7BlnZOnYHNQaO1Kmsw4c=; b=Vbx6fjcxdI4URQ5mGd34Rh6hNGO15J2BW3J0yM7ZdJRLJw46XtLcfRBF7X98IWmsdq f0vJgMwvjU94NJ0ArdZEIYqN9JOxunHjJ8aUnsdxS0h3RBCfum95aJuWFGBP57Zj+sGm F/hhKHKQy62NzAZfVBJDm0iqulzzWqNtxXWhQUK8FtcO97O3dSdOmDmLTZl7JMqPiIEY crMCZj4bJPeM5+BogWl4OUhlcx0TTa9orzMMk3KMW3dWkGOLa87ZeWbr0JW+RgQg8w6y sToM4v3Dfe7s85+FSlADpgLonRep71LkinR4Yq9EDYBmIZM2QTBUnBcLUPap8ntHhzvg 066A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=xvXRb0zwWe37WFjqVxzmYbo7BlnZOnYHNQaO1Kmsw4c=; b=NjWuku8sX/cYY/Lt1kvX+chQ9gsJz1FZFuv+Uo3nkZFbHr6enJGbSkjwIFw+o8z/V6 tFmeEw5so1eST7vGcn6MxW0sB1u/qQqBVaNfrLx5DmdHwZtmq41VHoZxWKFhruB5HHEZ tlkZ5eNPPR6UbcdExLGxsyiE3M8vUnU1qTzFcxv3fZIGMHY+OY9EPBMfZm4zG8rIHNlO x5URI+BIDWgoMXuOn7bTbxwjK//ffhu2tEtyCTmnJdCw885xEXK7aETXwwWaJJ5oofme DVoEhNVuY8SLZaFCzikUhaBi3MwCUIcdKxSs6Fda5GzH8q4laEbCpl2J/UyDSsdE4yZf gpoA== X-Gm-Message-State: ACrzQf1Vq+ERRUKPt8ejKE5is6w7aIEtqjy+OlWgjI5mebWlYtqzqCWV PRfdJ3ZuZck4SgyOfGnbxO9Mlg== X-Google-Smtp-Source: AMsMyM7r7AHN4fwhNau/v10IiRAB0j5Idl3h4smJwZTOVUYaQTyxriGuFPv7cBkAROeYQ5JI+DorEQ== X-Received: by 2002:a05:6512:3e10:b0:498:f317:e57e with SMTP id i16-20020a0565123e1000b00498f317e57emr5078453lfv.328.1664006739014; Sat, 24 Sep 2022 01:05:39 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:38 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 24/32] dt-bindings: pinctrl: qcom,qcm2290: fix matching pin config Date: Sat, 24 Sep 2022 10:04:51 +0200 Message-Id: <20220924080459.13084-25-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The TLMM pin controller follows generic pin-controller bindings, so should have subnodes with '-state' and '-pins'. Otherwise the subnodes (level one and two) are not properly matched. This method also unifies the bindings with other Qualcomm TLMM and LPASS pinctrl bindings. Signed-off-by: Krzysztof Kozlowski --- .../bindings/pinctrl/qcom,qcm2290-pinctrl.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-pinctrl.yaml index 3f4f1c0360b5..5324b61eb4f7 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-pinctrl.yaml @@ -50,8 +50,9 @@ patternProperties: oneOf: - $ref: "#/$defs/qcom-qcm2290-tlmm-state" - patternProperties: - ".*": + "-pins$": $ref: "#/$defs/qcom-qcm2290-tlmm-state" + additionalProperties: false '$defs': qcom-qcm2290-tlmm-state: @@ -146,19 +147,19 @@ examples: gpio-ranges = <&tlmm 0 0 127>; sdc2_on_state: sdc2-on-state { - clk { + clk-pins { pins = "sdc2_clk"; bias-disable; drive-strength = <16>; }; - cmd { + cmd-pins { pins = "sdc2_cmd"; bias-pull-up; drive-strength = <10>; }; - data { + data-pins { pins = "sdc2_data"; bias-pull-up; drive-strength = <10>; From patchwork Sat Sep 24 08:04:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 609262 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 BFE40C6FA86 for ; Sat, 24 Sep 2022 08:08:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233799AbiIXIIE (ORCPT ); Sat, 24 Sep 2022 04:08:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233694AbiIXIG7 (ORCPT ); Sat, 24 Sep 2022 04:06:59 -0400 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4ED451280C5 for ; Sat, 24 Sep 2022 01:05:42 -0700 (PDT) Received: by mail-lj1-x22a.google.com with SMTP id z20so2330263ljq.3 for ; Sat, 24 Sep 2022 01:05:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=8nwp/MQe8qtj/E8pIN4GqMEGKKKg4JslS5CxcegQMDk=; b=IHq5m2G1mEGHNQi9oW5df5bFeje0cLCRYx+363ZOhCWSr9Q0eu16Khx72mjZTzW2dL x6jI2lTJpDicPfpc7Md5EhYgLgvSplJZdqoB9XuXuhrMQ0j0fNJHcXIc+tieh4tAS14g mvR/BB7UJiCTPPiA7KzCb8fCALmpXWLc5EuuAEy7x2mAzGqVTBwUGDTA+aED2Wj1bgGo GjYI9A+l5Wq3ZvtUcxfL9RvwdJzjsXVEQjJqIH+9stdRPQ90TB+LV5jSe8YQ+dTJufNx g/d0BJVMlsJuXN9mQckTFJcP8P33D/LckdW5UnJUyydWZK7bSchDZJY0TqgOzsrEW9Wt Ukvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=8nwp/MQe8qtj/E8pIN4GqMEGKKKg4JslS5CxcegQMDk=; b=3HXI2eslIsNoYE6LjWaoaTi13k/PgCfJOmwJA66lbHX6DL/pi/Zq8zVNSVrB41xXPQ eX4IlD+XIX3j/vtGOwIo5+JJoCku6dkhYF//ByUHs4/9dTuVWTScf9jTCLC1ccxa4ani kBd/SVsroeQVFjJkq/9nrdcNx3eXhlxMv6srwIcWhrZ3okG3YrpJOG0FSUpE5wajVijl vnNT9d/FL3iN6qqvS4z0CESpBwVbWy8JCqAU142F4+cZARM7a8nOO7/5SDuloQMauO1t nAguHXku9qWSNkRWWZJm+gf6xJRPX7V629CJ//cWox5B3pbgoKk09h7wtsGbHwvX58cy d9Kg== X-Gm-Message-State: ACrzQf3pgAk0Oz8zyw5Nk7EGRohpD9oQp0q5ufA/dlJEJih1a3CRyXAb b2BE5bKoYQ3y+/lAKv7Gme2l9A== X-Google-Smtp-Source: AMsMyM4mblzni5JIHJDLuKzTnjVszENydJNmoF0LQXizQvfXuLie03AcVN2cs8b8AhGvvDqu/z56/w== X-Received: by 2002:a05:651c:1111:b0:26c:6b0f:472c with SMTP id e17-20020a05651c111100b0026c6b0f472cmr4028189ljo.384.1664006741589; Sat, 24 Sep 2022 01:05:41 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:41 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 26/32] dt-bindings: pinctrl: qcom,sdx55: fix matching pin config Date: Sat, 24 Sep 2022 10:04:53 +0200 Message-Id: <20220924080459.13084-27-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org 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 regexes: '-pins$', 'pinctrl-[0-9]+' This method also unifies the bindings with other Qualcomm TLMM and LPASS pinctrl bindings. Signed-off-by: Krzysztof Kozlowski --- .../bindings/pinctrl/qcom,sdx55-pinctrl.yaml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml 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 -#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 configuration. @@ -146,7 +154,7 @@ examples: #interrupt-cells = <2>; interrupts = ; - serial-pins { + serial-state { pins = "gpio8", "gpio9"; function = "blsp_uart3"; drive-strength = <8>; From patchwork Sat Sep 24 08:04:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 609263 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 83FBCC6FA83 for ; Sat, 24 Sep 2022 08:08:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233873AbiIXIIB (ORCPT ); Sat, 24 Sep 2022 04:08:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233714AbiIXIGt (ORCPT ); Sat, 24 Sep 2022 04:06:49 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1855A14DAFF for ; Sat, 24 Sep 2022 01:05:43 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id j16so3556264lfg.1 for ; Sat, 24 Sep 2022 01:05: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=QNGxAbSYa/JdItjMwr8YuODhIc0b5cGCbpa0Z5P/1s4=; b=Y79NBdTflppNkFvLkmNJh+nQ2L1eIz9ZVD+Zzx12skyr5WK/wJAk+a9eChTWLHmUwV UQyDy2EcUDgojpppUPoDWdhocRv9Ki83j73EFjaLHx2NIblMp4kHUDM9nOneCtNxASh3 RADiGO3GJ0a6ySYI7ii8hzxJSrQQQoXEb1OGHrE6XZb238sbNAFBzTkdDGMRG1hiarsf H4mC+QuiyzVhCk7VmyPCRtTxxmfOtYqj+LT9aY/h57Ymwi+CQdrAn/57aMUefYmZIaQ+ c3KZvJGy8ZbThRpN2h2KKowv+i884+p3afnPVLXMz9hO4fP8lDX8gmFxM7cvRLsFYI87 vTcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=QNGxAbSYa/JdItjMwr8YuODhIc0b5cGCbpa0Z5P/1s4=; b=6H+mEdVgp4xhwiWPwYZiHdFQmQA9q4iEgF9K/E3w7Wlz7Rxg6Ty+oWKteHGEe65pUR lP3vJ82q6wULvoZzwLz25nm9YGRE3idgZDG7kogb7X89lC9mvTo1TrSdG88mosL1j4SM 3BCKkA5R/gj0NyHngtZ1Pk5LZpG7iFEX/h4NePMNbc6QTxWgC3YQdMBwJLbzLmsGFlYw hh9SL3fVgDi8J8BQRrVzzx0UFcGV9w9K4Cf/cgwNhwL2d8oNdjSaR63+TZYCl8nEXsnj osfirQlOwr9xXh/2KxFEyhbH0JYJcyYFy0kWYNh24kgTjo2P69k1QUFpqOJ9vVAUuK5s eM5A== X-Gm-Message-State: ACrzQf3yoNOxre5iKvYzqpVKWhzqkkmn6h+OjNoWM01DmLhMy0sj2fK9 sN7bYP84JdKL2p1AfZBdau4Viw== X-Google-Smtp-Source: AMsMyM58Fq3RHeaIMMCZOsBAT+NzJs6X5/m0DTr/n9K/5AU+Lm8RHlxEivXAiW24lBprsRiZAQKJIA== X-Received: by 2002:a05:6512:12c8:b0:49b:8005:1d9d with SMTP id p8-20020a05651212c800b0049b80051d9dmr5043257lfg.489.1664006743222; Sat, 24 Sep 2022 01:05:43 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:42 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 27/32] dt-bindings: pinctrl: qcom,sdx55: do not require function on non-GPIOs Date: Sat, 24 Sep 2022 10:04:54 +0200 Message-Id: <20220924080459.13084-28-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Certain pins, like SDcard related, do not have functions and such should not be required. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../bindings/pinctrl/qcom,sdx55-pinctrl.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml index fff57abf4fbc..006aeec7794f 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml @@ -60,7 +60,6 @@ $defs: description: Pinctrl node's client devices use subnodes for desired pin configuration. Client device subnodes use below standard properties. - $ref: "/schemas/pinctrl/pincfg-node.yaml" properties: pins: @@ -122,7 +121,16 @@ $defs: required: - pins - - function + + allOf: + - $ref: /schemas/pinctrl/pincfg-node.yaml + - if: + properties: + pins: + pattern: "^gpio([0-9]|[1-9][0-9]|1[0-1][0-6])$" + then: + required: + - function additionalProperties: false From patchwork Sat Sep 24 08:04:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 609261 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 BD00BC07E9D for ; Sat, 24 Sep 2022 08:08:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233853AbiIXIIi (ORCPT ); Sat, 24 Sep 2022 04:08:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233491AbiIXIHy (ORCPT ); Sat, 24 Sep 2022 04:07:54 -0400 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 908C3155644 for ; Sat, 24 Sep 2022 01:05:59 -0700 (PDT) Received: by mail-lj1-x229.google.com with SMTP id c7so2273802ljm.12 for ; Sat, 24 Sep 2022 01:05:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=HNwxWQOq48N1VUFnvQ2D5d/loFw4gC2TJinoSqyo+l8=; b=BiVzSgMFabdIamj0lCD/Het6ygXdhSXgsoFt9JwIJrvxpsOyaJniaB7g4RlJIc8Agc CvcoxUVOt9bVH4JhMYuW65fo3vjZEkM9i94vZ2Ci2oYOS3FAX0o/Oqpo9lNhoCo3ylzg gKqGgEeJcDn3lhk6gZ0E6Qb5+Ei69O7/URA38uxk1PSZMfRmo6Rctm62OfyOL3+dQIEM b46XV6hqTVMQ+Fqcztvi+MxaPcp9Yf4kJUGhct5mAhTgi34F2kNXeeVnCp5j/QrSdhl1 TwyQpBeObzLfov3diQMO5vddlS+Z0DOT7mU3ijAO4yfJ5kxXqBo1w2L0FeQwfNpq8ltb SQqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=HNwxWQOq48N1VUFnvQ2D5d/loFw4gC2TJinoSqyo+l8=; b=3mzhMXjkqskpRX2FHfxgXeh2tBHVqQFhSiUaY3n1Ek1h3XamYev8RgUozQw3tao3Xv 6IMz1Rzk9e6Q1jyvzUih60smMKav3d3SybesoH1JiTTV9GPvnSVlRCmKMWUWfaoASFDO mQNCfKJSj4HWDYN6fxREOcIMseN+92zpJKSPZC9Mv/laehqPOtyYUehX/B7cOa6Df/hH biOXm4sIreh6dgz5QKpAaWh5Wn1jl6WYKPniBg8xSVVqthL0hDUwvaVR95wgMWJQkjA2 EpUODOBuXxTJT2I/uwr0U6INjst7gbKaS6LJYpWG33sE/RpjDv3L4eFepyP8lmwVpxp/ ETXA== X-Gm-Message-State: ACrzQf07M/wy1n/a6lizL7Tb3CHU+dx67lvnrfCv0IxIa6/cHHAgjeF/ pUG6oR1JU8bN7b8Oq2fXJcs9cw== X-Google-Smtp-Source: AMsMyM6GwrYhOjw4DiSyDWrcY3mKxoP5UbseKfXQTYb8bBXaTxmPBodlXStoAJewcXc71Aquw2FImA== X-Received: by 2002:a2e:958f:0:b0:26c:fd2:80b4 with SMTP id w15-20020a2e958f000000b0026c0fd280b4mr3890692ljh.147.1664006746974; Sat, 24 Sep 2022 01:05:46 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:46 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 30/32] dt-bindings: pinctrl: qcom,sdx65: do not require function on non-GPIOs Date: Sat, 24 Sep 2022 10:04:57 +0200 Message-Id: <20220924080459.13084-31-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Certain pins, like SDcard related, do not have functions and such should not be required. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../bindings/pinctrl/qcom,sdx65-pinctrl.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-pinctrl.yaml index 0f796f1f0104..a45dc81cfb98 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-pinctrl.yaml @@ -59,7 +59,6 @@ patternProperties: description: Pinctrl node's client devices use subnodes for desired pin configuration. Client device subnodes use below standard properties. - $ref: "qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state" properties: pins: @@ -142,7 +141,16 @@ patternProperties: required: - pins - - function + + allOf: + - $ref: "qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state" + - if: + properties: + pins: + pattern: "^gpio([0-9]|[1-9][0-9]|10[0-7])$" + then: + required: + - function additionalProperties: false From patchwork Sat Sep 24 08:04:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 609260 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 7D165C32771 for ; Sat, 24 Sep 2022 08:09:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233320AbiIXII6 (ORCPT ); Sat, 24 Sep 2022 04:08:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233743AbiIXIIM (ORCPT ); Sat, 24 Sep 2022 04:08:12 -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 CE60F155664 for ; Sat, 24 Sep 2022 01:06:05 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id u18so3505506lfo.8 for ; Sat, 24 Sep 2022 01:06:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=rip9dlqrCxUoqsfVIdKnVGZs/mVmoXJ1pwJE84kTnM0=; b=BYN1RmEIN4HrrjJwUV3E18I1szEFwmb2/CMwcfYPEvwwNESZcsHBcnysZ4SeIMQWpk tG5VIanHjeIG+WFDdufpzrqzH8PNA/GJG/PmBJjth5yJR3bmzzdJteXRkpwiMgKNmzyY RwyC0mKRBR3Nx2dbJySeGwd8rR16638gKhNmOvIAZjl18V71FwyJk0iWvU0ldHzHrpDx XJ5+FRGLfiDn5NV8kcHsE1ZkRes2qIyUtahEyl9jXdF2X3zm5gDbNE9XrU0Ay3kCwc/e w1CqMHmGxMm/fOYpT6AN4o0Bry/FyS8IE7FL9GM7GfZrisRz2e5jcsaN2q/Z8TYSMfwM ezoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=rip9dlqrCxUoqsfVIdKnVGZs/mVmoXJ1pwJE84kTnM0=; b=AUA9rjqKLqsmBNzxhpWj8g3nG0SsSF6KYXBmKeKYvfpoo15jdW6/Nhr7ygek89AE96 9E89lD9KieXmLvTJDA5nqiYaq+CHC1BBeFg/QNkSUOK+J730dJLGrhQnOQSfDAgP1E6q eGwbupmcPW4SnJHsfvm2JJk8mPe0feBqNIDPUJPcIwjdrOtsu+pmnE9jQiW3lpZ5RWAR g7e5yUTm0Mm5K2/dEvaB6xtj8oIo5uWiyMlnldeFYQ05O7rb6ztv67JjNCeBDTqi8Bau 9y2Lk6nog7+uk43YSM7v7kytlWCU9ITnf6oxxT10k8Hjg8KqqqQy5XIsMuSoW3PJ36Wq 9Xjg== X-Gm-Message-State: ACrzQf1rPBwSrxilWjZDOCLYFGHICowVPi3oQ4RM7250g1eW+DrvksNG DYbN/S7f6z3S2LXc+er3iXOZWi/Na8XWcA== X-Google-Smtp-Source: AMsMyM7DtqDqvO9kU8Kg5Vt/9Z6iBx2qR1S10wUIArD6VgSDnEosqOQTk0yPfKO7tpYCWpCAU/Bt9w== X-Received: by 2002:ac2:5469:0:b0:497:ed1:97c6 with SMTP id e9-20020ac25469000000b004970ed197c6mr4510420lfn.248.1664006750150; Sat, 24 Sep 2022 01:05:50 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:49 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 32/32] dt-bindings: pinctrl: qcom, sc8280xp: fix indentation in example (remaining piece) Date: Sat, 24 Sep 2022 10:04:59 +0200 Message-Id: <20220924080459.13084-33-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Bindings example should be indented with 4-spaces. Previous adjustment missefd one spot. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/pinctrl/qcom,sc8280xp-pinctrl.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-pinctrl.yaml 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 = <&tlmm 0 0 230>; gpio-wo-subnode-state { - pins = "gpio1"; - function = "gpio"; + pins = "gpio1"; + function = "gpio"; }; uart-w-subnodes-state {