From patchwork Mon Oct 17 22:59:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 3819 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp1682254wrs; Mon, 17 Oct 2022 16:07:46 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4HHnzb8ON7GZZ18ryQVZs9grAATYdhhwAfNondy5iNz02KGSGT2W/Mc7TaOQpsQQYO3TCo X-Received: by 2002:a17:906:c08c:b0:78d:b8ce:c28f with SMTP id f12-20020a170906c08c00b0078db8cec28fmr31993ejz.437.1666048065843; Mon, 17 Oct 2022 16:07:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666048065; cv=none; d=google.com; s=arc-20160816; b=cVIUE0Lk7j0Zag6gHLJAHcBNNQjeeUUDRAca4iwKXX2DiG7KQ/GZpglAHDuzHIoZKL KH5P+nG+Y0nMVweazy/gU+QV2zgsIdLselocMIb/YOl0OUJZFJEOsf0k8gxLgQM2Cmu8 ZHoU5JlrB8pGeGKXEyHEtsbHvv+MeYWKr2iKtSMO2G3fhK61TXUKQqLsASrTaCuoHNx6 c4Rlv64rSZM96mYLWWuQb27KAIDntYxIHNq21Hyu8g7wNUf1bJPYw4L08Jir2R9QfcmZ MMaqPV6hA0eoUGO8B4fXuUMQfETfbJI8T2BRbCrhyEvIjv1sXbrPg1FvH5Uwc/iGvSLE lXyQ== 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=qZqgsGmvSE1+fOZ/tmTIcifOBksip+9lbghJPY68QP4=; b=ofao1AljjHa39GsogEx6FpacKlfkD7eiPDmnyqbnWErPeCZuDZh5QFDTuwvS3olpxW XXtcs5CEGGww5NocLf790i4p9hiqJ2SgG5D4pqxZrhCnC2JRZo/fILgr21eqXGtbbXUw N00RGGLdXCWgFpIcGht3F1iNSKUqJGs+uDCQ2Wp8hhEHTqWdPytyen5uTY7jGee/EJWf lDCRhlKlZbk3mxCXC8DLV1G85Owar9OpgohIMakpV+FLllVQc92K9QCKFjr4fWi398tN LDG0NBGQz1yjYAhf7DAdFtk1bdbagNLzPke6Tn/kGuHj3IBdFejF+t73/0/+jecT2Cny zTbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Pwxtaxh1; 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 e5-20020a056402088500b004593bcff7e5si8563504edy.475.2022.10.17.16.07.19; Mon, 17 Oct 2022 16:07:45 -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=Pwxtaxh1; 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 S231342AbiJQXDm (ORCPT + 99 others); Mon, 17 Oct 2022 19:03:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231209AbiJQXCe (ORCPT ); Mon, 17 Oct 2022 19:02:34 -0400 Received: from mail-qt1-x836.google.com (mail-qt1-x836.google.com [IPv6:2607:f8b0:4864:20::836]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 564C582D2C for ; Mon, 17 Oct 2022 16:01:52 -0700 (PDT) Received: by mail-qt1-x836.google.com with SMTP id l28so8719477qtv.4 for ; Mon, 17 Oct 2022 16:01: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=qZqgsGmvSE1+fOZ/tmTIcifOBksip+9lbghJPY68QP4=; b=Pwxtaxh15Y7PYJmsoD0c90IuimCOUBYPRmLM3N4aIGliN1UKbiDIKQ45TyvFdqCg4Z 02gF8CTDDX2dTfbq/+PTy8sVP6NF1D0RHJU5Ct2eAjqZ+BrJsVjeTZZCOH1AqnJJHdly +63GdABmovYWtjixqKSGBWBUNlmc1Cb1ePtgMeqn7SRhucXzRb91GTxwPbGuEIshdHm8 wlJjxboVEeyLHYXINJXXkVQuZ6uBrcIgsg6Br088tD1kyjReD4vPPPWkewH/Nu26QGNj P7Toih0fHk/bqxmubWwUN/2cd/6i3Nt7mqQFbBRIhMhSuB284q0hH8bgHDX+Zb8Ld2Xi e/8Q== 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=qZqgsGmvSE1+fOZ/tmTIcifOBksip+9lbghJPY68QP4=; b=7ZT1QwuS51FYSrf1QeWbpI8zw5WOj5VhdP4TY0Ct7PSfAoqA7VPon74QmCNN8Gkrpj KR9Tej63uI2xWqFRS/X24nWa/wgCvidUlrQ+SlN9BRDjIGYOKRsek/TUIyxo65Lsx9XC rPt/LQrio266vyXCTL1clP82JlJuut89KvNYkwGTFaio7OYDw71J6S27s3Cx+/gTJSq6 ZhAVLcnxDpR8ky/PD4zjoxNbKGuHwlNmppQPX1+NyX8XS4RXEqx2SGrFzcORbQ8+r4gp EaBHcaOlwTYzDDwBO2U8cSbuFlNCAsJx+l88nolIpkbjoacaNXzSyYUCHT2EOxAS5h3S XihA== X-Gm-Message-State: ACrzQf2CKGYYxUr3YUW+GCbEStiaXes+gMOe3yu7qlW9bHvDs3xEXNF+ 7YJdbMr0GBe6dQXxJbC9sSY+EvyW8k8AuQ== X-Received: by 2002:ac8:58c5:0:b0:39c:c710:f58c with SMTP id u5-20020ac858c5000000b0039cc710f58cmr10735280qta.295.1666047673179; Mon, 17 Oct 2022 16:01:13 -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.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Oct 2022 16:01:12 -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 20/33] dt-bindings: pinctrl: qcom,sc8180x-tlmm: minor style cleanups Date: Mon, 17 Oct 2022 18:59:59 -0400 Message-Id: <20221017230012.47878-21-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=unavailable 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?1746978016491101684?= X-GMAIL-MSGID: =?utf-8?q?1746978016491101684?= 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 --- ...180x-pinctrl.yaml => qcom,sc8180x-tlmm.yaml} | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) rename Documentation/devicetree/bindings/pinctrl/{qcom,sc8180x-pinctrl.yaml => qcom,sc8180x-tlmm.yaml} (94%) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sc8180x-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sc8180x-tlmm.yaml similarity index 94% rename from Documentation/devicetree/bindings/pinctrl/qcom,sc8180x-pinctrl.yaml rename to Documentation/devicetree/bindings/pinctrl/qcom,sc8180x-tlmm.yaml index 71ca4cfd567c..24191d5f64ac 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sc8180x-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sc8180x-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,sc8180x-pinctrl.yaml# +$id: http://devicetree.org/schemas/pinctrl/qcom,sc8180x-tlmm.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: Qualcomm Technologies, Inc. SC8180X TLMM block @@ -9,9 +9,8 @@ title: Qualcomm Technologies, Inc. SC8180X TLMM block maintainers: - Bjorn Andersson -description: | - This binding describes the Top Level Mode Multiplexer block found in the - SC8180X platform. +description: + Top Level Mode Multiplexer pin controller in Qualcomm SC8180X SoC. allOf: - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# @@ -25,9 +24,9 @@ properties: reg-names: items: - - const: "west" - - const: "east" - - const: "south" + - const: west + - const: east + - const: south interrupts: true interrupt-controller: true @@ -46,7 +45,7 @@ required: additionalProperties: false patternProperties: - '-state$': + "-state$": oneOf: - $ref: "#/$defs/qcom-sc8180x-tlmm-state" - patternProperties: @@ -54,7 +53,7 @@ patternProperties: $ref: "#/$defs/qcom-sc8180x-tlmm-state" additionalProperties: false -'$defs': +$defs: qcom-sc8180x-tlmm-state: type: object description: