From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Tue, 7 Jul 2020 21:33:01 -0600 Subject: [PATCH v1 32/43] pmc: Move common registers to the header file In-Reply-To: References: <20200615035738.248710-1-sjg@chromium.org> <20200614215726.v1.32.Idff8b7c7b8504c20481771fe39c10976df3e4f5d@changeid> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Bin, On Tue, 30 Jun 2020 at 02:27, Bin Meng wrote: > > Hi Simon, > > On Mon, Jun 15, 2020 at 11:58 AM Simon Glass wrote: > > > > These registers need to be accesses from ACPI code, so move them to the > > header file. > > > > I don't think these are common offset to every platform. That's right, but they are common to the boards that use this uclass and driver - I am only moving them. If we end up supporting more SoCs we may need a way to specify this in the DT or through a driver, but for now, I'm just moving from the uclass to the header. Regards, Simon