From patchwork Mon Oct 17 22:59:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 616206 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 092E0C4332F for ; Mon, 17 Oct 2022 23:02:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231367AbiJQXCr (ORCPT ); Mon, 17 Oct 2022 19:02:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231260AbiJQXBx (ORCPT ); Mon, 17 Oct 2022 19:01:53 -0400 Received: from mail-qk1-x72f.google.com (mail-qk1-x72f.google.com [IPv6:2607:f8b0:4864:20::72f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10BCD8320B for ; Mon, 17 Oct 2022 16:01:28 -0700 (PDT) Received: by mail-qk1-x72f.google.com with SMTP id o22so7660745qkl.8 for ; Mon, 17 Oct 2022 16:01:28 -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=SElRBsMIDrAlNqcmW4cadqzu3Cc1xvGYmPCwPdgFpAVoXp5kWj16OsFZ6sCYhb4OTO V7pq37ItGodVAgwmeZvEnqUxodNVsxyLoNyyXMQFVP+8+/pPlFjN51Z+UQqp4KdJYFKJ MgRTcBE+vXQyIxnATlJFGf5Pj0kZW6T0EeFRnRJyHrN2jWN5oLZQLGtAWBt+6sj4PkVZ KtEfj8ibc4zZUlhCf6yiiS/wvZl2i5BvYDAARyMdR+Uzoc4S+fk95rstcyZsRlgir7V/ NDwfkt3d49flh15lsLZbLoXbdIdXPXypT5lR53ke6udUFnMB2ujlIyBDKciB0JZ89sDN sqYQ== 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=MHwEnwYHPrLiy0XmH0sqjlM5qt9pDkm79nCT8o/BYMm6KiAZxWshv4rQnuddJpk19k MhGblxoaPOMxA4FfYQAtpNSrtauxoDD9/Zww0acn5+gjnjYir3TypVO7Oq0S0shD6LUe ZdiY98A99v68o2aucEAT16rM+aBDbNyCBNb0KB/IzbpLy8I90FZdsrKinZSaoIDIgWX2 J/Rbh8cbd8UvhJQ6u1aKC6TKNmHH6xrl3y7NL8uuQZGAL3xL57VesfzP5vxHiG8DoSOK S7o2cF7dryL0SHmvBuQXoTmQ438+EwlBB70LkeIuktVltP0aLItYPqS0qK7ZzCLOfn+q 6Wow== X-Gm-Message-State: ACrzQf1L898LS0OH3zazr7F9z8sYf2ESxN3rd34V/RivtJl+nQ6Yn9MH KYVURM2BGX7KQd111nUUY4Fsog== X-Google-Smtp-Source: AMsMyM6Ta2BKaTj1ZsdFdvWUIX3Ma3rx0gCJ9FfzTYrhjHRPPv4IayEpE3wIOJqYvoBMVd8g08sqyg== X-Received: by 2002:a05:620a:2293:b0:6ee:94a6:5cd4 with SMTP id o19-20020a05620a229300b006ee94a65cd4mr9042142qkh.537.1666047666476; Mon, 17 Oct 2022 16:01:06 -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.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Oct 2022 16:01:05 -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 16/33] dt-bindings: pinctrl: qcom, mdm9607-tlmm: minor style cleanups Date: Mon, 17 Oct 2022 18:59:55 -0400 Message-Id: <20221017230012.47878-17-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: 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: 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: