From patchwork Thu Feb 2 10:44:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 649846 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 F3F8CC6379F for ; Thu, 2 Feb 2023 10:47:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232797AbjBBKrL (ORCPT ); Thu, 2 Feb 2023 05:47:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232815AbjBBKqu (ORCPT ); Thu, 2 Feb 2023 05:46:50 -0500 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E9727305C for ; Thu, 2 Feb 2023 02:46:20 -0800 (PST) Received: by mail-wm1-x330.google.com with SMTP id f47-20020a05600c492f00b003dc584a7b7eso3385428wmp.3 for ; Thu, 02 Feb 2023 02:46:19 -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=6HxV2uwUvV4T8rg3EOmyIyCvm/QTHJazOaEqc2uAkmI=; b=pyX2BIhaxMOoz6BDIWy7BkwLoXi05spwGsEhsMGjbf5mpDURxexGshfv8QMEvShMPF JzoyjliJatzYXEjnmhPquVhdbq0U26XYjGQrUCBjb20VkfD/Jw03jLPOlYIkLxQfIpOg Ko1OeKUFmL5yj3EgDvWdzbIBaL1EZvcAmman1f2dZ+YpYP1kPNGD1NWty1MJv8KFuDCd a5hNB3D2HOgGwoR4UGx6wUASKHnANkEfFKWaYDK1XVTU3E+QVo7PRcVjTnv/5AMeaIdZ aLwrLeyX9sHta48pYOYkXs0kKseu5YSjccb/OOmuX9J4GntLAUx3SvJV4USP6oYTN7Yo ykOw== 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=6HxV2uwUvV4T8rg3EOmyIyCvm/QTHJazOaEqc2uAkmI=; b=iOzxGhaS0I8evqx3WvBy3Abm+aZKXhRplCy/TPu8whqGDRxh/SfF8uSSJehmSlnZBS bUiIWGw+oNHNAuFvs25FhOtnWVxjHn5dkfsm3oPl00EYc3M7yzj8SCGHgDFhrxnFkeTz JcMOAKzWUhKkmw+QPpfMUvxRR5IvnlVCIr8JcP9rNfxgXad6/b8zOgusjCahliXp3Izj +ycrsa+O1wQMggBnnoY0cMtX8N5+OX21n5AwrfkNFESLUOzAb9dDdcRFqd88CTIjwIxw 8dU+/f98/dJE1PAFAipf1HC/3eERvl85PifJLRmnqkLcPJO+MDjk/a9YsXXlnGSOYCLu DHbQ== X-Gm-Message-State: AO0yUKVfwUH4kLrmHa/rmEpvh3SZ9ZzZYjorXRQT2v2yrLorp65bNE8F 67M3/9Cq05lqIfZ5UUYbgOatrQ== X-Google-Smtp-Source: AK7set8CzddN/j5shOjSU2n+Ys6BHcfjZ2EUvqg7YJmAcNX0x2rg4UaaV4E8N4ynHMYJ0Ws+oB9l1g== X-Received: by 2002:a05:600c:b88:b0:3dd:1ac2:989 with SMTP id fl8-20020a05600c0b8800b003dd1ac20989mr1425940wmb.39.1675334755934; Thu, 02 Feb 2023 02:45:55 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id n24-20020a05600c181800b003dc3f195abesm4307329wmp.39.2023.02.02.02.45.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Feb 2023 02:45:55 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Stephan Gerhold , Vinod Koul , Vladimir Lypak , Luca Weiss , Iskren Chernev , 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 03/10] dt-bindings: pinctrl: qcom, sm6375: correct GPIO name pattern and example Date: Thu, 2 Feb 2023 11:44:45 +0100 Message-Id: <20230202104452.299048-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230202104452.299048-1-krzysztof.kozlowski@linaro.org> References: <20230202104452.299048-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The SM6375 TLMM pin controller has GPIOs 0-155, so narrow the pattern and gpio-ranges in the example. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/pinctrl/qcom,sm6375-tlmm.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm6375-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm6375-tlmm.yaml index e4231d10d76f..66cef48ed59b 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm6375-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm6375-tlmm.yaml @@ -63,7 +63,7 @@ $defs: subnode. items: oneOf: - - pattern: "^gpio([0-9]|[1-9][0-9]|1[0-4][0-9]|15[0-6])$" + - pattern: "^gpio([0-9]|[1-9][0-9]|1[0-4][0-9]|15[0-5])$" - enum: [ ufs_reset, sdc1_clk, sdc1_cmd, sdc1_data, sdc2_clk, sdc2_cmd, sdc2_data ] minItems: 1 @@ -134,7 +134,7 @@ examples: #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; - gpio-ranges = <&tlmm 0 0 157>; + gpio-ranges = <&tlmm 0 0 157>; /* GPIOs + ufs_reset */ gpio-wo-subnode-state { pins = "gpio1";