From patchwork Wed Oct 6 03:53:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 515274 Delivered-To: patch@linaro.org Received: by 2002:ac0:890a:0:0:0:0:0 with SMTP id 10csp155003imy; Tue, 5 Oct 2021 20:54:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxyy2enWH/vtsKPDDYVqlvGxEsDGXnIRl9yuJdxGK7qMIHrh3y2DZBPcqVqi1qMnGlcqiYW X-Received: by 2002:aa7:dd16:: with SMTP id i22mr31283223edv.167.1633492466348; Tue, 05 Oct 2021 20:54:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633492466; cv=none; d=google.com; s=arc-20160816; b=ihzfuDgfZ95MWQYTbY1HTc/bXKlJ2EyAUZtaej1am/muXRIqR0SfZNLp4abXILMZGC DrzqwIKbwod++7pgQzLcffY+WZLigN26DoaXstyu7eEKxbicxJelPTOn5XMq4ulUhRt9 FW5CrHSSs89P09pP4R0ieJDG9sAiBWdF2gyOVp6dZeRSw2cwei8BKicuhUIMDGxoKuBO s7WSBmAowfvjJmFxGzRhbkxJ6bwMUHy5BVUYszfrX5UNvfdZcLrwwPmgRDRzKSuYc1GN pudICsdp1TADGHWLNACY1Lhe8jVI2o0cPlqSWRRP8l7si1CvwBqMFbojJzWlAtLEpf2l FYfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=xiLuOKz2kvk1cz4G50uNXXciKxmoQzaWMMylpBwCLy8=; b=tiwNtr7c9Y76Spxii1HPyp92PoAnydL1uWN2iSxz5YeKwGSTZ5ReoLRYeOKVXMARYj LeG+le20omHeOyDYQjLd2pwZU4/inyLWZUc1YbPqMQ2pmoELNoovhnZZL4Zm/7Q6Qf2D cRzeBgdxIHPV8lWLfnTl3jMiE99FxEwtR4vdpISyTAQsjtRCpaXp6pfbi+CRlPaj2npj DxVT1DU3jjErCyXwFizmQguGKZcJ9Xw8NzSAYbIarDDZcCmJjt7VngS9/rjH8UM97gkg 05D9/hg6Wm3HFAlAmAzgba4Lr/RN+x3vJYhRHEWOZakv96KfjLciTrYUdYmOiTbToWOz Cp5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=polX0w89; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id eb13si4889864edb.395.2021.10.05.20.54.26; Tue, 05 Oct 2021 20:54:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=polX0w89; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237425AbhJFD4N (ORCPT + 3 others); Tue, 5 Oct 2021 23:56:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237346AbhJFD4J (ORCPT ); Tue, 5 Oct 2021 23:56:09 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5938FC061760 for ; Tue, 5 Oct 2021 20:54:17 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id x27so4575274lfu.5 for ; Tue, 05 Oct 2021 20:54:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=xiLuOKz2kvk1cz4G50uNXXciKxmoQzaWMMylpBwCLy8=; b=polX0w89CVBCN2mcuowNKfbRPyuzDIzwQxcUMvp3pSgIs1y7JVQpWtngRvq+waMU7b YNbLlO3w4Xb2/8f6XEubs/qJUOtQznrQBL7S2ecUcLV70S99fUjf2ZLGhnphtztogFJD w2ISSBLMGCOuMxGu1HjknOvyTtLj1b6S+cTqqBQr2EFtcwZaBnukHF8D0cMZM0tnx0nI uCV3MQ398im1coHH4Usy3IV2fXVi0Fbt1Xaj7AZyBH+aVkmKGsxd3nbtmF9TFr7DYgvV K4jnBP31CLG9cegrjQl9fWMYbNN4TUdiby8W9Rl0yr8BmdtlXAb9MIJWsfalRQ0iUxqQ XBfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=xiLuOKz2kvk1cz4G50uNXXciKxmoQzaWMMylpBwCLy8=; b=QW2D544Gb/Hwn+O8hpayde3NfwMUiZALDcN7VkVRgkLr9YZWWDip12kIOTNu1JdHGJ ggHDiZMUO1sI60SX07XBFBsLRGOIrbNj+xXxJxmBUdWsV5fsQhlKaFuRvrIVlatpZHMf J1ycypGRm/ETtuTz1HDkxXDZqRScpATZaSAhIla00qRxTCOSnhez55NCzE4uQQ6+Vhc6 lVbJJ0qddEeoSZM8VRmDJBOewfdBA59vCUa5wgWrXsIwErvGFCZyjtkaYa9ia4cEZfIb Dl0XExIRw/h38ZXnR/NRhT8bJfzZxSLFpYo15eRJ/z621c9ZmIj3/9sLCjlgzJoq4mJK 67jw== X-Gm-Message-State: AOAM531l4is+7NVOQNBRPqSyiTqq5XlmdlOAbrI9Qrx1y9I3fphNnEeI os0Zkwe8Lz6nogCwaYv0KZMDQQ== X-Received: by 2002:ac2:4e0d:: with SMTP id e13mr7012924lfr.560.1633492455635; Tue, 05 Oct 2021 20:54:15 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id s4sm2142967lfd.103.2021.10.05.20.54.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Oct 2021 20:54:15 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Ulf Hansson , Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , Kalle Valo , "David S. Miller" , Jakub Kicinski , Stanimir Varbanov Cc: linux-arm-msm@vger.kernel.org, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-bluetooth@vger.kernel.org, ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH v1 05/15] pwrseq: implement onecell helper Date: Wed, 6 Oct 2021 06:53:57 +0300 Message-Id: <20211006035407.1147909-6-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211006035407.1147909-1-dmitry.baryshkov@linaro.org> References: <20211006035407.1147909-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Provide of_pwrseq_xlate_onecell() - a helper easing implementation of power sequencers using one cell to determine pwrseq instance to return. Signed-off-by: Dmitry Baryshkov --- drivers/power/pwrseq/core.c | 26 ++++++++++++++++++++++++++ include/linux/pwrseq/driver.h | 12 ++++++++++++ 2 files changed, 38 insertions(+) -- 2.33.0 diff --git a/drivers/power/pwrseq/core.c b/drivers/power/pwrseq/core.c index 0aaba4e79a44..3dffa52f65ee 100644 --- a/drivers/power/pwrseq/core.c +++ b/drivers/power/pwrseq/core.c @@ -449,6 +449,32 @@ struct pwrseq_provider *__devm_of_pwrseq_provider_register(struct device *dev, } EXPORT_SYMBOL_GPL(__devm_of_pwrseq_provider_register); +/** + * of_pwrseq_xlate_single() - returns the pwrseq instance from pwrseq provider using single index + * @data: the pwrseq provider data, struct pwrseq_onecell_data + * @args: of_phandle_args containing single integer index + * + * Intended to be used by pwrseq provider for the common case where + * #pwrseq-cells is 1. It will return corresponding pwrseq instance. + */ +struct pwrseq *of_pwrseq_xlate_onecell(void *data, struct of_phandle_args *args) +{ + struct pwrseq_onecell_data *pwrseq_data = data; + unsigned int idx; + + if (args->args_count != 1) + return ERR_PTR(-EINVAL); + + idx = args->args[0]; + if (idx >= pwrseq_data->num) { + pr_err("%s: invalid index %u\n", __func__, idx); + return ERR_PTR(-EINVAL); + } + + return pwrseq_data->pwrseqs[idx]; +} +EXPORT_SYMBOL_GPL(of_pwrseq_xlate_onecell); + static int __init pwrseq_core_init(void) { return class_register(&pwrseq_class); diff --git a/include/linux/pwrseq/driver.h b/include/linux/pwrseq/driver.h index 0ca1d0311ab6..8d46940981bf 100644 --- a/include/linux/pwrseq/driver.h +++ b/include/linux/pwrseq/driver.h @@ -157,4 +157,16 @@ static inline struct pwrseq *of_pwrseq_xlate_single(void *data, return data; } +/** + * struct pwrseq_onecell_data - pwrseq data for of_pwrseq_xlate_onecell + * @num: amount of instances in @owrseqs + * @pwrseqs: array of pwrseq instances + */ +struct pwrseq_onecell_data { + unsigned int num; + struct pwrseq *pwrseqs[]; +}; + +struct pwrseq *of_pwrseq_xlate_onecell(void *data, struct of_phandle_args *args); + #endif /* __LINUX_PWRSEQ_DRIVER_H__ */ From patchwork Wed Oct 6 03:54:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 515281 Delivered-To: patch@linaro.org Received: by 2002:ac0:890a:0:0:0:0:0 with SMTP id 10csp155421imy; Tue, 5 Oct 2021 20:55:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1JuTOVfKa/2x9jghJaTNrnqFTkBZ572gTBS2DqCpcoXA9DEsuftSgvRR5CJAQ5OUPZris X-Received: by 2002:a17:906:4cc1:: with SMTP id q1mr28298403ejt.415.1633492525301; Tue, 05 Oct 2021 20:55:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633492525; cv=none; d=google.com; s=arc-20160816; b=TGcjJAvi9H/IwhGcDBV5xkhvRJAJeYkthoWgA+2t38AQHfSfhIq4+lDlaprgMmZDdL i9+ODN/AYVTegkfzrxByDRyzb6yBkpZ5un5Jlo/zq2vkl0MiKAwzqxQowA2xtNU3BUUz IcNoqL6bauoVzL1CGGf80Ch3YHrOqMPQkzxtz5OxPXDr0lNg5xgjBa/gLdVHTwfWzQJx u989LQLZQzmiGIWhcw015asPhO9dkgbcjXFYCxu9eIWN2MRGclWgrQc5aBKyedOZNXHM vGJ5bT++OUuv5itG3gkY4vaPIhW5iYOUo3Volt1cpcpsXvH9DaFThIcJid7+ZKiJzhai /cag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=/yFX2Zi7N+6O7NNekyBMBaaX61kWJ67YZ/rDfO9/pCo=; b=u2H26SpHzvaD3no3DEprt2mbr671rEgqbIi2hxVYhIzR90d6Z4lHAhtHtcQ1cQVicz uiMtGNtD2NqhFZidxkd636yTb9bdEeILgrontBv2/WdUwwa13H/HKNK5ZVySTn0NqiUx +ARnc/+BFwqaqhhKb1S7DrorlC/rxDw0RQjRqNFZ8K/MgIzbn2f8mX4N5HkREDbrlXC+ l9s1UABh2jPj0BMz8Pz9ko/wTxDfR5HUOhJEd+AX36GIIIVAdyrwqcOFOoRTsO230AHo EVrvMq3i28WbBlFsOswLc7pedCPYlpF1iwE5gmWVJiK5H7pnwhYyXnCgbLl/+PRY8K// VG8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="wbt/SYeV"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y16si6826405ejp.320.2021.10.05.20.55.25; Tue, 05 Oct 2021 20:55:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="wbt/SYeV"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237659AbhJFD5N (ORCPT + 3 others); Tue, 5 Oct 2021 23:57:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237508AbhJFD4X (ORCPT ); Tue, 5 Oct 2021 23:56:23 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E9F2C0617A4 for ; Tue, 5 Oct 2021 20:54:23 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id y23so4777026lfb.0 for ; Tue, 05 Oct 2021 20:54:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/yFX2Zi7N+6O7NNekyBMBaaX61kWJ67YZ/rDfO9/pCo=; b=wbt/SYeVTpGchHAcroGs65Of1AQiUTTG33akfUx79AzYY7nm6RIYq5RhUXp+c9Jys4 nXiObPAc9jCzAYIZ1poh6hdKRe+bj0bgMbS88p28gO6wqFmeLTYm4zuoD4+T3MhC6yjW ZepDlWf6ARy8vZhxqA1b3B0t0KcRz9417nhNZY94WNepBe4GPa6KVt65f7s9X/t4aZDk shoOxtV8sXrBvfORX2E4aaC1h8l1zuhYA8z4UiPS3Eu3WEKvzDt2tSUCWnrG0Jrlo5AG Qcx1rElX2rZ8uflS2LqYwzGzlTy4ej8i4J3tGxc/Gc0S07QUgsx8cN9arN3kElLOU6aF ypyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/yFX2Zi7N+6O7NNekyBMBaaX61kWJ67YZ/rDfO9/pCo=; b=v3A9AYPr+/+k8/5jDP1/4/6qj3LV/Rk07bpiAZvWwF4IlbP4H5XWjrncGeWNQZlDLx cxqc7cpdlE53Gk8cmKX3eu1jLi9BVouq0V2UT82cbLdWJdTCJ1EVf6DP6yuCwxzIb9Ku GT4TEXJTS13cZyX4TlbEjUteYqQcp+V2P5fiOnIDtzPAdkzj9dKIQ52BAT0yBAylZ1MA v7+gLLCK35Ua63tGzPmGAc73mXuJSpcddOqJ9e2xM9k8//Hi6R7wv7WZsZ7ZKEzEMtCD 6EWnVmXmgb2QR5BkEdo3k16A2J7GxuLPnNs9x5wxbIzQoBaId8fRmkn7KtLxSZgey4Mn lQtQ== X-Gm-Message-State: AOAM531X1EbyqHOfrCyivufESotqK2ZokAiVa+POIOnLHHuIAJQ6EjGw FOsOLvn4bi2Sj4F1tMF/ZTjueg== X-Received: by 2002:a05:6512:2341:: with SMTP id p1mr7186976lfu.204.1633492461726; Tue, 05 Oct 2021 20:54:21 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id s4sm2142967lfd.103.2021.10.05.20.54.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Oct 2021 20:54:21 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Ulf Hansson , Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , Kalle Valo , "David S. Miller" , Jakub Kicinski , Stanimir Varbanov Cc: linux-arm-msm@vger.kernel.org, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-bluetooth@vger.kernel.org, ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH v1 11/15] arm64: dts: qcom: sdm845-db845c: switch bt+wifi to qca power sequencer Date: Wed, 6 Oct 2021 06:54:03 +0300 Message-Id: <20211006035407.1147909-12-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211006035407.1147909-1-dmitry.baryshkov@linaro.org> References: <20211006035407.1147909-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Switch sdm845-db845c device tree to use new power sequencer driver rather than separate regulators. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 21 ++++++++++++++------- arch/arm64/boot/dts/qcom/sdm845.dtsi | 6 ++++++ 2 files changed, 20 insertions(+), 7 deletions(-) -- 2.33.0 diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts index 2d5533dd4ec2..a6a34a959a91 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts @@ -629,6 +629,16 @@ &qupv3_id_1 { status = "okay"; }; +&qca_pwrseq { + status = "okay"; + + vddio-supply = <&vreg_s4a_1p8>; + + vddxo-supply = <&vreg_l7a_1p8>; + vddrf-supply = <&vreg_l17a_1p3>; + vddch0-supply = <&vreg_l25a_3p3>; +}; + &sdhc_2 { status = "okay"; @@ -916,10 +926,8 @@ &uart6 { bluetooth { compatible = "qcom,wcn3990-bt"; - vddio-supply = <&vreg_s4a_1p8>; - vddxo-supply = <&vreg_l7a_1p8>; - vddrf-supply = <&vreg_l17a_1p3>; - vddch0-supply = <&vreg_l25a_3p3>; + bt-pwrseq = <&qca_pwrseq 1>; + max-speed = <3200000>; }; }; @@ -1036,9 +1044,8 @@ &wifi { status = "okay"; vdd-0.8-cx-mx-supply = <&vreg_l5a_0p8>; - vdd-1.8-xo-supply = <&vreg_l7a_1p8>; - vdd-1.3-rfa-supply = <&vreg_l17a_1p3>; - vdd-3.3-ch0-supply = <&vreg_l25a_3p3>; + + wifi-pwrseq = <&qca_pwrseq 0>; qcom,snoc-host-cap-8bit-quirk; }; diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 6d7172e6f4c3..99117eaf617f 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -1046,6 +1046,12 @@ psci { method = "smc"; }; + qca_pwrseq: qca-pwrseq { + compatible = "qcom,wcn3990-pwrseq"; + #pwrseq-cells = <1>; + status = "disabled"; + }; + soc: soc@0 { #address-cells = <2>; #size-cells = <2>; From patchwork Wed Oct 6 03:54:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 515285 Delivered-To: patch@linaro.org Received: by 2002:ac0:890a:0:0:0:0:0 with SMTP id 10csp155847imy; Tue, 5 Oct 2021 20:56:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSdZ7L55jyjMPD/5Lhm4qKbAFzBH1v49DMJjNW475E3239P5YBd7Ij9O3/1XNgOpInYihL X-Received: by 2002:aa7:d802:: with SMTP id v2mr27374849edq.271.1633492595844; Tue, 05 Oct 2021 20:56:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633492595; cv=none; d=google.com; s=arc-20160816; b=lZrLFoq2WeJbznkUbMLYclR3wOPPgkVQPPtgHdwP75S8sbAFovBykA1iucDhJ2e+IV 9AWukDBUXNwW5KHpPMcanbd5EsnlM4Md42i5GwF1yvEZa0/fxwjqJM8EQLzX5AHHxOQJ rUjtb/u4Vp4n1RY6tHsTSpEQwUzOIOVZToPGivzpI55mgeW39VIm0CdH5Zvk4qzohLMc bR6Ygzoyqi8pwQFmawZKEXSv6zxc9FZ1PCMhh2LKbn1NkfxAIbTq7enC1/dw+zD37+K5 Jo/9L6WR6TbiywCjhJq4ThOSVutrh4Z1OhB45IzOS/8EQeqaDSofSiaeqUcC3sgIKhzE y+zA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=DZOpdA3eYjpudg4OpQFFkH8jLHw3BxsNdxzTMff7kgw=; b=kDApKzHiHFcFV3I3VxToriEgV0WHVtLj15m2kd7Vv6NRqIBLmKJeZ1+54gw+wEXxYm /OJp6f9P9gsWqdK1gkkwUWpTjF7/iypJ3wIFsn/toHmrQQW2OfbR/XSI0EKMF39KwB6P xjuu2N+p9jyyjARnewNJvR0ovigIKNSpinqypGFlTsKd/VQQpqRn6PDdrkOPEVqmL7TW kr3R30YE+vo4P1aHqDHkQ5jvfsTr2kx8L+G17udNifA8QGjO2HJh16O/9nQfUhMrS3SL 3VL6wvOjY10mxOSJv+fxS5Ks2AE6wJ3bz1clDnNiPN18XukGgQNEiz3DpiH4pXIhrbVa kvdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Vqowca4U; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q1si22608229ejr.43.2021.10.05.20.56.35; Tue, 05 Oct 2021 20:56:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Vqowca4U; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237389AbhJFD6Y (ORCPT + 3 others); Tue, 5 Oct 2021 23:58:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237766AbhJFD5O (ORCPT ); Tue, 5 Oct 2021 23:57:14 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD9BBC0613AA for ; Tue, 5 Oct 2021 20:54:26 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id x27so4576415lfu.5 for ; Tue, 05 Oct 2021 20:54:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=DZOpdA3eYjpudg4OpQFFkH8jLHw3BxsNdxzTMff7kgw=; b=Vqowca4UgiaC+fBXqBcu/uY1PBquzcLUSNLvI4m85X7UrokO3SMSU2VjgjwlLvMQmh qsx0PVYwuS97nctSczbW0/EPVJ0QBpI8npXxHwrFMaNxAVtaIlRSrtfDr/01lMkJFIzk NeLaREUo2x9NAHKctYTeKFJdcbLKG3DGrW4TE6vnxKsvxVRzGpwnzWZPAhbV6qTOP1TZ 8albRcafCq9VIoNGF5i1EtEgCzTR7YeJxiTMPsw8rZxBFCSGpBQwXD+jrBjbyyQnVjnb ujZ8iI+IoHoh/d/5ZhPx+FNiAsGnS4MzGWDOWNQ3qbBfyZhavzipupkGO+MkveylWsCR B8HA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=DZOpdA3eYjpudg4OpQFFkH8jLHw3BxsNdxzTMff7kgw=; b=H9aDS3yKoW2cdgr8FW68yaQe/U3CR1E+uoq51Mip1lijMoqCWBzmRSM3Objy0bwqfr nH9qv4E+VruVFsDN4389pog1xiLhM7xX+UgeV0tXtHiCmbrnEVXHpwRFNTqAIz9WkBuq XaknsPrd+GALeXobDKbhR5jLawUQdCxnna37neTwXiwH2Tm4JXPsO5tiYQmH5eO24OKD dXsruUxjYo3mSd/y/0NmFDuslMG6STftNGj4jkfD8DWdyP5ckUH9DDHbEAGaz55ImtjW sgjNhlZFs3QIYPNi9BozN9+2jRdK+sdqbR+kuq48mrGYYR/C+EcgPVV27gfm2dgz+yym axWg== X-Gm-Message-State: AOAM533osxqHUjxEMTWj5ofgSalPC29yg+qinIO+qp6yQTNWAYqkxJm6 sZzurrTiaZVgGsdELjL7y4hiYQ== X-Received: by 2002:a2e:480a:: with SMTP id v10mr25910067lja.268.1633492465108; Tue, 05 Oct 2021 20:54:25 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id s4sm2142967lfd.103.2021.10.05.20.54.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Oct 2021 20:54:24 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Ulf Hansson , Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , Kalle Valo , "David S. Miller" , Jakub Kicinski , Stanimir Varbanov Cc: linux-arm-msm@vger.kernel.org, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-bluetooth@vger.kernel.org, ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH v1 15/15] WIP: arm64: dts: qcom: qrb5165-rb5: add bus-pwrseq property to pcie0 Date: Wed, 6 Oct 2021 06:54:07 +0300 Message-Id: <20211006035407.1147909-16-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211006035407.1147909-1-dmitry.baryshkov@linaro.org> References: <20211006035407.1147909-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 1 + 1 file changed, 1 insertion(+) -- 2.33.0 diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts index 326330f528fc..0c347cb6f8e0 100644 --- a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts +++ b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts @@ -689,6 +689,7 @@ wifi-therm@1 { &pcie0 { status = "okay"; + bus-pwrseq = <&qca_pwrseq 0>; }; &pcie0_phy {