ram: k3-ddrss: Allow use of dt provided initial frequency
authorDave Gerlach <d-gerlach@ti.com>
Fri, 8 Apr 2022 21:46:50 +0000 (16:46 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 20 Apr 2022 15:14:39 +0000 (11:14 -0400)
commit270f7fd25b3d1e825d3364eee652c3ccc9d5aae4
treec73f7808c7c6f398dc32ad9caac934e34d203f28
parenta96d56572536f02c0d1f09f72bfedfa9cb4ae560
ram: k3-ddrss: Allow use of dt provided initial frequency

Allow device tree to provide ti,ddr-freq0 to be used as the initial DDR
frequency that is set for lpddr4 before initialization of the
controller. Make this optional and continue to use PLL bypass frequency
as is done currently if ti,ddr-freq0 is not provided.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
doc/device-tree-bindings/memory-controller/k3-j721e-ddrss.txt
drivers/ram/k3-ddrss/k3-ddrss.c