From patchwork Tue Oct 11 17:23:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 614414 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 DD84CC4332F for ; Tue, 11 Oct 2022 17:29:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230318AbiJKR3a (ORCPT ); Tue, 11 Oct 2022 13:29:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230321AbiJKR2n (ORCPT ); Tue, 11 Oct 2022 13:28:43 -0400 Received: from mail-qv1-xf32.google.com (mail-qv1-xf32.google.com [IPv6:2607:f8b0:4864:20::f32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EBCAD74E3C for ; Tue, 11 Oct 2022 10:27:03 -0700 (PDT) Received: by mail-qv1-xf32.google.com with SMTP id i9so9409659qvo.0 for ; Tue, 11 Oct 2022 10:27:03 -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=BoKPLdIpY8TSLpZdcYtoGE+wwd6ojWybuYPiXVO8xDg=; b=z4l8VwDN6GVWUjS5UAU5ybnJjoyUx141Hpj5xNqaXtl+eUnsMrIGbLx5SGY5p2M09B yEEU7phd7dIInShBwMSArMQQ7YsF+xn8PuOuY+QXdLv4WB25JtuX64gyqN17T4srkV+0 BaPUuH4jor50tCD4QxPpM/Hq/upDp+ujxMUiuWHBXLGQFZgOAISiJ1OyZhHtsoAS4wWn oKeZxATX4lZukv7uvTAvoNuxlWf0AeHcolnl7IZaHV/fefvCQ4mIl5w+WgxBDXOsshrC +dN9evKDA7wgADHj2b6R5/TNLWBtMS7QlGWeN622wSUGvNBfMfrEGPN9IXA9y1LJ3bGn y0KQ== 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=BoKPLdIpY8TSLpZdcYtoGE+wwd6ojWybuYPiXVO8xDg=; b=foMMWBHcA5KGk/5T3rWcYLdFgiBje2kCpC/muBJ0oTpboaABMFEwsrB0L0P66KnP/A 2HMu0Bk4b5hwAEzU9zHHpFETSOnPifC04fMPm9a/tG70Gp+5PCKrud+kNI9qF1OyazV5 DjZfMbBsW2l46m36dJ9WjUaV/zCQa7w7FRuExu4Ja4ZqAsqmjd9VNn4i5MNb9YYmVqzG d8R3NESZOWmtN5j03fJ6xNXiWmdoNT8SOXLrbCA+9Sfaku227cnZuksyvrhxIk3IobRI LhwIf1CAOP97Eb7+mZMucIw/BSqXABdkPIqAJZpFT5XLj4aoqndvluO9nJ4z2teuxSFu PvCw== X-Gm-Message-State: ACrzQf2o/6qc99Gi64hEdQ0XgA8OW5cRmq/3ju0gnDLRACVAG5T2gJYX sbAr9mGYHSS6XTZeWp3gxa9mjg== X-Google-Smtp-Source: AMsMyM7df1sxA1e4YvknVWDxLeK1jeAO/2yX3vqTDRyWOrDlxPzj16tlsHKu69fqjkdAn2czwDwRmw== X-Received: by 2002:a05:6214:ca8:b0:4b1:85c1:4de6 with SMTP id s8-20020a0562140ca800b004b185c14de6mr20102519qvs.13.1665509203580; Tue, 11 Oct 2022 10:26:43 -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.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Oct 2022 10:26:43 -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 24/34] dt-bindings: pinctrl: qcom, sm6125-tlmm: minor style cleanups Date: Tue, 11 Oct 2022 13:23:48 -0400 Message-Id: <20221011172358.69043-25-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: linux-gpio@vger.kernel.org Drop "binding" from description (and align it with other Qualcomm pinctrl bindings), drop redundant minItems, 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 --- ...125-pinctrl.yaml => qcom,sm6125-tlmm.yaml} | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) rename Documentation/devicetree/bindings/pinctrl/{qcom,sm6125-pinctrl.yaml => qcom,sm6125-tlmm.yaml} (93%) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm6125-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm6125-tlmm.yaml similarity index 93% rename from Documentation/devicetree/bindings/pinctrl/qcom,sm6125-pinctrl.yaml rename to Documentation/devicetree/bindings/pinctrl/qcom,sm6125-tlmm.yaml index 50f721d5f843..e1dd54a160d5 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm6125-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm6125-tlmm.yaml @@ -1,16 +1,15 @@ # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) %YAML 1.2 --- -$id: http://devicetree.org/schemas/pinctrl/qcom,sm6125-pinctrl.yaml# +$id: http://devicetree.org/schemas/pinctrl/qcom,sm6125-tlmm.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: Qualcomm Technologies, Inc. SM6125 TLMM block maintainers: - Martin Botka -description: | - This binding describes the Top Level Mode Multiplexer (TLMM) block found - in the SM6125 platform. +description: + Top Level Mode Multiplexer pin controller in Qualcomm SM6125 SoC. allOf: - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# @@ -20,21 +19,20 @@ properties: const: qcom,sm6125-tlmm reg: - minItems: 3 maxItems: 3 reg-names: items: - - const: "west" - - const: "south" - - const: "east" + - const: west + - const: south + - const: east 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 @@ -46,7 +44,7 @@ required: additionalProperties: false patternProperties: - '-state$': + "-state$": oneOf: - $ref: "#/$defs/qcom-sm6125-tlmm-state" - patternProperties: