Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp912665rwi; Mon, 31 Oct 2022 09:00:51 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7vnA90Z/190aYiQPpf1BdhEw0HYCbHWcdqOSwzFAjMeZaiQjxGBPnOcN7IIv3IrA0w8RbP X-Received: by 2002:a05:6402:2794:b0:461:d60c:30c7 with SMTP id b20-20020a056402279400b00461d60c30c7mr14106367ede.392.1667232050833; Mon, 31 Oct 2022 09:00:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667232050; cv=none; d=google.com; s=arc-20160816; b=qkyjS4rBgJscBy9921L5RsHyIWmc0i1p4kvI95KE3SLjMWYLil45fCnM9K8aip8+TR nwITREpx/8rIgXw372FzKDLhmwFzo4VwGxctpf9I+ngjdJoWLqAaHmYla9HWWzYqj7Vp 4HArSDqb6O6lSeiY1WjWyImXn1iyNtBZQK66I+3jSiQBYCkcb1VwpmhDNY2Zz1SC8DXp c7I7i2KsoeSS2ZmkjZBUsd6jzVWcWwTStA9ndLkc7ddVaWFbr6jR2w5LGXcM0cuwS0j9 MJlVTKGgAp6O4FqATweNFjtP6Vg05DIsPt1U7AzxgU6ckMdBO4R0RMHdfQuINpe6WOpc E3eQ== 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=C4BUmZTDf2Mch+cTZSs9pWOK7QqkgsMmZsmWF7A40BQ=; b=ZIp/Gj/Q9jPEmMVcHlbPsgeKzVzHUREtMulhfKL/bqYYe5do1YsKJ6KcruRSnp3Dfl qX4iiZXJyZ9V1N/SohCXjoqYS0bLBQu0qtfctp5UwWLsOyns0eAMk1zz56xXbCcqAuJp T2bKG8fRR+QhlqfWxODcdv9GZ/7YwFbdx9qhHOmaviC9/VCOS7AqZm/aYaAlNBH3/ZtQ LQCueUHy/lA2lTvQeZgbCa7gsfOqBTe06ZGi25mhh8tEQoSvMp8wcRri8tUwhvt1pOOo HursMpCkEJKNSC5vaKPBPELEYF1aaQWcCEcvbA+xU0dYH+zIGxVzBfkpXw4jmfgw5cnz mH0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="C2ol+s/G"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qb26-20020a1709077e9a00b0078e093ae419si7983135ejc.8.2022.10.31.09.00.25; Mon, 31 Oct 2022 09:00:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@kernel.org header.s=k20201202 header.b="C2ol+s/G"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232027AbiJaPqp (ORCPT + 98 others); Mon, 31 Oct 2022 11:46:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231960AbiJaPqZ (ORCPT ); Mon, 31 Oct 2022 11:46:25 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39ABF12624; Mon, 31 Oct 2022 08:45:41 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D2AC9612B9; Mon, 31 Oct 2022 15:45:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D5EA6C433D6; Mon, 31 Oct 2022 15:45:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667231140; bh=Gfx5xqDBJQm6OTzVGDzkuc7YFMXL+R2QMUfRfaHarw4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=C2ol+s/GsL7TPDoteDrQ1RWKAz7R8D9cY/k3aRxCdTKvWQldeEQvLdHQPa8bsl2PW 5Z64chqinjQHYuqxCy3mfh13IJs5vElXHtAbtKlmAQ7s+9sWg4ZK+Zm5hB9hBJc7+M srYacHx165jh6KsdX4ur1sQJ6nanQ2GvYHPnDGt0sHbIM3Gkkr/YMtFc7vpU5+M8fS vb7P54kOuKLl0sD9IioyCEHrfpB6zv1CnS9NDxW1sXpTmyf2YZP8ihgBSQanHj6hbx AXUje3G837j2VHJ92gKvRwVMkZ/txQrn51quak/Q2hGZBk9/kjiiiCtN18+bSFZkl+ UrgA97jg31V/A== Date: Mon, 31 Oct 2022 15:45:34 +0000 From: Mark Brown To: Zev Weiss Cc: Krzysztof Kozlowski , Rob Herring , Liam Girdwood , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Naresh Solanki , Patrick Rudolph , Laxman Dewangan , openbmc@lists.ozlabs.org Subject: Re: [PATCH 2/3] dt-bindings: regulator: Add regulator-output bindingg Message-ID: References: <20220925220319.12572-1-zev@bewilderbeest.net> <20220925220319.12572-3-zev@bewilderbeest.net> <20220929210714.GA2684335-robh@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="HdNa3smXV1x+Yg8k" Content-Disposition: inline In-Reply-To: X-Cookie: Sign here without admitting guilt. X-Spam-Status: No, score=-8.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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-kernel@vger.kernel.org --HdNa3smXV1x+Yg8k Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Oct 28, 2022 at 12:44:50PM -0700, Zev Weiss wrote: > On Fri, Oct 28, 2022 at 08:51:54AM PDT, Mark Brown wrote: > > We don't turn things off on reboot? We don't do anything in particular > > on reboot... > Okay, perhaps not on reboot specifically, but the userspace-consumer driver > has a regulator_bulk_disable() in its .remove function, so it would be > triggered at least by a module unload (which is sort of why I ended up with > the "when software relinquishes control" wording in the patch). If we're > going to continue with the plan of using that driver for this functionality > (which seems overall quite reasonable to me), we need a way to express that > that must not happen on this hardware. Ah, that would be the test driver not intended to be used in production then... That shouldn't be a blocker for the DT binding, and if there's a different compatible string for this application then we can either make the userspace consumer do something different based on that compatible string or have a new driver which does something more sensible and perhaps has a better userspace ABI. Either way so long as we can tell the thing being described is a BMC output from the DT binding I think we can leave it up to the OS to do something constructive with that rather than trying to control the specific behaviour in the binding. --HdNa3smXV1x+Yg8k Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmNf7Z0ACgkQJNaLcl1U h9BkFgf9FKsGGxWuC5iXQlHFiyi14CZmY17XgUIeryMt5FgoDqOVqrzpmW1eyubx OYeSw4HIYHNJbaad3hPryk75jFUsKsfm7Zt1JSssh2t1w8S+SBET9Gm8PRXWYo4D A8ONEz9bbWPUbP9obqEvlFN+fWBGyehb7c2/JN2kElFu8iN+NoR+yiMsMKlvwV7y AWY5AT6u8aOyuYtW3lHfiGK4zGCFatnAqDvC48NfN09naLGBAE7CvARC8I6vw91p hloaMc6YxMK2jtMsWLtwlLi+Z4P9BArYv4Y2Xi9x5bPFQw/q7e02fh6A76XvBaRF bOlyuze5LAJQhttKvmKlIl9ls82INg== =aRAV -----END PGP SIGNATURE----- --HdNa3smXV1x+Yg8k--