Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2023853rwb; Sat, 24 Sep 2022 01:18:57 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4sMIXdu1S05LVfUytx9IVPpaqvlEhaWPfmFflggG1DM6M4m2fJLSpvwZdIoI/InemU7WrH X-Received: by 2002:a63:778d:0:b0:438:5c5b:f2ac with SMTP id s135-20020a63778d000000b004385c5bf2acmr11003545pgc.401.1664007536841; Sat, 24 Sep 2022 01:18:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664007536; cv=none; d=google.com; s=arc-20160816; b=F5kmuRs295+n9OdyOVsEPMNpFEIOKkxfBvdI6844f/6he/12WsSZsqdipxWb3/am2T jF/wBiHnE6cs0GGxL5SN0eiDQf9SR++RZXDoD51enSC7GdAwXoCuXYuyyM66qPevLERt p0oNpEJO0+IbmEd0+mkveuCIa2qZFEdyF1mikVLs8+0tneeoHEQYUkaxNeLj9EzJrj+5 sYuVXPrAWhe29idpUEuzhOUOiyHmMNhXIRIR3fCwylnSr92myy+nY2EUUhFYV5227cJh sLvCJty139l/Em79w2ABBHBZCQRsJL5bh5/Fhn4u/bW9nc5AMraQA7FDX7gXagpDtswC AoIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=xvXRb0zwWe37WFjqVxzmYbo7BlnZOnYHNQaO1Kmsw4c=; b=vjC4foofcKlJV/S1p4s2wyZxaGQCQmvQVPH0gZAOIQ30wM10gS4QZmyxT57MGjEsUB BElnMMy+mPD4AVc1lYQ5K+EgBQl8rCG5R1IemeIxnlW1mlTEJWXMlHJo3AYuiK9K2ggW l+avL6FATbuMCFlWXkv9O0zOGsaYajP5H36ve8LXavltEfPkFhhFxhadZhuJPg0lmIyD YdM2Lb7dpQZZ/aSdenXrbmT70aIjUdKztbi6sZk8RcigI7HkGrx89/hW2ys59IEsipxT EVH9pg45wP7sqkpJFWTO/jHRuGCHmFKug4zdH7D89nrx7WxBk2g7ILhO1d3YE1vLMZop vdTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Vbx6fjcx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s11-20020a170902ea0b00b00172d0e07c02si5854771plg.392.2022.09.24.01.18.45; Sat, 24 Sep 2022 01:18:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Vbx6fjcx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233791AbiIXIHx (ORCPT + 99 others); Sat, 24 Sep 2022 04:07:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233491AbiIXIGp (ORCPT ); Sat, 24 Sep 2022 04:06:45 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C077E127552 for ; Sat, 24 Sep 2022 01:05:39 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id a8so3475850lff.13 for ; Sat, 24 Sep 2022 01:05:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=xvXRb0zwWe37WFjqVxzmYbo7BlnZOnYHNQaO1Kmsw4c=; b=Vbx6fjcxdI4URQ5mGd34Rh6hNGO15J2BW3J0yM7ZdJRLJw46XtLcfRBF7X98IWmsdq f0vJgMwvjU94NJ0ArdZEIYqN9JOxunHjJ8aUnsdxS0h3RBCfum95aJuWFGBP57Zj+sGm F/hhKHKQy62NzAZfVBJDm0iqulzzWqNtxXWhQUK8FtcO97O3dSdOmDmLTZl7JMqPiIEY crMCZj4bJPeM5+BogWl4OUhlcx0TTa9orzMMk3KMW3dWkGOLa87ZeWbr0JW+RgQg8w6y sToM4v3Dfe7s85+FSlADpgLonRep71LkinR4Yq9EDYBmIZM2QTBUnBcLUPap8ntHhzvg 066A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=xvXRb0zwWe37WFjqVxzmYbo7BlnZOnYHNQaO1Kmsw4c=; b=aXi0gtVWgoiFnAmEcEhjJfAxdSwgpzx48XQq5y+VN5+uFnYwD0KXvqJJFtIEvUaz88 k27s6ybjWi67f8x1+lobvxgVzCraJrq3nhQnEy0L9qHW7+8v0CKyAN5kgzoFD4mDbaTO dc873UbPg7sNM8DV3ft6RBWPCYJmSCWzBMHOBqHKRvHypnqLGaH6kqRQBMzEOmrkqzXQ h6VbH5hRmosuIHq9sHB78N/ACWKqhuhuEpS0gdhmlDjC0NZwUFW3A1He+mZDkQsjmKAk snn2I8pcIJSfgMhOj666fN6JbSEDD8HSpqi7OAcKAsHHz1Uq+Sd+FN+IMq0802e/9YfR jE2A== X-Gm-Message-State: ACrzQf3/h25Z54KIp06upkCYFaC5u83LgN1pd03LSTxrc8FOY2Bh95OE zbfInJXq/lelAwiAo+CAkQy37w== X-Received: by 2002:a05:6512:3e10:b0:498:f317:e57e with SMTP id i16-20020a0565123e1000b00498f317e57emr5078453lfv.328.1664006739014; Sat, 24 Sep 2022 01:05:39 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:38 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 24/32] dt-bindings: pinctrl: qcom,qcm2290: fix matching pin config Date: Sat, 24 Sep 2022 10:04:51 +0200 Message-Id: <20220924080459.13084-25-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The TLMM pin controller follows generic pin-controller bindings, so should have subnodes with '-state' and '-pins'. Otherwise the subnodes (level one and two) are not properly matched. This method also unifies the bindings with other Qualcomm TLMM and LPASS pinctrl bindings. Signed-off-by: Krzysztof Kozlowski --- .../bindings/pinctrl/qcom,qcm2290-pinctrl.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-pinctrl.yaml index 3f4f1c0360b5..5324b61eb4f7 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-pinctrl.yaml @@ -50,8 +50,9 @@ patternProperties: oneOf: - $ref: "#/$defs/qcom-qcm2290-tlmm-state" - patternProperties: - ".*": + "-pins$": $ref: "#/$defs/qcom-qcm2290-tlmm-state" + additionalProperties: false '$defs': qcom-qcm2290-tlmm-state: @@ -146,19 +147,19 @@ examples: gpio-ranges = <&tlmm 0 0 127>; sdc2_on_state: sdc2-on-state { - clk { + clk-pins { pins = "sdc2_clk"; bias-disable; drive-strength = <16>; }; - cmd { + cmd-pins { pins = "sdc2_cmd"; bias-pull-up; drive-strength = <10>; }; - data { + data-pins { pins = "sdc2_data"; bias-pull-up; drive-strength = <10>; -- 2.34.1