Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3712962pxf; Mon, 29 Mar 2021 09:21:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJv2w82bk+GS1lTDJ31n2grYHPYEHW4xEmrlFUL5G2D2my+OZzoTrsFd72z/OhqYg3iYxl X-Received: by 2002:a17:906:d157:: with SMTP id br23mr30157165ejb.192.1617034906432; Mon, 29 Mar 2021 09:21:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617034906; cv=none; d=google.com; s=arc-20160816; b=DbtkixNZHZoWUk2LQWmvSEpHLdc2vsu38EM2ZwM6k8+cXuv914wKG9QhARLfUSvJOB KbT1UFrTwgiOYXbftbOdqQhhZDQJkOwUz2Vsv4SLIdM3oqYa0YNJgxKIj4f8ZtI2JF4w +2rvOz7mNP3YXlwUiyAkVk5PBFZWznCfiktVL5iL/ZmT2Rn63VkLCjfDwY0nTtldI5/J 2e5b8YPkcKwk/XhZM6qLIVhAzhIQjMNySdaHzyaUhDn4a7AP6s3AZ29K6qsr+nRU2Czo 9m+bmEltLoXQY2nphAQIBMTziSwbJq+THyEHkEnR6dOAW5G1HzlSTdDoqHZik97RG+hc G1vQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=IMHolx/4cFXAycLjfgbEgAHTZFBXr36oUS1yaipvcMY=; b=Ona88ElB0+qA9BzoXHzAu8vzza2UguOM/ZQY7ufF2xP+C23Js415qV/hKavleXeuDf E8CsUQOwIr0OvOz8iGgxl3EXhbYC3Fi43RONUmUtM2Db2Ldvzdjl3Hm4+tqfFK/gPyQo V8Gi7PSMV6sPMY9vZfUFO5bYO9RVdAzUgPpL2WI86Q0gmtyny9HoEqYPJWuxIHYyVWPp 1cJJyRHF7eDKzqsaqgGlw/1soUrkr57Y7MvPiFjbOhptyWd1SGeNWso70F4olfzb3xlc XJ3E6MwdDRZ/MBsYnU0ZiDVKuqnudUD1/rK7IiJgVxTYrKIfDXKGCqgNu/xBa2sw4UUe ZmCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OkLzbe3Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j14si7838865edw.465.2021.03.29.09.21.18; Mon, 29 Mar 2021 09:21:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OkLzbe3Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S229628AbhC2QUP (ORCPT + 99 others); Mon, 29 Mar 2021 12:20:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:37210 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230373AbhC2QT7 (ORCPT ); Mon, 29 Mar 2021 12:19:59 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id B86A961581; Mon, 29 Mar 2021 16:19:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1617034799; bh=dGnCcl2HoA3NAkBzINwsXE0G5XK/4b9V3Ban3IDHg88=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OkLzbe3QDGc1oMRtw5aruwVpi0ycj9OCNunY6J0QBr2Fi89tQ5rXRo6/qIc9yhr4A TnsIqf7T1wqbC8GALzht716qBrUD2OnJcTQVwDcx9NsUMC6FC0dBpcmeN7j4hteSQD LBym5ykEJkdE5oQ+MqvHGCGFpg95zqSM2sV4uYVwBseyRBvnk+yrBVjPfCY1tki9ir rOlR53NOOSLz/5pnqlaZUcwEnIGeWXt9XCfEARQqX/7rL6k45NUhlKyB2m8bYTTVCz 4jvuSIvfqYdU/vlhzd+83qmcwM+uqtd3c6/gLsOfBukBRd4cu+YH9/DPatU8KQ8nH5 ky7No+8Au3lQA== Date: Mon, 29 Mar 2021 17:19:48 +0100 From: Mark Brown To: Jim Quinlan Cc: linux-pci@vger.kernel.org, Nicolas Saenz Julienne , Rob Herring , bcm-kernel-feedback-list@broadcom.com, james.quinlan@broadcom.com, Lorenzo Pieralisi , Bjorn Helgaas , Florian Fainelli , "moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE" , "moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE" , open list Subject: Re: [PATCH v3 2/6] PCI: brcmstb: Add control of EP voltage regulators Message-ID: <20210329161948.GF5166@sirena.org.uk> References: <20210326191906.43567-1-jim2101024@gmail.com> <20210326191906.43567-3-jim2101024@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="9ADF8FXzFeE7X4jE" Content-Disposition: inline In-Reply-To: <20210326191906.43567-3-jim2101024@gmail.com> X-Cookie: Never give an inch! User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --9ADF8FXzFeE7X4jE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Mar 26, 2021 at 03:19:00PM -0400, Jim Quinlan wrote: > Control of EP regulators by the RC is needed because of the chicken-and-egg > situation: although the regulator is "owned" by the EP and would be best > handled on its driver, the EP cannot be discovered and probed unless its > regulator is already turned on. Ideally the driver core would have a way for buses to register devices pre physical enumeration and give drivers a callback that could be used to do whatever is needed to trigger enumeration, letting the bus then match newly physically enumerated devices with the software enumerated struct devices. Soundwire has something in this area for a bus level solution. --9ADF8FXzFeE7X4jE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmBh/iMACgkQJNaLcl1U h9CvUQf/S+WYaVzUIqvnb0K6nY7Y7Tu7+dSYNItIsI9PpgGSQjVigAJvpvWuMQc1 0KS2Py/C77GDOsx0pEBX5hoLAU98BjvW+sjJTRCU2hjICoPtwEMrvVsmM7XzzFk1 rL1PXwJUgmlEzmknREWDe6VGAR5ddIke+9VdS5CBw2+d7HFviUb6bIyKBWPnm97+ El8J6IK37KCBy56NGGg3fqPwjFEZxy4oKyO7tklbqUi2qjweSsMR188Pw490LIYQ 54DjSMJY5ZoiLSkA+qJiB2vuCl7+Vtc6eQfsm4gio+rYxdYIduu685jrAfrYxopT He2MtwZwq1ks96Kt7R/FFDtZm7xCRQ== =0N2B -----END PGP SIGNATURE----- --9ADF8FXzFeE7X4jE--