Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp800185iog; Wed, 15 Jun 2022 12:37:18 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sDdakMfgM7E7pwidqksLkxS3Lnd+6FLUW9ZwdO7w0+EfBL+ErJQauUFspPO0IVu3EdeijL X-Received: by 2002:a05:6402:f:b0:42e:561:a1c0 with SMTP id d15-20020a056402000f00b0042e0561a1c0mr1684841edu.309.1655321837737; Wed, 15 Jun 2022 12:37:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655321837; cv=none; d=google.com; s=arc-20160816; b=JG1VSFQO8tQegQpjFAxCc2PI36+lFUJnu1Z/eREV8rKhSTbZzZA73JI2CUouBf3mmc YSkcaH6D3vE2W15JtvUcaBb96k1l86O6pdzueaTYD36bIgYNlorhsdzZ9cBS0eSUBoss 2Qex3y2Ic2lq/Fn0wPYbudXM/ZCtdAf2/LVTglvCBYd1dwrQNqsv5k7NQ/F2+84JGMjI niYUqjIVhPwFS3Tx7InzVuS+vzIj250NvcdMAahmQhHBrkn4Cn3PJalzZQZ62WgSklMF 2WtsaVh8IrS+HvfU4lYZCPrH2FTzVsBRC37q+bm9wx7ELxEhgYu0LKRHKpH1YyxNtr9F p/zQ== 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=aBOcucEGYvvvWUKMiG7ck3GFTJH/y+rjo3oRAZKefCs=; b=lcUUvei5Lea9eDZR9E7MGVGF04KUzvoAeElNRxNmE6Iphx94x085MZlciLM5dRHoE3 JeZC0TZrMwZf0+/kXN6AOuWmdG+9UD3c8EerF4wJ29P53dFfzexI1Q4Jq2dcvREOzsOK 84uvt+RwRx3EoSa4Jcxb8zb5JW0d8pzruEfwYHJ0tTLaJb7EFX58RoAKym/88L8+6jjD 9hZF4LKdHyfgibxtVdXQMCewBIhPZ1vsLHZ5yZgp56Hp6ysEEwIU9PNVcEIBrGOxX/UB R4pQj/EPrizxf25R7z9tDpatn4eBXPJ0vw3TId6o1gzng30TQJdvaa6xJPeDLJglhoRq +uqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=L3qN7bWA; 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 m7-20020a056402510700b0042aa9beb66dsi40516edd.417.2022.06.15.12.36.52; Wed, 15 Jun 2022 12:37:17 -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=L3qN7bWA; 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 S1349757AbiFOTMm (ORCPT + 99 others); Wed, 15 Jun 2022 15:12:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345414AbiFOTMh (ORCPT ); Wed, 15 Jun 2022 15:12:37 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8FAEC65E3; Wed, 15 Jun 2022 12:12:36 -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 2A88760BAF; Wed, 15 Jun 2022 19:12:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E3635C34115; Wed, 15 Jun 2022 19:12:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655320355; bh=aBOcucEGYvvvWUKMiG7ck3GFTJH/y+rjo3oRAZKefCs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=L3qN7bWAFQSKXjkYhc9TwspKC2crGuSj7nyK7rS9UK1FSHsdpgcIogd/ldeF9WXP0 0KQuUQB2krRWqicXjNKySrPbr9t+einpWC6Tqmb+IOLPXNp1cphF1eXAUiXdrbZDhG pbL3HAmeqwMKoCe2WtSkfeUGfHFCqgoGbmKDjtlLyFqPQd6j9li2KYRPKGFlixyW37 LB8W56550jbrJnJH0+tXAWw+0xDH6ToBnw2WmjQEY70bvhRoe9HCL2V3jxORBWnEy3 okXzIdOXzKzFXiBg5yWMUVNRoufipEpnCTPBI/vlVVM114mRep+SDp6D1miBbqxqn6 TijqHGg7j1xsA== Date: Wed, 15 Jun 2022 20:12:26 +0100 From: Mark Brown To: Robin Murphy Cc: Marcel Ziswiler , "max.oss.09@gmail.com" , "krzysztof.kozlowski@linaro.org" , "geert@linux-m68k.org" , "linux-imx@nxp.com" , Francesco Dolcini , "robh@kernel.org" , "krzysztof.kozlowski+dt@linaro.org" , "ulf.hansson@linaro.org" , "linux-arm-kernel@lists.infradead.org" , "dmitry.baryshkov@linaro.org" , "biju.das.jz@bp.renesas.com" , "catalin.marinas@arm.com" , "geert+renesas@glider.be" , "bjorn.andersson@linaro.org" , "vkoul@kernel.org" , "shawnguo@kernel.org" , "kernel@pengutronix.de" , "khilman@kernel.org" , "s.hauer@pengutronix.de" , Andrejs Cainikovs , "will@kernel.org" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-pm@vger.kernel.org" , "rafael@kernel.org" , "festevam@gmail.com" , Max Krummenacher Subject: Re: [PATCH v1 0/5] power: domain: Add driver for a PM domain provider which controls Message-ID: References: <20220609150851.23084-1-max.oss.09@gmail.com> <20220613191549.GA4092455-robh@kernel.org> <12e3bb72-af2d-653f-b342-c6b4d6a1f292@linaro.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zB2UHw7muFO3meeO" Content-Disposition: inline In-Reply-To: X-Cookie: byob, v: X-Spam-Status: No, score=-8.3 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,T_SCC_BODY_TEXT_LINE 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 --zB2UHw7muFO3meeO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 15, 2022 at 07:24:50PM +0100, Robin Murphy wrote: > Multiple consumers sharing a voltage rail provided by a single regulator = is > so standard and well-supported that it barely seems worth pointing out, b= ut > for the avoidance of doubt I shall. Adding a new non-standard way to hide= a > specific subset of regulator functionality behind behind a magic driver > because it seems like slightly less work than handling it the well-known > established way sounds like a great recipe for technical debt and future > compatibility headaches. What if down the line you end up with a situation > where if device A is suspended, devices B and C are happy to save some po= wer > by running the "domain" at a lower voltage? Do we stubbornly start > duplicating more of the regulator framework in the magic power domain > driver, or is that the point where we have to switch all the consumers to > explicit supplies, and get to regret having "saved" that effort in the fi= rst > place... We also loose the runtime validation that the supplies being described in the DT correspond to the hardware in any meaningful way which would also make it harder to transition to explicit control of the supplies further down the line. =20 --zB2UHw7muFO3meeO Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmKqLxkACgkQJNaLcl1U h9A8oQf/Qy+hNv0kHNOoFGSq8IZn9KhUnfZ1urDwa0BVgVd9o3gGVjfyGo2DRi4w C1+ssj8EA61LDsquEBRULVokHyU9usYmXKfRJRHweArlWyZvbxoHvRfgk+kjCBhZ A/VYrv2LvZHpYzrAVeviYllJs+ZGCq2Y1wMw8cFP558j8z2o5tEAFMdbpJRJvPNy WeFvgrixx2yNQr0VgkCWr/RJ+vCY+80hgrhEWvJj6wEtIpGRqgoYbDw6LM9EU4Gu hmSPorQNZbFBVQ8Dk597Ffq90RK8Y9axZGn1FvqXx07s2CYdS/wn1QiZLWdrLOf8 vpJIHU0pSsKo+plFfCiboC9PItlMLw== =ratS -----END PGP SIGNATURE----- --zB2UHw7muFO3meeO--