From: Marek Vasut Date: Wed, 24 Jul 2019 09:51:45 +0200 Subject: [U-Boot] [PATCH 5/6] arm: socfpga: gen5: add readonly clk driver In-Reply-To: References: <20190723202758.21295-1-simon.k.r.goldschmidt@gmail.com> <20190723202758.21295-6-simon.k.r.goldschmidt@gmail.com> <76c4c329-7789-596d-e14c-968177de8047@denx.de> Message-ID: <694fe94f-e8a2-44a0-a67b-a5021cfde09b@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 7/24/19 9:45 AM, Simon Goldschmidt wrote: > On Wed, Jul 24, 2019 at 9:31 AM Marek Vasut wrote: >> >> On 7/23/19 10:27 PM, Simon Goldschmidt wrote: >>> This adds clk-gen5 as a readonly DM_CLK driver that can return clocks for >>> the peripherals. >>> >>> Further changes are: >>> - select DM_CLK for gen5 U-Boot and SPL >>> - add SPL tags to clock nodes in socfpga-common-u-boot.dtsi >>> - adjust socfpga.dtsi to provide missing src selection registers >>> - start 'handoff.dtsi' file for socrates (conatains clock speeds for now) >> >> These should likely be separate patches then ? > > Well, in the end, yes. Especially the handoff.dtsi is required for *all* > socfpga_gen5 boards, so I'll need to adapt the 'qts-filter.sh' script to > generate it. > > I'll change that script and separate these patches in v2. You probably also want to add DM_FLAG_PRE_RELOC and possibly DM_FLAG_OS_PREPARE to tear down some clock before booting Linux.