]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: zynq_sdhci: Read clock phase delays from dt
authorMichal Simek <michal.simek@xilinx.com>
Fri, 23 Oct 2020 10:59:00 +0000 (04:59 -0600)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 27 Oct 2020 07:13:33 +0000 (08:13 +0100)
commit80355ae40dfceb2304ed287846a3d3292e65d323
tree137530410f821bbc7fb23af9a57ef872a1c9455d
parent9851f50d3d8e8a933a072b11f7f497846b068fb8
mmc: zynq_sdhci: Read clock phase delays from dt

Define input and output clock phase delays with pre-defined values.

Define arasan_sdhci_clk_data type structure and add it to priv
structure and store these clock phase delays in it.

Read input and output clock phase delays from dt. If these values are
not passed through dt, use pre-defined values.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/zynq_sdhci.c