From patchwork Tue Sep 27 15:34:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 609837 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 82256C54EE9 for ; Tue, 27 Sep 2022 15:34:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232318AbiI0Pet (ORCPT ); Tue, 27 Sep 2022 11:34:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232316AbiI0Per (ORCPT ); Tue, 27 Sep 2022 11:34:47 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 563F3C39 for ; Tue, 27 Sep 2022 08:34:41 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id 10so16314959lfy.5 for ; Tue, 27 Sep 2022 08:34:41 -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=ZL3t03EQvl9mHvGpFybHkv480XEe974dhXgVTeybEX4=; b=dbnNysgG0XYWDDfkYPwEEF2Kq1F0PifZCOgGFORNmq+QkNXSr+rU3zjtNJ7hkzldNt y3UUELTICwaQQ+R1tV6OQQxdBfA8eLM/YCaSAOMbVaSFr3XefNrZ3VGgBw1/uDXamI4k CjWLwQEcuajJjKeuIibqs61YvJsHKxVAZPuGrfupfPOsF2HeSg+U7WjX6HcpajOh8lrC Mzt0wMCsOlHzttWGd0A875a/xg81pzRfdCkouMEp2imBhn7rFoGYdB5mo6zkqRCfCDQu cImV2eqYyWyT1EIDtnlsGNIoVHQpRtLRrFmUNScmtjfDQ6fMkVMDooEO8iOEVCKpAywA KQdQ== 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=ZL3t03EQvl9mHvGpFybHkv480XEe974dhXgVTeybEX4=; b=nZiXAyTyCxVu1IevG37M/rlPf5Jmqr5mPn7uj/bs9/mgp8gMYaMzCrhPlXCZROoScW a+IlO2067ccmu9wXxdquR8HF2CVX9objNpUOX4L8DuirZWDTRld965zSYroPNC2C37K9 MJ38v2KYitRhSxEL4qU5cJdzw3yiBTCPNwO7eSk8ZOGxiCk0iU1QkBl5IO9fn+XemzGc dc3vPkJaty17W8OcHbQSsqr1/wU4Olqe+v8pL6Nu7dMee5+LHfAiSs92thVaSPZ9c7DG 5xTC7WW2zZpUqQRwYIaDELyw1NAJLCSlzMy0leQ4R3d8bHB2Um9WYN474+U+V1zJUUZN 4CuA== X-Gm-Message-State: ACrzQf0G3JW8R+n+1hmHo22nGdC27V1aMi7Zv4t/PuUJOXJD7HPykcOU wAL6h71G5YDOb9EVDI11S6Nh8Q== X-Google-Smtp-Source: AMsMyM6M8TEnRKBH7blo7l6uhJp6U50XP548dWbIGw2tS11iWONM0nWkCh9xDcAaQVPxVZTkGZczLA== X-Received: by 2002:a19:5016:0:b0:49a:deeb:8681 with SMTP id e22-20020a195016000000b0049adeeb8681mr10796490lfb.331.1664292878101; Tue, 27 Sep 2022 08:34:38 -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 o18-20020a2e7312000000b00268bc2c1ed0sm191592ljc.22.2022.09.27.08.34.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 08:34:35 -0700 (PDT) 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 v2 01/12] arm64: dts: qcom: sc7280: drop clock-cells from LPASS TLMM Date: Tue, 27 Sep 2022 17:34:18 +0200 Message-Id: <20220927153429.55365-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927153429.55365-1-krzysztof.kozlowski@linaro.org> References: <20220927153429.55365-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The LPASS pin-controller is not a clock provider: qcom/sc7280-herobrine-herobrine-r1.dtb: pinctrl@33c0000: '#clock-cells' does not match any of the regexes: '-state$', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski Reviewed-by: Neil Armstrong --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index 8d807b7bf66a..8823b75a6f1b 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -2432,8 +2432,6 @@ lpass_tlmm: pinctrl@33c0000 { #gpio-cells = <2>; gpio-ranges = <&lpass_tlmm 0 0 15>; - #clock-cells = <1>; - lpass_dmic01_clk: dmic01-clk { pins = "gpio6"; function = "dmic1_clk"; From patchwork Tue Sep 27 15:34:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 611660 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 14F71C07E9D for ; Tue, 27 Sep 2022 15:34:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232378AbiI0Pex (ORCPT ); Tue, 27 Sep 2022 11:34:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232338AbiI0Per (ORCPT ); Tue, 27 Sep 2022 11:34:47 -0400 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65DE4E40 for ; Tue, 27 Sep 2022 08:34:43 -0700 (PDT) Received: by mail-lj1-x235.google.com with SMTP id b24so11333058ljk.6 for ; Tue, 27 Sep 2022 08:34:43 -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=adnw/70iR35kRw0Wjt+Tvx+wL5mop5CypxFcUPW7oIA=; b=uYM5g7pOfSMKb6bnCbU+BVGkHLs9mATFqL2dbWruIYJVJ//+tlGoFfjLg5r1j/+Ypc jcW6P45YsXO2joWu5Jt+jAKHnvXuKfd71jby+hIXF0169nWNUW5auwBgaEArF5ZGlyfZ JlS+7nkaJY0WS/T2wUbZpwbsmI5Pcz1FSW1BKQkBAWJ/1uPLAujnNtlhtbPwZUzjvy96 cbXsbbCH6+W8TVYCjp1/HPHZfrIyrrzWlXuuSDk3kU80/iwUa1XGzxQD8D+7XL74G3pB OzKVCJz9Zs13ILT44Puyyw6yCzr1bEbKKoPMey8zii6WRyDOvILEUU2LnDVWNZqlRBG7 ze/Q== 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=adnw/70iR35kRw0Wjt+Tvx+wL5mop5CypxFcUPW7oIA=; b=OkNUnF0PC+GtAzASRdb6qBmP9ax5SeUf0m4krxiWkd6s1A5ljshfy16C/o6PxxtFaT EP1Wv4AjI4zXkzGwLfVYOdqsdlxVnRn9aghCM0D+ho7Ds3mQnd+71Td/jph9rqDR62x9 aNYQ6VnDIuBpyQ7KBDliGiDjj3wDMM8egQxoRR1B+Y6aLp9osEBjbFd5LG3VEe98JQWQ WZ+w8oa6UQTHFh/92/bDRR0yKQIdyycxcV6a/pLhpuh3CKC+KEz670v89ZUcKHEuWFX4 FWsp/LUA/NOX+Ur25OyonnAdKjW9m92mUXjzrYY3rpoS6K4ByF3mmsWne705BDbloHOq tmIw== X-Gm-Message-State: ACrzQf0COkgqS23zgVi96HY2T8z+smE+o6d6HP7FWuG7yp1gDGg84pEC 4v4b5aMO2/KDU66kzPltHudW6/G05rzcQA== X-Google-Smtp-Source: AMsMyM4uG318qVxMtsQUl4X+Y7tZq1QxSeKbR282vQxuFwIUXbc/27+rUexo1G155gm0S40YNZ3Wtw== X-Received: by 2002:a05:651c:1112:b0:26c:7323:3f2c with SMTP id e18-20020a05651c111200b0026c73233f2cmr9909624ljo.4.1664292881644; Tue, 27 Sep 2022 08:34:41 -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 o18-20020a2e7312000000b00268bc2c1ed0sm191592ljc.22.2022.09.27.08.34.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 08:34:39 -0700 (PDT) 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 v2 02/12] arm64: dts: qcom: sc7280: align LPASS pin configuration with DT schema Date: Tue, 27 Sep 2022 17:34:19 +0200 Message-Id: <20220927153429.55365-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927153429.55365-1-krzysztof.kozlowski@linaro.org> References: <20220927153429.55365-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org DT schema expects LPASS pin configuration nodes to be named with '-state' suffix and their optional children with '-pins' suffix. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 32 ++++++++++++++-------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index 8823b75a6f1b..28e3fb9992d9 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -2432,82 +2432,82 @@ lpass_tlmm: pinctrl@33c0000 { #gpio-cells = <2>; gpio-ranges = <&lpass_tlmm 0 0 15>; - lpass_dmic01_clk: dmic01-clk { + lpass_dmic01_clk: dmic01-clk-state { pins = "gpio6"; function = "dmic1_clk"; }; - lpass_dmic01_clk_sleep: dmic01-clk-sleep { + lpass_dmic01_clk_sleep: dmic01-clk-sleep-state { pins = "gpio6"; function = "dmic1_clk"; }; - lpass_dmic01_data: dmic01-data { + lpass_dmic01_data: dmic01-data-state { pins = "gpio7"; function = "dmic1_data"; }; - lpass_dmic01_data_sleep: dmic01-data-sleep { + lpass_dmic01_data_sleep: dmic01-data-sleep-state { pins = "gpio7"; function = "dmic1_data"; }; - lpass_dmic23_clk: dmic23-clk { + lpass_dmic23_clk: dmic23-clk-state { pins = "gpio8"; function = "dmic2_clk"; }; - lpass_dmic23_clk_sleep: dmic23-clk-sleep { + lpass_dmic23_clk_sleep: dmic23-clk-sleep-state { pins = "gpio8"; function = "dmic2_clk"; }; - lpass_dmic23_data: dmic23-data { + lpass_dmic23_data: dmic23-data-state { pins = "gpio9"; function = "dmic2_data"; }; - lpass_dmic23_data_sleep: dmic23-data-sleep { + lpass_dmic23_data_sleep: dmic23-data-sleep-state { pins = "gpio9"; function = "dmic2_data"; }; - lpass_rx_swr_clk: rx-swr-clk { + lpass_rx_swr_clk: rx-swr-clk-state { pins = "gpio3"; function = "swr_rx_clk"; }; - lpass_rx_swr_clk_sleep: rx-swr-clk-sleep { + lpass_rx_swr_clk_sleep: rx-swr-clk-sleep-state { pins = "gpio3"; function = "swr_rx_clk"; }; - lpass_rx_swr_data: rx-swr-data { + lpass_rx_swr_data: rx-swr-data-state { pins = "gpio4", "gpio5"; function = "swr_rx_data"; }; - lpass_rx_swr_data_sleep: rx-swr-data-sleep { + lpass_rx_swr_data_sleep: rx-swr-data-sleep-state { pins = "gpio4", "gpio5"; function = "swr_rx_data"; }; - lpass_tx_swr_clk: tx-swr-clk { + lpass_tx_swr_clk: tx-swr-clk-state { pins = "gpio0"; function = "swr_tx_clk"; }; - lpass_tx_swr_clk_sleep: tx-swr-clk-sleep { + lpass_tx_swr_clk_sleep: tx-swr-clk-sleep-state { pins = "gpio0"; function = "swr_tx_clk"; }; - lpass_tx_swr_data: tx-swr-data { + lpass_tx_swr_data: tx-swr-data-state { pins = "gpio1", "gpio2", "gpio14"; function = "swr_tx_data"; }; - lpass_tx_swr_data_sleep: tx-swr-data-sleep { + lpass_tx_swr_data_sleep: tx-swr-data-sleep-state { pins = "gpio1", "gpio2", "gpio14"; function = "swr_tx_data"; }; From patchwork Tue Sep 27 15:34:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 609836 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 7C147C07E9D for ; Tue, 27 Sep 2022 15:34:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232329AbiI0Pey (ORCPT ); Tue, 27 Sep 2022 11:34:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232343AbiI0Per (ORCPT ); Tue, 27 Sep 2022 11:34:47 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45A0FF6E for ; Tue, 27 Sep 2022 08:34:45 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id bu25so14400173lfb.3 for ; Tue, 27 Sep 2022 08:34:45 -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=b/USyE2rZeGybRiRERaxxJ71NRPvCslQr07H+7bxxRI=; b=SKMmAhd5QO+DEf0nXZqbEsmwdSZBbbO0pCaQxyoLqFIJxCJsmKRaqyG0yMeLa/pxMU sGQweR5QeC30m9EYFNusGrOstVPqE8/BCPVKaDdx08JXwBokArI9Id/GARSaEbsBdi3t XfcXwEtTcotP0p3GBaYh58IAkjXnreAkOzsPQ2A0s9edO223uyFYpf8m86Za3LBe1jIb AV1HopEUyE7EBDoaw9FvMZoF3Y6N8ZINCWrWQf9z65ygoefDmtYwTqq3zk+pGhfb+Mji drk0RbFEylaRDv4tkv3OvYTqD/OASKBsiCgp3QXxUgLYczHiJEE4saxk2tL5s5bn+hfv D3Ww== 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=b/USyE2rZeGybRiRERaxxJ71NRPvCslQr07H+7bxxRI=; b=L1iZjgNH5MDKx1tlPq4W96JURKF3ZsLs9EmPhjKCqxIzxaoxkUunAZdDw3Ii1P+hV5 ZEE/mrOyYswzUBedrPimb1D5yDKH04aKDHfIb4S/uxYEqpnqgqV6vW9dyeWoHOEg/txY 5ddWCsDsq5r/Nt4ptQD0vNV2S5ofq3iwariVzqNZkI0MaBffKttzbQ/ttW8EcjMFwg8q t3i9R/0lJatSN14VdY0IQ+jC61jIeirdm/XEdx8vgZ7egL6uVFuBDVZEz5Jj5dQ9wPBZ nCObMpnuEblbBdqrV+J3tMj5TXB1JayXQR6N7VtBZLiol06v+06bns9w+/dj9PLXBHag BRaQ== X-Gm-Message-State: ACrzQf0LO8v6T50GtkX9K8V8p2fRdZyIwZwbFeBkhDuQthtFMomI78u+ wtP5IhY5eRzEa4vvcsaW5iYg3Q== X-Google-Smtp-Source: AMsMyM50Ti+YIC2PY11zpHf2V00xSNu3yDjC4Tj+oW9g01gD3IFjl2/4plEW/e8n2IEpx4qN9Subfw== X-Received: by 2002:a05:6512:ac9:b0:49c:ebc7:bdae with SMTP id n9-20020a0565120ac900b0049cebc7bdaemr10933603lfu.99.1664292885086; Tue, 27 Sep 2022 08:34:45 -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 o18-20020a2e7312000000b00268bc2c1ed0sm191592ljc.22.2022.09.27.08.34.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 08:34:42 -0700 (PDT) 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 v2 03/12] arm64: dts: qcom: sm8250: correct LPASS pin pull down Date: Tue, 27 Sep 2022 17:34:20 +0200 Message-Id: <20220927153429.55365-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927153429.55365-1-krzysztof.kozlowski@linaro.org> References: <20220927153429.55365-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The pull-down property is actually bias-pull-down. Fixes: 3160c1b894d9 ("arm64: dts: qcom: sm8250: add lpass lpi pin controller node") Signed-off-by: Krzysztof Kozlowski Reviewed-by: Neil Armstrong --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index a5b62cadb129..8f402b912c62 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -2454,7 +2454,7 @@ data { pins = "gpio7"; function = "dmic1_data"; drive-strength = <2>; - pull-down; + bias-pull-down; input-enable; }; }; From patchwork Tue Sep 27 15:34:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 611659 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 0B40BC54EE9 for ; Tue, 27 Sep 2022 15:35:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232420AbiI0PfO (ORCPT ); Tue, 27 Sep 2022 11:35:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232349AbiI0Pe4 (ORCPT ); Tue, 27 Sep 2022 11:34:56 -0400 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6055425C9 for ; Tue, 27 Sep 2022 08:34:51 -0700 (PDT) Received: by mail-lj1-x236.google.com with SMTP id h3so11390889lja.1 for ; Tue, 27 Sep 2022 08:34:51 -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=4+1bZaIVoOr4/FZ9DpEoNNyvB6I9uDIqPPe+8PG5bQg=; b=zAbG5b5HaidcQCMd4jIXgylrhvaZAD92Bie270Vav8ot1kGjk+g0++X431acbMi/SK e6xytcSQYtVnQqRLO9mB/GUpWFVg8gFlQeIg3VX7HG0pZYcdYXFoGd68z+b+LRBH8+ZV 5LIa0qeQ1zJ11k5ZpsYn9kJogjIXL4Cq5H32ztOsrgEMgF7o8PRUCzrUnucYf1EXT4qy 4WYp/dLtP1efmdsLChFKJHMCuPuhKJRm2V3YBSbxjlybda46oMPQayCEP8x1BQA8Jc55 CwSKQbPDPWC12GIczl2vlQ9WenRh9/nhcS/Ist4SFWb3ZO4GFOAsPwKZJrEqIUkPsGQj TYAA== 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=4+1bZaIVoOr4/FZ9DpEoNNyvB6I9uDIqPPe+8PG5bQg=; b=56vzKEJdbkEuBvKKzdg8sbVdxvB8MVtL/UeF3iVFUaaTxec/iZRYsU0YERIfBkzgkm qwQzEw94QTMiN2myDQ6h8dCR2r0k3DlBuNx3psqlFjNpIJFKAz0F/ABF5kg/MeCDOmUB 8ka1jBLVlms+goXanP54F6Iy/5cJgCq7BZcyvb6VNZ1aballN8WkQxdimMGYaYhmOMvn AOjIyN4iRFZg3JHKFx2U3OYGmds38edaQaqJEq+kVUtQ/bjJLrvECkIuvkQaW2iegWvm 7iKPGOvh3t9QTlTRFS6DKa8p0Te5w7zOPc890ISqimnRGDJt9ADLPggTYFeEkRklgYuv 6ULQ== X-Gm-Message-State: ACrzQf1fROHYnBKgmt4Pt1sP1jR1D6yAfxpZYtMtfYTO8euFr8rwQfmq aVOBpSxknGfZTGfGfcowSvcHBw== X-Google-Smtp-Source: AMsMyM5CdotfUrBMlNvOE8ZSHN8K5zaL5iFuWe2NPU9hYKVlv+nFMZsXS32c6nWY1wdnpKzMIaWmbg== X-Received: by 2002:a2e:9608:0:b0:26a:a73b:b8c1 with SMTP id v8-20020a2e9608000000b0026aa73bb8c1mr10335965ljh.328.1664292891469; Tue, 27 Sep 2022 08:34:51 -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 o18-20020a2e7312000000b00268bc2c1ed0sm191592ljc.22.2022.09.27.08.34.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 08:34:49 -0700 (PDT) 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 v2 04/12] arm64: dts: qcom: sm8250: align LPASS pin configuration with DT schema Date: Tue, 27 Sep 2022 17:34:21 +0200 Message-Id: <20220927153429.55365-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927153429.55365-1-krzysztof.kozlowski@linaro.org> References: <20220927153429.55365-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org DT schema expects LPASS pin configuration nodes to be named with '-state' suffix and their optional children with '-pins' suffix. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 44 ++++++++++++++-------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 8f402b912c62..e0416d611b66 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -2388,8 +2388,8 @@ lpass_tlmm: pinctrl@33c0000{ <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>; clock-names = "core", "audio"; - wsa_swr_active: wsa-swr-active-pins { - clk { + wsa_swr_active: wsa-swr-active-state { + clk-pins { pins = "gpio10"; function = "wsa_swr_clk"; drive-strength = <2>; @@ -2397,7 +2397,7 @@ clk { bias-disable; }; - data { + data-pins { pins = "gpio11"; function = "wsa_swr_data"; drive-strength = <2>; @@ -2407,8 +2407,8 @@ data { }; }; - wsa_swr_sleep: wsa-swr-sleep-pins { - clk { + wsa_swr_sleep: wsa-swr-sleep-state { + clk-pins { pins = "gpio10"; function = "wsa_swr_clk"; drive-strength = <2>; @@ -2416,7 +2416,7 @@ clk { bias-pull-down; }; - data { + data-pins { pins = "gpio11"; function = "wsa_swr_data"; drive-strength = <2>; @@ -2426,14 +2426,14 @@ data { }; }; - dmic01_active: dmic01-active-pins { - clk { + dmic01_active: dmic01-active-state { + clk-pins { pins = "gpio6"; function = "dmic1_clk"; drive-strength = <8>; output-high; }; - data { + data-pins { pins = "gpio7"; function = "dmic1_data"; drive-strength = <8>; @@ -2441,8 +2441,8 @@ data { }; }; - dmic01_sleep: dmic01-sleep-pins { - clk { + dmic01_sleep: dmic01-sleep-state { + clk-pins { pins = "gpio6"; function = "dmic1_clk"; drive-strength = <2>; @@ -2450,7 +2450,7 @@ clk { output-low; }; - data { + data-pins { pins = "gpio7"; function = "dmic1_data"; drive-strength = <2>; @@ -2459,8 +2459,8 @@ data { }; }; - rx_swr_active: rx_swr-active-pins { - clk { + rx_swr_active: rx-swr-active-state { + clk-pins { pins = "gpio3"; function = "swr_rx_clk"; drive-strength = <2>; @@ -2468,7 +2468,7 @@ clk { bias-disable; }; - data { + data-pins { pins = "gpio4", "gpio5"; function = "swr_rx_data"; drive-strength = <2>; @@ -2477,8 +2477,8 @@ data { }; }; - tx_swr_active: tx_swr-active-pins { - clk { + tx_swr_active: tx-swr-active-state { + clk-pins { pins = "gpio0"; function = "swr_tx_clk"; drive-strength = <2>; @@ -2486,7 +2486,7 @@ clk { bias-disable; }; - data { + data-pins { pins = "gpio1", "gpio2"; function = "swr_tx_data"; drive-strength = <2>; @@ -2495,8 +2495,8 @@ data { }; }; - tx_swr_sleep: tx_swr-sleep-pins { - clk { + tx_swr_sleep: tx-swr-sleep-state { + clk-pins { pins = "gpio0"; function = "swr_tx_clk"; drive-strength = <2>; @@ -2504,7 +2504,7 @@ clk { bias-pull-down; }; - data1 { + data1-pins { pins = "gpio1"; function = "swr_tx_data"; drive-strength = <2>; @@ -2512,7 +2512,7 @@ data1 { bias-bus-hold; }; - data2 { + data2-pins { pins = "gpio2"; function = "swr_tx_data"; drive-strength = <2>; From patchwork Tue Sep 27 15:34:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 609835 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 7A9E0C07E9D for ; Tue, 27 Sep 2022 15:35:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232513AbiI0Pfb (ORCPT ); Tue, 27 Sep 2022 11:35:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232422AbiI0PfO (ORCPT ); Tue, 27 Sep 2022 11:35:14 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EC6B634C for ; Tue, 27 Sep 2022 08:34:59 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id q17so11318083lji.11 for ; Tue, 27 Sep 2022 08:34:58 -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=D/+IAx3457n7py8LTtibntWPebPSaEptQQHDgCPuAVM=; b=U/xzp6A+3fFL79gjVF1GCFn4iBaxYds76XR1yj4WRiYF+NWsLNc9hlePSg9TJsb7B+ LwHhESERbG3mcl6rn8HMCDbEq9nX8/K/CG+tDkLTzMcG1VE3xKt0sK+q3TaCAs0IWBT0 i1O5Gkhz1qpZ9QXpMqHOEt7wK/mHor5OHqkuvobNmhT1lEp3kyXpbXxEXdRqIqrDG5lc +uXmN15Iwh+ZVLLqadxozPwCur//WlEtm7NzaZsjS/S/favyN+zhE2zEVN6gQ2t22uDj B2v6s/JcA/ByT/K6c+NC2TwILSAHeoH7vuNi5vKtauf1SVRpm3GzcKUTs2s6HHUSiPn+ SAJg== 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=D/+IAx3457n7py8LTtibntWPebPSaEptQQHDgCPuAVM=; b=dW/ITAmgRUkmF9KMdwi6HTDeUTJGQo26AXoxaN+cZp190FE9xk+Ck3YjNtYgd4Aku0 Zx56zpIsphRl5ONV7Il8rLqOrLTIFx7UBoX65g5sqbAT22bpKqsdogg1Hb1zmWMskcEZ g/m2ugrsxNdFRTyRj8MoYbTqqJUhXYyTLxXlFYwXmXbhPxrCvLkKIZAwK9X4rBr/AmFy rGwwsCoZ6g0bZdJ0oOd2583a4uUDKQAxNaobHYVVNHYHDhHiEqS+n3Ivdv8BWs3TfS6G 4ivFP7mtF/HSUQ++fUsihpjODK/sVLUy6EVBFseOWpWxvQzQTt4johMFlhVEcXZXRoMA jVaA== X-Gm-Message-State: ACrzQf2TpnxlbIZcF7lyIwZxWMFbl2AhaQ8cPCyT+t5M8lADHNFsWVZ4 x0Vi1ptCkvKC2CP4KsXDdvQzPw== X-Google-Smtp-Source: AMsMyM4whTK4N5JDrPNgaoYeYa3I5yUnMzzYhiBJ75zP3hXlA+e1oiPT4IfCjzfXdi/r5GJ0HHYeYQ== X-Received: by 2002:a2e:6a04:0:b0:26c:3d75:5d84 with SMTP id f4-20020a2e6a04000000b0026c3d755d84mr10146253ljc.162.1664292896947; Tue, 27 Sep 2022 08:34:56 -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 o18-20020a2e7312000000b00268bc2c1ed0sm191592ljc.22.2022.09.27.08.34.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 08:34:53 -0700 (PDT) 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 , Rob Herring Subject: [PATCH v2 05/12] dt-bindings: pinctrl: qcom,sc8280xp-lpass-lpi: fix gpio pattern Date: Tue, 27 Sep 2022 17:34:22 +0200 Message-Id: <20220927153429.55365-6-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927153429.55365-1-krzysztof.kozlowski@linaro.org> References: <20220927153429.55365-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Fix double ']' in GPIO pattern to properly match "pins" property. Otherwise schema for pins state fails. Fixes: 958bb025f5b3 ("dt-bindings: pinctrl: qcom: Add sc8280xp lpass lpi pinctrl bindings") Signed-off-by: Krzysztof Kozlowski Acked-by: Rob Herring --- .../bindings/pinctrl/qcom,sc8280xp-lpass-lpi-pinctrl.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-lpass-lpi-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-lpass-lpi-pinctrl.yaml index 1f468303bb08..fb3ad6c0d80e 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-lpass-lpi-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-lpass-lpi-pinctrl.yaml @@ -58,7 +58,7 @@ patternProperties: List of gpio pins affected by the properties specified in this subnode. items: - pattern: "^gpio([0-1]|1[0-8]])$" + pattern: "^gpio([0-1]|1[0-8])$" function: enum: [ swr_tx_clk, swr_tx_data, swr_rx_clk, swr_rx_data, From patchwork Tue Sep 27 15:34:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 611658 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 F06FBC07E9D for ; Tue, 27 Sep 2022 15:35:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232538AbiI0Pfd (ORCPT ); Tue, 27 Sep 2022 11:35:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232439AbiI0PfQ (ORCPT ); Tue, 27 Sep 2022 11:35:16 -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 8AB9964C8 for ; Tue, 27 Sep 2022 08:35:00 -0700 (PDT) Received: by mail-lj1-x232.google.com with SMTP id l12so11330504ljg.9 for ; Tue, 27 Sep 2022 08:35:00 -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=yf9XK1G2cR1dJud+EZAPAPzhOlqvNONzt1R39mUvFpU=; b=dxCtZPdbFUfLncwnp3nb3AngpifmjMG2mhneN5wKFFrOziPZxImQCIkZuAioU1IXxJ /YNh+EJySaM+TxB1js671T0KUvq4vDrkiAHtmDiRwlX66W9bfHb803pMAg09udFXyPfr gFwRhWphN6Pqa9oQAv2jPrwcnmSwTWP1IECIWfaN+/aCLqONAVdkoMMXsnTvaxIzDhm7 mXpwvd6oOZoOifFpkFK7NA0hZutjD5wMOKWZ18Y0kWMtbojYoUc2igsL5BtcutnXY+F6 vS3uOFfWAN0tJR3UEWTYS4OmStcyoTVd2B+Ku+Y/TIkPvHOEoNWG7lm0p1V5nqepM4MT gXTA== 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=yf9XK1G2cR1dJud+EZAPAPzhOlqvNONzt1R39mUvFpU=; b=WufgEJv7HcVsopYtLPDfnTio1kdEMTjDFYknrkDPex02btwCpv43s4FMV1xYrVCbCr 7ZB8wUEwDRDtMH3vOYD9okpBuQUDWHCCOlSED61GH/dXC4abTF0T2hgQwOacq0iDBu/e jaglcwf2GVha4r6RD9ST4f+GYclP2tiQQulZFj5SrIGgGq3G2TFM7RjSEvMjQ9OUxwht Nmhh5e7+7o1W+I209BVI92zgayQlBvalTkv+ZRHqUk+/LDJVkmSsRY4nxFGYZ/bc/5MQ 83WcNKwodOu8iQ5bHHApmzB2/g4YGt4PoTk9T4vONiw81gQE8IeyeD6GmWQ1wpIBCci1 3Tbg== X-Gm-Message-State: ACrzQf0M50dI+5nuDnhHQhDSuVRmXLTS6fmoAkTtFsT4oH/7wjXlKyqz Cu7lMvTkESrKp3yVuNS2v89qww== X-Google-Smtp-Source: AMsMyM7T9ZPNXwz6GsGbz2D7Gn9roLE7NZ6p4gW1SGEsQyXXmP0CfdYU+E3Q1tuBH4AUmNnz21yncw== X-Received: by 2002:a2e:9886:0:b0:26c:57d9:10c6 with SMTP id b6-20020a2e9886000000b0026c57d910c6mr9306365ljj.309.1664292898994; Tue, 27 Sep 2022 08:34:58 -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 o18-20020a2e7312000000b00268bc2c1ed0sm191592ljc.22.2022.09.27.08.34.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 08:34:57 -0700 (PDT) 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 , Rob Herring Subject: [PATCH v2 06/12] dt-bindings: pinctrl: qcom,sm8450-lpass-lpi: fix gpio pattern Date: Tue, 27 Sep 2022 17:34:23 +0200 Message-Id: <20220927153429.55365-7-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927153429.55365-1-krzysztof.kozlowski@linaro.org> References: <20220927153429.55365-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Fix double ']' in GPIO pattern to properly match "pins" property. Otherwise schema for pins state fails. Fixes: 4faa4e73011d ("dt-bindings: pinctrl: qcom: Add sm8450 lpass lpi pinctrl bindings") 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 3694795ec793..c17cdff6174f 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm8450-lpass-lpi-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm8450-lpass-lpi-pinctrl.yaml @@ -58,7 +58,7 @@ patternProperties: 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-2][0-9])$" function: enum: [ swr_tx_clk, swr_tx_data, swr_rx_clk, swr_rx_data, From patchwork Tue Sep 27 15:34:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 609834 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 62665C54EE9 for ; Tue, 27 Sep 2022 15:35:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232359AbiI0Pfr (ORCPT ); Tue, 27 Sep 2022 11:35:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232471AbiI0PfZ (ORCPT ); Tue, 27 Sep 2022 11:35:25 -0400 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5809D9596 for ; Tue, 27 Sep 2022 08:35:03 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id a14so11338668ljj.8 for ; Tue, 27 Sep 2022 08:35:03 -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=7sJl4vE6bSD7GZqCJlHjtVSgYLna8lnN5EzCJBmeopA=; b=nRDvZwPBrTayD+fBxzdQRAc0HV8Azre+t740Fq4iLVZ0n0g5ROIWKQt3ERsppYQOAG mnQpS6PQG8UKqNLV2xlQoSu5mbEsSOZBZCZOh1X0Jgn5PCjSYQfi3wvJN3Ive3Wr7b0M AOjVmRMRPBJnTFwnq2Xwi7iSRNQZIyuyI4QXi/CocKgIZzlTz+wodo5x548c++dVtlx3 nrjoFAKjKe3fkQYgRXMtPzh7iwqzHy1qoVHSdix4cUtnZcpFyntCa/3kOmT3OPmPQOaW 5nGgybhzap4bcvUdCsuUXUteI79ZbEc+hOldapyFRYpRo8G/7vAjm90d2ZC6347bvGNd hBzg== 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=7sJl4vE6bSD7GZqCJlHjtVSgYLna8lnN5EzCJBmeopA=; b=ssKQuE3x/VYpC4VxQNJQ/RZwFeXsAskOMT/LSSyCsmMxaOWbHdauf0yKAFf40qByWi xhsnrazhtV/6T/WEpyX2VPJfsXHCca+dEgvZtgZPcAdOgjWDkfhOCIoTIJZQa+dHRYi7 erRMaycFCu23GIMw1mqVIOh/OcUDIhQtvtOvIFO+hPbMyoGi1lcY5KV54FpasmP4hAKT 7CSC1Ft0DSbIhO/5fA7amnTTZprMlTVAGh+AAzxuSKQN/zVJO0n8imIHcSCaC8lVW8Yo x5hXgeyLtTiMM/xTUW/0iGppvaIopUM03u/mo/jrXPM3JPqg4bdyuxn28N5VRYrFMXDd sX7g== X-Gm-Message-State: ACrzQf1sdKa0fqh33or937nDbjF6RJyGvsoTyE/kooBsHXD0R8YN9jSA /npYamR9K1X8CKvkvZkiVPzGnw== X-Google-Smtp-Source: AMsMyM7enD0wwe3qFFVAo1ipolYZLlhG0hrKNSJ4mspYSlmdtozSrsK1DmHigcHASyNbDIBhHKCt7Q== X-Received: by 2002:a2e:ba15:0:b0:26c:1798:b178 with SMTP id p21-20020a2eba15000000b0026c1798b178mr9297272lja.19.1664292901145; Tue, 27 Sep 2022 08:35:01 -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 o18-20020a2e7312000000b00268bc2c1ed0sm191592ljc.22.2022.09.27.08.34.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 08:35:00 -0700 (PDT) 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 , Rob Herring Subject: [PATCH v2 07/12] dt-bindings: pinctrl: qcom,sc7280-lpass-lpi: fix matching pin config Date: Tue, 27 Sep 2022 17:34:24 +0200 Message-Id: <20220927153429.55365-8-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927153429.55365-1-krzysztof.kozlowski@linaro.org> References: <20220927153429.55365-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The LPASS pin controller follows generic pin-controller bindings, so just like TLMM, should have subnodes with '-state' and '-pins'. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../qcom,sc7280-lpass-lpi-pinctrl.yaml | 29 +++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) 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 624e14f00790..a8a48b684692 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml @@ -37,9 +37,17 @@ properties: gpio-ranges: maxItems: 1 -#PIN CONFIGURATION NODES patternProperties: - '-pins$': + "-state$": + oneOf: + - $ref: "#/$defs/qcom-sc7280-lpass-state" + - patternProperties: + "-pins$": + $ref: "#/$defs/qcom-sc7280-lpass-state" + additionalProperties: false + +$defs: + qcom-sc7280-lpass-state: type: object description: Pinctrl node's client devices use subnodes for desired pin configuration. @@ -116,4 +124,21 @@ examples: gpio-controller; #gpio-cells = <2>; gpio-ranges = <&lpass_tlmm 0 0 15>; + + dmic01-state { + dmic01-clk-pins { + pins = "gpio6"; + function = "dmic1_clk"; + }; + + dmic01-clk-sleep-pins { + pins = "gpio6"; + function = "dmic1_clk"; + }; + }; + + tx-swr-data-sleep-state { + pins = "gpio1", "gpio2", "gpio14"; + function = "swr_tx_data"; + }; }; From patchwork Tue Sep 27 15:34:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 609833 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 779A2C07E9D for ; Tue, 27 Sep 2022 15:36:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232344AbiI0PgE (ORCPT ); Tue, 27 Sep 2022 11:36:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232489AbiI0Pf3 (ORCPT ); Tue, 27 Sep 2022 11:35:29 -0400 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 EF2D2BC95 for ; Tue, 27 Sep 2022 08:35:07 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id k10so16294971lfm.4 for ; Tue, 27 Sep 2022 08:35:07 -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=zT8UiKfr/gDYKXXmUq9gzvaa31odxuTetUkxcN0CAdY=; b=DHkh3+rfWDLj9xqBqCSVgZPfFfVInHbZY1HtqHWIqtKRQuWdUn6Ug9Mf1Fc8eeXpRB LlzPs4GXNjgv7WT0p8n/rkx9XyGt1DKlQ9qAov9xmMiuHBZ/WfRy38lte9sowUvVYmMg 4ezZ83YhJ1XRm8iXk1vyzo9T8hG8d1HdakHPEGqvmFQUTtV6qckvrZZdiluvODOibCiZ B97rW3uHF3avwXUYV7BZOaa79/LVpKBoCJtOGpz+vT6nyRL7pzWKyK+J7AnZgPNu/0WB E2LPTJwcd3+pEe82GdTCAUpG/0icXnxVCZPp5KP7Fwn71x3xv2NN+CbFf1p0T3GZvKQg ISVA== 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=zT8UiKfr/gDYKXXmUq9gzvaa31odxuTetUkxcN0CAdY=; b=0gAO/Mz3WnHIHrsU7a2y5uAp6syEff2xU5wa6BWsQeFzLfOkJD4lZYcJIQqWwQmqha f5fiWSQX2fux7xiA1xM209Poaz95ULLaV4/M4PbWB8l6pO8FBJiE0PvmzIvziSTSYtjU k3PaE38ELgY790NuO3NQxpPoWC0fe/HlURi/TpSsrkKV35B7xmQpPQgnvszUuBbPIu5L au2+dcV8r/0IAEB2o0uaeH6pIS4xDiSTERpNA/H3rP0LEalbl37CiqO0ijYvk1/g0ovO 4Q2uu2DhqSjqngF7vyZbBHOYOS+CotOx2NK8Wi7eoNj3+1R/u17Lrf9trE2IV0PIUmhd xEBg== X-Gm-Message-State: ACrzQf3L6GUvi1obQj1XIdj1egs4kRJSmfeQJFf+KJ/k3Eou8tyQ3MD8 VvGqyo1P7GfdXxPrZJv1As15QQ== X-Google-Smtp-Source: AMsMyM5ndeaosLA18SrxmnXKuCCidCU1ADTJ5RGu+mFznyfEjsJHDSqLoY8E6fIjbaRozpesqo4owg== X-Received: by 2002:a05:6512:12d6:b0:49f:48d4:a1c4 with SMTP id p22-20020a05651212d600b0049f48d4a1c4mr11509856lfg.52.1664292905442; Tue, 27 Sep 2022 08:35:05 -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 o18-20020a2e7312000000b00268bc2c1ed0sm191592ljc.22.2022.09.27.08.35.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 08:35:01 -0700 (PDT) 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 , Rob Herring Subject: [PATCH v2 08/12] dt-bindings: pinctrl: qcom,sc8280xp-lpass-lpi: fix matching pin config Date: Tue, 27 Sep 2022 17:34:25 +0200 Message-Id: <20220927153429.55365-9-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927153429.55365-1-krzysztof.kozlowski@linaro.org> References: <20220927153429.55365-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The LPASS pin controller follows generic pin-controller bindings, so just like TLMM, should have subnodes with '-state' and '-pins'. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../qcom,sc8280xp-lpass-lpi-pinctrl.yaml | 29 +++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-lpass-lpi-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-lpass-lpi-pinctrl.yaml index fb3ad6c0d80e..edf38c774514 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-lpass-lpi-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-lpass-lpi-pinctrl.yaml @@ -43,9 +43,17 @@ properties: gpio-ranges: maxItems: 1 -#PIN CONFIGURATION NODES patternProperties: - '-pins$': + "-state$": + oneOf: + - $ref: "#/$defs/qcom-sc8280xp-lpass-state" + - patternProperties: + "-pins$": + $ref: "#/$defs/qcom-sc8280xp-lpass-state" + additionalProperties: false + +$defs: + qcom-sc8280xp-lpass-state: type: object description: Pinctrl node's client devices use subnodes for desired pin configuration. @@ -130,4 +138,21 @@ examples: gpio-controller; #gpio-cells = <2>; gpio-ranges = <&lpi_tlmm 0 0 18>; + + dmic01-state { + dmic01-clk-pins { + pins = "gpio16"; + function = "dmic1_clk"; + }; + + dmic01-clk-sleep-pins { + pins = "gpio16"; + function = "dmic1_clk"; + }; + }; + + tx-swr-data-sleep-state { + pins = "gpio0", "gpio1"; + function = "swr_tx_data"; + }; }; From patchwork Tue Sep 27 15:34:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 611657 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 8FE49C6FA83 for ; Tue, 27 Sep 2022 15:36:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232611AbiI0PgD (ORCPT ); Tue, 27 Sep 2022 11:36:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232486AbiI0Pf3 (ORCPT ); Tue, 27 Sep 2022 11:35:29 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF84BBCB7 for ; Tue, 27 Sep 2022 08:35:08 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id 10so16316843lfy.5 for ; Tue, 27 Sep 2022 08:35:08 -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=HDa8wjH/lG/uqvKI36+FyWXipqAIVdMoas6P1y2oLK4=; b=ecgorGBLuqdqP98aUYHnZRcGkxti8LuMg0VQSKOA+pSCx3YkGNZjAipkTbzzHaGI5z nVjFk3Rt1LxsaiNOnEr6TkpiJ8hy6O2eb1Zqs9jMj+G1VIiwmhPbaG0ODQ1TLoyIPtry H4QDfiGSlQidwRTjLoOscBbT9iu7tphAdbXUKZTuvMKz3ZJQHa8irlAEVZdXF0jnBzx7 1Sp9lmG2vpznPRjvLm/axzsFfXCxiuOUifHh8ZnUo0Br/kbhpnnD/6j1EVzyUAzYqy0b OFF/JWxqTJK/ns6OU8Od7dgaxet8sC+3hDzlnFd3i3BeFcsK933TRkkvkfKaebrkzH4L n9ug== 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=HDa8wjH/lG/uqvKI36+FyWXipqAIVdMoas6P1y2oLK4=; b=WO6zGSMKTB3NvpvD8xHArMbbKbUqvklzSczhCnIGL+l/cHhLW2I3rnMrfu98oa53+o p6MqriOsoE1Lhf2Tr7lAtjIXvjbYBfF4LLP6N1/C+iOf0boH/p1lHr9greSZw/bKPE42 mmNTI6D4UB05qMZBKxaygjIPRSdD2us4WbNAkgOMYwmcXvuanurpN1FlQSp11VPW5lIO 6bydggR5HiXLbfaUK63IPOSr2yKvJiyvQPCRAzxwXETlImmZnGPu/093vdbEN1y7TcsM gQeugQeM0EyEJ1OTNA2FBAV3zF5MRqd+o2NFhxTH7sq1R7Px98HAQenV6i0jn59AUX/Y gvpw== X-Gm-Message-State: ACrzQf1r2otPVvvcZaEQqabIcRJjrn10vv+M4CU4E/PA+5dSgX6+Ppdp qjzBv0QvUYi10XQzqK+LRgl2og== X-Google-Smtp-Source: AMsMyM6gvxJW7RUzRiMxPRd9DkCTVgwJIaA97CwE8S5qgmiVMbzvmsYzObj0QBQs+l5FpW3xkqVRdw== X-Received: by 2002:a05:6512:3ca0:b0:49f:f620:b826 with SMTP id h32-20020a0565123ca000b0049ff620b826mr12636816lfv.375.1664292907692; Tue, 27 Sep 2022 08:35:07 -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 o18-20020a2e7312000000b00268bc2c1ed0sm191592ljc.22.2022.09.27.08.35.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 08:35:06 -0700 (PDT) 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 , Rob Herring Subject: [PATCH v2 09/12] dt-bindings: pinctrl: qcom,sm8250-lpass-lpi: fix matching pin config Date: Tue, 27 Sep 2022 17:34:26 +0200 Message-Id: <20220927153429.55365-10-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927153429.55365-1-krzysztof.kozlowski@linaro.org> References: <20220927153429.55365-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The LPASS pin controller follows generic pin-controller bindings, so just like TLMM, should have subnodes with '-state' and '-pins'. qcom/qrb5165-rb5.dtb: pinctrl@33c0000: wsa-swr-active-pins: 'pins' is a required property Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../qcom,sm8250-lpass-lpi-pinctrl.yaml | 36 +++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-lpass-lpi-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-lpass-lpi-pinctrl.yaml index 06efb1382876..78da5d2bb353 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-lpass-lpi-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-lpass-lpi-pinctrl.yaml @@ -42,9 +42,17 @@ properties: gpio-ranges: maxItems: 1 -#PIN CONFIGURATION NODES patternProperties: - '-pins$': + "-state$": + oneOf: + - $ref: "#/$defs/qcom-sm8250-lpass-state" + - patternProperties: + "-pins$": + $ref: "#/$defs/qcom-sm8250-lpass-state" + additionalProperties: false + +$defs: + qcom-sm8250-lpass-state: type: object description: Pinctrl node's client devices use subnodes for desired pin configuration. @@ -130,4 +138,28 @@ examples: gpio-controller; #gpio-cells = <2>; gpio-ranges = <&lpi_tlmm 0 0 14>; + + wsa-swr-active-state { + clk-pins { + pins = "gpio10"; + function = "wsa_swr_clk"; + drive-strength = <2>; + slew-rate = <1>; + bias-disable; + }; + + data-pins { + pins = "gpio11"; + function = "wsa_swr_data"; + drive-strength = <2>; + slew-rate = <1>; + }; + }; + + tx-swr-sleep-clk-state { + pins = "gpio0"; + function = "swr_tx_clk"; + drive-strength = <2>; + bias-pull-down; + }; }; From patchwork Tue Sep 27 15:34:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 611655 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 55B3DC07E9D for ; Tue, 27 Sep 2022 15:36:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232458AbiI0Pg3 (ORCPT ); Tue, 27 Sep 2022 11:36:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232545AbiI0Pfk (ORCPT ); Tue, 27 Sep 2022 11:35:40 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D3DFDF1D for ; Tue, 27 Sep 2022 08:35:11 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id q17so11318848lji.11 for ; Tue, 27 Sep 2022 08:35:11 -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=a/30XpLg05lP1fCiQ5Ex9DrTpNtNR7LBlg8GeYriXvM=; b=phHYlT+QRbe+sHWRYfZZX07o3szcTyU3rsMUq3mnc80cOFouPurQtyXAd2dxG2nBeF vUp+0xTJRbaew4BzwFCjpmity4HV7rl767oVCNONxjO1AZrpZhnefpH05A1evIFzKBw2 C2xZWFCU1TP45fzQiZrBcEL0t4xjQQHV2FC/saF+jqqEKlOyt9lfOzP2YrjP32emUDIL tDpJwHn84kkBu1lszhJYrVz9dX93z12osLDYozIgU09Q3b2qStftZxt3fvORgYex8Dh2 3cqmLG6pY/ClZq5m2NnQOvxDyN1R1CNFj44jQ275W+2DkLXr0ax1i5oee0BvsMS5uONr cuEQ== 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=a/30XpLg05lP1fCiQ5Ex9DrTpNtNR7LBlg8GeYriXvM=; b=mkcuN0lpOyWnF/1VCdTC1ehBl1N9EwRyqNAp4cmgljk8hCJlrzOBfBngIuyi+kJoKC Jv+w/pD9yelT6TUJIdSrd2OP9u8cLdPEzy9+eFOHpEjxfDQCPs3dXOIuy9o7tmWjkZmM Y+lyLZO+rWoHHnNCekJXpdaWZw8og37DqcGuDSYL72zmnx2+xGciYHnHV+/jmaQ1fxNL 03U4D7B8W1j1OEIlveZ5lpKvmkppLBoXj5Ntqwzsq1mG+tthPcaBKigOT6TNfNSZxcl7 oJQgfzQMAJjhOdvaTCIiiIQOekx8alju5ZymnJW5TCfM/T0BDK3I48qZkA1u+/+VRROa ajeA== X-Gm-Message-State: ACrzQf0xamKzGqEaGsE9Ucu5DKJdcOdbzHALg+4omfTe2KlG9go6FkUj Pvijow6DazmML7Y6UkJ7zQE296abaLZIsg== X-Google-Smtp-Source: AMsMyM4nzU37pD3JE/74DC8Y5b0AL0VwUV8CXSjoBKvT+6RnxdjOnEl7oDB0CowHVmmqp5ahufQTcg== X-Received: by 2002:a05:651c:2381:b0:26c:5965:c9b4 with SMTP id bk1-20020a05651c238100b0026c5965c9b4mr9448725ljb.99.1664292910666; Tue, 27 Sep 2022 08:35:10 -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 o18-20020a2e7312000000b00268bc2c1ed0sm191592ljc.22.2022.09.27.08.35.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 08:35:08 -0700 (PDT) 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 , Rob Herring Subject: [PATCH v2 10/12] dt-bindings: pinctrl: qcom,sm8450-lpass-lpi: fix matching pin config Date: Tue, 27 Sep 2022 17:34:27 +0200 Message-Id: <20220927153429.55365-11-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927153429.55365-1-krzysztof.kozlowski@linaro.org> References: <20220927153429.55365-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The LPASS pin controller follows generic pin-controller bindings, so just like TLMM, should have subnodes with '-state' and '-pins'. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../qcom,sm8450-lpass-lpi-pinctrl.yaml | 36 +++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) 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 c17cdff6174f..c81fd74cde1a 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm8450-lpass-lpi-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm8450-lpass-lpi-pinctrl.yaml @@ -43,9 +43,17 @@ properties: gpio-ranges: maxItems: 1 -#PIN CONFIGURATION NODES patternProperties: - '-pins$': + "-state$": + oneOf: + - $ref: "#/$defs/qcom-sm8450-lpass-state" + - patternProperties: + "-pins$": + $ref: "#/$defs/qcom-sm8450-lpass-state" + additionalProperties: false + +$defs: + qcom-sm8450-lpass-state: type: object description: Pinctrl node's client devices use subnodes for desired pin configuration. @@ -132,4 +140,28 @@ examples: gpio-controller; #gpio-cells = <2>; gpio-ranges = <&lpi_tlmm 0 0 23>; + + wsa-swr-active-state { + clk-pins { + pins = "gpio10"; + function = "wsa_swr_clk"; + drive-strength = <2>; + slew-rate = <1>; + bias-disable; + }; + + data-pins { + pins = "gpio11"; + function = "wsa_swr_data"; + drive-strength = <2>; + slew-rate = <1>; + }; + }; + + tx-swr-sleep-clk-state { + pins = "gpio0"; + function = "swr_tx_clk"; + drive-strength = <2>; + bias-pull-down; + }; }; From patchwork Tue Sep 27 15:34:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 611656 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 637DAC6FA83 for ; Tue, 27 Sep 2022 15:36:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232526AbiI0PgL (ORCPT ); Tue, 27 Sep 2022 11:36:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232428AbiI0Pfd (ORCPT ); Tue, 27 Sep 2022 11:35:33 -0400 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F860DF7E for ; Tue, 27 Sep 2022 08:35:13 -0700 (PDT) Received: by mail-lj1-x22b.google.com with SMTP id l12so11331282ljg.9 for ; Tue, 27 Sep 2022 08:35:13 -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=EalEz9AV2V0m5q+BMPo2gblVIc4RaNqnpRQA+ia4FNc=; b=E0i5PYEN24O+6dgL9ngxmJEGTGs47BaRui5U8vGwlpdKMIngJr2/XH4ZAXfdA2FyZQ QCug4TFZuaVXHHivO8BVAiDmo65MMrpC3ftNNeLDKvi+M6GIGoMa3+2osjcYrZr9+bsm yemvCSFXbYCo+l/Gh14xz9ng6qHw14g3an3w7r3kOK72aCLTkrLJEG0iRRSH84REC76L SyIj0zYDeINJwq5f+8k4qCsuDUMDktB5LP6772PCtyvpWN7rJm9IVIbJ4/K1o16ry/0M mvDBHfcsL52pLZR8VIervMuU4hAlgyQCAnQhrHmoxc2kPgSx6eXWhgx8KFVw7KzfD8bQ jTOg== 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=EalEz9AV2V0m5q+BMPo2gblVIc4RaNqnpRQA+ia4FNc=; b=v2oLaKm1Q5WVstCEl8WBdLLVfX9NOA8YrkUpA7wXnhFfCv9ZCIf+991I0clXaFM0tQ VR0l+64RnwccUpbmBgxYgi/leBhujCwjMLRr7NvDNzBC6SiofJp9Ex6XWI0n06KDiadn /dpG9UuvwwTH8GaPJz4GWc+/Taq9HxeqmcCIs5AGjtGvfRgnkTcpXqn11+rU/rVshYJZ vt6BxFZt0YsBgDb3qjZ16ZgzyYG/+w498qEbhfTfWF3q4DyX+DJP5q5vpRMVGWNbqnVT ac4Uc3uiDct+UBOuhAgqaXaD2cw/ew0AwYW9dVT1q59nAs8H3ldNPYv6NxXB1ISsBQtX VWYQ== X-Gm-Message-State: ACrzQf2FoNEFFot3EhfIhB6j9LhOUDGVTDal4afjnzSB7ho2kNSFme1K x02zOJQ9kVLWd1dwxo0IUnVzuu5ntbRwqA== X-Google-Smtp-Source: AMsMyM4hs1yEXSuiLsujg/XbJUM5EFTVyJx5Cxs22w2sTyb14cMgxbDCc+qifhsud/W44L8RZT7Mzg== X-Received: by 2002:a2e:9c1a:0:b0:26b:2bf7:9154 with SMTP id s26-20020a2e9c1a000000b0026b2bf79154mr9419060lji.417.1664292912811; Tue, 27 Sep 2022 08:35:12 -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 o18-20020a2e7312000000b00268bc2c1ed0sm191592ljc.22.2022.09.27.08.35.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 08:35:11 -0700 (PDT) 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 , Rob Herring Subject: [PATCH v2 11/12] dt-bindings: pinctrl: qcom,sc7280-lpass-lpi: add bias-bus-hold Date: Tue, 27 Sep 2022 17:34:28 +0200 Message-Id: <20220927153429.55365-12-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927153429.55365-1-krzysztof.kozlowski@linaro.org> References: <20220927153429.55365-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The existing SC7280 LPASS pin controller nodes use bias-bus-hold, so allow it. Squash also blank lines for readability. Signed-off-by: Krzysztof Kozlowski Acked-by: Rob Herring --- .../bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 a8a48b684692..bd54c92287d6 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml @@ -91,13 +91,10 @@ $defs: 3: Reserved (No adjustments) bias-pull-down: true - bias-pull-up: true - + bias-bus-hold: true bias-disable: true - output-high: true - output-low: true required: From patchwork Tue Sep 27 15:34:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 609832 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 BE19FC54EE9 for ; Tue, 27 Sep 2022 15:36:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231903AbiI0PgP (ORCPT ); Tue, 27 Sep 2022 11:36:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232439AbiI0Pff (ORCPT ); Tue, 27 Sep 2022 11:35:35 -0400 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B43F110071 for ; Tue, 27 Sep 2022 08:35:15 -0700 (PDT) Received: by mail-lj1-x22f.google.com with SMTP id q17so11319057lji.11 for ; Tue, 27 Sep 2022 08:35:15 -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=1t0TIGJesK6hLM5PKw2EecRxO6c2wK2K1+TZumZPtWk=; b=Zd+cDgXiUivkzOnNFILtkBUnmUVQGo0NTItQGI0pc0jvJWMCwLFM4PgofQnzwpMXgP Lr3SUU/EFKSX6fExAKqNx6z0tTHZaXh559ZsExQKnKUSaL4W38N6M3RBlf5zFMSpQmeH lA2eXyXrakU0D++ih83K9oYhwmtO1dsIDcVXZL2Hsb/UG3oWT2zpYfbGEjDkwtbEqVOS VXPE7+vM6hVe+nE2qRWiQwQtK70FdIIVZkDvNbeBapfT+mcjWeIZUsehzgBGN41Kdaaa xKE6XdN4OYs1xtGOypEZ6c6EcoINpxywJ4I8aWRBlktARPx6Z5f3HnDsSzPAhG1ZJ8GI nm0Q== 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=1t0TIGJesK6hLM5PKw2EecRxO6c2wK2K1+TZumZPtWk=; b=aiLou9YwY0CRSU/v3isXPpZBrgDeNPvJQS44FxXWT/fO6CCyJqOFWFMEdYOguM3bqS yw/fqjFgwfaSiBWog2rslUUot3ZXkZY+Atv+tw8roYJsBThI9pe7um1Y1hn+v/V0GxZ+ JppSN20e/RPX/0DmTf+KQ+hiFfeEhSF33Lxy8Y9iJT2WDHPnBW93j3kqC8TIqjZziMVh eq7uBAvEvILHzi2y65VvkrvDxLL4qJKIg/nL5BvOcD5N76BBskNIQ2SeZQ9VktYGgtSY /1wkjDWEhBTpXj1NrMC5S1kq7fC+WjjigNJzKzWSnQxpoDfp/ybVaVlVHzxVc+5qyIVS NBrg== X-Gm-Message-State: ACrzQf0VipOczGDZ0SXq95U8n952o2XnUjg9l/zmtxdHVLVxA9X+9f4N xCkFzSZ1udz6AXVQGuhWFrDYpw== X-Google-Smtp-Source: AMsMyM4yTeO2bn30uGrLMDwGpJ8vVNyDNE/DJp3E6f2DnLXWPNQW/gMeP/hHBhmgWo9UQJQFyeINCQ== X-Received: by 2002:a2e:a910:0:b0:26a:ed13:cda6 with SMTP id j16-20020a2ea910000000b0026aed13cda6mr9437335ljq.250.1664292914866; Tue, 27 Sep 2022 08:35:14 -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 o18-20020a2e7312000000b00268bc2c1ed0sm191592ljc.22.2022.09.27.08.35.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 08:35:13 -0700 (PDT) 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 , Rob Herring Subject: [PATCH v2 12/12] dt-bindings: pinctrl: qcom,sm8250-lpass-lpi: add bias-bus-hold and input-enable Date: Tue, 27 Sep 2022 17:34:29 +0200 Message-Id: <20220927153429.55365-13-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220927153429.55365-1-krzysztof.kozlowski@linaro.org> References: <20220927153429.55365-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The existing SC7280 LPASS pin controller nodes use bias-bus-hold and input-enable, so allow them. Squash also blank lines for readability. Signed-off-by: Krzysztof Kozlowski Acked-by: Rob Herring --- .../bindings/pinctrl/qcom,sm8250-lpass-lpi-pinctrl.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-lpass-lpi-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-lpass-lpi-pinctrl.yaml index 78da5d2bb353..290ba2375e92 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-lpass-lpi-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-lpass-lpi-pinctrl.yaml @@ -96,13 +96,11 @@ $defs: 3: Reserved (No adjustments) bias-pull-down: true - bias-pull-up: true - + bias-bus-hold: true bias-disable: true - + input-enable: true output-high: true - output-low: true required: