From patchwork Mon Oct 17 23:00:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 3807 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp1681026wrs; Mon, 17 Oct 2022 16:04:34 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4OYrj+SO9NJcPtVUTnt+/fM7P18WFHUHoj75Ho5cOaSXg10DQRwSQV2PrVGOzdnc7v360O X-Received: by 2002:a17:907:2ced:b0:78d:ece6:7cad with SMTP id hz13-20020a1709072ced00b0078dece67cadmr60444ejc.136.1666047874665; Mon, 17 Oct 2022 16:04:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666047874; cv=none; d=google.com; s=arc-20160816; b=l2C+HVbHhl9AldS9DcWhSxwJwLYsCJp7ob9/g4mowuIa9bwqC1gHjn8tNwhuCJt8W1 Yn9++I0sUZ/Jq/Uyp+kxumD3ifqmPXnD5I9AsGzI5CA+jcFXFhYQFkbTjR7qF3/f6sA9 wdQ9aJXmynytPP2ejLm7mbJvKBmPOE0OWlvCVwgU5Aw7ZLennEWPNefeV6lwUh/nSK8M DAq0pQ1siBdvZ5xPlXwHtqmaM+yFrxJ5EatPrTW4+XLUo/ozzYvuZ35kyvpf6q4waqQW TBoioXxsl+FVEVbk0X1lCb1+aoHyv0QM68fyNr7TGTYraaUWLAwxXFNclzjcbW0DZfqk jSWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=CiYopYJx4FFnWBL4nPbArasO7f6m/tH0C3clqIKSJU4=; b=Kvb2jp52dc1i+WvNHV3R+c47ZDwL8eor0e53JvDEyuPEZCaeewM6TMW4DyUYCvckO0 2SPgu2jtyeylKpJIkkga6bv4DxGZIfjyGihNgcO/4bd0EN94KFrYfsmKK2/OUVF9wM9B 6DF/FUyShm8xqE5QhEkuV0+CqwGjkEJPBPfuViCeJC7J3QPeosyRhVTAbqXS78LGNIYS KwGuGXajhk6ZH7AJd4DeNt2UjNxm/ngMTYJSMAi8otVzC4EzcVyAHmyrnEDKp/6aR7lN uIbIjM7FeR13t8gh6ocwzjGK/O+K37XrxCo/J8HKUOrSE8DGSXMjkwrFSSW2Bx9M6U7Z ozIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=k2ZVzpRp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g10-20020a1709065d0a00b0078277d265bcsi9587235ejt.204.2022.10.17.16.04.09; Mon, 17 Oct 2022 16:04:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=k2ZVzpRp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231267AbiJQXCu (ORCPT + 99 others); Mon, 17 Oct 2022 19:02:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231222AbiJQXBl (ORCPT ); Mon, 17 Oct 2022 19:01:41 -0400 Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FE9F7FFBC for ; Mon, 17 Oct 2022 16:01:27 -0700 (PDT) Received: by mail-qt1-x830.google.com with SMTP id c23so8720028qtw.8 for ; Mon, 17 Oct 2022 16:01:27 -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=CiYopYJx4FFnWBL4nPbArasO7f6m/tH0C3clqIKSJU4=; b=k2ZVzpRp4ho7iEgksiDQSEQuVqjRQHuEz4OC/JXTzGH5lJsFXZK+u/uRShcU/9rOsp mEm2XLYU95SKhV5N+9rGEOPKBNNakjz9ouUa+3k+DTN/ldw/DnxYmsCPtBKmyEM54MPV /IKui3pEUe6f7rGp6L2A6IKhDNuMFNIxdwfckkzGA1Tlv8LBGWbEO9xQXcwENUc09VVN yhCY2/ZRskTHX+Vsr9ohupiWcy7fK2rHBszKTISzowC6o02I088s/hJ7JmEOpRZ/lQHx d+Y19SdqDWvhzPXyYlfkAPuuItNK4SBTRKDFMNoOMH2hg7qqh1wyiifWnjFkHKlEZhPv QsLQ== 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=CiYopYJx4FFnWBL4nPbArasO7f6m/tH0C3clqIKSJU4=; b=eey7p1Q8w1nMTKKyAk53BqVQHAVEha/etzQu+P2yYXmNTRkZeYJRFsjlG11tM23yun +uBhue0GTBjZ/Jh4Dqe4E3qvn7d6tNTYWb8JMVdYGpGoQpUcFH0OyWtGUj860CZhCOvz 2qmNVzgjIZ6aZhOj62N1ER1MsNII0yMtAZ5YY8wver6eolfhP3JsuMjDoXOm4hkoYdEG 5kszyy/jAaM8UhG2Pf9Cy+cwc2ad9mKqTlbpG0dNbZc3ec8xbEXBIzGnIdpQ2a0CfQDn LghB22kbigptJI6oE0iBKHKeGwfJuwHrzDgUGcdTKrrtvl9tdBzA7s/+VLKNskwVVmid Q+Cw== X-Gm-Message-State: ACrzQf1RfniLooJZ8kb8dS5kzJms4tsyIMoaL5Al9PwPVfESvqvLEX3I eGqLSl/YT1hfn28LMgw4MN+zjA== X-Received: by 2002:a05:622a:492:b0:35d:518d:2b58 with SMTP id p18-20020a05622a049200b0035d518d2b58mr278qtx.78.1666047687165; Mon, 17 Oct 2022 16:01:27 -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.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Oct 2022 16:01:26 -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 27/33] dt-bindings: pinctrl: qcom,sm8350-tlmm: minor style cleanups Date: Mon, 17 Oct 2022 19:00:06 -0400 Message-Id: <20221017230012.47878-28-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 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746977816269896142?= X-GMAIL-MSGID: =?utf-8?q?1746977816269896142?= 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 --- ...om,sm8350-pinctrl.yaml => qcom,sm8350-tlmm.yaml} | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) rename Documentation/devicetree/bindings/pinctrl/{qcom,sm8350-pinctrl.yaml => qcom,sm8350-tlmm.yaml} (94%) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm8350-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm8350-tlmm.yaml similarity index 94% rename from Documentation/devicetree/bindings/pinctrl/qcom,sm8350-pinctrl.yaml rename to Documentation/devicetree/bindings/pinctrl/qcom,sm8350-tlmm.yaml index cae726b5fc79..0b1e4aa5819e 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm8350-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm8350-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,sm8350-pinctrl.yaml# +$id: http://devicetree.org/schemas/pinctrl/qcom,sm8350-tlmm.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: Qualcomm Technologies, Inc. SM8350 TLMM block @@ -9,9 +9,8 @@ title: Qualcomm Technologies, Inc. SM8350 TLMM block maintainers: - Vinod Koul -description: | - This binding describes the Top Level Mode Multiplexer (TLMM) block found - in the SM8350 platform. +description: + Top Level Mode Multiplexer pin controller in Qualcomm SM8350 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,7 +38,7 @@ required: additionalProperties: false patternProperties: - '-state$': + "-state$": oneOf: - $ref: "#/$defs/qcom-sm8350-tlmm-state" - patternProperties: