Hi, Chris Obbard píše v Ne 26. 11. 2017 v 16:47 +0000: > Hi Ondřej, > > Interesting, looks like you are on the way to implementing a cpufreq driver? > Are these patches submitted yet?
Cpufreq works fine in the mainline, I suppose. This branch is for thermal regulation. Some of the patches were submitted. Status of the branch is that standalone thermal sensor driver for H3/H5/... was rejected in favor of implementing it on top of an existing driver. Icenowy tried to tackle that some time in the past. Also I sense that preferred way of setting up operating points in DT is by using the newer OPPv2 framework. My branch uses OPPv1, so that's unlikely to be accepted. Other than that, I may try to re-submit SY8106A driver alone at least, because that's useful for supporting more operating points on boards that use this regulator, even without the thermal stuff. If you're just looking for a branch that runs fine on Orange Pi PC2, you might as well try using the orange-pi-4.14 branch in my tree. It also has other patches integrated that are useful for desktop use of Orange Pi PC 2. You can see what in the README.md. regards, o. > Cheers! > > On 26 November 2017 at 16:15, Ondřej Jirman <[email protected]> wrote: > > Chris Obbard píše v Ne 26. 11. 2017 v 15:24 +0000: > > > Hi guys, > > > Looking into the COU core voltage regulator on the opipc2. By default, > > > through resistors on the PCB, the regulator is set to 1.1V and should be > > > set by u-boot to 1.2V before bringing up the cpu core PLL as the cpu is > > > spec'd at 1.2V. > > > > > > The u-boot sources (i am using tag v2017.09) already have support for the > > > regulator on sunxi, so it's just a case of enabling that. Great! > > > > > > So I added the following into orangepi_pc2_defconfig (copied from > > > orangepi_pc_defconfig):- > > > > > > > CONFIG_SPL_I2C_SUPPORT=y > > > > CONFIG_SY8106A_POWER=y > > > > > > When compiling, I get: > > > > > > > aarch64-linux-gnu-ld.bfd: u-boot-spl section `.u_boot_list' will not > > > > fit in region `.sram' > > > > aarch64-linux-gnu-ld.bfd: region `.sram' overflowed by 488 bytes > > > > scripts/Makefile.spl:346: recipe for target 'spl/u-boot-spl' failed > > > > > > I guess this is due to the image generated from u-boot being too large > > > now I have enabled a full I2C driver. I have tried manually configuring > > > u-boot to remove some drivers like ethernet and video, but nothing can > > > reduce this SPL size. > > > > > > > > > Any ideas? > > > > Hi, > > if you won't be able to reduce SPL size, you can cherry pick some commits > > from this branch: > > https://github.com/megous/linux/commits/ths-4.14 > > to get working SY8106A suppport on PC2. > > regards, o. > > > > > cheers! > > > > > > > > > > > > -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: This is a digitally signed message part
