From patchwork Thu Feb 2 10:44:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 649749 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 E4B54C636D6 for ; Thu, 2 Feb 2023 10:47:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232817AbjBBKrL (ORCPT ); Thu, 2 Feb 2023 05:47:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232799AbjBBKqt (ORCPT ); Thu, 2 Feb 2023 05:46:49 -0500 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7FAF96A30B for ; Thu, 2 Feb 2023 02:46:18 -0800 (PST) Received: by mail-wm1-x32c.google.com with SMTP id hn2-20020a05600ca38200b003dc5cb96d46so3378189wmb.4 for ; Thu, 02 Feb 2023 02:46:17 -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=0BFZdJAFzmaSb6924byqc+JrhUYMm2STueF/gtihQYY=; b=XOM3Sq7QT7VmJDGPc10KBQWq2W8MLane6C430TttEecD1rpuEa3sGwGoz+fsNPVcu+ K06p7l8qkSt9E+7LH7A1W+lyg68m9+Nbeafoe10TFQRRIciYtV29HpTATjUvHrz21E8N U3ZgRPco1DgZgKk/yVQ5KB0DvQxbQZAuDK+Mx8rfa0y90ONJfyG7I6c2CmaClZ3D6kk1 WHtoOPCjjXuBQfrRh/i6oKFO7sAt2LwEZLBJL0eKPgTrEOCkt1ELh1LT0KRJtZY4xw6l BrNa0lJxpwDz89vS3z6xlIAXQjPb8PP+KQFAkG1YwjS5/tJDIebCVwGniCdUJBFC70RH F1Cw== 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=0BFZdJAFzmaSb6924byqc+JrhUYMm2STueF/gtihQYY=; b=xHL5ArQJ7NM60lBNyKNchOhx/zbkk2f9NThMrRu/TmXcGvf4LNMrf3UpoNXO9lCQYM ysfS6WlE/7dceW/uGlTA4rsnGpDQXhpvXoIPZg3z7MzZ8CkgSyadm8qg+j5REcQWTzU9 tAtD25sOSDv8arKPtw2OItLoiuHZUWeGVrUizciCYIuNKu7p7vEfuHoNNpkVOTr19gTB lYSI6jFwAF2uQFfonllLGRqi+p26+DyTkVZPpZ9LwOXlNrEB/v2OnSvGpixfueuKUpZ3 Amh3lyPCMZuqn1it1DHO5XemCVE3+G49bkLI/XkxxYuBOXWkirhF6IWxFoPgGBB8l1P9 ozZA== X-Gm-Message-State: AO0yUKUW8DZLDekZjtyI5PD6EgmtOedAZ91RGAjBXv5bluyafPCRFiYh 932STEDkgWP8lWdHA6FUc5Ar8w== X-Google-Smtp-Source: AK7set/AdblJMf2ZtH0Ld7YuiDfy6yhEsVB0acGbMslczzMEaSKiGlL4qkmWvfbkU20IJplzeuoubA== X-Received: by 2002:a05:600c:5404:b0:3dc:4355:25f6 with SMTP id he4-20020a05600c540400b003dc435525f6mr1468122wmb.26.1675334753990; Thu, 02 Feb 2023 02:45:53 -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.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Feb 2023 02:45:53 -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 02/10] dt-bindings: pinctrl: qcom,msm8909: correct GPIO name pattern and example Date: Thu, 2 Feb 2023 11:44:44 +0100 Message-Id: <20230202104452.299048-3-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: linux-arm-msm@vger.kernel.org The MSM8909 TLMM pin controller has GPIOs 0-112, so narrow the pattern and gpio-ranges in the example. Fixes: c249ec7ba1b1 ("dt-bindings: pinctrl: Add DT schema for qcom,msm8909-tlmm") Signed-off-by: Krzysztof Kozlowski Reviewed-by: Stephan Gerhold --- .../devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml index 449e6e34be61..85082adc1811 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml @@ -63,7 +63,7 @@ $defs: subnode. items: oneOf: - - pattern: "^gpio([0-9]|[1-9][0-9]|10[0-9]|11[0-7])$" + - pattern: "^gpio([0-9]|[1-9][0-9]|10[0-9]|11[0-2])$" - enum: [ sdc1_clk, sdc1_cmd, sdc1_data, sdc2_clk, sdc2_cmd, sdc2_data, qdsd_clk, qdsd_cmd, qdsd_data0, qdsd_data1, qdsd_data2, qdsd_data3 ] @@ -127,7 +127,7 @@ examples: interrupts = ; gpio-controller; #gpio-cells = <2>; - gpio-ranges = <&tlmm 0 0 117>; + gpio-ranges = <&tlmm 0 0 113>; interrupt-controller; #interrupt-cells = <2>;