From patchwork Tue Oct 11 17:23:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 614355 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 E9C78C4321E for ; Tue, 11 Oct 2022 17:28:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230061AbiJKR24 (ORCPT ); Tue, 11 Oct 2022 13:28:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230262AbiJKR1n (ORCPT ); Tue, 11 Oct 2022 13:27:43 -0400 Received: from mail-qv1-xf36.google.com (mail-qv1-xf36.google.com [IPv6:2607:f8b0:4864:20::f36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 813E670E4F for ; Tue, 11 Oct 2022 10:26:51 -0700 (PDT) Received: by mail-qv1-xf36.google.com with SMTP id i9so9389436qvu.1 for ; Tue, 11 Oct 2022 10:26: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=RDCLzVbjOgxRU7JZ70wpVDQAouZMXtGx+a003k3YuIU=; b=fUGciDIhnug8uz/vpWOLrjkTNxBOSAXv5L1InUC85SaDFG0Dxun+Af1QUchwgxRwMu 4R9/dXIGCYajMAKz0oGKqlEoAN05vVVdksyqKL/u3c0Idjdgx2Gr8LAOMPPurSOX51l6 vOhV0BseIThDekIteN73G6VqVWnmXX6BmDqCYz0IDWZu92JCgXSXYrQ8MquOkXOA4Hd9 MBzp/SvDxU8P6azwyTXZFOvTZhYMlUP29FjxfOO0yKmMPL59ux4fE0XG1k/mw1dv6k8q Lwzpb40CULNFYnepcEf4UiE9ULjZPC7T7UHzSu5BCepxQy1rpZ0EOIx9enq04IX1Z9Vl Ii1w== 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=RDCLzVbjOgxRU7JZ70wpVDQAouZMXtGx+a003k3YuIU=; b=6YtEy+j0PJz7NyFyUNDCwVilCz4jCI/eW3d0QE5XvX5PibsRrOz8pT1EveW9v/BuXt wXvYNX8q9PlejdqAjNS1oES8M+l4/BsMLPaujknmWhksIFKDnqqz21Xfvmz2ei/nQK7F 7T43v+eHMcpHW6B509UXfAch7pCAVVkTMAVPV/fBamrm2vXoPQuEfT37sdNIyTuFPvSs 9Krll0nHJUFkG479E5NRVazKbx6eVDa5AUqb8cBkugyrFxUuHM1nn9A1/56Muuipve0F g2vkK128jfK/YdW5sy90H27YN089I1embZ0G4ERL2s3NSDJ8BaUQgxqe6IFH6IV0o5a8 rK6w== X-Gm-Message-State: ACrzQf3kQEBpvnUtHfWgfe0D4hyy03BShiTJRMhdjFJP4m3py+Tvclut 9wW7TkH3QorFCQ53xshB7JtifA== X-Google-Smtp-Source: AMsMyM6Dhx7uuOC9iYLaxSWQ8IMmkUu5SW2Tjpz74+40CsHl9Fq2wL1YomA354wv1hRD15P7fMlYWA== X-Received: by 2002:ad4:596b:0:b0:4b1:ee66:1cb8 with SMTP id eq11-20020ad4596b000000b004b1ee661cb8mr20090523qvb.3.1665509195657; Tue, 11 Oct 2022 10:26:35 -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.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Oct 2022 10:26:35 -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 19/34] dt-bindings: pinctrl: qcom, qcm2290-tlmm: minor style cleanups Date: Tue, 11 Oct 2022 13:23:43 -0400 Message-Id: <20221011172358.69043-20-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: devicetree@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 --- ...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 0d73abeea715..a02a64de60d2 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: