Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp162312pxu; Tue, 5 Jan 2021 07:38:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJxnR+5LSm+BybOotsUqltyzQxjsb3n/rAnOlhiaXzb4e6ME+ZbrODIEbkS8cINjUFwqqdPt X-Received: by 2002:a17:906:f8d4:: with SMTP id lh20mr72107751ejb.442.1609861122169; Tue, 05 Jan 2021 07:38:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609861122; cv=none; d=google.com; s=arc-20160816; b=qUFrcZ4IcGcfA0In7WTDIzKLpvx320GNDoU1q97cltRoPs4QZcEEt+ntruSm9cDsoU aryzrEkqdsypT0KoJYGx9BdLmZhKabPs17+Sreeq90g8kRu/Rd9XFlCMoUfAVWYa+BAF D/1GGxSEZUinGLmbzE/kimuexagi9YFWyJpM8E7N4+FZAW9t7PqfOFcsJgQEPMIQshFk 3VS0Bm9s0GuLcC8utMFtCuAN9gfWNv/AuxArJsPTkEhE28iHfm4XAFW/OplXQNZWtYk4 PDPbbwWfStJG/quVzv727yK6s5UuJ9MmXlfBxh1Y8G6Bhs1TStX9cG+WITG7cIoLXWmr agPA== 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=1C5qKBq2q4mLmX2kF5muUyeGOFKpN6QXb6oLNOFdcvQ=; b=XO70f2xEyt5bCIAY6XGq2jT/IPSDdSqb09mfsNA4gGpAC5dj8GQoFXPU8O6B5nG2aL uv57zl7zn4qFuYYKPye2BmGISgi/UvTNK3+sCYLjsDP2g4YBV5YHgg2OQcKPYOWkN09J pUeig9KX8bUl5CKX3PIcrjGH53LZ2elKl5H0DzHnb9IXInFmG9rQO0cNxJkyf9ZnFdr0 4Gv+CX65gNO64eS9NZgJI22bEZLrkQw3Pd0VnWN+D5leKZpgf+vV2EpBaQqi3IWqTJMW 8YNsCCfjS/BA5uL2kVCnhZZvmi43kXeeEmcP+dOFe8EzSJ/OE6M0rZmfhdgsHN2kp9TV DVJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dY6lqOTp; 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 a1si30823852ejd.577.2021.01.05.07.38.18; Tue, 05 Jan 2021 07:38:42 -0800 (PST) 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=dY6lqOTp; 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 S1728217AbhAEPe5 (ORCPT + 99 others); Tue, 5 Jan 2021 10:34:57 -0500 Received: from mail.kernel.org ([198.145.29.99]:60388 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727924AbhAEPez (ORCPT ); Tue, 5 Jan 2021 10:34:55 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 605DF22AAB; Tue, 5 Jan 2021 15:34:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1609860854; bh=6LNNf9Ps64nYPsfS29WeXyehMYYqGfzkFag3C65Fpwk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dY6lqOTpyS3rKOArMrV8ZwHksktSKfjnNUUxbI/Qrj1LvMqRYJ6j1IM9x9tDCoAVK ctVqyJcovX11sb+f6f4WurSnS+pohg9I+/Ba1MfDnIO+asbbJYBPIA9h0nwvscK7iA q7eYQ8SxKADgNMpxuh5A9eIZt+uy31I7LZNMTdGVGaHltSVizOfKqo0NAWYY6o7JDH adw6jajHlxM7S269fdKIT4UD1bFOHjQCCcHwjRECEbErYBSxfFvYN8AuCUr1rQs0aM i7/JnbGi3Qu+QhaK3cvx3sLyTaRNN7A8ogd5CIb2R86H6W/2LENxH55+XKebV8QRng +loyTKjGdw+Tg== Date: Tue, 5 Jan 2021 15:33:47 +0000 From: Mark Brown To: Jim Quinlan Cc: Rob Herring , Jim Quinlan , linux-pci , Nicolas Saenz Julienne , bcm-kernel-feedback-list , Florian Fainelli , Bjorn Helgaas , "moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE" , "moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list Subject: Re: [PATCH v2 1/6] dt-bindings: PCI: Add bindings for Brcmstb EP voltage regulators Message-ID: <20210105153347.GE4487@sirena.org.uk> References: <20201130211145.3012-1-james.quinlan@broadcom.com> <20201130211145.3012-2-james.quinlan@broadcom.com> <20201209140122.GA331678@robh.at.kernel.org> <20210105140128.GC4487@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="VdOwlNaOFKGAtAAV" Content-Disposition: inline In-Reply-To: X-Cookie: I'm ANN LANDERS!! I can SHOPLIFT!! User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --VdOwlNaOFKGAtAAV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Jan 05, 2021 at 10:09:21AM -0500, Jim Quinlan wrote: > On Tue, Jan 5, 2021 at 9:01 AM Mark Brown wrote: > > > For us, the supplies are for the EP chip's power. We have the PCIe > > > controller turning them "on" for power-on/resume and "off" for > > > power-off/suspend. We need the "xxx-supply" property in the > > > controller's DT node because of the chicken-and-egg situation: if the > > > property was in the EP's DT node, the RC will never discover the EP > > > to see that there is a regulator to turn on. We would be happy with > > Why can't the controller look at the nodes describing devices for > > standard properties? > It just feels wrong for the driver (RC) of one DT node to be acting on > a property of another driver's (EP) node, even though it is a subnode. This is something we do for other buses, for example where there's device specific tuning that is actually implemented in the controller hardware. > There is also the possibility of the EP driver acting upon the > property simultaneously; we don't really have control of what EP > device and drivers are paired with our SOCs. If the device is trying to do something with a supply that's a standard part of the bus outside of the bus it seems like that's going to lead to problems no matter what, due to the discovery issues the device must be coordinating with the bus somehow. > In addition, this just pushes the binding name issue down a level -- > what should these power supplies be called? They are not slot power > supplies. Can the Broadcom STB PCIe RC driver's binding document > specify and define the properties of EP sub-nodes? I assume the supplies have some name in the PCI specs, whatever names are used there would probably be appropriate. --VdOwlNaOFKGAtAAV Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl/0htoACgkQJNaLcl1U h9CY8wf9HuKx8WrUVOm/JnM4g7BRzRrN0zbKNo27TY0gXTi97ROAnd+1hDclFSnn N5C2FGBEeTzpc2zyUyiyMO7iiqFC1NJ1bPp0vXFaVN4g1nBBTAt9bMdIbKAGiWmt sJGRDPZtrc67RCH9PDcGOqiXqxy+p4nuBZl9GgLGcr/FLpNe8WISnLmXW0KTGMgf 6KEkVTTHqMuJzrcj5NlDMQZKjcdJ3tmKDXDYMj4CV+PJPbnJStKpdFxzi3aueDE5 K5z8O/3iAm3690g40V4jQBRGT/SlEMpsdc+bQx+9AEoMGZ3Q2EZfIXs8y3OqhPU6 enmqPZx9J+0Dn/hn4g4l1iyAoOfG+w== =7I/C -----END PGP SIGNATURE----- --VdOwlNaOFKGAtAAV--