]> git.dujemihanovic.xyz Git - u-boot.git/commit
memory: ti-aemif-cs: Compute timing configuration from DT parsing
authorBastien Curutchet <bastien.curutchet@bootlin.com>
Mon, 21 Oct 2024 15:13:30 +0000 (17:13 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 30 Oct 2024 00:45:22 +0000 (18:45 -0600)
commitea21cde01de8f6e3ffed75a995123183f411773e
tree197282c70b4e6d1592105ccabee2929067bbc3c4
parent94e45f7b50ea20589d6a91e4d245e96a6c590252
memory: ti-aemif-cs: Compute timing configuration from DT parsing

The Linux bindings of the AEMIF offer properties that specify the
transaction timings for each chips select.

Add parsing of these properties to calculate the chip select's
configuration from them and the rate of the AEMIF's reference clock.

Signed-off-by: Bastien Curutchet <bastien.curutchet@bootlin.com>
drivers/memory/ti-aemif-cs.c