]> git.dujemihanovic.xyz Git - u-boot.git/commit
i2c: designware_i2c: Read device-tree properties
authorSimon Glass <sjg@chromium.org>
Thu, 23 Jan 2020 18:48:11 +0000 (11:48 -0700)
committerHeiko Schocher <hs@denx.de>
Mon, 27 Jan 2020 06:21:05 +0000 (07:21 +0100)
commit80a03db4f3bfac8220d0445c33aee24c5a3c13b1
treeb18ea1de3a654c683fe59aec4b000a97f0d9369f
parent9bb743d9c76b5aa98bc29e54aeefea1204a31c15
i2c: designware_i2c: Read device-tree properties

The i2c controller defines a few timing properties. Read these in and
store them for use by the driver.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/i2c/designware_i2c.c
drivers/i2c/designware_i2c.h
drivers/i2c/designware_i2c_pci.c