From nobody Mon Apr 6 22:52:33 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 E117AC433F5 for ; Thu, 6 Oct 2022 12:47:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230305AbiJFMrK (ORCPT ); Thu, 6 Oct 2022 08:47:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230073AbiJFMrG (ORCPT ); Thu, 6 Oct 2022 08:47:06 -0400 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C89EDA2847 for ; Thu, 6 Oct 2022 05:47:04 -0700 (PDT) Received: by mail-lj1-x22e.google.com with SMTP id p5so2064267ljc.13 for ; Thu, 06 Oct 2022 05:47:04 -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=rZZjn2LLklOJzInY2fY7K9Y5TRUQV4ErXbOtBoCKWOYk2xCQX5+Y8DzpK2ebcbD+mr fR8VrP/qe0/6C2Nnyzes4jXslE8xZ82BuAeO+sQVAR/bMbCmlBGIaAK8ptpGAMcKp4xy DExRVAz6RbUZ4ADEF7/JhTDYKDHsHm+hNtupd04iD1Aav86m9yUMbxoHdmRECbGrdxKd jsVTPSanBCRaLEL8z6mPrMe2P5oIeVa6YBWgpkAm0+TRuvA+D1h+JWf5pMSyJ9Cj7Wxh KGMakFNHTzgVModnZJYcvDi43WC2/4Pwe5EhumIyeG1NXCYxvHR/s1Sj+pnaVaEscFpX FwOA== 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=2ESWcDhM+wIHi553lOQ+6OsxomGLIfC2Zuwhm+qD3p4M8cBDKhMG+HmMk0l6HrNmdw XWfVQAiICXAAcD0EE7heVFygwyeQueKvuTF1E03hYJjTLRtXhfbqyVzfiAPXd8OVGtvn /7wLYPKy2U9IbrpLhoXhpXWkl7hn0je4r2MirK6+kjATiUjBKKUYtKTGLFe4EpLLTuMl HdtHghycSJWx9A1wxlJDxzqtDfbUnGBeO51CQg/ZVgYTE4XKyDWmgJNvjrOLuJATi5Q9 mcZQed3F3ITXGJqdszmhIzApNSkJrEh8HlvRWX4vhbBwbMu60lAKAwYTcY6IHOvkWi1x FHuA== X-Gm-Message-State: ACrzQf2jN1ep/DzBgnn4RzNNGfT8hbEPBFBSb92tWo7RNLDmzZhuAKUm ptobBcCA4Mx/SxOYeXDfSKal7w== X-Google-Smtp-Source: AMsMyM70LtYY9WrgWr/OZ2WL2HRIwFM68jsltmemnMs5nGkVeMJN1tCzGgPEW4QVR2/dlX250zahdQ== X-Received: by 2002:a2e:a7cc:0:b0:26c:ea51:1448 with SMTP id x12-20020a2ea7cc000000b0026cea511448mr1736329ljp.47.1665060423109; Thu, 06 Oct 2022 05:47: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 br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47:02 -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 v4 01/34] arm64: dts: qcom: ipq6018-cp01-c1: use BLSPI1 pins Date: Thu, 6 Oct 2022 14:46:26 +0200 Message-Id: <20221006124659.217540-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-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 Mon Apr 6 22:52:33 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 0ABF8C4332F for ; Thu, 6 Oct 2022 12:47:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230397AbiJFMrP (ORCPT ); Thu, 6 Oct 2022 08:47:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229540AbiJFMrH (ORCPT ); Thu, 6 Oct 2022 08:47:07 -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 D588FA2239 for ; Thu, 6 Oct 2022 05:47:05 -0700 (PDT) Received: by mail-lj1-x229.google.com with SMTP id a10so2145793ljq.0 for ; Thu, 06 Oct 2022 05:47: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=lYqcncrJGbkL6jJNc/7gkbAt6RxgsaRGH+e6gIoil6Q=; b=jInfbIis+0/Plbxq8DWB5tyedY1dj18BVfkLOvFFR+BcnIwZOJw+yF/oFQsL8U9ldD fDvPTbSnK5lXPZpho7zJE4/gwHyy3UNU2V7NoVFILRmYTxfyo9M5Zbhyk7S8W9QC3pfW L77PWWBWkg8ktJ7Zuro4zQWkL279t9IDzkMTDu0v8SnfRQKRziLHkt0Uk6UfrzhaE/at KuP985ZlxqYUfB3Ono7TaoLJA6yjW59WLkIFU/bG0Af3UqiQor5ETFLe9qU0A6rd47st 4MkcZtRjR1+r3GTPxgCjyNDgQ/5SaCLevs827WEYNtwWqVmoKS+dyjqYPJtv3iNjQzWQ IG0A== 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=NzeqpLdn1MX59XiVI+8bJHU5nZI5FWcpkZjUeSfEmKNnA4PJJ7gXDwbzsWXoQF1HiK 1aq3SZ3tuD+XOBiQbkALskR91N80315w06KqGfjmAgGohnPJq2XsO/+4Kh0lAdhLP5Y/ tn58gGT9g8kbyyrE9yI/aaVdjD0cLA84ZzP98mj7NvqriKMh8rpRaJcRZQAXCMYEqqWz OhJb440fSRRC+ruoQXLzqBsJe6dGmo8ztzIVqyh4P7uZPlpkeploYI3LdUaM+t+R+m4m DfC3t5kVALpTD8vnpOl8SYHrPiFfJ6ijevWAzDP4RWJPUUyUdyeCPk7mPMFMRRF2O21r fGjQ== X-Gm-Message-State: ACrzQf1Gh5tqOtgWXCoVYqAMKbUhDEmO6y0MW68rRe/W97AKUa08hE1L bOih3dQcM6lvAFsSlJL9f7tepw== X-Google-Smtp-Source: AMsMyM641PtxZ19qhIkegbvNbusVqmW4Jhv0x27WLe4MQHKy8CFGmbMeH2VEHImqofri8sPHw1dEDw== X-Received: by 2002:a2e:a58f:0:b0:26d:92d8:45f8 with SMTP id m15-20020a2ea58f000000b0026d92d845f8mr1782465ljp.366.1665060424219; Thu, 06 Oct 2022 05:47:04 -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 br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47:03 -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 v4 02/34] arm64: dts: qcom: ipq6018: align TLMM pin configuration with DT schema Date: Thu, 6 Oct 2022 14:46:27 +0200 Message-Id: <20221006124659.217540-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-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 Mon Apr 6 22:52:33 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 3F901C43217 for ; Thu, 6 Oct 2022 12:47:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231124AbiJFMrR (ORCPT ); Thu, 6 Oct 2022 08:47:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229679AbiJFMrI (ORCPT ); Thu, 6 Oct 2022 08:47:08 -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 1322CA2846 for ; Thu, 6 Oct 2022 05:47:07 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id bp15so2505319lfb.13 for ; Thu, 06 Oct 2022 05:47: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=C8o5PFjxV2DbD9sEGHbpRvhtOpSPJbDO58y01xwZ0Oc=; b=kjoCKLoVJRdGs4J2ygjNmH63v9oBGO6G9mNuPpyddPh+S4XpTblvHEWkZGh/OLvHJ6 +vqpTZpVUVuk1mAq2u38B+XRu+LMYPA+nMZdBcqTfOlr6viIq0EiyJXoTp9TpYAI59Xh ISX7akp7JS2T439t7bPhAnwtIr2T8eUi1faQ0bxbn9rRB1K/WApoUDDuYIGrJJnLDn3d 5hN931QXzz2Y6BuZdV4plim60VDw255s1ctQ9mb6Eh/d8TcITnYPbPNYxZNMZ2arSUQp hzvpvw9aLrixU5xx/NPFQakZr3n+q5Xsj3bvEvv54atY21WjHfxZMjsZB7eFsNa38yVl 2DUg== 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=w8mBpwbf9GAe4rlXHoJs3WsBeqOjbUIJ/0lglqUY5O9jPqKskvMElO0Gt+TutKMhlL FVkBHkl+xdZfGrfRN/oQcW493qSlRwkk1lF56ququa9ZHUHyAiEq0T2r6lG4UMc7xH/l 6ixourjeD8xsVjPdJp/W3uC+GnR1+ubYusbGXlqU4v+3iLDARXOenFSoZCOPExzT0jMK sU/EbGLsDEXnQ7ZuuP3PbYT8l+/vlDOQxkjLy7xacNSZQJC2zN7MGt2Gaayp/lgBG2mz nx7XkOzDLctN2qYm0nIiHqZDqbNoj7P9u4yj1/uXizHtvxdc/QKUVLQyIiUnC02eD/tg u34w== X-Gm-Message-State: ACrzQf3WQ9t6kBeWurN8PbFv7HBRMbPwWgNFcNGX+ARcbZJ2eN6el96o WAxIT+4Esw9HjG9Hp94QMKZX1A== X-Google-Smtp-Source: AMsMyM5HE1aldx9YR54sJ/7jFpb9Yex6BLIglkgIBzAV6akJ3UXX1cKBVXh5h7HdfHbY6Pc3NOIIDQ== X-Received: by 2002:a19:a413:0:b0:4a2:2c46:31c4 with SMTP id q19-20020a19a413000000b004a22c4631c4mr1855370lfc.113.1665060425445; Thu, 06 Oct 2022 05:47: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 br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47:05 -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 v4 03/34] ARM: dts: qcom: sdx55: add gpio-ranges to TLMM pinctrl Date: Thu, 6 Oct 2022 14:46:28 +0200 Message-Id: <20221006124659.217540-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-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 Mon Apr 6 22:52:33 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 D5636C4332F for ; Thu, 6 Oct 2022 12:47:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231130AbiJFMrU (ORCPT ); Thu, 6 Oct 2022 08:47:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230023AbiJFMrJ (ORCPT ); Thu, 6 Oct 2022 08:47:09 -0400 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04601915D9 for ; Thu, 6 Oct 2022 05:47:07 -0700 (PDT) Received: by mail-lj1-x236.google.com with SMTP id x40so2078498ljq.9 for ; Thu, 06 Oct 2022 05:47: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=cZ9oR+D/ntPl4smbOciC/3TQd2xPuUm410NdDVUtl4c=; b=gUZTgfHoXKZ9KAYcNB6Hm8/B92MZSVCP3muHOZCKxeD0wvduglvWrEEP2RoMF4W9zs KqRrutbb4DsEgyIi2llIp+IR3xDuStODcKdbYD+hi0SboIkcL+U2iEOEXsn3abBVI1dl F38ZVHYbE5V4MYXjxFk08WSyfn423JB/qrsJFCUgk0v9AWkM23KkyZEcNX94juWZXAq4 VPDkQpeWNWnHh7Hh7H5GZLrd9OpAjLu3B73DRYg0LTRNuMDaRvyccb/wZkyOu5NmuX14 SWwlIAr3oGcGeAGd9ESUjV6yv9yJqjFjthxrgkNjHTs/0u3HrIinDezK7fnZ2jVPqERZ t+ig== 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=zP6otU4xHR1/jDXXrol/FfCsXfPzKcpTzSdr1tjuELmxFm1imfPR/R8BQD2/+NmVC9 +8GoDVZ6kcCrsXYaQQ5wtIb1PoMvFFgD3d9xNgwlEOFx87wT8xI1eBNbAjjmvVGZOg9v G7P8dV3EfRcBFuuPBA7pReRim/gyQ/nVd2dCVvwyoyJ1wipYEPooXEQN2aOW/FsmNunx XCnN8+EYw9ezo/MHfi43Z5JWJfdeMcvjOl02h1kLX3RaAYFgSslmx2cepUcmemtZx93f PxUAMQr7EFkidXaERQghnuzLx6VUnz3KfRc0TChgN4/43O2jWx22VxSBk4F2CSaLP8cD yMMQ== X-Gm-Message-State: ACrzQf006tAVC1i69E2a6NRThoIWy/atIxE18Wt96yb35FWTV1+ArRHw nlhLIFBPETAPW1xHug83ZzxT1Q== X-Google-Smtp-Source: AMsMyM5EcB/crcUMMdHpIfGRcaOqdbWcxtxQx671Ngdl2LqeccEGVyt4FrX/B++RPifOcwbFAu93VQ== X-Received: by 2002:a2e:a44a:0:b0:26e:177:d166 with SMTP id v10-20020a2ea44a000000b0026e0177d166mr1353951ljn.520.1665060426572; Thu, 06 Oct 2022 05:47: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 br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47:06 -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 v4 04/34] ARM: dts: qcom: sdx55: align TLMM pin configuration with DT schema Date: Thu, 6 Oct 2022 14:46:29 +0200 Message-Id: <20221006124659.217540-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-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 Mon Apr 6 22:52:33 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 29FDEC433FE for ; Thu, 6 Oct 2022 12:47:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230281AbiJFMrX (ORCPT ); Thu, 6 Oct 2022 08:47:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230337AbiJFMrK (ORCPT ); Thu, 6 Oct 2022 08:47:10 -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 20E8AA2847 for ; Thu, 6 Oct 2022 05:47:08 -0700 (PDT) Received: by mail-lj1-x229.google.com with SMTP id bs18so2111500ljb.1 for ; Thu, 06 Oct 2022 05:47: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=2gDOzllem5f8xWJ1rmunAEBHFIGtwMgu8HM0Bmh8ICk=; b=luEd3+9lZacLXMUeG3T2EANfIhmWrfNGxvqwlWUgK5+fuu7lvSLgdTxJMEEUkdxV6T nLqu6WKPDUi9p0FcWbKmQ84P3zR7HXVl6BZX38Jmt519mu5XUZW89F8l9Lm70eIAH9wt I/b/mPjXGovJRxVkYSDtoIgsEnNoPsa2T/zCn0to3yTJvH1IP8EPY/M9SBMTGPzBj9ic iIqpumPObaitrbv7kkBHQycD4kv5DIZXEDIe8AGG6UrtajFf0nejJ2C3w+qCWrXFe3TQ W8Hw/WJ1BzvBGzLD6Kzb7qVJ3PHxfJdmKkjHwnnGo1me0OIlop+Plnx2KlUTGuMe26IB g5aw== 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=mlTAIJVBEkCZdiYSMuuaUIEg+tCVx0YLhFh5HBuaRV+DR5YT/D09w52m5uNTiFODC1 xi1Wkedk1ZEqAqIRSU6jOmsCFUMAogexPodj1Ngr8q2HbRODzIxjnIHuPPxNrWYj284R bn0vnXY8hbpLNZhlocJeyGGmvr2H3L7arezn7l4oGsnVF/MbKLzmX8FW9qN00Gc6CkG9 7vRlzl73U1zjMr1nTjydSV1yRGRWDuoD3oi8IrsCrG6TSQ/uZ+ymYXprDHSXnsYnV0ts QG/HFEPGOiNyt5ldiYILnVs6zkQhlK/0f/1E+jwKbOI20wLCfMXjHuafZJDJsJhhiK6Z tDPg== X-Gm-Message-State: ACrzQf1KDkWefis0sJ/Z3nsW+9NCCXqNBVhAW8fyxXJ9c0Qpw0ii4r+1 vn9YVuDYPWIhLO5cpLsvFw0Tow== X-Google-Smtp-Source: AMsMyM4EyHWdjTvQWfvrjVj9P0s7hKgSVYbqDMNyim8DYOVOssrfIJff1AZYDvVzU414dA8KExuQwQ== X-Received: by 2002:a2e:960e:0:b0:26b:e5ae:cd78 with SMTP id v14-20020a2e960e000000b0026be5aecd78mr1652052ljh.129.1665060427674; Thu, 06 Oct 2022 05:47:07 -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 br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47: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 v4 05/34] ARM: dts: qcom: msm8226: align TLMM pin configuration with DT schema Date: Thu, 6 Oct 2022 14:46:30 +0200 Message-Id: <20221006124659.217540-6-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-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 Mon Apr 6 22:52:33 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 CD119C433FE for ; Thu, 6 Oct 2022 12:47:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230501AbiJFMrx (ORCPT ); Thu, 6 Oct 2022 08:47:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230337AbiJFMr3 (ORCPT ); Thu, 6 Oct 2022 08:47:29 -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 84CE2A285E for ; Thu, 6 Oct 2022 05:47:11 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id y5so2545135lfl.4 for ; Thu, 06 Oct 2022 05:47: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=S8p9f8npWVzLL+xxIGq+LPGJqP+UsFdvXgAaWjNbjvo=; b=ZQl6sc1Z5+iMiY2gchqm8S6xTWI+jW1mT5aCUTfvMnim5LGUkTR3FDJbhRPJ46R/Xu DarEIClYwON26S+FWr7jNVvsBKotzlggUY0I3Dl4nBJm0WPP5hsk1nVd0MZ7a+EnLMi0 cVSFxVC7BOutgHRPpk4W41ahdg/9FAgpypK94sHfr+8+TZkyGJMtF7/qS0PNSuYT6feQ aq1FNnysBCI93oqWFstrbw0DCZIvkhSGCCG9AUCpTtEJLkPs+2nhUPy7mJWfIfiju8rR XAKo7kwyGZr5FUFZVL5PkOy52EitdQ0u0NbsvXGYGTe7QLcmeUbRUmFd9BpdOmTUPxDD eh3g== 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=fWZtb92lRcMPa1miUV9REJYp9oefmg+w+ux47VWlF+5u4tsoPfUOmX/Wxuc9de27Og fWD7dOeEHH2sdvFtNs8XO1lFR8ChveYzqYZXWKS5pHHz9sp0XManPQ+WXeQ5b9j3lmr0 MplnkuIWbpiSUlQy86XTNeBxmVVNUrOyXQgR1ducU5jyMYFaIoUqOEQ5QdJz+2Rq7yjF ENFnAo80VvhktQJzmK0NROesblUidAQxcBpEX9n4Wj3lMKICLdZEp6GAoyeny+tqUs8Q m1kSs9Pb8NreKRD0jCYUUhpmZRx6tEaQ4taXxyvFDwjvmVa3zc/XEQRYSGt4/pACsrF/ nLeQ== X-Gm-Message-State: ACrzQf2FALUEdmI11+yDugJS0YLAJB07rsj2R9BOF0UTHpLy8bKnvWsq peYZvUjOD7UL3eaKb5fY2FtgZg== X-Google-Smtp-Source: AMsMyM6GJkachmBXCsZZ+1BiT/IkJvvODP1yneccEIVK9DpoFZhxN8uU0usiSUk2Etn/hNbX+kl7zw== X-Received: by 2002:a05:6512:3da2:b0:4a2:6f93:2895 with SMTP id k34-20020a0565123da200b004a26f932895mr1631991lfv.437.1665060428994; Thu, 06 Oct 2022 05:47:08 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47:08 -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 v4 06/34] ARM: dts: qcom: msm8974: align TLMM pin configuration with DT schema Date: Thu, 6 Oct 2022 14:46:31 +0200 Message-Id: <20221006124659.217540-7-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-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 Mon Apr 6 22:52:33 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 68B5BC433FE for ; Thu, 6 Oct 2022 12:48:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231410AbiJFMsN (ORCPT ); Thu, 6 Oct 2022 08:48:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230456AbiJFMrc (ORCPT ); Thu, 6 Oct 2022 08:47:32 -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 52F73A286B for ; Thu, 6 Oct 2022 05:47:12 -0700 (PDT) Received: by mail-lj1-x22d.google.com with SMTP id j23so1979830lji.8 for ; Thu, 06 Oct 2022 05:47: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=X0qog3y6/pjQRMdLgI2wTjHB+zwmYy9wpugBMuJA3qs=; b=ckmbHXLFJI4cwWenO5NuntW3jM2fKKkk7KB8uy3qSZmUQT/TZiWEzbZ61g23Rbb00+ JJGmY4K/J+GdT/3iahp0AJ9GS7Exh7XPluXfXR7bIULRpop2NhW7KV4NC7Z6Je5yCxsr XZqQFpljOtGWElEfAgvrIoqh+EY7fqYWDPJXp9lGS+rmbQtwBWXZ68oIBmDAGbgGz5RE 9wXzToPcdcqpde12JgyM7ujNdgAFLfygOMMg25Z7axsLf+7A1CbGonhVIWyqQNxF+9H2 6aNvNl37hiYdzWyfHPWDEXjTZxO7qJQYc/XSvrifRLGMtqoJR9BcngbHuh3xCRFHSJdY Po7w== 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=X0qog3y6/pjQRMdLgI2wTjHB+zwmYy9wpugBMuJA3qs=; b=PCnxLqtTFQA1dMln0VRyF7CBjuCWd5QYRbVZW3mEvCoedJH3Q5RegYyVVURuRUoFMk Cz06bWYbee/GyrkbIYsPDm0zG4tTB75vYdnT9S2NreDqJGFWvFNW2EUPlGDge+zoncy/ OPB/Ewn+H1Vsvt2PCChxGbjjs91U93pQAKDZuYUrqVMtVFlptmoclr6l9A67AX/hktwg 9hmQYDdNfB7uzvFe6sFViovGEdubil4arLMZeiIB2o+eA9ocZhNN1U5WwUZ2lA7/PKlc kjfreQuoIoh7cYcAgaeoVR17dW8LmVZrgQJ0ZY6ypAu/NeXtpAB28LV9ZU34WvDAaU5E WIcw== X-Gm-Message-State: ACrzQf22W4RIwFYAAMIEXHZx0bow1pMCH7GP++gfHehkwWuCE1teg3rc UBQBmjilIjGCARZ/4GN1Le+bjg== X-Google-Smtp-Source: AMsMyM642mzyFfLaVBo9AnLR3/VtDKQhs34wBxygcCv64ZzSW/x2hzif2n/cFRSAqP5VdliQ6KIsYw== X-Received: by 2002:a05:651c:897:b0:26a:c213:f0cf with SMTP id d23-20020a05651c089700b0026ac213f0cfmr1759181ljq.216.1665060430100; Thu, 06 Oct 2022 05:47: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 br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47:09 -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 , Rob Herring Subject: [PATCH v4 07/34] dt-bindings: pinctrl: qcom,tlmm-common: add common check for function Date: Thu, 6 Oct 2022 14:46:32 +0200 Message-Id: <20221006124659.217540-8-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-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: Stephan Gerhold Reviewed-by: Rob Herring --- .../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 Mon Apr 6 22:52:33 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 4BA0DC43217 for ; Thu, 6 Oct 2022 12:47:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231246AbiJFMri (ORCPT ); Thu, 6 Oct 2022 08:47:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230315AbiJFMr3 (ORCPT ); Thu, 6 Oct 2022 08:47:29 -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 E57B8A2862 for ; Thu, 6 Oct 2022 05:47:11 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id f37so2517275lfv.8 for ; Thu, 06 Oct 2022 05:47: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=LEP7LBVvpmeVA8/+OWTvoqrCZYU/QBAuWRLz/C2JiGY=; b=La+2iQqvg8AbSUqEnzhQ6E4taMkoQMdMqxwaOESpUlfuRwsHv+byLuptnRr5K2QPRq yhCOXICh9BX8oc0+e/1RpU3RqYPb5aHh8NuoVHgjLGEgyjfPfHU/SNZwKHtkpjM/l+2c hCp/yAx2aQKE8sKZ8VEMPztnf4KkWztIIgxxyebFEglR+YY9b6PgaHck35K08b/tCVnb I2v7JXij5pjvN4aDBNsex2sw23S0r4WeAr+eUOivmII+JfknFmYAIlTQRQN6TeNnNCXT dQaNow7gmFYJrEX9vRzFQi4f2NKOz+9Fgy8b45fSkzQFFCf/X+znl6xSlVhd2VJU74Zb KP3Q== 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=LEP7LBVvpmeVA8/+OWTvoqrCZYU/QBAuWRLz/C2JiGY=; b=VlkeH7B6dwIqbjFegVw1+C1gPw3p18iQp+Z3XhbjIcj/I/fhldDg+KqZLRgmkROHu/ CZaHknrGIKqW6ZSROhWEOXkfa2HeujhgQlVWb3objMOTrPATd3MppHOO3Uh1E0OkPjuk wrTW80hT92W76xFXmePzRk9HE7orUfj5Ou1jeFsxOpVW6ZhKXK4T7Jzmxpg9J71ySA9d AYSnqg0mdU7K2vq8w1ZQEYon73OawELvK6ch8gdqEss0BYVJss2dCKS9ABZwtedWGRSj UGKxPMhtYY8mL6w5QJ4Z9EZ+Q2uV/owzVNtFd6x1NpS7QjrBY3xvVATPLJKR1syTykar GGEw== X-Gm-Message-State: ACrzQf1vy7m9XMlH+SQvs2+l8qjY9E90HYl8PpbXcdk96GfH6QkZTJPn ta1crz8fw51PogOJZ7J1rkDwAlxyOriPBg== X-Google-Smtp-Source: AMsMyM6WdQN2aHj9leIpBw6QKQ26qNUcAClVcIHE7RkZSuF0WCa+vzKyWOY1JJ32HMVH00/8X35AYQ== X-Received: by 2002:a05:6512:3606:b0:4a2:71df:7938 with SMTP id f6-20020a056512360600b004a271df7938mr1267894lfs.279.1665060431210; Thu, 06 Oct 2022 05:47:11 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47:10 -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 , Rob Herring Subject: [PATCH v4 08/34] dt-bindings: pinctrl: qcom,ipq6018: add qpic_pad function Date: Thu, 6 Oct 2022 14:46:33 +0200 Message-Id: <20221006124659.217540-9-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-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 Mon Apr 6 22:52:33 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 ED825C4321E for ; Thu, 6 Oct 2022 12:47:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231547AbiJFMrq (ORCPT ); Thu, 6 Oct 2022 08:47:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231160AbiJFMra (ORCPT ); Thu, 6 Oct 2022 08:47:30 -0400 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF116A287F for ; Thu, 6 Oct 2022 05:47:14 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id a29so2563093lfo.1 for ; Thu, 06 Oct 2022 05:47: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=s5gqgC6F8H12j/3mwOFaxBkWJqMnqVFVlaFtZkq3pf0=; b=Lwpe0mq0h/arV/xbQkB3ZRK3XmTt1o6/eZ4hBjZLx348P58TebbXDewigdSIyPhuD9 MN154PnAVyjOIYjnmhSefMTd8RkRULMKCsIwXUQdYm9Nj/TodMaUr1bSSjX0CncfoYe+ J2xkTCyXjPECHf2QGiR3bCi+1CfWndPN/bGjKc2+6tf+0cHGnh4OFCkgxDHUy84PbyUb ZvHcmJ0jKzQI9KAeU8fSt07/P5Gi4IKH6OvIlayyI1Kj8+DkBgfUIwEA0pdGM4AtKG9C qT4Qyogy8PP6DOlHY1nDey9FWjD94A1+4CwVt2ApOLFPuQhAg4195lPuj/AhTleu3ACv 2v/g== 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=s5gqgC6F8H12j/3mwOFaxBkWJqMnqVFVlaFtZkq3pf0=; b=A2c3vD81AS1gVAW3hecXgM4btn8Mqn/WDvd0y/rydVIj/Ur2TgKzUKEF41TGcIVvJc XXCOFCEEz3Ge/7dKnu1jmazJQBChcTJFWGg5DTKBFQTMhp7o1qWAe+gkFPn1Hc3/MVex wE38vHVDGfqMBHLHi4Plqk01/o3rcOzlVEnLhs0W51Y1cbbGtqVjyaZQ+D41ZA7PaPIg 8JvWcnolPUWYPEg5WX0lRA2jtVNOwxG9jU4EM8GGkjssOUYtGL+MGhqxqaV++azz8gjK 7ge6+xMgckqav2n6sn1uA41eHRBnNPa9UKgt4GmPB+zK/aOJscSrJDy4njvfp+1OtlMr ukvw== X-Gm-Message-State: ACrzQf2RJpFVP0ADsPufbkxw5AIOqrLeadS81os1OQze/wkDkqy2CFTm C5yoa859hi3uEX1yzmXEEIRSjg== X-Google-Smtp-Source: AMsMyM4YEjNrnR7YCnLMuTw/uAtiFNA/YNA65F0PON8RftEs68BdD043RPvwZB3GH+ZEVOa1raUm1Q== X-Received: by 2002:a05:6512:32c7:b0:4a2:4544:120d with SMTP id f7-20020a05651232c700b004a24544120dmr1968542lfg.598.1665060432279; Thu, 06 Oct 2022 05:47: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 br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47: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 , Rob Herring Subject: [PATCH v4 09/34] dt-bindings: pinctrl: qcom,ipq6018: correct BLSP6->BLSP0 functions Date: Thu, 6 Oct 2022 14:46:34 +0200 Message-Id: <20221006124659.217540-10-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-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 --- .../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 Mon Apr 6 22:52:33 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 63D5BC4321E for ; Thu, 6 Oct 2022 12:48:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231616AbiJFMsa (ORCPT ); Thu, 6 Oct 2022 08:48:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231202AbiJFMrg (ORCPT ); Thu, 6 Oct 2022 08:47:36 -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 D60BFA2A8C for ; Thu, 6 Oct 2022 05:47:15 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id 10so2540539lfy.5 for ; Thu, 06 Oct 2022 05:47: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=GtCTGlGKy966v/cPNs/91xDY9Oz5Cj3W8mgOw/S68pg=; b=ySfefdkyf7Sd2nA5w03oYTAy62V0MdtX/HOQzJFKQN7Vi6YFspFiEYRwZapx1QuvFp mWZyE1hmGcsFfExZdH98hUij1W39yrm0Yh3dQApe7BsX3I9hirJNolU3T7gTnZCEDO+A y83yVXBED9j2gBTYFIkNfmnkeDAYXx+Uib/EheF+vRwr6LrE3a+ZjA/BEx+ZAzbwkaXA RPU+4Mr9b6BqucdjR+D3vWQhXKmWQZJAeQzm+UGZE1kHSLZvzh/Prb/jmVA0kDQkNDAS Pd+D9aR2BJFerwT6QbQTLu0uo6e5rMrT2QuL/EUzbvM2UHi77SNytehCCJCutFHw+mmR tf2A== 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=GtCTGlGKy966v/cPNs/91xDY9Oz5Cj3W8mgOw/S68pg=; b=Fq3qp9XOFbO2aegc4Q1kHSaZ3a6diAGJNPqLy9NYy+643DFv0HiUnNERP3feEEyZRI jDYbSx3WvuUUmYrRu4xOuYSMS4EVyOVPVQJTBD9sa8VUEsJA53qjhp6wre5w0gEw1Ut0 Ym+oLLqSP2vMnOPLHx3uFoebeSusde84LUHwSapMi4F6O7ZH4iJAxoWLyodU+ZSzJzJ1 EQwunaQOHKskVyzuWXjqv+3+dnYeF70Rh+p455WExya4a6mvmhnvoxr6CI3AcBhvYZ/X 0I5xSSo4pcsFTpJ5ZqrAvswXGhRubgSlec9wdGJHX6qPyst6ow8En9PTgnSazc21e+YH VKTQ== X-Gm-Message-State: ACrzQf19kO0NXcZPJ3RuD1n73wI8oS2GAvsW5pLEtVADQnBaTNSCVP5Y 0/timZwCnIXP27shVIfuPo96Wg== X-Google-Smtp-Source: AMsMyM4ub2GjPnUStej5e3LPCtC/FHXytcbNYmmEctKo9I6j+5vxBTigkTYqtqfdGBm7/FpVkUbodA== X-Received: by 2002:a19:5503:0:b0:4a2:329d:bc74 with SMTP id n3-20020a195503000000b004a2329dbc74mr1974845lfe.77.1665060433418; Thu, 06 Oct 2022 05:47:13 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47:13 -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 , Rob Herring Subject: [PATCH v4 10/34] dt-bindings: pinctrl: qcom,ipq6018: increase number of pins in pinmux Date: Thu, 6 Oct 2022 14:46:35 +0200 Message-Id: <20221006124659.217540-11-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-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 Mon Apr 6 22:52:33 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 E2139C433F5 for ; Thu, 6 Oct 2022 12:48:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231387AbiJFMsA (ORCPT ); Thu, 6 Oct 2022 08:48:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231247AbiJFMrc (ORCPT ); Thu, 6 Oct 2022 08:47:32 -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 19A3EA2A83 for ; Thu, 6 Oct 2022 05:47:14 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id o7so2535677lfk.7 for ; Thu, 06 Oct 2022 05:47: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=F+J798FgdxjOymxzo9NpgSksOzAvjC4SZmthtS8ZpaI=; b=RFHtvVyDqCucmapJX1wB3SdolJJAGxdi9jSggDjr40zqTpquDnWdDm3VsKEsW0BxsE D/FXc3Z37TtZ4RVG5jTyTgj6BTOMRndOEMcz7iwIDUAQwnm7s0F5MxgxbgvKg09Jd+NT 6ZS6mZtR7l7hLMkg2ZZ23qfKgfkcldxvn6TATLfD335XaX8oiNjGHUJtt67w82YW7Z4w BenVln062F/MGeM25YQBraVbJxNKtWx59i4NBcWIL20ngOuNp3+wF4KtH8aP4wukYBCI /rEltOPHP2uT+lg+Adt1bMoU7oVfE+ebq0Ve/YQrOPZYkxU87hbaDJKYcChNzXDX1EAq vLtg== 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=F+J798FgdxjOymxzo9NpgSksOzAvjC4SZmthtS8ZpaI=; b=KgnBdJpUQTSuU7CKprtoYOLd9kpJwh4oBAR1QtrsLBvlOfvy6vE7uWuwK/1sR3usTE fMO3WrRxElpm3OupsZCJH7VwoDvE2BIp09+qCboZ12s429cCQomJHzbwgaJbtliTHzUr NGbIncUtXWI2SBy85A+YFOueS7hjvElgn1lxthi3V2/otNY6vAq38Sv06TjgURyp2on+ A62b6FsjQyX+mBqkCh2dIsRYrbrHoRLYo1GQZhZ8IFf4uJ633zp+8x/tTI+hM67r+6ir w3GmQozGGQyiVHYoLTPQdxBlXYgUNQFZbLUeJpjRxzuQ8afk6K6KCsi0XxEAghgEeLr+ u8Kg== X-Gm-Message-State: ACrzQf3pbL7DqwbhaPpgX2kN0+RNjRdunU5hnQlGbHBfFu598Q7QxwDz ZCto83xt1HYBIZWahhRdTE+aXA== X-Google-Smtp-Source: AMsMyM5cjGRquyYjHiV0IgCOZqeZWVNQCSTqW+7/jL3Hx2DHFpRm3A6w56ktDxoqX7BpJ1kNgt7CVA== X-Received: by 2002:a05:6512:3996:b0:4a2:1c8c:c9a1 with SMTP id j22-20020a056512399600b004a21c8cc9a1mr1939179lfu.230.1665060434502; Thu, 06 Oct 2022 05:47: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 br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47: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 , Rob Herring Subject: [PATCH v4 11/34] dt-bindings: pinctrl: qcom,ipq6018: fix matching pin config Date: Thu, 6 Oct 2022 14:46:36 +0200 Message-Id: <20221006124659.217540-12-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-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 Mon Apr 6 22:52:33 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 CD82DC433F5 for ; Thu, 6 Oct 2022 12:48:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231555AbiJFMsI (ORCPT ); Thu, 6 Oct 2022 08:48:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231400AbiJFMrd (ORCPT ); Thu, 6 Oct 2022 08:47:33 -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 61B13A2A8F for ; Thu, 6 Oct 2022 05:47:16 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id x40so2078932ljq.9 for ; Thu, 06 Oct 2022 05:47:16 -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=OAHt1yZlFdsFzWq4BFztLQUdzni5wG36g9KLn3uYMxQ=; b=x7uVAjjeYTaOFffqoH5g/JawOhf++ELM2PG1ocpPc+6tsgRsGraYXKVQ70ivym1/eA kPulK7J943wK6w6wVeBpIKzP6fzgLYP186O4Q+qvdy2xX5YlUzxUOBCOP+1uGLZCo8Iw sL8R4tCOQ+7wntL7tsDgLWrmFsiL7qyeh+TLbW/PsDl2Y4l5cdCsrIoShKo1bMdJ6MD/ VqZVjx/ID8HotYU5h/2hndb/xIb6Ldielue/RjmrZudOp5QsZqcRUydjRyqAoKh/UW0z mQkh9qYKCTiOlCjbYLdX7OXoyLwbO6cI83QrqDxGd2MNs27WgRK0Ilneo/DEiXqzPiay 49uw== 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=OAHt1yZlFdsFzWq4BFztLQUdzni5wG36g9KLn3uYMxQ=; b=Rfp0mU8yfFW60CWZZ2n1ZOz1DM1vbszhXGy8yGD+foukM48pIXWE9irxHA1GaMqZTH 000m0gLrYUki+0Wyvi0GW5k0bgP/3jOOl6hkinwHIxLlUavJSLq68kYyNiTsmErX58jt vHxB51YONAVg/GQGZwPdZIco77SelPd95J6t36CTl2bBotg3tTpLAd3opJkMygmC2Ior 2nDeZ+1Lp7tEoWFKlKOaMaaqd+Xl5yWb6HMkm6xlR/iF5nD84q/iro1zknNmD10a+8a2 0xyuB5vMdq233Ey3FP9chpIGqdKfaPi7gtadps7EpUYkzenY9e4fS6RUCKGKceXCOlW1 GUOw== X-Gm-Message-State: ACrzQf0idUG3626cKcrfT6bvJjFELrFy/r7EE+5hQnO1kH1oUzmsRup8 k9GLae8W4I53Ve5EmJWDDiI7lw== X-Google-Smtp-Source: AMsMyM7wsEglJDtWsrb1hbZaDsrs7fxuK6ClcLn3CskjgAKoyv+Q+jfCkn2Dv7E80GRuW0xPYdzumw== X-Received: by 2002:a05:651c:1617:b0:26d:fbc6:edf with SMTP id f23-20020a05651c161700b0026dfbc60edfmr1794185ljq.453.1665060435624; Thu, 06 Oct 2022 05:47:15 -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 br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47: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 , Rob Herring Subject: [PATCH v4 12/34] dt-bindings: pinctrl: qcom,ipq6018: use common TLMM schema Date: Thu, 6 Oct 2022 14:46:37 +0200 Message-Id: <20221006124659.217540-13-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-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 common properties, other pinctrl schemas and additional checks, like function required only for GPIOs. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring --- Changes since v3: 1. Drop properties and required items which are already provided by common TLMM schema. --- .../pinctrl/qcom,ipq6018-pinctrl.yaml | 34 ++++--------------- 1 file changed, 6 insertions(+), 28 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl= .yaml b/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml index 735a8786cb13..e02bc15e0ad5 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml @@ -20,27 +20,12 @@ properties: reg: maxItems: 1 =20 - interrupts: - description: Specifies the TLMM summary IRQ - maxItems: 1 - + interrupts: true interrupt-controller: true - - '#interrupt-cells': - description: - Specifies the PIN numbers and Flags, as defined in defined in - include/dt-bindings/interrupt-controller/irq.h - const: 2 - + "#interrupt-cells": true gpio-controller: true - - '#gpio-cells': - description: Specifying the pin number and flags, as defined in - include/dt-bindings/gpio/gpio.h - const: 2 - - gpio-ranges: - maxItems: 1 + "#gpio-cells": true + gpio-ranges: true =20 patternProperties: "-state$": @@ -56,7 +41,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,22 +106,15 @@ $defs: =20 required: - pins - - function =20 additionalProperties: false =20 allOf: - - $ref: "pinctrl.yaml#" + - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# =20 required: - compatible - reg - - interrupts - - interrupt-controller - - '#interrupt-cells' - - gpio-controller - - '#gpio-cells' - - gpio-ranges =20 additionalProperties: false =20 --=20 2.34.1 From nobody Mon Apr 6 22:52:33 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 7F518C433F5 for ; Thu, 6 Oct 2022 12:48:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231488AbiJFMsF (ORCPT ); Thu, 6 Oct 2022 08:48:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230024AbiJFMrd (ORCPT ); Thu, 6 Oct 2022 08:47:33 -0400 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40CC9A2AA9 for ; Thu, 6 Oct 2022 05:47:19 -0700 (PDT) Received: by mail-lj1-x22b.google.com with SMTP id a10so2146367ljq.0 for ; Thu, 06 Oct 2022 05:47: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=KNYjRDFykFY6KGKtDFBELnGyRp5gYvZi8ob4FbY66+8=; b=NcKlQiQlMVmrVsmGogb8VBJatjXdqOBovxkSPalMkCIXlGO/FNgYF3GN4vuP+E5624 5g76DtVH80D6rhQc1bMlQ3e4Jg+mMkpGKj1vraUjAMca+ri22UdWtwj6/Rsq2IfCQ7PK gXQt9fIWmcB3ugD4Oqz6Z311RfWHuImIQ5Fpa8Wq6WjHc5zialntBZaN5gCavtxz119T toLzQSx+lasrKGnXcExgfnsSv/s4jNKwzRCpN7+ycnvf5oU83xkwtED6LldGMZau0ec6 NSYYpH1DraoLVIG/u6LdJS/dEAbOZ+5Y28oEiM3kyi+bXszTVq6+P503uICQn1jBFOyv 1W7w== 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=KNYjRDFykFY6KGKtDFBELnGyRp5gYvZi8ob4FbY66+8=; b=b9W/B/NU9EdNxxB3IT7svtsszxpivkXyDYAHJrNaOmp+TWhLHMJD/1w24e5nw9KeCP BSHTb4Z0xbJAFNpnj8nBsDv0+PL2fGR73A42wXmd95zG5diDkb1CiLqPgm/N1LNrM6Mv voRxW6OpT+9L55hy/+Q9h3FfmfISm/TZhuUsBe4hs1NYYfCJPheicORGifl0kWRgl8o8 L2j0un1Sn2YealVUh/XhjkAercvvXtKQJ3dJKKptKGYAwjMzYVoOpVExLrJj6/6e3oXV pZ/7bHu444XjWeSR60DzZTaUC4lLG7kCfhGl9m7DIPMPV+pysI8jE3cVih80oGKa3fEY Tqmw== X-Gm-Message-State: ACrzQf0didJnbistPTM9Y8+gIOqrznmeeWov2IBLW6o9v37tZOXd03Zt zikgDvrCNmPehngTwqBOMOFJ2A== X-Google-Smtp-Source: AMsMyM5W/XjCgvQTXo3QeGSmnN+J2j+aV7DL2eW5K13L0Zlrzjy6Q6/USHiz0kB96+EifARuu2eqsw== X-Received: by 2002:a2e:808a:0:b0:26d:cced:beb1 with SMTP id i10-20020a2e808a000000b0026dccedbeb1mr1786142ljg.299.1665060436719; Thu, 06 Oct 2022 05:47: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 br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47:16 -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 , Rob Herring Subject: [PATCH v4 13/34] dt-bindings: pinctrl: qcom,ipq6018: fix indentation in example Date: Thu, 6 Oct 2022 14:46:38 +0200 Message-Id: <20221006124659.217540-14-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-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 e02bc15e0ad5..bf84649593ef 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml @@ -120,21 +120,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 Mon Apr 6 22:52:33 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 8FE50C43217 for ; Thu, 6 Oct 2022 12:49:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231686AbiJFMso (ORCPT ); Thu, 6 Oct 2022 08:48:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231526AbiJFMri (ORCPT ); Thu, 6 Oct 2022 08:47:38 -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 91002A2ABF for ; Thu, 6 Oct 2022 05:47:22 -0700 (PDT) Received: by mail-lj1-x230.google.com with SMTP id by36so2106964ljb.4 for ; Thu, 06 Oct 2022 05:47: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=KkxpRfvthMQRkjuRkMuhszBduBQdOCaoDx8XGiiNaXE=; b=t8OfFcCHjF354Iunv1WOrhcrPkLUwoNfUMTKxkrhyBGu++r2dWIbd9Trp89q9JcbE8 2Z8o1x1710EiffUgBmVm2S97sIkTiNiyM0xFcx/sI8aruxmGuep/7wsGCuX5cjxoRFFq +cn+FJLNKgE/SX2r44kWi6TUcN10t+9Gpw4yDwMT/TwtrD7+jd+q2qNbTZ/Muu7/wiQr l8TOZrXTK3PWWoMOqBiVQpVojvpuB1Y9iZeAiqBfBmzcDKYFjdCzN6e//DK9ZZxwUajO D9bacmhTLOYjRLj8zIhx6GCUfGIbXeScnR+e4YJcD3qw//rp6G0MyndMKrUzR2oXdi3R 0QSw== 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=KkxpRfvthMQRkjuRkMuhszBduBQdOCaoDx8XGiiNaXE=; b=a1vEqXNp12qiHfbnkGpsKjCmVvQNvHmrvu8kd0Wme4mXuyb6tXSxC+o8lp1vX1wDrL r8w7+9iw87E/ozQPBBi1/X1D4GPsVOMzm2NTB2lOYSC1S337c9gC5XlC0rE5LXPPkZWx IxdGEOQ64m+3Zh5waC6PfjeyzVifSEzP7qk+KavXXdYQ8RUtAXLdUmGvE7lx6ZNhDn8U BrAaLWJLgn2u2sIVbvkfXuSCBT8xdmvBt5qk28E0WzDmeXQ11kVeLKZ86jBjQ0T68btS 1jKYdaKAJg4BnnQY4uiWm/nBOV0AX2280p1nFJNIchomO24t4nVqlIwSJt6XMK0d10Lf 6grw== X-Gm-Message-State: ACrzQf2KSKrBYie+mKU1Ku4tQPIJnNhLxESzRgQ3ioXqYX426wM8irZ2 ZBN1JHLehA09ue9BXilakhPPGw== X-Google-Smtp-Source: AMsMyM4OEumtTO6GnQ1j8KE4qDqmgwmJ2Bh2E3H018RB/8IKKgq6ErcGcG1WC81FWiYj12CDcMNfHQ== X-Received: by 2002:a05:651c:1504:b0:26c:6331:3463 with SMTP id e4-20020a05651c150400b0026c63313463mr1794089ljf.30.1665060437872; Thu, 06 Oct 2022 05:47: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 br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47: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 , Rob Herring Subject: [PATCH v4 14/34] dt-bindings: pinctrl: qcom,msm8226: fix matching pin config Date: Thu, 6 Oct 2022 14:46:39 +0200 Message-Id: <20221006124659.217540-15-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-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 Mon Apr 6 22:52:33 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 5281CC433F5 for ; Thu, 6 Oct 2022 12:48:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230512AbiJFMsg (ORCPT ); Thu, 6 Oct 2022 08:48:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231492AbiJFMrg (ORCPT ); Thu, 6 Oct 2022 08:47:36 -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 9DEEFA2AAD for ; Thu, 6 Oct 2022 05:47:19 -0700 (PDT) Received: by mail-lj1-x232.google.com with SMTP id r22so780412ljn.10 for ; Thu, 06 Oct 2022 05:47: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=DTnkMyPtDfiwoSgvFf9kmj5h7qwOf7FMQFhN75k8kMw=; b=ciXpxLHWeo2k6aiELo73Wm7k5Sxf17v/fd6IcSpQCIXq1zJb9ik6ZDAdSfEwooRseM YKep+K5MizcKry35ksqSfezCVbwdcIxlXDQMUJ6Y9hbqW6tPvUg/3A7E2tZRfP4QxV+4 5zEjlglm8+GQFKSDM5PdGibhx6kqNnkxd/hz/yaUhek8G2GuQCTCQ8jNYYcXmW0Smg1E vxdbl/NdoKQ4cL0aK8W9+Z9EotoHogLr6K9sGo6Tn5CLOlHbRw7cuOW1cn3AoSuvLwtk 6UPKKkaJPcVUfPEyBMiJgI+GAft/uAo0nX7cgL/Vcxsv+liPpTu4jB3NfyjGj773eCck Od+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=DTnkMyPtDfiwoSgvFf9kmj5h7qwOf7FMQFhN75k8kMw=; b=zXaaoTWX+ltgkWPl1Gw8LTUUW95XhLcADXj06yuK6YLcgc9EO4LAzJd5dp9fa4/1yG 92alGEWZVn7KfkFOdt42+iEJ7vbOOegPA3H/ryGvJatr5szp2MqcDRI3qHC9kqeWKLrQ 62jgCIjlMF8D4xuHXKCPCBjlh8/uvEDPCHW8xZCnBXnuNW3DC7anNj5aEPKlr77KH0eH tHrCeX5tDOwTYwV1zT4+xaoxYnMG9FbqaRgbQn3eb5gDeV899hiVkGzXvyeC7xVwx+SR uIUDKhwFTzn/yYKeSct3NqN/CX3v6OqP0sCgGCzXvc23UwJsoK0fClzyk8v4+TZ+wYAh Ndyw== X-Gm-Message-State: ACrzQf1zEpuHfPrGdHn5gct/y8H6H0la4obW/jhOlaUYF+VON35kDZua rOc4DJlk4+doeyTUR75vlYOUjw== X-Google-Smtp-Source: AMsMyM6Gdx5ci4rSKeYaoMypk9fsgeXCvKxqkKJUKm2G5jdTcRNI4tJyCjBsD965OdQZkdvY8W6hCQ== X-Received: by 2002:a2e:bf0f:0:b0:26d:e258:9ff6 with SMTP id c15-20020a2ebf0f000000b0026de2589ff6mr1840996ljr.356.1665060438970; Thu, 06 Oct 2022 05:47:18 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47: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 , Rob Herring Subject: [PATCH v4 15/34] dt-bindings: pinctrl: qcom,msm8226: use common TLMM schema Date: Thu, 6 Oct 2022 14:46:40 +0200 Message-Id: <20221006124659.217540-16-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-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 common properties, other pinctrl schemas and additional checks, like function required only for GPIOs. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring --- Changes since v3: 1. Drop properties and required items which are already provided by common TLMM schema. --- .../pinctrl/qcom,msm8226-pinctrl.yaml | 33 ++++--------------- 1 file changed, 6 insertions(+), 27 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl= .yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml index ecb90c77f666..158c9a50101e 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml @@ -21,26 +21,12 @@ properties: description: Specifies the base address and size of the TLMM register = space maxItems: 1 =20 - interrupts: - description: Specifies the TLMM summary IRQ - maxItems: 1 - + interrupts: true interrupt-controller: true - - '#interrupt-cells': - description: Specifies the PIN numbers and Flags, as defined in - include/dt-bindings/interrupt-controller/irq.h - const: 2 - + "#interrupt-cells": true gpio-controller: true - - '#gpio-cells': - description: Specifying the pin number and flags, as defined in - include/dt-bindings/gpio/gpio.h - const: 2 - - gpio-ranges: - maxItems: 1 + "#gpio-cells": true + gpio-ranges: true =20 gpio-reserved-ranges: maxItems: 1 @@ -60,7 +46,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,22 +87,15 @@ $defs: =20 required: - pins - - function =20 additionalProperties: false =20 allOf: - - $ref: "pinctrl.yaml#" + - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# =20 required: - compatible - reg - - interrupts - - interrupt-controller - - '#interrupt-cells' - - gpio-controller - - '#gpio-cells' - - gpio-ranges =20 additionalProperties: false =20 --=20 2.34.1 From nobody Mon Apr 6 22:52:33 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 909C5C4332F for ; Thu, 6 Oct 2022 12:49:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231434AbiJFMtF (ORCPT ); Thu, 6 Oct 2022 08:49:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231281AbiJFMr6 (ORCPT ); Thu, 6 Oct 2022 08:47:58 -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 2362EA2AB5 for ; Thu, 6 Oct 2022 05:47:34 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id bn8so2103675ljb.6 for ; Thu, 06 Oct 2022 05:47:34 -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=Oui/kDbsrv6s8BQvFzLPi94iBNYwMr5hQJ5FlH4LhEs=; b=fRNfrzjdYB7HdPGiZNEluYP2r2VU5zkdF9yhoxOludqZZsTQRTGu0NxlCB+ghnLCB4 U2q/i0CJWRUbF/k90hEMJ5w63tCDb5hbIZfDd1KsKEhF4S28Rsphi87wALq4rAhcq9ID 6nJiuuKQPOzRCGWZMj/oR5+SHbh/Vv+lf/NARTWURuKoeI7h7kB+RlvRVVx2V2T8vmhg yxDm8VX83akyYoxycr+uGni01JJswyd98bytmYzkoyOlrBKvj9WoHiRAeUO04uau3Pa7 INSVMYePpAREY/AmlwyH+R3gfQ+XTDxFe/QkuwpuPJ1mBnQ193mHjlgI+bACtHz2MEwT 26NQ== 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=Oui/kDbsrv6s8BQvFzLPi94iBNYwMr5hQJ5FlH4LhEs=; b=MaD5fYyQ/ukqW5pjr2EkBL7CFLifN04qy4N2PAoEMKvWoX5UoEXjIovHmgsIAdppWd nXvLEv/VQ9VHWjxEpz/7Paeh5bVcIA8KwcZA4B3q2qcrlXR4wH5dwoSGUFjOG83vPEEf N1FnKB9GCx7AdZCdsPBUm3lwiMysVP5JKo4qNGXWS66bTejZwXzwdISfkThO9V1DPnaZ krl8gKsUEXPd8kW5v0WSshQ7Bey/paz9H+8EIeECK+P88Cy+On2rzAIhYRux+rNoDhh6 fFMPL36169DZZwBko7O0uvIwhBRbW8xzofqQR8Dlor/OFCIxBwv1BZdqOKHiUo6JAJOX K1HA== X-Gm-Message-State: ACrzQf23rrNmU3pKWJ+VaznsHLfjdW6thDPxRZ7V4esLoOcIecCbkQWM PcQqGwJkVgl/+rBivElYf0Unow== X-Google-Smtp-Source: AMsMyM5rwVTEQaB5NjWeeyUtC62o/eF81O7klRi8hT82AYAUjaU9aXOdTNEYdbDb8epIvUK7xzHAHg== X-Received: by 2002:a05:651c:98a:b0:26d:fbd0:2c43 with SMTP id b10-20020a05651c098a00b0026dfbd02c43mr1846826ljq.517.1665060440070; Thu, 06 Oct 2022 05:47: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 br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47: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 , Rob Herring Subject: [PATCH v4 16/34] dt-bindings: pinctrl: qcom,msm8226: add functions and input-enable Date: Thu, 6 Oct 2022 14:46:41 +0200 Message-Id: <20221006124659.217540-17-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-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 158c9a50101e..c6f15c8da999 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml @@ -65,9 +65,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] @@ -76,13 +77,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 Mon Apr 6 22:52:33 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 DACA8C433FE for ; Thu, 6 Oct 2022 12:49:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231752AbiJFMtg (ORCPT ); Thu, 6 Oct 2022 08:49:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231661AbiJFMsl (ORCPT ); Thu, 6 Oct 2022 08:48:41 -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 7C408A2851 for ; Thu, 6 Oct 2022 05:47:37 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id j4so2645476lfk.0 for ; Thu, 06 Oct 2022 05:47:37 -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=SWt0cwlt4h3RDA4Xwfr5w6shZrJ4pZT5oO0t9NHGdv8=; b=IROM6J4oF7r92X+QYETJFcSEKyLSQl6z7PDYlr2S83emYneZdkuslBj95aLkDkBafE lYsz83BiOC0zZsuv+GnmnFkv8lMsrdM89uGUfDedpOGGYa1/FiUhfWv8KzHJAgzWzOOd 49KiFPwR2YSnyvNWSasdjiTebFfCLImrGu2OfGQTOTFHG+i9QEy/aNZP3+y9fFYSJKQ1 CPrbvMSs+tf5YcxS1yMeZTQdIsFNf7eQyrwhmRL8GYpyrpnVvl2RoXNawQeu++mNTk+G QjaxFTqWrfCNZ2m9mT9ef3yL9spG/pKIc8Or1G6+rIx2+dIZLibRR0jQNmGEa9VDdB0n sgIA== 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=SWt0cwlt4h3RDA4Xwfr5w6shZrJ4pZT5oO0t9NHGdv8=; b=YI8boesq4Gx6TUjR3SiteO2jLbv0gEMn8QA/uDhHPRirxPvpglgDa2mGxB0ejWJyk0 DKd8DSp+UFdqcDyV6rUYBZ95Dq/pq8RFmQtiCCh+hRmWAiqmvVBGxEnyaSBaYaPucszW vZC+qkuPtzGUVEPwCyZiQClp5Os8vJ3t0wDCpFdrVdQRDZcQo8kmnVDuDXkcTNvHRfBQ J5Qw2tKKpETZWwikGa0KX0gYwfTK62GGUSNnaW1ZKx6nthwciTSaT/RBNob3+LlVRJVe TnPr0xM+1LPsTNlK35UAIVXi6epWWLw2SztrTStkyKYUWnWYvfHK+VBEwM/YsJujbrAR bOLQ== X-Gm-Message-State: ACrzQf38b9bC+ASH+mV0j9CkfXYpGzGIgpPYvOHcNT9CNIk8Hfi/7kmK IiVOY7OnbEROs7lotkm1Ch0r6A== X-Google-Smtp-Source: AMsMyM7+nzvafoeOVAJ4qIkuiwY+S3kTl/rgc3YkgUmF367RoN1NinapHfLIZuWiO8Av4EvpyRjRsg== X-Received: by 2002:a05:6512:208a:b0:4a2:6cc7:cee5 with SMTP id t10-20020a056512208a00b004a26cc7cee5mr1823837lfr.153.1665060441225; Thu, 06 Oct 2022 05:47: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 br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47: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 , Rob Herring Subject: [PATCH v4 17/34] dt-bindings: pinctrl: qcom,msm8226: fix indentation in example Date: Thu, 6 Oct 2022 14:46:42 +0200 Message-Id: <20221006124659.217540-18-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-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 c6f15c8da999..23868cdf4e03 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml @@ -99,22 +99,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 Mon Apr 6 22:52:33 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 10409C4332F for ; Thu, 6 Oct 2022 12:49:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231564AbiJFMtK (ORCPT ); Thu, 6 Oct 2022 08:49:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230519AbiJFMsZ (ORCPT ); Thu, 6 Oct 2022 08:48:25 -0400 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22707A2A9F for ; Thu, 6 Oct 2022 05:47:40 -0700 (PDT) Received: by mail-lj1-x22b.google.com with SMTP id bn8so2103782ljb.6 for ; Thu, 06 Oct 2022 05:47: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=BhbTeBROl4/tOR51peuLJrLs0zaAX19oqYrmPX71dUc=; b=yCCjRXoAmJP0S6lgERbIi5iJYiYoBPwMKrA0sSuuCpleyMGy7yr2b28FYfmM4vURsq 9VaqdyWCePZ2bRmswXlmVnyDSoGEHu8hAqoukq6fumRUCV7Ofus4fbhYZs70hGiFlK0i +fHpttUjGCln5rr5+m0F3ck0HSiDxwDv1DmUcK2CqIWIwDWmuVXsxA/uG6VD/rZ7+ccC s5Lgika30VtVu7jn8kWmo8o5mKKbbVKzZCBUk04ZYdOAezGNL18Km4Jn52T8S7WY6ONS O/uc6n1c8btPKjnmV6517mr5Ex4NOrPK0kfgRtG2pIHleEOUvKCgY2qthwYjidunJsGJ VJNw== 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=BhbTeBROl4/tOR51peuLJrLs0zaAX19oqYrmPX71dUc=; b=lOYUsXfqjEnwzdtUKAT2XKbDT6cT9TvslhK2KkyKJBigM3T0U7aaX5IVEf9lwc62vl d6e8h77zrUSBXUyJbI5xhTQoSNnw6s1PZDnnPp9yyx0kJp540JXx5U9Ox8wgzx0Tduft WUNumqA9cD/kI47BfVXme1PCYXQ01QkV9g1Fn8InD/IEIi/aoWlox+RN6GtY2vfj4SF5 Y6xecdYr0G8EOfrOyhjrBZM+VKSNQG1YwgCGmMQxXcbde/Mmny/hAuXr13uSPUbOZQmV KTItD/ii3kBc+S7lQRoULlWyG6SWZ+6IwqCJQ61JOcqnnMX6AA+Z7Nkc0RNIKNjynoG1 DSIg== X-Gm-Message-State: ACrzQf0+29lJDZISTh8nksqQOEnTasfNLoJYO8qxY8H3CRGh5n6ao3Xx YCDLGQT8SCcLUF8s6R3EjMNNXg== X-Google-Smtp-Source: AMsMyM6VWYKjknNg/GEn95XfCDfHxTvyfGwlJ/ypT2LrshsmsO8fKd6hRSRKQHC9kupxUaNqdXrIyg== X-Received: by 2002:a2e:9d5a:0:b0:25e:2c67:edaf with SMTP id y26-20020a2e9d5a000000b0025e2c67edafmr1714927ljj.437.1665060442427; Thu, 06 Oct 2022 05:47: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 br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47:21 -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 , Rob Herring Subject: [PATCH v4 18/34] dt-bindings: pinctrl: qcom,msm8909-tlmm: fix matching pin config Date: Thu, 6 Oct 2022 14:46:43 +0200 Message-Id: <20221006124659.217540-19-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-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: Stephan Gerhold Reviewed-by: Rob Herring --- .../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 Mon Apr 6 22:52:33 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 13FFBC43217 for ; Thu, 6 Oct 2022 12:49:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231282AbiJFMtB (ORCPT ); Thu, 6 Oct 2022 08:49:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231324AbiJFMrj (ORCPT ); Thu, 6 Oct 2022 08:47:39 -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 78B05A344F for ; Thu, 6 Oct 2022 05:47:24 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id g1so2502871lfu.12 for ; Thu, 06 Oct 2022 05:47:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=tTMl2+XQJgPvX0+G4LvEbz7FpuBsUNstSWfbNW6//dY=; b=a6xyZ9CPCfkC0IR2IkEFS2Eq1tOGEEam5h+Z8dktE7dFxEKeOrjTsNQ51ZTX9FCKaq 0yJMKrcZGLSCXT/JTYmdih7Ic9YVTfvTGSoSsDlg/zy8il94HbZQDXbsjA8u4tZF9i0j 8SPEcCcPJnfwXgnkBo5GOZFhi91p20qdbNWcxkcxL9sexHjWDalEmirVPx4UavY7HyNz IBPCSjuxEmK65ZVqtVYmQw7WS7+nRBJNJpfiBf5DMHUtAT3cNpES8heFQncZZgcCfnZy acACBCFTlAa7XH75nCTXuL11SkhVyJS1jyJ2fDm9RxJORtlxmq9Qvh+AUgo1ZGzw8zBI FjeQ== 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=tTMl2+XQJgPvX0+G4LvEbz7FpuBsUNstSWfbNW6//dY=; b=E9gB5p5ne+fnNBEg+LoQVWBoDouMv2pOdCTMPUOl3zs+DrLmtdlcFADrk0YxYyxakU AqKWZmfFBeC8rYI8FqrZJKKxwNXB+jbdMg0K335IGH6PZhySGKVgsTSsWxwQ71QP6KBD Kv43rH3Tox+Q3frVIlrJtpO64YB3fW1WUfn9A4vrVMK3g+vLimgE1OSqqGzWRsuEC5JP ndx6uy2jcLks2wBU6lXppsqB6T6oBaVBov8Bw5jJhudYa9+tMjSk7ZjeAZET5bC+5KkM jIbSiDsfu/huwyyTxzT26IDdLLFZhohiSGzdPRmzHZXylSTbQTnACUUrL9N5/tHuYyLv Hvnw== X-Gm-Message-State: ACrzQf28EOL2v1iaK9VEvZpgGjNcoASxODqbWnEBSjzDCNLqeo2KWciI 3HhtKflIUjcBodSbpj8cxp7xzg== X-Google-Smtp-Source: AMsMyM77Ou53avfnXUtXcU41SRkN4MhE6lemlNCHK0MJ660SWYfQq9Kj/pYqgc6MB0KPD2jzIewb6A== X-Received: by 2002:ac2:5de5:0:b0:4a2:2f3c:5db2 with SMTP id z5-20020ac25de5000000b004a22f3c5db2mr1790868lfq.635.1665060443688; Thu, 06 Oct 2022 05:47: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 br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47: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 , Rob Herring Subject: [PATCH v4 19/34] dt-bindings: pinctrl: qcom,msm8909-tlmm: do not require function on non-GPIOs Date: Thu, 6 Oct 2022 14:46:44 +0200 Message-Id: <20221006124659.217540-20-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-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: Stephan Gerhold Reviewed-by: Rob Herring --- 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 Mon Apr 6 22:52:33 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 677C5C433F5 for ; Thu, 6 Oct 2022 12:49:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231592AbiJFMtP (ORCPT ); Thu, 6 Oct 2022 08:49:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231510AbiJFMs3 (ORCPT ); Thu, 6 Oct 2022 08:48:29 -0400 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE537A4848 for ; Thu, 6 Oct 2022 05:47:43 -0700 (PDT) Received: by mail-lj1-x236.google.com with SMTP id t16so2112264ljh.3 for ; Thu, 06 Oct 2022 05:47: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=1KqImZmGxWpbG6r7f++yaRkl8o1vQR5tbeGhirJSHY0=; b=A+y96/rNfR7Q8UORkLvNDxiZhyaIR5KCXbbtAKFZebu8urFwpHFewSCdXTmUE7IVpG kjUxlYmzEn2aJXIwbqUirrUCZd6bLGdQvvfhFrJVRPfyBHeWPwMu1wpPd1DPDcdg8PZf iDNUe7U4hnLGpNJg5gABvGPnY4oSvgiFb0Lq0swzcNh+b199TsHbez/d/fNAuy0BhBsy Jxo4c7tquHWCHjNwiXMsReK9K1Salcy+tE6PfLPbHmWMl42V+LtMK8/a1Gd+Aya1Smb0 YJy8ZV0dgBt3DQCPb6eCURylCiEK5Tb7Y5vxhL9PNLzO36R19eNAJEApSe+Pa03e4kyj dViQ== 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=1KqImZmGxWpbG6r7f++yaRkl8o1vQR5tbeGhirJSHY0=; b=n9514uUxgQHl9RYKV07ZnHdf170u/SE9Qtu2yV6nGrI4sq2cL6TdSGM7zs9tvUHk4k AItmA7HZonQw8ZVuaLRF+oy2gVkrQjuDZWNg0rNf4h2zFYq5cczrcdkHqFXR9otRFRl1 XETztsFri970eIxjWR3aP75tB6yMxAlIMUtDkaBIzxuJdmVT3/cTtAzmMD81nmmg+9xv qVWlgUMVJjVH4wmGVcV6rVK2tLEFN3t+G+/og7AuSIKhJ5rOt0uQdFa2UNA+JCegWszE 7nZVlQ/bAG564G1nyiiyQuPfmxbNhwdpK72ME2Rgk6z7pgVCld/J5tYzfuMLtKVcLrsj tx2Q== X-Gm-Message-State: ACrzQf0EsxHjvkyaO1xnYjHBOdK89yLt+tBJxUK8XRR/qFGtVJglqAKD yxNvxw8uxsiJZalfa94by46iDQ== X-Google-Smtp-Source: AMsMyM4LP2ChmWlfvVKeVtuExPTDn5JRLywEwlhciR0bPCuVXbGZgVMY4WngNqmM5smRLSZyt4kAjg== X-Received: by 2002:a2e:8049:0:b0:26d:cd1d:1640 with SMTP id p9-20020a2e8049000000b0026dcd1d1640mr1744096ljg.279.1665060444724; Thu, 06 Oct 2022 05:47: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 br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47:24 -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 , Rob Herring Subject: [PATCH v4 20/34] dt-bindings: pinctrl: qcom,msm8909-tlmm: fix indentation in example Date: Thu, 6 Oct 2022 14:46:45 +0200 Message-Id: <20221006124659.217540-21-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-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: Stephan Gerhold Reviewed-by: Rob Herring --- .../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 Mon Apr 6 22:52:33 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 25AE4C433FE for ; Thu, 6 Oct 2022 12:49:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231492AbiJFMtk (ORCPT ); Thu, 6 Oct 2022 08:49:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231666AbiJFMsl (ORCPT ); Thu, 6 Oct 2022 08:48:41 -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 06E5AA4855 for ; Thu, 6 Oct 2022 05:47:48 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id j4so2645763lfk.0 for ; Thu, 06 Oct 2022 05:47:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=KzWzb3hZrQFEQ0Rr65DWDq+RHVqeUt74LUhgKPrHSTM=; b=pbV132erSrm7elZPfUZmdVYCpRBOwrj08a4lY8jaP2h+xs0PQy6gk79ARw0Jp1Fq/D xaFTbyps+2U2c1qxkav+9XSrgBSJHTU9aBujEnR+FcdoJAPFEDgnagsNROJFRr+6LBK3 bsU7WYtndhfG5yPUHZPn9zPKAY+dHmUeM7bIagckiVTptaf6UVkk1qxNvDcmnGMwoV2e Kuyr6ShexfFegP51KQNGkYyQ0PFInNp4VG22SNib59rp/Y+BGhD7s6IEsLOqFQa68Dc0 cC+PqZrYOVZ1xb6/eVSoWcwaR3WrKIWllRy/xHSI+oS+YKi0c1YTnN2pb3UtwClurB+t LAmQ== 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=KzWzb3hZrQFEQ0Rr65DWDq+RHVqeUt74LUhgKPrHSTM=; b=tDxwlxUMFiEm6BrH3SeydhyUqkqhZxWULL1aFIdu5Twfzsj2ReK5leY9nLJ7ymrEhB PUN+CZmnE3aDM9XXYJdnYB2DDN+RRU5i7ztgD0FGOpE292s8m75oci47b1ayuDiOZjzq CY1VCryyG0F/Y6aiXrM6OiMBB1vc1zopSuFbO/PJ9q2XYH2qBJNs6ukSgMGICU5wQDid Di5isrM3IGI3X8E6Poi8UN3nt9VlIkJQYdElk5GqQ3vUKSotCKwnMWXd/GJrIuXMimJ5 9nnGbHtS/3QiUWT8W+PFeFqqzSzgxPSQ02pYSu4k4lleNY5z3lwtn8twlx5DyNLs1mjj RBlg== X-Gm-Message-State: ACrzQf0ftPkDiL4oO8iZTZs2w5BJ2jmP2/3fc5UBxbz3ph1leaz1aaQf qadWeK/zhoU1+8qjykOiF0NU9A== X-Google-Smtp-Source: AMsMyM4nqPq7cboF8SSXawT3xALdyQXIQ3wwuiV91S6EyNIsbWNNKXYAKfC2J5jejaV/U2J/ttEUaw== X-Received: by 2002:a05:6512:12c2:b0:4a2:71c2:a7f4 with SMTP id p2-20020a05651212c200b004a271c2a7f4mr1293656lfg.3.1665060445855; Thu, 06 Oct 2022 05:47: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 br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47:25 -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 , Rob Herring Subject: [PATCH v4 21/34] dt-bindings: pinctrl: qcom,msm8953: fix matching pin config Date: Thu, 6 Oct 2022 14:46:46 +0200 Message-Id: <20221006124659.217540-22-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-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 Mon Apr 6 22:52:33 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 71D23C43219 for ; Thu, 6 Oct 2022 12:48:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231654AbiJFMsj (ORCPT ); Thu, 6 Oct 2022 08:48:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231527AbiJFMrh (ORCPT ); Thu, 6 Oct 2022 08:47:37 -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 A84B0A3463 for ; Thu, 6 Oct 2022 05:47:27 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id g1so2503082lfu.12 for ; Thu, 06 Oct 2022 05:47: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=ED0JY2un+wt/JOYmEVTQcdYewvvA1MClLH9MAkoeAo0=; b=eQF+56vO0QTuRvthLJ/0DDW1pHyrmR+RKGSk9XSgeg1KDWbqAxbfXe/9X6JHzHOg9W iFmFO4W+Y8aW8KopkpRqUS3rHZNcALOt10b7a3ONlicJNPPsHCry4kXw4qQVAyo+KZk5 t/T5Iw7md4Un4al05WZSAKmX7vPwIWCeHlRbBz1D4Oj5CqysuucEZRK2ygfOSowAaSgu 9VUkBHKDvNWf9D20YhWMJytchKtHLOUDqYPjSaS8tJoXp0cfiCiFDBbcqWAQ0a0SBL1H f7npkcIa2fmte79Of3ZYXQOwVEf7ji44XkBg0VBM6DaCuB+3Cdo2Bh0SG8lsZDncMd1t PyEA== 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=ED0JY2un+wt/JOYmEVTQcdYewvvA1MClLH9MAkoeAo0=; b=WU/oulzNdTOSpBVt/Gp0yXIU6UKS7wf40/U/BRu8BMDHG6//I6C6Nt/eZK+N10OuDg xH9UHSH/6tF9AubrfDkk0kIYcG/3sr08XW9rL6pdltWEhBG1n8RPps2hKLLLWvJIO37l 67K7MZoyOTeiNwnkl6dzPyyW5SnnSCElgFJdaga0vdlkN/60Dm+wkQugxCu/dyR9y3gX JjKwZCk2qdvsDYTbhlQC5KbNTbjCZTspl/sawpO4K5Keo4MO2kxM0ggo0nvWIps15RI1 egMFbw7Sk8h2vXnK71HjotwbH5oHIOvZhrbK03ZlJ7dfToHnPjMSNbwFsD5rKd0jFJ9N upPw== X-Gm-Message-State: ACrzQf30gnJ+BZcSB6bJ+iEaTIBf/GUFWOitaIK85ivibMhGgaR/xzxH qp9gpKmFs35OZz4dNvjHjHSD+A== X-Google-Smtp-Source: AMsMyM4QadxicthkxHonr56+7yiFjW2dZ0uVzBrjaBskzMMlmIbjfecFIOY7OdbjWiiFEGBoiJ06Zw== X-Received: by 2002:a05:6512:c0d:b0:4a2:4129:366e with SMTP id z13-20020a0565120c0d00b004a24129366emr1901983lfu.328.1665060447020; Thu, 06 Oct 2022 05:47:27 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47:26 -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 , Rob Herring Subject: [PATCH v4 22/34] dt-bindings: pinctrl: qcom,msm8953: use common TLMM schema Date: Thu, 6 Oct 2022 14:46:47 +0200 Message-Id: <20221006124659.217540-23-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-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 common properties, other pinctrl schemas and additional checks, like function required only for GPIOs. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring --- Changes since v3: 1. Drop properties and required items which are already provided by common TLMM schema. --- .../pinctrl/qcom,msm8953-pinctrl.yaml | 35 ++++--------------- 1 file changed, 6 insertions(+), 29 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl= .yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml index c162796ab604..a0e3c61fffe4 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml @@ -20,29 +20,13 @@ properties: reg: maxItems: 1 =20 - interrupts: - description: Specifies the TLMM summary IRQ - maxItems: 1 - + interrupts: true interrupt-controller: true - - '#interrupt-cells': - description: - Specifies the PIN numbers and Flags, as defined in defined in - include/dt-bindings/interrupt-controller/irq.h - const: 2 - + "#interrupt-cells": true gpio-controller: true - gpio-reserved-ranges: true - - '#gpio-cells': - description: Specifying the pin number and flags, as defined in - include/dt-bindings/gpio/gpio.h - const: 2 - - gpio-ranges: - maxItems: 1 + "#gpio-cells": true + gpio-ranges: true =20 patternProperties: "-state$": @@ -59,7 +43,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,22 +123,15 @@ $defs: =20 required: - pins - - function =20 additionalProperties: false =20 allOf: - - $ref: "pinctrl.yaml#" + - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# =20 required: - compatible - reg - - interrupts - - interrupt-controller - - '#interrupt-cells' - - gpio-controller - - '#gpio-cells' - - gpio-ranges =20 additionalProperties: false =20 --=20 2.34.1 From nobody Mon Apr 6 22:52:33 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 6D28CC433FE for ; Thu, 6 Oct 2022 12:50:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231722AbiJFMuF (ORCPT ); Thu, 6 Oct 2022 08:50:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231745AbiJFMsy (ORCPT ); Thu, 6 Oct 2022 08:48:54 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6705EA4854 for ; Thu, 6 Oct 2022 05:47:54 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id d6so2510594lfs.10 for ; Thu, 06 Oct 2022 05:47: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=LyA5ur/cjYl/rS8sbHU8B880cL6AnWpQA9/6F60GO2Q=; b=lNEyOtR8VwR2YBK9NC46199zcpjZKHb97/qXQaPn1BnzKRGZNmQeL4lJdQT1XgA3JK xWvZzuMz2Kq3Rm7Y3b8qE6duEOLmszKPy/IRDUYqWW5Gdu3i7hOMEVmnchcZD7mwrLQw w1SCCzt3YDSVivQSC1eNhE4fgA7YdAlGglCFRorUZoh718uVvvt3MTq5XjBR78y4mBJL ASBYcDMg9z3vnoWrZVOSmcxQTxy6ZfTuG1Z/prfkD/6hLdX+pzpJAqjqe75744ntYqBD BjIvMo1LPtDoabO0gz9XD1sPquJF7U5AEVcQhY3dzPBLG65XnVBYqeNxAQHV817YE2yV Ocdg== 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=LyA5ur/cjYl/rS8sbHU8B880cL6AnWpQA9/6F60GO2Q=; b=1lMX9o3DJk9jKmXwYTelA5YRaFONJBW/7cEJWXT1YaAoHCDoRMwY0a9Yh2UfRoaiV7 qaxR4NvgWx7GDuhzRpBB4O+XPYEeElm6/UKjh5VXsDtfPun5rrhgqLZ2oSztC04Mea94 7Bq6dvDS4U17L39EHPEQaLV2hpEMdWZ1r8L4OK02vCU1jBiCWky3BcDwW1kQQ8vgr4ug kSkGWIzirj96lFnneWCzQvxVH9ONn8VVgrcI9Sd3W5xtnROa/PNaQ+5PJ0t3moiHY1eh rr63VDK1lw+WhQF+6a5ebRcebgw82e6wLGvLeTGMHHUzGh+VGXNnhXAzDBWOI8Ega2t4 /RdQ== X-Gm-Message-State: ACrzQf3Kc2TXZRA4CvmjiCRQxamyOWtIgTuWcE6wSVgvS8zCWDhabJHh l2mGxQW/kNXwH23rRImo7sMkCg== X-Google-Smtp-Source: AMsMyM6B61CafXduV6Z+VjbP+I4iwuAAJ52afC3DIhHi6VROIxDA3uejys8XMP97fnX9x7qdR5MKzg== X-Received: by 2002:a05:6512:3c90:b0:4a2:5168:b410 with SMTP id h16-20020a0565123c9000b004a25168b410mr1867681lfv.163.1665060448310; Thu, 06 Oct 2022 05:47: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 br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47: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 , Rob Herring Subject: [PATCH v4 23/34] dt-bindings: pinctrl: qcom,msm8953: fix indentation in example Date: Thu, 6 Oct 2022 14:46:48 +0200 Message-Id: <20221006124659.217540-24-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-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 a0e3c61fffe4..19d16cc9d749 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml @@ -137,21 +137,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 Mon Apr 6 22:52:33 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 83A77C433FE for ; Thu, 6 Oct 2022 12:50:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231544AbiJFMuK (ORCPT ); Thu, 6 Oct 2022 08:50:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231432AbiJFMtF (ORCPT ); Thu, 6 Oct 2022 08:49:05 -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 BED9EA4879 for ; Thu, 6 Oct 2022 05:47:54 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id o7so2536576lfk.7 for ; Thu, 06 Oct 2022 05:47:54 -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=cKMxoMSocSsO5VsZPFdHg2+mLP+XhcRFB9IKCKyblKI=; b=udKGXSMNCILdZsLC/F6BntSUgRFtqbHMlOe953QCkb/JLcAGDdYK1YS4kmq2AiVFdb 5COU9yc/EvpzaevV6oAnCycR+INq6ZISFcxZvB3NhZpw5m9lJxcAir4GR1mTYEGwZr0H Zpwo4qN1Z8IAiJlb4D1FXBTSLqAkVFd2bGeAL7wvtVN2TZpUa1w+1kZrDaEYRxsK/GzQ OC3gi1u5BbvLbmOBVIwaM6CMAwXCFnmU9S8P3iJcIDMi5/DkQPTbRPOBVUxV9h+WSoes 5lfAFho+BiZLI7Ocom3MBqywq0jBOIfy+egDtzW3D/8lhUTkU6yQlfZdpuXF9i8Z1hZ7 P3cw== 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=cKMxoMSocSsO5VsZPFdHg2+mLP+XhcRFB9IKCKyblKI=; b=BE8R0dIxiGUaH5xnE1GsbUWSVHr1gWdOJGS80DuJH3xurSO81jw9R9eO2BqNkTXVK4 gi+dj7dCz/tLVhXuTMHzqEUNqxdUzu6GJCMMDw6QpRCxzKFN7XkW8BugIVfZEkjQZ+YW VpPk5qp3r/fM0tUbNInOMr5rNfx/t5OfYgARxyiRgri4OYW4w0qqnb6CZi+6bs1Q2vl9 bXedYl24DNHXwaCcShlbrtUydcqy0skTwpiYE/KIWGhMgXXUxOnczDH4UWIYS7QgMgkz vlUF0ZCxZjtL1TQcmEpSOcEKTZHpRDJGOwCXb1WzyQKWddUNtMwbPq84y+wSukzNSL8G zlFQ== X-Gm-Message-State: ACrzQf1N5xidvBNWoisNdJLIZ4q8b1pF0GLc9QMs8NIUsTaOZBzai+Je SZE9nl7DWRYbj5A57Ybea+qMqw== X-Google-Smtp-Source: AMsMyM6Jx6AgIqzDgCQx6Wf9jbP5Ky52KZuyn5QoRnizbXI78+nvIUwxPXEXksx+Ucg8TPkRlBpi3Q== X-Received: by 2002:ac2:4db2:0:b0:4a2:260e:6404 with SMTP id h18-20020ac24db2000000b004a2260e6404mr1878065lfe.484.1665060449543; Thu, 06 Oct 2022 05:47: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 br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47:29 -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 , Rob Herring Subject: [PATCH v4 24/34] dt-bindings: pinctrl: qcom,mdm9607: do not require function on non-GPIOs Date: Thu, 6 Oct 2022 14:46:49 +0200 Message-Id: <20221006124659.217540-25-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-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 --- .../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 Mon Apr 6 22:52:33 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 D2CCCC433FE for ; Thu, 6 Oct 2022 12:49:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231642AbiJFMt0 (ORCPT ); Thu, 6 Oct 2022 08:49:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231650AbiJFMsj (ORCPT ); Thu, 6 Oct 2022 08:48:39 -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 8B758A2A81 for ; Thu, 6 Oct 2022 05:47:31 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id 10so2541642lfy.5 for ; Thu, 06 Oct 2022 05:47:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=ZZcOmZ2L/AY2ngXzMGSS8fxC9MeWWKAVxvGQK0RtVF0=; b=TwZpmM8YYJp3VxwUQSElsSKrzoQht4P/ARFFt/OrY6z1/UT60Wun2D+jRAinILyIok 4a+kNMmMP/rElZMVqil6n/wyA/j+NCHFPfY7wopZPElY8XCFluYqmN4Dh3P2FZ/Xm1F+ qHPT9fGvMzi2U9pLGIXcJluKa0JaSW1gHzCndYOt1wjiglmLAI7KTacF7r7Tdxidzqku QdsRTCUhyoDBGYFHa/Vq2q3991L1tNBNtxFueejkeez4CMuALb12/bbhtwJG7FYxQhqj EUa1JRfTFY66WfNVT9yHruPzeJBG5/EeTIAQzK3uggZuJ61zLj5U88FGbUqxlG9UetQp AusA== 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=ZZcOmZ2L/AY2ngXzMGSS8fxC9MeWWKAVxvGQK0RtVF0=; b=IhM54eC8iYw+TjoB1bmZ94okZFQEgEeP1CAhRrNEAnQAyPfBrUzJr4NugcXNm1gTGA pD6IJZQnF1CqxnVvODBl8EmNFcLfXyNx9RPVZYWyiIcm5xWOcfdekQftILWdclwbCjwz aDhLWbke45h3bccfkXdfIYK3D2FqWjSjN7mD5bZGMWF1TeEpjJMZPcjC8302oBQFNPXA Z2yIRKYIEeqlnwwpYr1iRyI0Ec5uFz3Dxfgt8kaw3rFxCnI6SMvnz8hN4c0ZDVbu8omZ 1r+wEmufHQiD8VGDnRcGaQUH0RL1tevBHqGjLBeDbaMCZLEZ5dVAPgeCpcOz9O/AEjE8 zylw== X-Gm-Message-State: ACrzQf3GtqciL7ErzLGs3zvOoV2CIZCZH9s6Usf+6y6m/8ge+WWZMOl1 IaIErltwZ8fV/Cmz5NzzyUUv9w== X-Google-Smtp-Source: AMsMyM5kFCtg5IvuYya45L191YnRfv6bynokOTa7rI4PEOUUfDA8fQmJG/5zIJKOCd3i0UfYdFqtew== X-Received: by 2002:a05:6512:33d1:b0:4a2:119e:1887 with SMTP id d17-20020a05651233d100b004a2119e1887mr1700427lfg.85.1665060450951; Thu, 06 Oct 2022 05:47: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 br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47:30 -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 , Rob Herring Subject: [PATCH v4 25/34] dt-bindings: pinctrl: qcom,mdm9607: fix indentation in example Date: Thu, 6 Oct 2022 14:46:50 +0200 Message-Id: <20221006124659.217540-26-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-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 Mon Apr 6 22:52:33 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 C65DCC433FE for ; Thu, 6 Oct 2022 12:49:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231701AbiJFMtw (ORCPT ); Thu, 6 Oct 2022 08:49:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231697AbiJFMsp (ORCPT ); Thu, 6 Oct 2022 08:48: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 B9FA7A285B for ; Thu, 6 Oct 2022 05:47:32 -0700 (PDT) Received: by mail-lj1-x230.google.com with SMTP id q17so2073094lji.11 for ; Thu, 06 Oct 2022 05:47: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=88CQD2qxJDDsWpeM6Y7JxzJKMImZlbT1MdksUVYxP2A=; b=V7zg5QHpWKlE9wXfwPu2avj2419UD9qm+TcOgp9xXcK5kbjy5hU8Sm94eduSVlO9yn DOXoflnOGRHOZ37JimoPoIjpv4SHNV90Znj64o+Yvbmq8/cWBlv4bPol7Bhrp4mzNn1A WTXiVZ2PTiyf+GluRwsYKFUjPQVUnCvVg5/dI/aP0iFieFK+2J9KU4QA1mVEI+sqYRHw n+WnZZd8z1re0vPYao1gw9tOR46+3y/TfQsnOcusGQObgOtlK2NaQ7J7tM4WtI9izYwK hr0Crgowr27LLVVTZpH+k/kFXi+ogBp8q26YhJk4aYSHJ21ZKaIoZ4n8qejjceRfzDGg ZZ7A== 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=88CQD2qxJDDsWpeM6Y7JxzJKMImZlbT1MdksUVYxP2A=; b=JrN1j+2Tn2OFPUuRjc1255QLx9S6e3fnUIuNnPvKZtt4MYi9ohsq0tWfsYC+IeO5no tLH1mx0b8/Ox7dN/sQPRhos4cuBfosmelJyStDHNvDgyjPj1qojDgdrMJ5JU8QyYlroh kp59mVdlU224qNOnbXB6ZCCP+QY71usE/z9spaNKfuotYrSNY6sWDuMlFtTkFS01aO0W BNxZdpZiT5Wo2HBX7nyh6DFAyzUlXjn/RJdK6DXMVp7rVFxK0YgSvFDZvt9qk37xDtfc zwP3kQb3PAMgjvBjEIup0UmwtxG0mODHKgeCCCEnoOQhkFPsLmnXp1tH85twMDdceoyk 6FdQ== X-Gm-Message-State: ACrzQf2weKVf9ksJd1X5QYmUsJVKo8xOWf0WtJhpVr2zJQNluwr8lj3V 0Q7OYwjYkVhDaQsFQwUs4dJGrg== X-Google-Smtp-Source: AMsMyM5pvoXzZmKqUa3poS84MpbFKxgCgqu3cHMgLKAEALayqcNQPa+8+01ZJCzdZDBor4hmNBiu8Q== X-Received: by 2002:a2e:780d:0:b0:26d:fd38:9649 with SMTP id t13-20020a2e780d000000b0026dfd389649mr1842550ljc.77.1665060452093; Thu, 06 Oct 2022 05:47: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 br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47:31 -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 , Rob Herring Subject: [PATCH v4 26/34] dt-bindings: pinctrl: qcom,qcm2290: fix matching pin config Date: Thu, 6 Oct 2022 14:46:51 +0200 Message-Id: <20221006124659.217540-27-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-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 Mon Apr 6 22:52:33 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 57AB5C433FE for ; Thu, 6 Oct 2022 12:50:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231698AbiJFMu2 (ORCPT ); Thu, 6 Oct 2022 08:50:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231747AbiJFMtb (ORCPT ); Thu, 6 Oct 2022 08:49:31 -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 E06B6A4B96 for ; Thu, 6 Oct 2022 05:47:59 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id bu25so2557174lfb.3 for ; Thu, 06 Oct 2022 05:47: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=6jCYOSDu55V6QZBvLkF9j6tijgskxnXCKDfSvqsPbyU=; b=zNo2urZELR20lqD5BX8cQy92lhbO6KIH0db9xKR2jzP0X7yrVF5vTXKCJ7ypnJSI7+ PX7KxhuoKJDQgWtw2MTCLFAinS/GPhr13JsmIKvXeYH2OHB7dxbVKm+XHo7VeajorQ3Z /IOWXOtGQ9tmpUmEdFhN3750gWXi1pL0eAfsYRZn+Nb917QQL5mgNQ1or2NLnbP497f0 sBqHbkZ5uR/lssZT1ui1ryJDXS2q+kEbR6T8WHjDuHkUQVB6btUhHqwUhVMBi2peC4lk 3DoATJXs+YihL0Mw8PN/BYJAqEv8AY539Hn3DuXloGgUghQWtzt7esFWy2PI8tA2pBd0 k9QQ== 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=6jCYOSDu55V6QZBvLkF9j6tijgskxnXCKDfSvqsPbyU=; b=P0qH3VRtgHKzFg4Sq9fl8BsJ9NBOCXprDRaVu+N0uma3p4oV/83FweAxetYo/do4yQ AkPwHln3xSjf4PWQsjhTVop4Ll0ucTVQxkpqaX3uFQFSNi26GP3BBbzjfxqRJG/eFkTN X9knxzzoBI2Efjz+5U7XU46SS9wAn9GwHjMjx+bAYSXIzOkg0eCzLzRapfnLYxvynimt j40QxD1l//t08UuAOtj+0wZv9ZKis/YWFRjqZ6BoxN1BGQhWHEAltcGph/hro60tCJLH B3B5kxxp4khe5Yw3MI3ASpSmLCbWSVdXQw6BXSvMSYtKvEFCiuFESnbr99gnPkJjwOpK SNtg== X-Gm-Message-State: ACrzQf2foD2AoToNmB8nOch5sun2OOqZmtsPfjuqYtdvcPxI5BuUVBJ2 /GdPD7hwwkAJNZgPHqbB7T/vAw== X-Google-Smtp-Source: AMsMyM5tOmNYurHbcPgoRnRCMP1iNmw6jOf9USN6u+0Lspx8i3ZHewpM1Qi4jbE7hAq4VcVGlpDbMw== X-Received: by 2002:ac2:484d:0:b0:4a0:5399:9b70 with SMTP id 13-20020ac2484d000000b004a053999b70mr1959158lfy.216.1665060453329; Thu, 06 Oct 2022 05:47: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 br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47:33 -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 , Rob Herring Subject: [PATCH v4 27/34] dt-bindings: pinctrl: qcom,qcm2290: use common TLMM schema Date: Thu, 6 Oct 2022 14:46:52 +0200 Message-Id: <20221006124659.217540-28-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-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 common properties, other pinctrl schemas and additional checks, like function required only for GPIOs. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring --- Changes since v3: 1. Drop properties and required items which are already provided by common TLMM schema. --- .../pinctrl/qcom,qcm2290-pinctrl.yaml | 32 +++---------------- 1 file changed, 5 insertions(+), 27 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-pinctrl= .yaml b/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-pinctrl.yaml index 5324b61eb4f7..0d73abeea715 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-pinctrl.yaml @@ -20,28 +20,12 @@ properties: reg: maxItems: 1 =20 - interrupts: - description: Specifies the TLMM summary IRQ - maxItems: 1 - + interrupts: true interrupt-controller: true - - '#interrupt-cells': - description: - Specifies the PIN numbers and Flags, as defined in defined in - include/dt-bindings/interrupt-controller/irq.h - const: 2 - + "#interrupt-cells": true gpio-controller: true - - '#gpio-cells': - description: Specifying the pin number and flags, as defined in - include/dt-bindings/gpio/gpio.h - const: 2 - - gpio-ranges: - maxItems: 1 - + "#gpio-cells": true + gpio-ranges: true wakeup-parent: true =20 #PIN CONFIGURATION NODES @@ -119,17 +103,11 @@ patternProperties: additionalProperties: false =20 allOf: - - $ref: "pinctrl.yaml#" + - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# =20 required: - compatible - reg - - interrupts - - interrupt-controller - - '#interrupt-cells' - - gpio-controller - - '#gpio-cells' - - gpio-ranges =20 additionalProperties: false =20 --=20 2.34.1 From nobody Mon Apr 6 22:52:33 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 BFCB3C433F5 for ; Thu, 6 Oct 2022 12:50:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231666AbiJFMuY (ORCPT ); Thu, 6 Oct 2022 08:50:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231655AbiJFMta (ORCPT ); Thu, 6 Oct 2022 08:49:30 -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 25B9EA4B98 for ; Thu, 6 Oct 2022 05:48:00 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id bu25so2557240lfb.3 for ; Thu, 06 Oct 2022 05:47: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=mFK0jWSBGCqHueR6jez0prdbdNbJLNaBR9Qi0IdExSc=; b=V5GCFgpz9z9EovrbXOXQspzv/4whrmwJ3ffaW51KT7AOpt5iX3iksirxuVXEY7+FMG jo4b2+F0Qa9cEIX7A5YvdiWoAJF1Are3hNUDJTHNrYKE3Hl0s3TUfwKzsIoCI2dCuE9K zBZKmEoQNguWGofsuTVfcXk+Pg7SSHvayqBl+EQYa2CD0/JGc65rCAg/wG8v5xJWt4Kv IfM/hdl7BKHsEQX2BiSXZwHjWEGNgi6obDxg54RhOfu0dt78YLT8+ttIrcdmAMMZikme OEE60DkEgvta8oZUrArxq4zL5NoeSrVCVUUn4NrsWibSXTTzlGFlqiDZgXnkjJesyQTW fPig== 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=mFK0jWSBGCqHueR6jez0prdbdNbJLNaBR9Qi0IdExSc=; b=WTx3LZlcYRcZzgaGrTMGhMtHatfFN+BIUIX7OzOTEi166bFbAsZbqV5XiGxhIa1JFL 0WBfHo25gVYvbhcoPl+R+xSObi1pXoTrggDPgDPT+FI7rNB04J057eIvDynGbgHeR0sI tO866c1DFl1jHkIVyn9zx2VGdopBV9Jle8E0lVZHHqRZp7Ga7FqGjt0DOQks8YvMYROc wRcRj9Db2L0yfpUn6B99tqHW5+RvZP8XSNCDG6JrOWIvgjy81m3ccBrT15qL22JuN42P I9l5kAQK7fIwX26ObEYGx5kn2Hm7+4LfsvkSyNzucMMgvZMOpbF2QqbB/BE7IGh7CUx/ lNRA== X-Gm-Message-State: ACrzQf2zSrNhfsPW4xnytQe443+DnbvvKQMnl1sS9hJ2Wq8RQE6WsMiW dvo2u+wv4VtRBKlp4nMEpmKWVg== X-Google-Smtp-Source: AMsMyM5LgBrIJFT78fsjLxmvhLww8MGJPFVwdPrEpGtnHF3XM77EQ4ldrB3LH9MsX3yCKkiM5u04eQ== X-Received: by 2002:ac2:5a5d:0:b0:4a2:3d64:8ad3 with SMTP id r29-20020ac25a5d000000b004a23d648ad3mr1776826lfn.530.1665060454471; Thu, 06 Oct 2022 05:47: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 br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47:34 -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 , Rob Herring Subject: [PATCH v4 28/34] dt-bindings: pinctrl: qcom,sdx55: fix matching pin config Date: Thu, 6 Oct 2022 14:46:53 +0200 Message-Id: <20221006124659.217540-29-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-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 Mon Apr 6 22:52:33 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 CE98FC433FE for ; Thu, 6 Oct 2022 12:50:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231776AbiJFMud (ORCPT ); Thu, 6 Oct 2022 08:50:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231704AbiJFMtx (ORCPT ); Thu, 6 Oct 2022 08:49:53 -0400 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFC7BA50C2 for ; Thu, 6 Oct 2022 05:48:07 -0700 (PDT) Received: by mail-lj1-x22b.google.com with SMTP id p5so2065781ljc.13 for ; Thu, 06 Oct 2022 05:48:07 -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=8jHVt4Wcuk7kdlxqQax1e0sLrENLcN4emuDAtVxRluU=; b=WGbdXTh2/BKZ9IFcHrcbHcTJw0t7YjtFLt3pQwOE/fp8M/2iKmU8MDKtGRCpYGdUVB qmH4OWacnwMRV7LHoD651ES7m2UdS2Fy2RgvxuURkceWxAvqM6t+/i73dFFFvAHrNfNa wsaS0PNbkdtQpm0TtAI9OH0HJ817g47IUmJjUdUGKeDSrM5HS6X2Lc/qEsdggaSjUlKZ JPT/ceyaOVB8H/AOLT5tUUE1ndos5VDcT5zj3zywuhJMOxHnwuo3hFl1RVy4Jm+I4FPe RX7+pMthOfJeBalqghV0E03s/BCYqRyjTM+FU9z5FThMXUaZSfnmhY6sHW6r9Ysottxy ahTw== 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=8jHVt4Wcuk7kdlxqQax1e0sLrENLcN4emuDAtVxRluU=; b=jT59W5xMR3G927n7AQutNtroeBt1FBfPCBICjAqcXobk8QZWnqJ7DvHXbtPTDIVBvq OGiCZ3gse5Nmk+G1d7vNdr1Hp/PPtTCrQzX6A8xiaBXLdCEPLKA0M3m748tqyZjsDelf XVurN8tybjFTZ7npJ/YvqPwmGlwewF4zpQHoNEvD1vOPQUqvd3RZGjLPt05SDOH3TfRC FJOtKryfd1doLNPtdYyLeuUvczqJCOEbOZiTf0slxXDU5JLyZIMoDJwBqz1sTybyJpHy MxsmGjCd7HOT3Td78Yiw4cp2CExFZU/odLYY6loCmZncHXbcZGoVX2VzZnQyngJb/7is w/XQ== X-Gm-Message-State: ACrzQf0J4uqUImzr0xpGbpO6BUhgz0JA5rabKZEWo0TTfmbhIDfLTeNh A2JOr61RBBe2VcIsrwhaMI5RTQ== X-Google-Smtp-Source: AMsMyM51n7FI6cvXyKDorvUkIgIs1BkU6abtIImwWY74SSSP0VdNxeYipcll5UfAgyiciICBV+FlzQ== X-Received: by 2002:a2e:9011:0:b0:26d:dbe2:d1f1 with SMTP id h17-20020a2e9011000000b0026ddbe2d1f1mr1818482ljg.230.1665060455681; Thu, 06 Oct 2022 05:47:35 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47: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 , Rob Herring Subject: [PATCH v4 29/34] dt-bindings: pinctrl: qcom,sdx55: use common TLMM schema Date: Thu, 6 Oct 2022 14:46:54 +0200 Message-Id: <20221006124659.217540-30-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-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 common properties, other pinctrl schemas and additional checks, like function required only for GPIOs. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring --- Changes since v3: 1. Drop properties and required items which are already provided by common TLMM schema. --- .../bindings/pinctrl/qcom,sdx55-pinctrl.yaml | 33 ++++--------------- 1 file changed, 6 insertions(+), 27 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.y= aml b/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml index fff57abf4fbc..e02590daf7bd 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml @@ -21,26 +21,12 @@ properties: description: Specifies the base address and size of the TLMM register = space maxItems: 1 =20 - interrupts: - description: Specifies the TLMM summary IRQ - maxItems: 1 - + interrupts: true interrupt-controller: true - - '#interrupt-cells': - description: Specifies the PIN numbers and Flags, as defined in - include/dt-bindings/interrupt-controller/irq.h - const: 2 - + "#interrupt-cells": true gpio-controller: true - - '#gpio-cells': - description: Specifying the pin number and flags, as defined in - include/dt-bindings/gpio/gpio.h - const: 2 - - gpio-ranges: - maxItems: 1 + "#gpio-cells": true + gpio-ranges: true =20 gpio-reserved-ranges: maxItems: 1 @@ -60,7 +46,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,22 +108,15 @@ $defs: =20 required: - pins - - function =20 additionalProperties: false =20 allOf: - - $ref: "pinctrl.yaml#" + - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# =20 required: - compatible - reg - - interrupts - - interrupt-controller - - '#interrupt-cells' - - gpio-controller - - '#gpio-cells' - - gpio-ranges =20 additionalProperties: false =20 --=20 2.34.1 From nobody Mon Apr 6 22:52:33 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 BAB48C4332F for ; Thu, 6 Oct 2022 12:50:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231724AbiJFMuj (ORCPT ); Thu, 6 Oct 2022 08:50:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231705AbiJFMt4 (ORCPT ); Thu, 6 Oct 2022 08:49:56 -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 9C97EA50C5 for ; Thu, 6 Oct 2022 05:48:10 -0700 (PDT) Received: by mail-lj1-x230.google.com with SMTP id m14so2117462ljg.2 for ; Thu, 06 Oct 2022 05:48: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=QyQLWhYmEjIHed8I1eYLXMg3PX1D3rWKc5PGKJ6Y4nA=; b=fxnDytM0v4Vs5H9JB3rHPatwUu+uN30DZZCtXmv6kA9C1AAPww5fdBCvC+/tL4GA50 T85VcnXou8YyMMJwtkRUmfElinhukklwL6Q64wCvp5fPBkSkxmKQe/v409Akrtupa3Vx rcFB0BiVoGxY0MT6kiE6ual87bLavhvZ/vtHewDbjJHbI5wxYBzxmXsP0Lk1N3Ys4924 nudgW2WlecmEBvsSuLtdzZxUCA7Ctl5lp3i27i+QrxnRWohOnKYMOd2fPeomMfC7FIaT 8NUHgV8qzSmR0ExtM8BXBo991roN0mPO8h/XC+pmE8WsxPNRUbPXfiFY7hC9v21ytN/1 Qrig== 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=QyQLWhYmEjIHed8I1eYLXMg3PX1D3rWKc5PGKJ6Y4nA=; b=e4UX3iW2d/goOEEg7N6PBqDTu9KE9BgoP5IRRXdHQyyNLhqoLioSnkSXSDZ93iXnkI KUgG1VCm8FXkDRlet5lwLlb/WcKhRZZcUX8xC1aezAmc85z9NS6g5R9A/p9vnOZP7sYx vaNmGCWywNTxxk8FHTyzATmBKCacUh6UCAa6/etKWc57OtbeMJ3obi+GBubenfFyeTAM xz9ayr+OibsfZnf3jS1xPgKyb+MNFvwOcSj/dBTOAsYiQY6mm4cIhhrwdOnTtGov+XWt EPG78allMUkKP4j/8FMZE4gACMZBhF+abS3gT7EtpMGLi3ijEHbxU9SVhRM3ZcZOp6fo DVbA== X-Gm-Message-State: ACrzQf2ek/38Xs3JwzJYs4OgXkG2JwxaqUfS/TY8mdmDghB1Dbm8sxWa ZzKtWsAQ0FzSxcfsL9j5MKLdng== X-Google-Smtp-Source: AMsMyM5Q/VnoZ2RhSQo+uit3uW8wqX9Vw/g70cvZauknvCNM7WVEhoSliDyMicrE1mvFAlb1g06ctQ== X-Received: by 2002:a2e:bf1f:0:b0:26d:8d0f:4f9a with SMTP id c31-20020a2ebf1f000000b0026d8d0f4f9amr1779387ljr.473.1665060456908; Thu, 06 Oct 2022 05:47: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 br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47:36 -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 , Rob Herring Subject: [PATCH v4 30/34] dt-bindings: pinctrl: qcom,sdx55: fix indentation in example Date: Thu, 6 Oct 2022 14:46:55 +0200 Message-Id: <20221006124659.217540-31-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-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 e02590daf7bd..2d7097edfb40 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml @@ -122,23 +122,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 Mon Apr 6 22:52:33 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 A40B9C433F5 for ; Thu, 6 Oct 2022 12:50:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231755AbiJFMuz (ORCPT ); Thu, 6 Oct 2022 08:50:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231622AbiJFMuS (ORCPT ); Thu, 6 Oct 2022 08:50:18 -0400 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2FC8A50D3 for ; Thu, 6 Oct 2022 05:48:11 -0700 (PDT) Received: by mail-lj1-x22b.google.com with SMTP id t16so2112904ljh.3 for ; Thu, 06 Oct 2022 05:48: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=KwbF9jO+sY4vXoUZ33qB21i8B3HKy8zqWPUMYNOaFag=; b=RDR9OpPgvastLJKKWTE/chUZe7uXRSg+FzziEdZhMaGPZC+5hceCocjfbTPJDdZ6Wt j819AwjwgE7ST7BO0j3LWzMcakhgZQGEL5F6DXDG3LZU7Y35ov9/2agPJy+9UpFU0QbI qpPV+EkE0xJqYGZu9v9Oprg+P/a1iglYsDcCrDHBigDQNEiezuW9NaVhNaulsB8tq27u 6Oi6v+nhsayfFhSUkCpAIyoKJWOXzwp6cXfctuR7H9tyKSd3EUo0TH5PjiWNrdueiUhE 74Rs278Fo+2rcjt13qAX9yAVgsjj5tRnax9fZpE9xRWzER9rqwjbFLyvntP5CPIFIjOD 092w== 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=KwbF9jO+sY4vXoUZ33qB21i8B3HKy8zqWPUMYNOaFag=; b=QU7BnRuSn+Hf8dCTogaMBp+WDTPN3SVHqnrXfAC+D3srQT0Oq/MToOIoyefsHEbJ/e 2h+rGipGjWaqfAdBFTb8ObwM13Z5k7+07vtVFBOZRVZ1kqW/+Cd++iVwdNMyRdn2nH55 loZeWBuJWZTC5OZC+UGHGxZV6HFufbdSTFRMVqAv5moMxLdCeXyxI1aOcBPBT1sg0bTo Wi9ODM67mvlzaxTPcduE+MR8gv49y6ijF2Y/+FKi+aoSNnzYEiy9IPlE1P1yBK6aAf6k SHi29zb0TwTSDPZBCxhqclEMPvUmFmfGG0bmSlUn9BuAnT4uDREYEeCx2Jefyg0fBaii B6dA== X-Gm-Message-State: ACrzQf0tuS8ne8r0LoYq0o0bIjjpaMiuP1MPkW8oNEQH+nTwwy/6bT+Q Vkzkp7LjHX1puo3fX/eWCAhwyw== X-Google-Smtp-Source: AMsMyM4mn9tQJaC+3CCD88sKjPIHvhKpp5WdmgzM+4uxNXeHEbcZ3J2Zv69dK+EC6uK4PDgckWC6ig== X-Received: by 2002:a05:651c:505:b0:26c:5815:5519 with SMTP id o5-20020a05651c050500b0026c58155519mr1722907ljp.316.1665060458025; Thu, 06 Oct 2022 05:47: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 br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47: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 , Rob Herring Subject: [PATCH v4 31/34] dt-bindings: pinctrl: qcom,sdx65: fix matching pin config Date: Thu, 6 Oct 2022 14:46:56 +0200 Message-Id: <20221006124659.217540-32-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-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 Mon Apr 6 22:52:33 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 71276C433F5 for ; Thu, 6 Oct 2022 12:49:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231618AbiJFMtU (ORCPT ); Thu, 6 Oct 2022 08:49:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230482AbiJFMsb (ORCPT ); Thu, 6 Oct 2022 08:48:31 -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 C7C61A2A98 for ; Thu, 6 Oct 2022 05:47:39 -0700 (PDT) Received: by mail-lj1-x22d.google.com with SMTP id j23so1981267lji.8 for ; Thu, 06 Oct 2022 05:47: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=gLNNPHYi9MZtpuf7Sf4vfCFMOo1TuKVCYuBKByb1QBU=; b=keU3l4AvJUnPJ+3yyRavQXHw0tU3n5niLcJd2vhRT4CjExMuUEJgdrwM8LlXqVuPZ1 AvWa3DCj92iiWNV2BQqF9QrUOam4mYFOERWEK5URPAqy2z9h6YPcXtzchcQD9mdAIIkd 50zD3pNW6Z/wQYs8wrj4b2jh7m/R+g8l1A8usm4py+CGWMSCYWi1sHwWVELtYbpaOURt +UzQuO8pQABhT5VX3ylXU01onlWrWGF/aOp58bu1UyVcVmeJp6HXk+lRCgztQrccXod4 NDuEir4/qZ0SB5Lepd8Xn1Fq9t/lo6aCZI2umG8LqWuXaM+ad3HJ+gCT1BcfB2QiYZFU olPA== 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=gLNNPHYi9MZtpuf7Sf4vfCFMOo1TuKVCYuBKByb1QBU=; b=baLerbqc1FReHpTXEo8ezEJPOKyOcz5SniK5nUidR0oC8Y5sX6HqzXPAv59t9iENiq Jy6rXlHbL1v65X2X1Oyfo64affCfWsBGF/omr+vfobHjPMVsw46NP5N3Bn5u8hqTS1ed RiB9EmF1AUCEMQw2ofw25fErOKGgrdomsK3w3V6Y17fG/a/zbZmemeCOy6SEeLnCWNZJ 9OTItTkFKeVaRlqH5qQ8hdDi4BHuknWBq6fS4KV+jGKHxrEPNE+GA6GZazvq76c8+TVn 5Mts27n3FgqfZFPIr2PTzPnqiLUlXS2vCsjMmZEivwcESYGQr+x9usbz+Wam+XxWY7jT U4jA== X-Gm-Message-State: ACrzQf3nhINgvz1Zht8Jn7mjId20SyBHj16UZuLroltiv6yLajfBCBs6 NtPoeBcg7uV/PaaZKIIp4DbYKA== X-Google-Smtp-Source: AMsMyM6/TvjnoCKQArHLuAkLMVa3xZQrDxt++eNx/9pB9jQ4dzx36xs5/M78tIftZtbuGGH84hPxLA== X-Received: by 2002:a05:651c:1949:b0:26d:cf6d:54a6 with SMTP id bs9-20020a05651c194900b0026dcf6d54a6mr1728359ljb.3.1665060459218; Thu, 06 Oct 2022 05:47: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 br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47:38 -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 , Rob Herring Subject: [PATCH v4 32/34] dt-bindings: pinctrl: qcom,sdx65: use common TLMM schema Date: Thu, 6 Oct 2022 14:46:57 +0200 Message-Id: <20221006124659.217540-33-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-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 common properties, other pinctrl schemas and additional checks, like function required only for GPIOs. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring --- Changes since v3: 1. Drop properties and required items which are already provided by common TLMM schema. --- .../bindings/pinctrl/qcom,sdx65-pinctrl.yaml | 31 +++++-------------- 1 file changed, 7 insertions(+), 24 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-pinctrl.y= aml b/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-pinctrl.yaml index 0f796f1f0104..ad1a2446a8af 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sdx65-pinctrl.yaml @@ -20,25 +20,12 @@ properties: reg: maxItems: 1 =20 - interrupts: - maxItems: 1 - + interrupts: true interrupt-controller: true - - '#interrupt-cells': - description: Specifies the PIN numbers and Flags, as defined in - include/dt-bindings/interrupt-controller/irq.h - const: 2 - + "#interrupt-cells": true gpio-controller: true - - '#gpio-cells': - description: Specifying the pin number and flags, as defined in - include/dt-bindings/gpio/gpio.h - const: 2 - - gpio-ranges: - maxItems: 1 + "#gpio-cells": true + gpio-ranges: true =20 gpio-reserved-ranges: maxItems: 1 @@ -142,19 +129,15 @@ patternProperties: =20 required: - pins - - function =20 additionalProperties: false =20 +allOf: + - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# + required: - compatible - reg - - interrupts - - interrupt-controller - - '#interrupt-cells' - - gpio-controller - - '#gpio-cells' - - gpio-ranges =20 additionalProperties: false =20 --=20 2.34.1 From nobody Mon Apr 6 22:52:33 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 69F2EC4332F for ; Thu, 6 Oct 2022 12:51:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231811AbiJFMvC (ORCPT ); Thu, 6 Oct 2022 08:51:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231658AbiJFMuX (ORCPT ); Thu, 6 Oct 2022 08:50:23 -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 284F6A50FD for ; Thu, 6 Oct 2022 05:48:19 -0700 (PDT) Received: by mail-lj1-x230.google.com with SMTP id by36so2108100ljb.4 for ; Thu, 06 Oct 2022 05:48: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=7tlOCAYHN2Y3xhk9dkRfACKtc8xJakVTM1MhtXVqD2k=; b=h6eKJMBwdqEDbYhlDNvQMGzlvN8Pa38wra1+xznZsxMnN19YeNfaMgb6HBKXpzPjY9 6aF3RdewoNONIgx+DUMHXi3gcYS3RgqCJqmE+cM4EJxvQziRGGM32g9ORI2KcTlG/otc bjLP9sVNtxZpRO/V69FsIzXnf/h0i7ykTclWTpdupfEndx3XQpZCM3H2LazzbSryazeL xXyXWvpK3B3aHS4JPwI0J7zKpuaebWwIESNuYejSvcuHstHNG2Yq6mF/ZJaZdMJgn8oJ kAx+qhYGmkBr/wJBlz5pZKnTpGfiAbDOCIWPI0UgeV0HJmeJhyZrilPscrdFnMYaPUFN xn+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=7tlOCAYHN2Y3xhk9dkRfACKtc8xJakVTM1MhtXVqD2k=; b=Yuxx95Jc7Uq+bj7dDmEuFVoMKVbOkfeujk9omP2LNlw3mOFXSdmXGaTvy5l6Bk+YNt mQhqoWmHV53dMRVeIeWrmuL1yL1YIpiROd2+zsIxwpE7m0WDONvLTvsufhzLBDBwgXtF ewfnhE9QUuDE7Gc1RGERA4af3MLxSbnm9iBb9fBCpyM+leHUfAfRSrdUne64qB2+FC/Z v8c75X9RNr+PQ54fNz9DF3/vPU3bIlpFXOPK9pJqCUEslmay0ls+E/mLstkmrWGVLfuY DYQNNZlNptzF0kf2/KDLJjd71JQLSWNUpK36TTVJeqpGe9Kj8ZkUb6WP/QhR2PxvHgi6 +Xrg== X-Gm-Message-State: ACrzQf2SRikXeV+QhIQkh+Dyucu04gxsiq3qso+cA9j/InNxaNPimhMR OJIkC9+M3H0Yhq0i+AKJ+/uH3w== X-Google-Smtp-Source: AMsMyM6KB4PUR76oRiqHSfHeSpFj4MsWPum8TlsqfYEZxykqXezsZsEKCGvLVpxvpoX3bGnm+yB47Q== X-Received: by 2002:a2e:9f41:0:b0:26d:ee3d:ea0c with SMTP id v1-20020a2e9f41000000b0026dee3dea0cmr1795404ljk.328.1665060460579; Thu, 06 Oct 2022 05:47: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 br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47:40 -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 , Rob Herring Subject: [PATCH v4 33/34] dt-bindings: pinctrl: qcom,sc7280: fix matching pin config Date: Thu, 6 Oct 2022 14:46:58 +0200 Message-Id: <20221006124659.217540-34-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-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 Mon Apr 6 22:52:33 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 5AB95C433F5 for ; Thu, 6 Oct 2022 12:49:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231663AbiJFMtc (ORCPT ); Thu, 6 Oct 2022 08:49:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231653AbiJFMsj (ORCPT ); Thu, 6 Oct 2022 08:48:39 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89513A347C for ; Thu, 6 Oct 2022 05:47:42 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id y5so2547187lfl.4 for ; Thu, 06 Oct 2022 05:47: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=/EE1Ip8I+ofqDBVJqXho2Z/r0isQpGAos6HBYPM6Nis=; b=cUTFviL34cqGc/X2o4VkCi7T9e6Qf86CPkkX3daR1ENPwefXS0rY+jaMY2zBFRChPz MWYhX1SReZ00V9GH0/cXBacnFCtdrd00dAScXNXb6lS7VBngEUPqdd2W8fXBK1dD6+Ck Z7b/N6ImxOUVBb1QJu8VmlNh5A8xOOa7xVpnIiImxexumD6wyKIM0I7l12vSPbIc/uLX K8hsWFlmxwEe1lleb/Qkmtd7PQCXzKqi2Lm/l87c9Hehwb4xGBcRZdm+LOlKH2ImmF+m aRL65CSBfVXISa/IyJ9IFtv9bV5q5+bzHSmbHOZQFrlpZYrirCn32/8JiH5ESlXuu4D+ OhZg== 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=/EE1Ip8I+ofqDBVJqXho2Z/r0isQpGAos6HBYPM6Nis=; b=Huy9FElgTjdTAgzRzggYH2sTl6DeAygUFduiLf/lNKmLMV4rz3wc3YC2Ef1Hs2mZRF WrovPdoN+0OsPcgsLt3qMgJ6kvw1dEmwUDEY0GSC6pJ0iq6CUV3O5OFK5xmRS8psHdiG 0p1V2kZpDvioIPi9hBpkhFE2i7zJhOFJZwQJuFgLSKHqw09iZSWb/EPlSmS5WanfA8G9 KSSqHRaRpdj2KCdqZorItHBk+K/YndSAdFMkcWlJNDAGKR7s6s11xApTfF7g7ewvxb7x QQr/k0pGnYvXj4T9Sp2cNEVbG9EpvIQn2Rt/+0/aaHM6au2FlO/FVNQz6kBYi2GJNRzS 5h9g== X-Gm-Message-State: ACrzQf2Z3B8AxSSeI1S3C4ThWdCJ/ZAlhsDBeB+U+o/Kz2lfkiLukAMz 2TG7djPPA7r2t8LKzbTBtniq4g== X-Google-Smtp-Source: AMsMyM5QdUCRf1dx57oNE0IpLCbEpeqWOA3YeMPuLuwB73SLXGQpFF28XyOQrYeamDNU8b+Q9+PE+g== X-Received: by 2002:a19:5047:0:b0:4a2:5c53:8b5d with SMTP id z7-20020a195047000000b004a25c538b5dmr1917545lfj.453.1665060461734; Thu, 06 Oct 2022 05:47: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 br32-20020a056512402000b00497a3e2a191sm2687659lfb.112.2022.10.06.05.47.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 05:47: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 , Rob Herring Subject: [PATCH v4 34/34] dt-bindings: pinctrl: qcom,sc8280xp: fix indentation in example (remaining piece) Date: Thu, 6 Oct 2022 14:46:59 +0200 Message-Id: <20221006124659.217540-35-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006124659.217540-1-krzysztof.kozlowski@linaro.org> References: <20221006124659.217540-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