
Hi all,
Is there a reason why do we have include/dt-bindings/clock/rk3328-cru.h completely different from the same file in the Linux kernel tree? Many values (ACLK_*, DCLK_*, PCLK_*, HCLK_*) differs from the Linux kernel version. I've checked that u-boot is still working with Linux kernel version of this file. So, what is the correct version?

Hi Matwey,
On 2019/9/21 下午9:04, Matwey V. Kornilov wrote:
Hi all,
Is there a reason why do we have include/dt-bindings/clock/rk3328-cru.h completely different from the same file in the Linux kernel tree? Many values (ACLK_*, DCLK_*, PCLK_*, HCLK_*) differs from the Linux kernel version. I've checked that u-boot is still working with Linux kernel version of this file. So, what is the correct version?
I think the reason is that the u-boot version is not up to date, this file is used with DTS. I try to sync the rk3328 dtsi from latest Kernel, but some function is not work after sync, still have no time to debug and fix.
Thanks, - Kever

пн, 23 сент. 2019, 4:09 Kever Yang kever.yang@rock-chips.com:
Hi Matwey,
On 2019/9/21 下午9:04, Matwey V. Kornilov wrote:
Hi all,
Is there a reason why do we have include/dt-bindings/clock/rk3328-cru.h completely different from the same file in the Linux kernel tree? Many values (ACLK_*, DCLK_*, PCLK_*, HCLK_*) differs from the Linux kernel version. I've checked that u-boot is still working with Linux kernel version of this file. So, what is the correct version?
I think the reason is that the u-boot version is not up to date, this file is used with DTS. I try to sync the rk3328 dtsi from latest Kernel, but some function is not work after sync, still have no time to debug and fix.
Hm, I've tried to use Linux kernel rk3328-cru.h and u-boot works for me even bettet. Now it can boot the kernel without external dtb. However, I didn't test all u-boot functions.
Thanks,
- Kever
participants (2)
-
Kever Yang
-
Matwey V. Kornilov