Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp887628rwb; Thu, 6 Oct 2022 05:59:34 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6psYC3DV1qGS8E8epGjGDQcyV5Nb2Wk3LCAISXHnKTqWLqzcod0GyzjpEXW+H2m45VoIah X-Received: by 2002:a17:902:c951:b0:176:d421:7502 with SMTP id i17-20020a170902c95100b00176d4217502mr4532513pla.72.1665061174621; Thu, 06 Oct 2022 05:59:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665061174; cv=none; d=google.com; s=arc-20160816; b=KQpSTEy06dmJ3YMWN965gCa98pd+fM9527lye2mc1C+q6tBEla4zEEDOBQBv8mfuDu bAL+/1HUnSxIBn/Va4w/xM4YIo98kOjLeUh8R/hHyHKRc6u5oi+6GRMtxKtvr8JyhoA9 xU9I8Njj9YLi6MSBzGos5WVeDhGpTqmfunM7cH3uqiECSYh6Xm9t35nIvji80EslZUJS JZdriFhNUMjkDoniq1w7fHGV8DR1lTEbNf2yRm02jsiZ0nKOpOD7igw23T93HPb4zZnU Yw7jW+uAHvh3C57yKvgFRMNKLa4k1D6e638Tn5EaISO/fxzbjfQ1xNH5me+bwXgRwUND qkbw== 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=88CQD2qxJDDsWpeM6Y7JxzJKMImZlbT1MdksUVYxP2A=; b=WmlT/88nQH9MmUhRaV25wRSHt4oWEikKSC6HhJtwV+951NzkEl6+e1FHzDQNiKnht6 LW5Po+0+ZFpgiesA0/TVmR4IdT/x0OX1Y0O40Pxy6aZGlKAtcYPATXcq7x5mefXLKaW6 HilH2hVKMvW/gDIlZ/7yE0Q3guRmJAEiAWT5QkADVkLptd4FvCkig4x0WdyGjwp57TNt QAtIKc6raBxqXU5PSC2YZvh8M7Z2vqBritEIUM00nenDO5yXj45sZo2LqZLA0eMh4eOW dVQKuBHIBTMGUBKY7iRIJKj2F5Y6q1LZdleTY179UOfKwHnAdcwK3NUkEX3pcdTdhKVV +i9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V7zg5QHp; 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 x14-20020a17090a1f8e00b001faf26eed66si4292526pja.150.2022.10.06.05.59.22; Thu, 06 Oct 2022 05:59:34 -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=V7zg5QHp; 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 S231691AbiJFMtv (ORCPT + 99 others); Thu, 6 Oct 2022 08:49:51 -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-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: 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 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 '$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