1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-10-22 10:31:56 +02:00
Files
u-boot-megous/drivers/gpio
Bin Meng d8906c1f3f x86: Probe pinctrl driver in cpu_init_r()
At present pinctrl driver gets probed in ich6_gpio driver's probe
routine, which has two issues:

 - Pin's PADs only gets configured when GPIO driver is probed, which
   is not done by default. This leaves the board in a partially
   functional state as we must initialize PADs correctly to get
   perepherals fully working.
 - The probe routine of pinctrl driver is called multiple times, as
   normally there are multiple GPIO controllers. It should really
   be called just once.

Move the call to syscon_get_by_driver_data() from ich6_gpio driver
to cpu_init_r().

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: George McCollister <george.mccollister@gmail.com>
Tested-by: George McCollister <george.mccollister@gmail.com>
2016-06-12 12:19:35 +08:00
..
2016-02-06 12:00:59 +01:00
2015-08-23 11:56:20 +02:00
2014-02-22 19:30:27 +01:00
2014-10-25 07:02:01 -04:00
2016-06-02 21:21:41 -04:00
2016-05-31 09:54:24 -07:00
2015-05-06 17:00:58 +09:00
2016-06-03 22:14:20 -07:00
2015-08-31 17:26:03 +09:00
2016-05-31 09:54:24 -07:00