]> git.dujemihanovic.xyz Git - u-boot.git/commit
i2c: add nexell driver
authorStefan Bosch <stefan_b@posteo.net>
Fri, 10 Jul 2020 17:07:28 +0000 (19:07 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 29 Jul 2020 12:43:40 +0000 (08:43 -0400)
commitc25e9e04a12e93cd1a1928e941a3802d44765ccb
tree7565f59dee6f99ea6a8518e64e3182b0384bc1ec
parentb8f748d6f233955cc116ee9ef7cc43dbc5326d81
i2c: add nexell driver

Changes in relation to FriendlyARM's U-Boot nanopi2-v2016.01:
- i2c/nx_i2c.c: Some adaptions mainly because of changes in
  "struct udevice".
- several Bugfixes in nx_i2c.c.
- the driver has been for s5p6818 only. Code extended appropriately
  in order s5p4418 is also working.
- "probe_chip" added.
- pinctrl-driver/dt is used instead of configuring the i2c I/O-pins
  in the i2c-driver.
- '#ifdef CONFIG...' changed to 'if (IS_ENABLED(CONFIG...))' where
  possible (and similar).
- livetree API (dev_read_...) is used instead of fdt one (fdt...).

Signed-off-by: Stefan Bosch <stefan_b@posteo.net>
doc/device-tree-bindings/i2c/nx_i2c.txt [new file with mode: 0644]
drivers/i2c/Kconfig
drivers/i2c/Makefile
drivers/i2c/nx_i2c.c [new file with mode: 0644]