]> git.baikalelectronics.ru Git - uboot.git/commit
i2c: sun6i_p2wi: Add support for DM clocks and resets
authorSamuel Holland <samuel@sholland.org>
Fri, 18 Mar 2022 04:52:34 +0000 (23:52 -0500)
committerAndre Przywara <andre.przywara@arm.com>
Mon, 4 Apr 2022 22:24:17 +0000 (23:24 +0100)
commit1d3ff422fd8d690fa6c7170d15df65fa01d8acd9
tree9fbb55178b2094250a94b4fa10f39ab82b4cfade
parent67fba1bb48bb35e431ad5cd3a23b4b1eb4426bab
i2c: sun6i_p2wi: Add support for DM clocks and resets

Currently, clock/reset setup for this device is handled by a
platform-specific function and is intermixed with non-DM pinctrl
setup. Use the devicetree to get clocks/resets, which disentagles
it from the pinctrl setup in preparation for moving to DM_PINCTRL.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
drivers/i2c/sun6i_p2wi.c