]> git.baikalelectronics.ru Git - uboot.git/commit
clocks: qcom: add clocks for SDM845 debug uart
authorDzmitry Sankouski <dsankouski@gmail.com>
Sun, 17 Oct 2021 10:44:30 +0000 (13:44 +0300)
committerTom Rini <trini@konsulko.com>
Sun, 31 Oct 2021 12:46:44 +0000 (08:46 -0400)
commitad70b829c064a4b655cfa268e18b7128d7971bcc
tree7aafc4646cabc5eac40e6072d118940857ee58b7
parentfe891e4375cbcd2dfabad67dece47172e3ca192b
clocks: qcom: add clocks for SDM845 debug uart

Allows to change clock frequency of debug uart,
thus supporting wide range of baudrates.
Enable / disable functionality is not implemented yet.
In most use cases of SDM845 (i.e. mobile phones and tablets)
it's not needed, because qualcomm first stage bootloader leaves it
initialized, and on the other hand there's no possibility to
replace signed first stage bootloader with u-boot.

Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
Cc: Ramon Fried <rfried.dev@gmail.com>
Cc: Tom Rini <trini@konsulko.com>
arch/arm/mach-snapdragon/clock-sdm845.c [new file with mode: 0644]
arch/arm/mach-snapdragon/clock-snapdragon.c
arch/arm/mach-snapdragon/clock-snapdragon.h