From mboxrd@z Thu Jan 1 00:00:00 1970 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 38C8BC38142 for ; Fri, 27 Jan 2023 21:33:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229709AbjA0Vd0 (ORCPT ); Fri, 27 Jan 2023 16:33:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbjA0VdY (ORCPT ); Fri, 27 Jan 2023 16:33:24 -0500 Received: from smtp-out-04.comm2000.it (smtp-out-04.comm2000.it [212.97.32.67]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B2612A175 for ; Fri, 27 Jan 2023 13:33:20 -0800 (PST) Received: from francesco-nb.int.toradex.com (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: francesco@dolcini.it) by smtp-out-04.comm2000.it (Postfix) with ESMTPSA id 2FDD2BC7089; Fri, 27 Jan 2023 22:33:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailserver.it; s=mailsrv; t=1674855199; bh=kdoAqMrExVGaNoV54ZBc8DPfktno9RS2Tt30mZjgcoE=; h=Date:From:To:Subject; b=ztTJ8luJUVeI2F+/Vxj92d7hzdAEZsQNU7BTVbHlqhE7S7ve59G8Quv73XIEd0jOJ kl+NNjqdhXHKx2A3i4gTAwHBrEezGPmDnsWX+mspTRtePRtSqs8BS6huIKl5LGDzfb 9PJiYMtkWyHCFrv+5jwL9m00eqBQkI8+UDlAmrBf4zGxcLXk1EJ63u1qbJv6hS1jUn Zg5JglkCbPZ8vQdoRpeJKnm9WSgCicfDTzVbKUCub3uQ5ID5dLTe/vUTG1NpLgD8yp OS+nHX1EFZO2CjbMFhHaTi77fbqgYzz5/bJ1dajKJxvHXrIRth3p+Ohm3hFW7f5BDG s66k7fSW8W5KQ== Date: Fri, 27 Jan 2023 22:33:14 +0100 From: Francesco Dolcini To: linux-kernel@vger.kernel.org, Liam Girdwood , Mark Brown Subject: fixed-regulator with enable from another regulator Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello all, I am trying to figure out if it is possible with the current regulator-fixed or with any other solution already implemented in Linux to have a regulator enabled from another one. I am not talking about the regulator vin-supply, I am really talking about the enable input signal of a LDO connected to the output of another regulator, a sort of "chained" regulator. As an example something like this [out] ---> [vin-supply][out] ---> [out] ---> [enable] [out] ---> [vin-supply][out] ---> [out] ---> [enable] ---> [enable][out]---> in which toggling control 3 different outputs. I am still not 100% sure if describing this specific hardware connection would be required on my system, maybe I can just ignore all of that. Any thought? Francesco