Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2029309rwb; Sat, 24 Sep 2022 01:27:29 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5t1z30HkaBMInRTFffIxwXCmavQCp+aOS815GylpooIugu8BhdiFcknUjWy0dN2UWEl1V8 X-Received: by 2002:a17:906:1350:b0:77f:76a7:a0f with SMTP id x16-20020a170906135000b0077f76a70a0fmr10071532ejb.503.1664008049701; Sat, 24 Sep 2022 01:27:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664008049; cv=none; d=google.com; s=arc-20160816; b=Fnm1V6sKsskc8+Q8GZeE8k+IuDtNsc4VtdKUXGRAHwwEKTk0FakRjdFSFaCCMuO+ju GR4FQt7auYUmiqgmjBkmx2v3Ebfb0K4MmvcdENNm2Rqc/KAqSssVlr4QxSqbwreDO3qI b/p2gel7T+NHQug7zUAEblSpwReTCIugFm+/dWgvpbASVXDsbktjqcouvnJH6Haaszzi 3XmYFmn92KVyXgfffr9UnMGE4mM9/RYTXbLwr4/fMYkqRWTAq1z1YjKMhkwKF2QjqtSi a6mUssES49+5YS0oHyStSjg1vRT8w+v8UL1EjcYz9nyODMMtKFl3XJ1Vhbi32OOaM2lx AJ1g== 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=t8+qCMdbFYWvCOtbDLsLD7tINzyrBmDRKDZb7KLMHDo=; b=fpnc7vuyx7llvH+ZxJ7GAME5kQeeYqZ8P933SXT6o5bxL9zb7xPMgAbEAoA8bRD9tu mNwiv55cl8gSdFPMPwsiQvT1Ta+5mSZ7KlNxEvDA2DfHMOKp/Zdaa3iQFAbTsRvzpl0A mEn0b/Iv1IPtA+M60OvDPORZ5WZW1e5ltgM7nl2TTMORSY6kynA8teEikLUrFSZS9T9e vVpwn+oN7iCQCVfQYVUiOTdLNk1PqFD360W5eY7/Oes7LigAQ/vOorcwTzfLkoIcrKUN 8+4F7PXC0YyElxl5KhBWTro+5Oknb9KyQe8Hrvf6KMgwq7cCxkUyVO7r1IZ0m4VI+9du 8dXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wj7gXW76; 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 h20-20020a05640250d400b004482dd03febsi11489125edb.177.2022.09.24.01.27.03; Sat, 24 Sep 2022 01:27:29 -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=wj7gXW76; 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 S233815AbiIXIIM (ORCPT + 99 others); Sat, 24 Sep 2022 04:08:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233812AbiIXIHL (ORCPT ); Sat, 24 Sep 2022 04:07:11 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B213014F835 for ; Sat, 24 Sep 2022 01:05:46 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id z25so3553136lfr.2 for ; Sat, 24 Sep 2022 01:05:46 -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=t8+qCMdbFYWvCOtbDLsLD7tINzyrBmDRKDZb7KLMHDo=; b=wj7gXW76HGRB4ISM4MbJMdaYz9RO4fFyboHkEeGWqC+otdROMPPTqYkvKLDiOFAr8K Uo3y95gDkuMIhGb5qsd2WCbgfha03bEBFCr6NIx0UtdXEN7dJw8/sdJasC707VG6x2K5 leN/crNtKHx6waFfDRxju6XQthPyIFXk2TKWRwQcEOTetxUSz+pj534tQ9tyeU/mKk2F XvNDtCYkg5UYpVkfkmAH0d+EYe6sw/6KcPVuaYmNReu/Yw1kviUDpMg4hIbcG0aGkEpk ZZueB3jEI5+LqwruYZXteJDbOkbpwgJlCSf2v+ieXeWY+todgDrwelcTJZ8ucyBSiVzC TFNA== 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=t8+qCMdbFYWvCOtbDLsLD7tINzyrBmDRKDZb7KLMHDo=; b=ey9NyD0vqGfq5WmwP3JEx3175evi8Rl9eCQaTvYdSbPj+TuCgRQTAU/4As9on3sPFb ilBCxQc8+AZBM3IS4I8dyZ5ydc9loFDhGp8d9aaNsbr+vr+IcY/v8jtkYKfURSuPj64u DwMqvX40H6s+fIgBWLH89upwkdwhqgd5p5yc08WjrXwpoQM9uG2ERqtk5BOvQ4P8mywC /3k0JZ6hzd03k+/eZagLwI4izmjXYyAn3ViAhAW6zFydRURcxrSq6XnwO4k8KryDeAuH lF2GikPNJQmvK0+mnUpd8jvJZoyFo3kMaAhfVGL3gl0/h54thCOrEIbtyZDSFvm6Vsc+ +CtQ== X-Gm-Message-State: ACrzQf2KvsCBmsH34RsrM9238qV+Upo5KYYklZAdmObkvlclPPJrIUZ4 XVn2pxp31hOgR2H/mWurOuTy+A== X-Received: by 2002:a05:6512:159a:b0:49f:6357:971 with SMTP id bp26-20020a056512159a00b0049f63570971mr4811667lfb.81.1664006745806; Sat, 24 Sep 2022 01:05:45 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:45 -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 29/32] dt-bindings: pinctrl: qcom,sdx65: fix matching pin config Date: Sat, 24 Sep 2022 10:04:56 +0200 Message-Id: <20220924080459.13084-30-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 --- .../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.yaml 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: }; uart-w-subnodes-state { - rx { + rx-pins { pins = "gpio4"; function = "blsp_uart1"; bias-pull-up; }; - tx { + tx-pins { pins = "gpio5"; function = "blsp_uart1"; bias-disable; -- 2.34.1