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 4C3E3C64EC7 for ; Wed, 1 Mar 2023 09:03:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229926AbjCAJDu (ORCPT ); Wed, 1 Mar 2023 04:03:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229780AbjCAJDm (ORCPT ); Wed, 1 Mar 2023 04:03:42 -0500 Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE8712596C for ; Wed, 1 Mar 2023 01:03:25 -0800 (PST) Received: by mail-pj1-x1031.google.com with SMTP id l1so12671126pjt.2 for ; Wed, 01 Mar 2023 01:03:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=7kLFJAEhf38Z91ErKT+SpxGk8u9CKv5JjAsWvmwSh1U=; b=kFV6gWvUnLZUgZ3rx1fWN6XsMVZGaOvEhSfcLg/s8cO8hXYZcsfYyMQVpM1nPe0baw 9ArjHkD/rTNKS5uasdrwh9EyO2HLnFSdTwYbjkFKAu3WyoU4IHt3Tz34CYydA9oO369D BObp7hV6riaekilNuiKshaOLfMCvvMGnhgoDEztu+nfov0YCkeX/+HL/23Yn7jAZ8k5x NMf4axghp3wg1SxSNbK2DtkVk61xSTsSv7ln/oLuupE6mXwtZ4StRepp85j7sHIy6sLP gDU3wf3dZ189e0zn3+AZIZ/STcotbaSfkInW+N3RhCLw3z5qel277LPsO3bAKE4Pkh8k BMvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=7kLFJAEhf38Z91ErKT+SpxGk8u9CKv5JjAsWvmwSh1U=; b=SbaBmz3sZt8IjJfP5EuzKsPGdlhmHwz01xB3eHnASgReoDzpvE3vbdYZCtek7F5PVq Pf0YlrQv24cr9Cc22boZEki9N/L2rHHqOJq5BT89Dh8oy8rx+nF7r9P0ZItbKxW5A5BA 3xZZ6vk4yL9hUqoUWZILPtsfQn56xXZUQ4cZl9vwi3oLyZzlDuIo+7SeyGferKjs//T9 iR8lBAXaKNyZ/nZqNbFoOUxoRzhCI/VZ8R8vbJDUl0G88JSyXBnOIH2UO8HzwU2otQRd 6wyLo9ujPmjgyHOnk/BW2M0M3Yd4R/B0OPEJdZyhFGCrAL6SlEYkJMEcZgVKk4F30OgN 38xw== X-Gm-Message-State: AO0yUKWWWv9G9kNietHeT2MZqPClXWWrFiKTfAB4Ih0GpJWJPASYsk+2 pecfGgxC5xBWXW77JzqpVJ3rqjcMAUOHmqCr7FEXhQ== X-Google-Smtp-Source: AK7set/EtY+OG6oXO/oVlz80z4XiEM8n0HHmXdl5DR+0gJsIWwZvMhJ6meksEeV5+DLgP3I/bf83eA0yaUAqAI17xbc= X-Received: by 2002:a17:902:e5d0:b0:19a:fa2f:559e with SMTP id u16-20020a170902e5d000b0019afa2f559emr3823016plf.3.1677661405158; Wed, 01 Mar 2023 01:03:25 -0800 (PST) MIME-Version: 1.0 References: <20211006035407.1147909-1-dmitry.baryshkov@linaro.org> <10237323.nUPlyArG6x@steina-w> In-Reply-To: <10237323.nUPlyArG6x@steina-w> From: Ulf Hansson Date: Wed, 1 Mar 2023 10:02:48 +0100 Message-ID: Subject: Re: [PATCH v1 00/15] create power sequencing subsystem To: Alexander Stein Cc: Matthias Kaehlcke , Dmitry Baryshkov , Andy Gross , Bjorn Andersson , 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 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org On Wed, 1 Mar 2023 at 09:17, Alexander Stein wrote: > > Hi, > > sorry for being late to the party. > > Am Mittwoch, 19. Oktober 2022, 08:03:22 CET schrieb Dmitry Baryshkov: > > Ho, > > > > On Thu, 13 Oct 2022 at 22:50, Matthias Kaehlcke wrote: > > > 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 :) > > > > Yes, I hope to return to it eventually. I just had no time for it lately. > > I just found this thread while searching for power sequencing devices in > Linux. From what I understand this is transforming the existing mmc pwrseq > drivers into generic ones. What is the intention of this new subsystem? What > is it supposed to address? > In my case I have an LTE module attached via USB, but in order to use it I > need to perform several steps: > 1. apply power supply > 2. Issue a reset pulse(!), the length actually defines whether its a reset or > poweroff/on > 3a. wait for a GPIO to toggle > 3b. wait a minimum time > 4a. device will enumerate on USB > 4b. device can be access using UART > > This is something required to actually see/detect the device in the first > place, thus it cannot be part of the device driver side. > Is this something pwrseq is supposed to address? Yes, this is one of those typical use-cases for discoverable buses that we need to add support for, in one way or the other. > > Best regards, > Alexander [...] Kind regards Uffe