From patchwork Fri Feb 3 16:48:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 650231 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 A82B5C05027 for ; Fri, 3 Feb 2023 16:49:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233343AbjBCQtC (ORCPT ); Fri, 3 Feb 2023 11:49:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233272AbjBCQtC (ORCPT ); Fri, 3 Feb 2023 11:49:02 -0500 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 015271A97E for ; Fri, 3 Feb 2023 08:49:00 -0800 (PST) Received: by mail-wm1-x32a.google.com with SMTP id l21-20020a05600c1d1500b003dfe462b7e4so1859864wms.0 for ; Fri, 03 Feb 2023 08:49:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=e7fygOdZsaKNxAZfY0Nswu9GQwo+E0g2Om6LbR6cFEI=; b=UakTA1yo55uI6IxCEGC8dvi2NMX0aJaywq3sGxRp3vZjASo6VacmEoo29lmw1jA9oZ vpQpFyaVtLnSM3RzAmqzK2BSjIr0z4OLj3Roan959PrConZ0u3MfzSQldi5Y4B5fGJcb XDGd1QdaKQL+Y9ohtNa8euoR8Tkjy3hJ+KFZ1CvzT5aGP/AF/VRsRc0uGZALIjooSidr NJUxFMTfUAY4lI90FKEpRKnIHkRYaOl+AJFRHAiTaUFocplZyeNZ7QCAYo2jZ9KRHzEw MRvl03QraFdET0Tdgdvg+1SfBFFxBRi4NAlViPrB3pDvVS0KLabnTep7jt790HbUi7uo J3xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=e7fygOdZsaKNxAZfY0Nswu9GQwo+E0g2Om6LbR6cFEI=; b=vTzIx1kCjjGYpMpMrS60MZdTpO1tVhcKeyCw1vN8JzwQJpKz7u+1hrPMCDdP2b9+aW +CmLaGVpHIaVlTGWlSCgxHOma6obz99RE1Xbd53VuwXuEWOfy9rdG6DYwyYmmKshBdAR yW4b+z8EV11EdUZqo2sGFuzFCokGxss/9km8WAYfcmiAlHBYZF/qmoMm3r3TkK68DyAJ grhIK/ED0tmprrpgtJK83MN3EQzyL4uMWH2nCsb2sLpim0UxaDGTVE2mZuj4ipFlvcUD 3r75QTgqI787wtEJU94s6NrNjiB2ULRyl6Nuhw9NY2CaDSfkHy2zt4ZAZ5Mv4muk9gxl qH0w== X-Gm-Message-State: AO0yUKX+ejc8rRaZ9eymJ0AGzA14Oif3TmPjV7G4+nfBwXNKTOfjt3Tc FipelHye+0kCA1dWmciS5X1UgA== X-Google-Smtp-Source: AK7set9TShnTLHbIW6/3pFDi/PX83KRo46a/xv9wdTY72kFHj9XQ+9+Bw6MA81M1FTrL+vS58KxoMQ== X-Received: by 2002:a05:600c:3b1e:b0:3dc:4d94:62de with SMTP id m30-20020a05600c3b1e00b003dc4d9462demr10240148wms.14.1675442939439; Fri, 03 Feb 2023 08:48:59 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id i21-20020a05600c355500b003dc4b4dea31sm3503247wmq.27.2023.02.03.08.48.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Feb 2023 08:48:59 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Srinivas Kandagatla , 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 1/5] dt-bindings: pinctrl: qcom, sc7280-lpass-lpi: correct GPIO name pattern Date: Fri, 3 Feb 2023 17:48:50 +0100 Message-Id: <20230203164854.390080-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The SC7280 LPASS pin controller has GPIOs 0-14, so narrow the pattern of possible GPIO names. Signed-off-by: Krzysztof Kozlowski Acked-by: Rob Herring Acked-by: Rob Herring Acked-by: Rob Herring --- .../bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml index f7ec8a4f664f..e51feb4c0700 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml @@ -59,7 +59,7 @@ $defs: subnode. items: oneOf: - - pattern: "^gpio([0-9]|[1-9][0-9])$" + - pattern: "^gpio([0-9]|1[0-4])$" minItems: 1 maxItems: 15 From patchwork Fri Feb 3 16:48:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 650230 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 8312AC61DA4 for ; Fri, 3 Feb 2023 16:49:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233378AbjBCQtI (ORCPT ); Fri, 3 Feb 2023 11:49:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233355AbjBCQtG (ORCPT ); Fri, 3 Feb 2023 11:49:06 -0500 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 526CB1A97E for ; Fri, 3 Feb 2023 08:49:04 -0800 (PST) Received: by mail-wm1-x331.google.com with SMTP id j32-20020a05600c1c2000b003dc4fd6e61dso6418815wms.5 for ; Fri, 03 Feb 2023 08:49:04 -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=TPGIQMGiuzh1lR8nv0hVybfRN6cS2OlCFSuMfHEv4Qk=; b=ndMR+Sp/SSPTCAPvgGub1M0Ublg+/b53apl8CDJirjidwZHB7qAZwko6bKqC6RyJB6 EVTPVI6JZQSL6pifqZJlZ+TQWMY7VhSxm/+6LV2FCSwK+KXgHKHnrnWHnW6kHe0O9129 5VD0XZVI8TKmVHArQyU5iqpw1GGZo22c2n4X7AtDIA61emhLdqw0pjiwR2rnInyGEe8C k+OBVsk1tVrk7uOKxtrYX6T3Co2KIdDXT3W1FXhJcQyzcFCxsrDkhJOTtj2EiU8yY3wQ qrUJimsVopf+n1HAEdc1LOG9VAq6CPmPyTyL5iD9wCov94ij4sDhDaJgywRBPTGZLxZw 6g1g== 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=TPGIQMGiuzh1lR8nv0hVybfRN6cS2OlCFSuMfHEv4Qk=; b=56AoPLTRrGuWVVqsApmNqDArOU3GjWEIju4B25DgK9nbnzvCPqZP0HlJK8NjYEIl4y HktMxjQdzytmFKZ3dYmDJN33eE/UvV28h+BKGbD2sqNZd7F+bOAIW7/fSYiQWZEvYA1U XdO/+VkNNYsCdyvsUyrmlskXesJRTJ9MeDGYJB5iwClVyYd0960MzWdp13pu5jR8xQQH em+23tH3P6wBV/KDEK43LatnUi4+eOOVGk4X0dRMo+8VBsZ2a3HVdw4ANka+FWeOUHlZ kV5crJmaaTGItTi46B1KTspa7+UBRVqK4r+RKMbKnz2mo07ySJUpnd5OM6VPtt7iCQIH Znpw== X-Gm-Message-State: AO0yUKV0Hl7w4ammPxj1IXR62WNJOtwqE9PJhaeVhI7HCCbNW4JWYh34 QQ0lnJHmU18gJ4j5rp1Vh/Ejbg== X-Google-Smtp-Source: AK7set8ZA4rOQL1llR9Lj0TcFZ7Ju5sXBox35xsoRQmWfSdKE+OG22fqJaaceJM66St5hyDJrqax0w== X-Received: by 2002:a05:600c:468e:b0:3db:1434:c51a with SMTP id p14-20020a05600c468e00b003db1434c51amr10555011wmo.40.1675442942792; Fri, 03 Feb 2023 08:49:02 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id i21-20020a05600c355500b003dc4b4dea31sm3503247wmq.27.2023.02.03.08.49.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Feb 2023 08:49:02 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Srinivas Kandagatla , 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 3/5] dt-bindings: pinctrl: qcom, sm8450-lpass-lpi: correct GPIO name pattern Date: Fri, 3 Feb 2023 17:48:52 +0100 Message-Id: <20230203164854.390080-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230203164854.390080-1-krzysztof.kozlowski@linaro.org> References: <20230203164854.390080-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The SM8450 LPASS pin controller has GPIOs 0-22, so narrow the pattern of possible GPIO names. Signed-off-by: Krzysztof Kozlowski Acked-by: Rob Herring --- .../bindings/pinctrl/qcom,sm8450-lpass-lpi-pinctrl.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm8450-lpass-lpi-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm8450-lpass-lpi-pinctrl.yaml index e04d094d1946..8bf51df0b231 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm8450-lpass-lpi-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm8450-lpass-lpi-pinctrl.yaml @@ -65,7 +65,7 @@ $defs: List of gpio pins affected by the properties specified in this subnode. items: - pattern: "^gpio([0-9]|[1-2][0-9])$" + pattern: "^gpio([0-9]|1[0-9]|2[0-2])$" function: enum: [ swr_tx_clk, swr_tx_data, swr_rx_clk, swr_rx_data, From patchwork Fri Feb 3 16:48:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 650229 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 2FD5EC636D4 for ; Fri, 3 Feb 2023 16:49:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233449AbjBCQtV (ORCPT ); Fri, 3 Feb 2023 11:49:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233437AbjBCQtK (ORCPT ); Fri, 3 Feb 2023 11:49:10 -0500 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D9E01F4B0 for ; Fri, 3 Feb 2023 08:49:06 -0800 (PST) Received: by mail-wm1-x331.google.com with SMTP id j32-20020a05600c1c2000b003dc4fd6e61dso6418917wms.5 for ; Fri, 03 Feb 2023 08:49:06 -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=sWkuOMDUDuOgvvtDY78kfL6B7zEVTcX+KXFC3I95akE=; b=Z5cavXfXZVOkUEqSofJL1fpNGiqYmg9ZsTvbAJy4MaoLWX9zNCFkSs0Aa4Qq5i1UGC jNKpupj+28EnIv530/Quq+7Jv+UY7J+aJarca2krR+qhJsPusEp2UzIzwC2uidgM2FDk Cl3rjSAjT+sNDuoZbz+cWZIJQVxlIRlvgS4nNzwk7oVFLBxFQ4qaF6L9+ktLTu9WV/tC 7WDZ1Hd3Zclh5IjiDXaA/EGBZQrqmX2AKxL6sBtwUbc8BhcleL6bxm+yry62NlK8DdLs A0babIip34DfAE/Bxd3Ni1pxlR6QLnZlJEE5JXyNXHk9h3HZ4hTDJeQ0P6SZwiBoJXgq 2PqQ== 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=sWkuOMDUDuOgvvtDY78kfL6B7zEVTcX+KXFC3I95akE=; b=bFDa/+mvSjDWrJVAGgLterj7N+u5l6j3PEyUdVjg4/jJRSeg6G9i6jGesZxl3kV5M1 Yw7UpQlBskyQwLbnJAp3M1mM6uEgpTgrObu0rmRE/KhrcG1XxWm4/omxM/b7u8tt0rxh uhoOkm9HS/PLuSx0bvqtUWSowKXVeUAHfChQR3K5ExT+T1IO05YWlG/Vvz58RUDmhG/5 IIetsvurp0GsCXk9B6LpJX6aV09sbknAbNhA2erQs3NIO+dCOQAUsrf1VjwEtu+VcOc1 u2RoDYkhdE7+vq2EOYcxNmlcwjiFjSPK5pDVAUsIlgJspzJYYgXiD/H58PbCo52XPg5v Pf4A== X-Gm-Message-State: AO0yUKVS0JxhzFeRevbq5IejMuogT33mk/d/sb0DjtyyvvkwbdOJhna7 5m3KWJ6ARV9zCBlT+ZCFZhbR1w== X-Google-Smtp-Source: AK7set89ru4hCvtbqJGNreUW4FL/GSy9LNx2YC30ZaWYA6NPzlm2BQgk0OmjrQ55/wBMc8m2JApJAw== X-Received: by 2002:a05:600c:4f96:b0:3cf:9844:7b11 with SMTP id n22-20020a05600c4f9600b003cf98447b11mr11330029wmq.23.1675442946241; Fri, 03 Feb 2023 08:49:06 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id i21-20020a05600c355500b003dc4b4dea31sm3503247wmq.27.2023.02.03.08.49.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Feb 2023 08:49:05 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Srinivas Kandagatla , 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 5/5] arm64: dts: qcom: sc8280xp: correct LPASS GPIO gpio-ranges Date: Fri, 3 Feb 2023 17:48:54 +0100 Message-Id: <20230203164854.390080-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230203164854.390080-1-krzysztof.kozlowski@linaro.org> References: <20230203164854.390080-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The SC8280XP LPASS pin controller has GPIOs 0-18, so correct the number of GPIOs in gpio-ranges. Fixes: c18773d162a6 ("arm64: dts: qcom: sc8280xp: add SoundWire and LPASS") Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi index c8509b1b040f..59545372595f 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi @@ -2645,7 +2645,7 @@ lpass_tlmm: pinctrl@33c0000 { <0 0x3550000 0x0 0x10000>; gpio-controller; #gpio-cells = <2>; - gpio-ranges = <&lpass_tlmm 0 0 18>; + gpio-ranges = <&lpass_tlmm 0 0 19>; clocks = <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>;