From patchwork Mon Sep 26 07:44:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 609419 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 ADFD1C07E9D for ; Mon, 26 Sep 2022 07:48:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233582AbiIZHsZ (ORCPT ); Mon, 26 Sep 2022 03:48:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234330AbiIZHr0 (ORCPT ); Mon, 26 Sep 2022 03:47:26 -0400 Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D133036DFF for ; Mon, 26 Sep 2022 00:45:19 -0700 (PDT) Received: by mail-lj1-x232.google.com with SMTP id a10so6517655ljq.0 for ; Mon, 26 Sep 2022 00:45:19 -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; bh=tiszVZ3U+sZrmN+IVbNNI+6tb1bLHF50MwuU9g23DF8=; b=xyIVUuKOVU2ZpHNkNgyounLujMhGA91TAod9uhTeZ4mvlZzIgujT9n0QkR58NOE/UY klDlYRC5qPsT+uqeSjXOhjyftoh1GSURXzwTJCuAUcmy5ormLr5/88p+h5Z9fTpo+Tfi 4UBUzmU9a8EbUxejQZGcUu5SoG2LjseJMjUEauBWBUIX15Zdd3AJ9/FJ57q/DQSA8T9o 0wsLqcICA5Dh7Ke4d5RnQk7py8p7NjcieTbgkQgDRpuXyn+FRVtVAZWCbxEr3Qq2hNPF uh4wPUwoegvdniSCGH89q371BzaN9Mk0WHGQeZyWG4y6EcnJXrpNlqstSU0fv5DFM7E/ ihjg== 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; bh=tiszVZ3U+sZrmN+IVbNNI+6tb1bLHF50MwuU9g23DF8=; b=ALEjJ5lmDOs3gkEwhroNZEeJ6k80q00BAvREUusI/nk8z4Jxt2Xr4yi4PYZj2o6mJV 6KNUJRmbidgdonUgdrq+YtV6843kwNOq+KkdNZkj0xsy3zYXhAzRWIfSZBppc8/fLXU3 68sdqfmcEbbqtVoLhXvY0Z02KCr1dLlbhMacUqR1j3bm0yMkNTeX5s5mLW6Lb7icYql9 ieellGlJO2Pka9awrhJRDdiJkJw174jl13ES1FdpHJzjqFZ2PJ6lDCuxpxEt8hE6XbN4 l8N53O1JLk0tLGgYE4FMk2gnH//Gz5eG/nCw2Jsdm/C0DfRd6d7zYeWuKcoXXhXCInKv mgkQ== X-Gm-Message-State: ACrzQf18avRMlvFg7aqJWVVoaEjSW+eqaxXcMh7OnUpItYmfqUV4WjGw iryIpg1A6Gvwisk+3SxFJC4vkQ== X-Google-Smtp-Source: AMsMyM5R6qhIiL0bGczSL52FiNyrrh35Rq6RB8M0PjiOc/WRWqbtNRt/J9omJ+XS8QB3cqM+4lm2GQ== X-Received: by 2002:a2e:3206:0:b0:26c:814e:a7d5 with SMTP id y6-20020a2e3206000000b0026c814ea7d5mr3976802ljy.522.1664178319273; Mon, 26 Sep 2022 00:45:19 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id g6-20020a19e046000000b004978e51b691sm2453298lfj.266.2022.09.26.00.45.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Sep 2022 00:45:18 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH v2 28/33] dt-bindings: pinctrl: qcom,sdx55: use common TLMM schema Date: Mon, 26 Sep 2022 09:44:10 +0200 Message-Id: <20220926074415.53100-29-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220926074415.53100-1-krzysztof.kozlowski@linaro.org> References: <20220926074415.53100-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Reference common Qualcomm TLMM pin controller schema, to bring other regular schemas and additional checks, like function required only for GPIOs. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml index fff57abf4fbc..52b7a557f452 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml @@ -60,7 +60,7 @@ $defs: description: Pinctrl node's client devices use subnodes for desired pin configuration. Client device subnodes use below standard properties. - $ref: "/schemas/pinctrl/pincfg-node.yaml" + $ref: "qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state" properties: pins: @@ -122,12 +122,11 @@ $defs: required: - pins - - function additionalProperties: false allOf: - - $ref: "pinctrl.yaml#" + - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# required: - compatible