From patchwork Mon Oct 17 22:59:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 615880 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 15D81C433FE for ; Mon, 17 Oct 2022 23:03:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231316AbiJQXDk (ORCPT ); Mon, 17 Oct 2022 19:03:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231219AbiJQXCZ (ORCPT ); Mon, 17 Oct 2022 19:02:25 -0400 Received: from mail-qt1-x829.google.com (mail-qt1-x829.google.com [IPv6:2607:f8b0:4864:20::829]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78D547A53C for ; Mon, 17 Oct 2022 16:01:51 -0700 (PDT) Received: by mail-qt1-x829.google.com with SMTP id hh9so8708004qtb.13 for ; Mon, 17 Oct 2022 16:01:51 -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=qZqgsGmvSE1+fOZ/tmTIcifOBksip+9lbghJPY68QP4=; b=Pwxtaxh15Y7PYJmsoD0c90IuimCOUBYPRmLM3N4aIGliN1UKbiDIKQ45TyvFdqCg4Z 02gF8CTDDX2dTfbq/+PTy8sVP6NF1D0RHJU5Ct2eAjqZ+BrJsVjeTZZCOH1AqnJJHdly +63GdABmovYWtjixqKSGBWBUNlmc1Cb1ePtgMeqn7SRhucXzRb91GTxwPbGuEIshdHm8 wlJjxboVEeyLHYXINJXXkVQuZ6uBrcIgsg6Br088tD1kyjReD4vPPPWkewH/Nu26QGNj P7Toih0fHk/bqxmubWwUN/2cd/6i3Nt7mqQFbBRIhMhSuB284q0hH8bgHDX+Zb8Ld2Xi e/8Q== 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=qZqgsGmvSE1+fOZ/tmTIcifOBksip+9lbghJPY68QP4=; b=iSMUSdrG36wayXJtwi/GT3uXUkR9TajOuGyoJteY05QNLyoUygeWc3BqOasecYVxyX sCXRvLzApdGvW4zxqfGTnHaBsDxpC7XfE7pUcH5TlTmTuahRTbtegqCtDW0Y2hy1AjHe 2xawjvI2HNzvJzji7Xa13hUJnZUarnbqvmpO5PNa4XGg78VnRq5pfTz/4KNOXKlr0GGP sOt9k3xUsdDOc59WHPZLWRds4XPbhpkJRHu6WI2Z/xIwjBkaducD06huHIpDjLPihQgd c3hIgIZmLJc6CYoCkwPPrr0Ekt/QidBZSNmVVzwB4bQlmeux4RAWc3qTHokAsLIrRPiI 8vsw== X-Gm-Message-State: ACrzQf2XF9TcJqdntGpyX6UFA73DVXVcyFWBoDsn+USViM0OvN1THJ4z e7SDictXVfT6r9wwGGvVmVN2tw== X-Google-Smtp-Source: AMsMyM4udkESC00DIDaFfQ1yHfhqHhNbeP/IZSwFvUJPShYAGyDgOXHz227pUnlYHfMcjbM+/ot30g== X-Received: by 2002:ac8:58c5:0:b0:39c:c710:f58c with SMTP id u5-20020ac858c5000000b0039cc710f58cmr10735280qta.295.1666047673179; Mon, 17 Oct 2022 16:01:13 -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.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Oct 2022 16:01:12 -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 20/33] dt-bindings: pinctrl: qcom, sc8180x-tlmm: minor style cleanups Date: Mon, 17 Oct 2022 18:59:59 -0400 Message-Id: <20221017230012.47878-21-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 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org 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 --- ...180x-pinctrl.yaml => qcom,sc8180x-tlmm.yaml} | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) rename Documentation/devicetree/bindings/pinctrl/{qcom,sc8180x-pinctrl.yaml => qcom,sc8180x-tlmm.yaml} (94%) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sc8180x-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sc8180x-tlmm.yaml similarity index 94% rename from Documentation/devicetree/bindings/pinctrl/qcom,sc8180x-pinctrl.yaml rename to Documentation/devicetree/bindings/pinctrl/qcom,sc8180x-tlmm.yaml index 71ca4cfd567c..24191d5f64ac 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sc8180x-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sc8180x-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,sc8180x-pinctrl.yaml# +$id: http://devicetree.org/schemas/pinctrl/qcom,sc8180x-tlmm.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: Qualcomm Technologies, Inc. SC8180X TLMM block @@ -9,9 +9,8 @@ title: Qualcomm Technologies, Inc. SC8180X TLMM block maintainers: - Bjorn Andersson -description: | - This binding describes the Top Level Mode Multiplexer block found in the - SC8180X platform. +description: + Top Level Mode Multiplexer pin controller in Qualcomm SC8180X SoC. allOf: - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# @@ -25,9 +24,9 @@ properties: reg-names: items: - - const: "west" - - const: "east" - - const: "south" + - const: west + - const: east + - const: south interrupts: true interrupt-controller: true @@ -46,7 +45,7 @@ required: additionalProperties: false patternProperties: - '-state$': + "-state$": oneOf: - $ref: "#/$defs/qcom-sc8180x-tlmm-state" - patternProperties: @@ -54,7 +53,7 @@ patternProperties: $ref: "#/$defs/qcom-sc8180x-tlmm-state" additionalProperties: false -'$defs': +$defs: qcom-sc8180x-tlmm-state: type: object description: