Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1404534rwi; Thu, 13 Oct 2022 13:13:29 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6tupglOuZpKBVJ976R4lEYnBtMeF5koD7m4vckMk1a5Mwcs8g6jHsaHmEzFdHLdyIxZk1X X-Received: by 2002:a17:906:5d04:b0:722:f46c:b891 with SMTP id g4-20020a1709065d0400b00722f46cb891mr1109229ejt.4.1665692009250; Thu, 13 Oct 2022 13:13:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665692009; cv=none; d=google.com; s=arc-20160816; b=rI3jBSV3n88SbdSrRFoW+feGXN6CabLogoNUaxKU9TtZKNtBWi+UJYNzgS5YAV5jd0 rxospdYxtCFfKRpXVOOz7+VeNHfD76y7irus48SlEb+EX1QQjNavlZ+XViz6Kw7QYRUT rz5sehkcIT9rkpFfN2fchIphNjMOpb57vXKDpArKFzYkfYVXmodfNasFCTqtNQfRA8CA jR/bqW9XxKZ2biqgHzrPPQPG2/m820SuQ0XDLt5x9HZIEzMSebc+ZUf9I5GLm9xQe94C pqLdEeH5PTGHxW/1QXO9RZWu6dOKyPfyO0PxhifkqAGDGgx5wLmN7sufR0YXv+n4VAqe atyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=WJtUgMyknP4m6ys7U3PstctWgnf/qk6Z7L91/ntX78Y=; b=FGUvLjDqSHMC6OhCP6IIh3KyAo5b/wYQturKaK7rRFaV15IjC8Sw+wPmxvUctnrF0R iKYBA/gVqj6pVny98+oW/1S6SujkdC7Hhrz+KZMWhq/p68Gr98JcogHFtO1m1rfhP5yd WbVtvFTQ2ktNaXF45BrWVBuiSh/OXahWY3SNSyssFibxKWBvaRPhDqWLZEzA0LyCQSlk 1k7cXnqAClgD2+OoElF21diPdLcB4w3CGRQ+y9DEPqoa8MpGyBXOpOS8dbLFnSsuuXNZ 6/Zmc9miJ1Z5zn3T4kb5mFvHYaAC1ZJt5ZAyBoo5IblVNhl5bomq85XGoCTThFCn2F7m LifQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=WwkyeeUj; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cx4-20020a05640222a400b0045c6464492asi449170edb.160.2022.10.13.13.12.40; Thu, 13 Oct 2022 13:13:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=WwkyeeUj; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229833AbiJMTu1 (ORCPT + 62 others); Thu, 13 Oct 2022 15:50:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229829AbiJMTuX (ORCPT ); Thu, 13 Oct 2022 15:50:23 -0400 Received: from mail-il1-x133.google.com (mail-il1-x133.google.com [IPv6:2607:f8b0:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5F0F6171A for ; Thu, 13 Oct 2022 12:50:17 -0700 (PDT) Received: by mail-il1-x133.google.com with SMTP id h18so1525225ilh.3 for ; Thu, 13 Oct 2022 12:50:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=WJtUgMyknP4m6ys7U3PstctWgnf/qk6Z7L91/ntX78Y=; b=WwkyeeUjwcHXf2Vy1OXp7GfUN1jTId+7Svgh+SNa0GwV2l4+49ATkI9Y+pXz3w4dZZ bKI1zGvMjRq0Hu9tRXndWR2X84VisTSzl32ySRyuVa5936+YEcBi7pcTvYyVOMa0PAo3 PGBGwYeWRwafPuJGf8JxofTX1gUQENo4G/MYI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=WJtUgMyknP4m6ys7U3PstctWgnf/qk6Z7L91/ntX78Y=; b=B1vgGbofe65qISZKENfM+XBwGBJS5FEXDXP+D2MgWXlJEATH3n/j7g7iZqwKQJHUxZ xqt9yUVEbf0Yzy+34BuEuuZzPEmwFuH9NEBlg96Ff+yivp8jblC9mFrEJ/Q5wGpASAFk iJwK6JjgPmj3Ynxua70oqEO4ZEhlv3UPTC4PAm7m4U+Cky48PV2vE2tldD6AVHJlSz9h eVBuyG/RV0fN4nRd3vxPVv++ZxO/8a2RI1W3e1W/u9aA+JELD9DhJwAvEzJ44aMfQvUH jVOhzbRZThdGtz1WrxbJexNacrcSoJtBklVOgyGvfFDDRsGLH38loufPfPFovvdZcduU pSVw== X-Gm-Message-State: ACrzQf1l59fLvDCxGjkMPFwvIdTB0DqM69iArXt/NnDkP1CQNMTotMGh nbkf4a4f2akA9f7Zt1hQHML63g== X-Received: by 2002:a05:6e02:1bc4:b0:2fc:2d47:9abf with SMTP id x4-20020a056e021bc400b002fc2d479abfmr809263ilv.246.1665690617052; Thu, 13 Oct 2022 12:50:17 -0700 (PDT) Received: from localhost (30.23.70.34.bc.googleusercontent.com. [34.70.23.30]) by smtp.gmail.com with UTF8SMTPSA id q27-20020a02b05b000000b00363c852c779sm308754jah.61.2022.10.13.12.50.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 13 Oct 2022 12:50:16 -0700 (PDT) Date: Thu, 13 Oct 2022 19:50:13 +0000 From: Matthias Kaehlcke To: Dmitry Baryshkov Cc: Andy Gross , Bjorn Andersson , Ulf Hansson , Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , Kalle Valo , "David S. Miller" , Jakub Kicinski , Stanimir Varbanov , 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: Re: [PATCH v1 00/15] create power sequencing subsystem Message-ID: References: <20211006035407.1147909-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20211006035407.1147909-1-dmitry.baryshkov@linaro.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi Dmitry, Do you still plan to refresh this series? I know there have been multiple attempts to get something similar landed in the past 10 year or so. Your series didn't seem to get much pushback from maintainers, might be worth sending a refresh :) Thanks Matthias On Wed, Oct 06, 2021 at 06:53:52AM +0300, Dmitry Baryshkov wrote: > This is a proposed power sequencer subsystem. This is a > generification of the MMC pwrseq code. The subsystem tries to abstract > the idea of complex power-up/power-down/reset of the devices. > > The primary set of devices that promted me to create this patchset is > the Qualcomm BT+WiFi family of chips. They reside on serial+platform > or serial + SDIO interfaces (older generations) or on serial+PCIe (newer > generations). They require a set of external voltage regulators to be > powered on and (some of them) have separate WiFi and Bluetooth enable > GPIOs. > > The major drawback for now is the lack of proper PCIe integration > At this moment support for PCIe is hacked up to be able to test the > PCIe part of qca6390. Proper PCIe support would require automatically > powering up the devices before the scan basing on the proper device > structure in the device tree. This two last patches are noted as WIP and > are included into the patchset for the purpose of testing WiFi on newer > chips (like qca6390/qca6391). > > Changes since RFC v2: > - Add documentation for the pwrseq code. Document data structures, > macros and exported functions. > - Export of_pwrseq_xlate_onecell() > - Add separate pwrseq_set_drvdata() function to follow the typical API > design > - Remove pwrseq_get_optional()/devm_pwrseq_get_optional() > - Moved code to handle old mmc-pwrseq binding to the MMC patch > - Split of_pwrseq_xlate_onecell() support to a separate patch > > Changes since RFC v1: > - Provider pwrseq fallback support > - Implement fallback support in pwrseq_qca. > - Mmove susclk handling to pwrseq_qca. > - Significantly simplify hci_qca.c changes, by dropping all legacy > code. Now hci_qca uses only pwrseq calls to power up/down bluetooth > parts of the chip. > > > > > _______________________________________________ > ath10k mailing list > ath10k@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/ath10k