From patchwork Mon Oct 17 22:59:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 3803 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp1680851wrs; Mon, 17 Oct 2022 16:04:11 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6TX5E7OYPQJhsX6RP48Ld916scdpMkbP8DV08HNwPAnl9syVm0+yzZMAWRW+4Sv0nDtnW9 X-Received: by 2002:a05:6402:f24:b0:45c:d71c:7f62 with SMTP id i36-20020a0564020f2400b0045cd71c7f62mr39857eda.416.1666047851505; Mon, 17 Oct 2022 16:04:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666047851; cv=none; d=google.com; s=arc-20160816; b=Gt0k+FApQZFJIBHfxyWlqtbvSqbfh3BkEvzLmBue0+Pt/GI+SRuRFc5CvtzbCpbCWE lq4ijhze0J8Uj87QtfrzwIjivCYnyBJSwc/stVbWdgExwlig7LjMFBPvENrb5iPn5j+Q adlXXCOcmRpltB89QR/OkgYze4bdht0Ih4E+EvYhc0LRH9bwO/f8g4YsmXue2DS7jNfF SpDDhdZoTPctb40+WJcAF1rZpdq+KExm8Am8U1bD+l0iU/eSrxwytOPvEt/vP1oOdP5/ scqV5R6XWS58ZJ1sCr4c4Y54zkblgmlPSO3tDijYRwwj7msSn6I99GXDZUs7ewCFYQuG 7TSg== 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=6Z8MevnET12xysDUHfstz49lF62ppQ/ayQj59OCid4E=; b=rC8CdupQihg3JEnJH+Crwmr6Q0cm0xPgNHYh99pkdpbVBrwjSudiREsYAtZMo8bbZ+ KrtrvW8QsGMGeZNKR2pEF+xmd83TbU5KTQKKygbuFYmJh93fSkbBxGZqmV5aV5VHoABE gvyhPqnGlBB5lNhBpWPBq7TNS5CD+JT000IKyodbX6pmCst2C3RGy6ntX758xP5Mg6HO 8T/nLN+i1aw5abM7pcuSeeE0N8vDo238ukCEoC7+Aos0lHI3cnhux/Lypvjk7FwU26Hw kCFpsSLKMM30nwjNQArG+jdcOObctioj6rImz+pkPc417aRfI6HSrW2wk1BeKnZxW/r5 AtGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=emnHAZ9z; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z11-20020a056402274b00b0044711ea363esi11933516edd.21.2022.10.17.16.03.43; Mon, 17 Oct 2022 16:04:11 -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=emnHAZ9z; 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 S231281AbiJQXCI (ORCPT + 99 others); Mon, 17 Oct 2022 19:02:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231199AbiJQXBi (ORCPT ); Mon, 17 Oct 2022 19:01:38 -0400 Received: from mail-qv1-xf30.google.com (mail-qv1-xf30.google.com [IPv6:2607:f8b0:4864:20::f30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 017C182D0C for ; Mon, 17 Oct 2022 16:01:10 -0700 (PDT) Received: by mail-qv1-xf30.google.com with SMTP id o67so8300624qvo.13 for ; Mon, 17 Oct 2022 16:01: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 :message-id:reply-to; bh=6Z8MevnET12xysDUHfstz49lF62ppQ/ayQj59OCid4E=; b=emnHAZ9zxqthso987N94y3GtyqvXdGRCemnb+n47D4rUhel53DqBxWv+WZ5wSsPna8 VWCG+GHBsm9Xas/vopkyaahD0cmzxulz/xaqUtHFlrxB7sWhJDe/Mh0cYrOHjCI5UGXt yzoa67wYgE8zP/zgFKImW6dTWiyKtjzAy4ImDbLuko6ZE2HZ2eZa/lbup7ALkc2VfmFh aAOxjvQ6TgYEScutffN38MqYRETRXuY/6tGscqiudGi1APMUzQbdcRv7ehKbx76p2C06 +hsC0rL7SFBmRSxXcYCnr1CCw+jMG4DQRQmetbdvo2VZvyXZM23+xhgV8/JxGX3pRcYE w+yg== 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:message-id:reply-to; bh=6Z8MevnET12xysDUHfstz49lF62ppQ/ayQj59OCid4E=; b=vCJt0RETIwNMu5gKJGBto+v5v+unVsX7a8yF/MDlcUJ4ZtwXqp3p8opWnqF7I94wLH 0YXAKZ9/SmQ9xnh4oy+sVlVltkTsDSXULGjQzuiBDw5KewtN+V9D97F0gzcjsGqMk5Lb CLATiSydFmFIgnj2bpk798IbuUCC4u63igRCjL4UxJ9PxVosKRLR78Qw1Egy4Etse0bR 6pCzKBvS7FzqJHn5+4nNBXw4dihtJplye5lGYuKDk/+sQLgYS7QOej/g9lOwlpXS19jC xfJe4xEMI8bHcJmfNvZz6Kd/6d1tEqr7p+f6UOyOyGtoZj8zeCGCkriQ5jaFHNNVVMdP 7wZg== X-Gm-Message-State: ACrzQf3+d22FRiIuabdBSE4xUAIqeSzjD/kd552QXuxMYu4UoDhTUyTU 9BtRTzS7AZL5g0o3GhMwfa2GKQ== X-Received: by 2002:a05:6214:1cc5:b0:4af:91d5:8d1a with SMTP id g5-20020a0562141cc500b004af91d58d1amr157837qvd.70.1666047669702; Mon, 17 Oct 2022 16:01:09 -0700 (PDT) Received: from localhost.localdomain (pool-72-83-177-149.washdc.east.verizon.net. [72.83.177.149]) by smtp.gmail.com with ESMTPSA id fg11-20020a05622a580b00b0039cb9b6c390sm729670qtb.79.2022.10.17.16.01.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Oct 2022 16:01:09 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Stephan Gerhold , Shawn Guo , Srinivas Kandagatla , Vinod Koul , krishna Lanka , Iskren Chernev , Martin Botka , 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 v3 18/33] dt-bindings: pinctrl: qcom,qcm2290-tlmm: minor style cleanups Date: Mon, 17 Oct 2022 18:59:57 -0400 Message-Id: <20221017230012.47878-19-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221017230012.47878-1-krzysztof.kozlowski@linaro.org> References: <20221017230012.47878-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746977791949542845?= X-GMAIL-MSGID: =?utf-8?q?1746977791949542845?= Drop "binding" from description (and align it with other Qualcomm pinctrl bindings), use double quotes consistently, drop redundant quotes and rename file to match compatible (to match coding convention). Signed-off-by: Krzysztof Kozlowski Acked-by: Rob Herring --- ...m,qcm2290-pinctrl.yaml => qcom,qcm2290-tlmm.yaml} | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) rename Documentation/devicetree/bindings/pinctrl/{qcom,qcm2290-pinctrl.yaml => qcom,qcm2290-tlmm.yaml} (93%) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-tlmm.yaml similarity index 93% rename from Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-pinctrl.yaml rename to Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-tlmm.yaml index ae73e3d45bbe..adf64bfaa4ed 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-tlmm.yaml @@ -1,7 +1,7 @@ # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) %YAML 1.2 --- -$id: http://devicetree.org/schemas/pinctrl/qcom,qcm2290-pinctrl.yaml# +$id: http://devicetree.org/schemas/pinctrl/qcom,qcm2290-tlmm.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: Qualcomm Technologies, Inc. QCM2290 TLMM block @@ -10,8 +10,7 @@ maintainers: - Shawn Guo description: - This binding describes the Top Level Mode Multiplexer block found in the - QCM2290 platform. + Top Level Mode Multiplexer pin controller in Qualcomm QCM2290 SoC. properties: compatible: @@ -28,9 +27,8 @@ properties: gpio-ranges: true wakeup-parent: true -#PIN CONFIGURATION NODES patternProperties: - '-state$': + "-state$": oneOf: - $ref: "#/$defs/qcom-qcm2290-tlmm-state" - patternProperties: @@ -38,13 +36,13 @@ patternProperties: $ref: "#/$defs/qcom-qcm2290-tlmm-state" additionalProperties: false -'$defs': +$defs: qcom-qcm2290-tlmm-state: type: object description: Pinctrl node's client devices use subnodes for desired pin configuration. Client device subnodes use below standard properties. - $ref: "qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state" + $ref: qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state properties: pins: