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: 615881 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 BB242C4332F for ; Mon, 17 Oct 2022 23:03:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231417AbiJQXDM (ORCPT ); Mon, 17 Oct 2022 19:03:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231184AbiJQXB5 (ORCPT ); Mon, 17 Oct 2022 19:01:57 -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 33B67816BF for ; Mon, 17 Oct 2022 16:01:40 -0700 (PDT) Received: by mail-qv1-xf2c.google.com with SMTP id i9so8335821qvu.1 for ; Mon, 17 Oct 2022 16:01:40 -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=QlCC17y0CX5beKSjm4zipFA79QUKt0nPgmktS6nmWioBw5jZuMtQkBXCApiLm6YT9s x6l8ZTMy/G8uK0kMbw0bKUkV5LIKS0yKTe9y5E+TBbMTJn8Mwzk55/EnZVC6iM3FLpoo CCB87gLVl0YtY6ES9r3Phdcyvzf4d/1F8mnr5XUOEOd7EBnp3OH+2kF3aElnlEq7gqZ/ UM2UQb5u2cLc9j2uGUuCTDXEc73VEDOCKWfS0GeTXkZRtG/hnHtSGAi3TJGDIO+B6IGj dsT9wY5K0PFJfiCxmLW5li64wI4pBSTQl8zA+Nw9vr+s9Q3AERBpdUOP4qlDIzweRx4L IxKw== X-Gm-Message-State: ACrzQf0nNdOkoWX7ZGCFFYn+vpGItjYvsA0r74vGm9AIha/D4/DWK9mg QQlvuv4Abjs41K5BSqBF/5mrBw== X-Google-Smtp-Source: AMsMyM67VZ0WJ3RN5ugj6bxvczGWcyd3Y5f+eSmd/H6tvsZh5X0mMnilJ4xbH6DvWuUFAROfWvdqCw== 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 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 --- ...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: