From patchwork Tue Oct 11 17:23:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 614270 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 E29EEC433FE for ; Tue, 11 Oct 2022 17:28:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230235AbiJKR2V (ORCPT ); Tue, 11 Oct 2022 13:28:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230240AbiJKR1H (ORCPT ); Tue, 11 Oct 2022 13:27:07 -0400 Received: from mail-qv1-xf2c.google.com (mail-qv1-xf2c.google.com [IPv6:2607:f8b0:4864:20::f2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC45C4DF22 for ; Tue, 11 Oct 2022 10:26:39 -0700 (PDT) Received: by mail-qv1-xf2c.google.com with SMTP id g9so9360068qvo.12 for ; Tue, 11 Oct 2022 10:26: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 :message-id:reply-to; bh=qZqgsGmvSE1+fOZ/tmTIcifOBksip+9lbghJPY68QP4=; b=vPXxTUbZsnBH1Yu6GMxW7NLtgMFhQ7VSB9n6YZrE8UNP+0+OZmtzvjNJuN303FfomJ +Z2cEd+f6dMDujix6TychJphPvMq5snoZAQuNN7rD/qV7imnmfHJucy9vQXMW8v5F3uT WVzM4Bw9uXIhHUXhrYTZTHl9HVaHFI6r+xoXAgJif85BMQbOiyd3TowPFb2hvp7JasyI QNutDHEehvYKGz++/on/UZCWRHPWIyJD2ey9zBHMzsReAzCdIA4wMfrBCRx/JkoGrj4M wxcPipvr0+RhszfIOma6FYoOieQSkCUKPIk7LVATvTI7sjnNR8y+Ix7sV3W0aAG0bBgg w1Ig== 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=is8uKZml2ZSHQAIrOAF2AHwu9u5hKgJmKDUW5B5qLCesVXAM3TNYzzuP1Fr90+KWLR qC4U86b8ehZki5vemWtdqqxItnBK93tqoMnXyg6t9iXoM3n2KR0N/WlKf3d4F4ba5AZV T6eHY+B3SShYegzlGODIZTBG1YwlfNyhpn5irP5Wy3UpHVKqeBOs9VKnpGqg0gwVqmsk S5YMcC2aso3oQFGC58pNkOjVVktHFfctcvS3/XNR8khHXOSyEIx6+myketpCTDnWOadf zaazQuLN7/BglkVC6Tu1vOp7OlryMH6hvPOpx0rW8IrNLBanwpmcdluBEuHNFgKO0Ff3 eH2g== X-Gm-Message-State: ACrzQf2nPOshoaZttumr6GeGU88EFmIoE4DUbmoOsQ8lOQaDM8WlgzW8 cnCtBqoM4EQKSaDqkUuM5+XseA== X-Google-Smtp-Source: AMsMyM7EyVZ42UGOJwH2pdWOeRUHLK+sl5hKP5+r2Bo/8YwEKZSr5IEQHtUK1ebfpE0Yzr+T7ehQlQ== X-Received: by 2002:a05:6214:2a4b:b0:4b1:8bce:2cc3 with SMTP id jf11-20020a0562142a4b00b004b18bce2cc3mr19650506qvb.58.1665509198961; Tue, 11 Oct 2022 10:26:38 -0700 (PDT) Received: from krzk-bin.home (cpe-72-225-192-120.nyc.res.rr.com. [72.225.192.120]) by smtp.gmail.com with ESMTPSA id i14-20020a05620a248e00b006bba46e5eeasm14289087qkn.37.2022.10.11.10.26.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Oct 2022 10:26:38 -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 v2 21/34] dt-bindings: pinctrl: qcom, sc8180x-tlmm: minor style cleanups Date: Tue, 11 Oct 2022 13:23:45 -0400 Message-Id: <20221011172358.69043-22-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221011172358.69043-1-krzysztof.kozlowski@linaro.org> References: <20221011172358.69043-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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: