From patchwork Tue Oct 11 17:23:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 614951 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 6B358C4332F for ; Tue, 11 Oct 2022 17:27:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230047AbiJKR12 (ORCPT ); Tue, 11 Oct 2022 13:27:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230163AbiJKR04 (ORCPT ); Tue, 11 Oct 2022 13:26:56 -0400 Received: from mail-qv1-xf35.google.com (mail-qv1-xf35.google.com [IPv6:2607:f8b0:4864:20::f35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 607296B174 for ; Tue, 11 Oct 2022 10:26:31 -0700 (PDT) Received: by mail-qv1-xf35.google.com with SMTP id z18so9386073qvn.6 for ; Tue, 11 Oct 2022 10:26:31 -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=ckAqRWeHF1bK7ElWb8y3OZX2IqijWRZJQ9nMTXZx2Fs=; b=peNy1a9BLD/2GJzOYLfTReOq9wQnChL0B86xYfLk6oQckaeyRdL534s8nqdY768wBs DqfvnsGTZeMgF0Vmki/3lrkIA003qhdBxlgm8SHGFatn3Xov5HSbIsEAjOA3RoTA9OSe 6dpu55hBZe2hG9xP1ki2IODZHe5FlTiwBo/6RYYIE8T+R5y2oBA6GqwAiwiXrXdf3yfd tO2AU/h9JV3L3FULWh52xhvUtIO04eeotWizAAmxASaJPhPNT9i40TkkOGWzIZt0yGTh uJGeuHxGlpj6uCiJZPU6UpdzmntlmcvUSoPj55KvEtuL7hmaYfP6dANGH4fXHHVnfV2J 4miQ== 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=ckAqRWeHF1bK7ElWb8y3OZX2IqijWRZJQ9nMTXZx2Fs=; b=lvDs5zK/LsxUosAbC2muAMAJMbrLEoiPnJRyi3Vr9+mKOOrDjh8IPqP+FtgKu6LxOx 0Vxa6jBKSzIDw6sC6j+JTibceOeMpVUZVB4b7DRQX4ir3YyluudV74xVsHajM8rqcLJQ cBFOoRLtburjxx1P9Nm056OtRwt+MbyC9x9dWN+QyVQYvgCCz0CDVEiigxKrlkBFagTJ fYrABX6UfnJGLncBaijtsVg904D/ttDfc6BEW+VW22y3PnGOLXUjIrAPgyZ/Y1XBMEU1 k24DuDA2wFxOB78nW97twpUcTMgWdhlWUEkW8s4kZDWDaNK0tfa8DMt7QY4eDVQxlC2F uhBQ== X-Gm-Message-State: ACrzQf0Tb//j/Jpcj5avJRb5WPai0/Z+CXjxa26qWoVzcmgNHxtlNX0f CuAJCSN5rqgiHKAPoOxISxEW+g== X-Google-Smtp-Source: AMsMyM7uGmxOgMavkEjvNEj0JrDB5VUY2cBnGTmnHhzq3+glEOWltr5vy3fPFRflEAMGcg+VcwuG5g== X-Received: by 2002:ad4:5d6c:0:b0:4af:b5e0:63f1 with SMTP id fn12-20020ad45d6c000000b004afb5e063f1mr19995113qvb.35.1665509191414; Tue, 11 Oct 2022 10:26:31 -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.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Oct 2022 10:26:30 -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 17/34] dt-bindings: pinctrl: qcom, mdm9607-tlmm: minor style cleanups Date: Tue, 11 Oct 2022 13:23:41 -0400 Message-Id: <20221011172358.69043-18-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-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: Stephan Gerhold Acked-by: Rob Herring --- ...9607-pinctrl.yaml => qcom,mdm9607-tlmm.yaml} | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) rename Documentation/devicetree/bindings/pinctrl/{qcom,mdm9607-pinctrl.yaml => qcom,mdm9607-tlmm.yaml} (93%) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-tlmm.yaml similarity index 93% rename from Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-pinctrl.yaml rename to Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-tlmm.yaml index 5a9002a83423..a0a12171b6d0 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-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,mdm9607-pinctrl.yaml# +$id: http://devicetree.org/schemas/pinctrl/qcom,mdm9607-tlmm.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: Qualcomm Technologies, Inc. MDM9607 TLMM block @@ -9,9 +9,8 @@ title: Qualcomm Technologies, Inc. MDM9607 TLMM block maintainers: - Konrad Dybcio -description: | - This binding describes the Top Level Mode Multiplexer block found in the - MDM9607 platform. +description: + Top Level Mode Multiplexer pin controller in Qualcomm MDM9607 SoC. allOf: - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# @@ -25,10 +24,10 @@ properties: interrupts: true interrupt-controller: true - '#interrupt-cells': true + "#interrupt-cells": true gpio-controller: true gpio-reserved-ranges: true - '#gpio-cells': true + "#gpio-cells": true gpio-ranges: true wakeup-parent: true @@ -39,20 +38,20 @@ required: additionalProperties: false patternProperties: - '-state$': + "-state$": oneOf: - $ref: "#/$defs/qcom-mdm9607-tlmm-state" - patternProperties: ".*": $ref: "#/$defs/qcom-mdm9607-tlmm-state" -'$defs': +$defs: qcom-mdm9607-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: