From patchwork Fri Dec 30 13:56:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 1720435 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=linux-gpio-owner@vger.kernel.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=mDulusA+; dkim-atps=neutral Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4Nk6JV3vtTz23fD for ; Sat, 31 Dec 2022 00:57:14 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235150AbiL3N5L (ORCPT ); Fri, 30 Dec 2022 08:57:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235157AbiL3N5A (ORCPT ); Fri, 30 Dec 2022 08:57:00 -0500 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36FF01B9DF for ; Fri, 30 Dec 2022 05:56:54 -0800 (PST) Received: by mail-lf1-x12b.google.com with SMTP id j17so22336188lfr.3 for ; Fri, 30 Dec 2022 05:56:54 -0800 (PST) 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=HgHeaqGJtsrsZ+FkQskPR4BdMj+blbVrqMuxi9hy0OY=; b=mDulusA+Qv3wl9EPdFQ04AO9iNkc7KUHFbidFwQDlV59bX8L1a9Y23I5iV9WPt1LpY O7GmZuGrewdZpaCVgzgK2E8fvNcBX6/F4yjt08TRkw2/s1iG9MU2/gzuPuAVJ8Rvn4nP 4Kw9mIbNFXggexbKROaTeg1QYmSCZRb6lLI5wSBWjaTMsFjJALv+xnrUejsbYqrAuY0G l5guViQA3iQiH3xfJNqQYGdh5cq5Vles5lm3jqWx8WTq0bCIXCV9fCr+SFWeeQuu3fqJ ggd4K7xP77rjTmCHc5NWOHnSrLzkXnGj37Xiz0R85GTs/3gSfIFiViQgnBY4CQ5LXq3E 5vXg== 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=HgHeaqGJtsrsZ+FkQskPR4BdMj+blbVrqMuxi9hy0OY=; b=Vvz8FSm2RW2ExmGbzoGzZv0ofKo8wFT/lUoA06T6J35a1Eu+s+HRiE1w74MAcJHoj9 lcvqcqAEw7GamKafNHWhTyzUfyl9OSDNkRwi0ufkxkixMEpAMeKonpQf5vDYMGCIT8U6 hNbndpH1f2PQnJEEfJxTKSeHBEsrJde5T0rvWeYaJ6rDZZ10j9GPrxV0CzVRCb9nbp3J g2O/yCq0VQQdNLKwEsOWV5AJoCzlvjtzjOclOqrf18kDWZEgrRBOe1OZtcVxeF7ENUSv ZoaA4NEL4CQKpVTQ+5rTv3k4EHqb5ky2iKeYLNco5GAMBC9gQoCQXJuDP5TfbbV1SL+B iHPg== X-Gm-Message-State: AFqh2kqtpsqY4546ph9hGZghp+bpo9N65p9W4k/bzDy3zTkmwkmraDah 4/RMXBwN0hduj/Nwr5RmsbmZog== X-Google-Smtp-Source: AMrXdXspSSfrPHNeHg9cm9HeLa92E88/a1Tzl2gASeMpw6YRI/gOAzoBWHbUdKG3R2XJC/o6CaBoXQ== X-Received: by 2002:a05:6512:348e:b0:4b5:8987:1db8 with SMTP id v14-20020a056512348e00b004b589871db8mr8064564lfr.59.1672408612491; Fri, 30 Dec 2022 05:56:52 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id d9-20020a056512368900b004a26ba3458fsm3454787lfs.62.2022.12.30.05.56.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Dec 2022 05:56:51 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Stephan Gerhold , Shawn Guo , Srinivas Kandagatla , Richard Acayan , 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 Subject: [PATCH 4/9] dt-bindings: pinctrl: qcom,sm8350-tlmm: add gpio-line-names Date: Fri, 30 Dec 2022 14:56:40 +0100 Message-Id: <20221230135645.56401-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221230135645.56401-1-krzysztof.kozlowski@linaro.org> References: <20221230135645.56401-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,TVD_SPACE_RATIO 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-gpio@vger.kernel.org Allow gpio-line-names property (quite commonly used) and constrain gpio-reserved-ranges: sm8350-sony-xperia-sagami-pdx215.dtb: pinctrl@f100000: 'gpio-line-names' does not match any of the regexes: '-state$', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../devicetree/bindings/pinctrl/qcom,sm8350-tlmm.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm8350-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm8350-tlmm.yaml index 0b1e4aa5819e..7795cae01e26 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm8350-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm8350-tlmm.yaml @@ -26,7 +26,14 @@ properties: interrupt-controller: true "#interrupt-cells": true gpio-controller: true - gpio-reserved-ranges: true + + gpio-reserved-ranges: + minItems: 1 + maxItems: 102 + + gpio-line-names: + maxItems: 203 + "#gpio-cells": true gpio-ranges: true wakeup-parent: true