]> Git Repo - u-boot.git/commit - board/st/stm32mp1/stm32mp1.c
Board: stm32mp1: Add supply current boot information
authorPatrice Chotard <[email protected]>
Tue, 12 Feb 2019 15:50:40 +0000 (16:50 +0100)
committerPatrick Delaunay <[email protected]>
Fri, 12 Apr 2019 14:09:13 +0000 (16:09 +0200)
commit395f12976c87c59ec9836027687d395990a9f961
treebce826c9672c5f63c2798d31fab39f13c6c87968
parent39110484577139f845bbfc42977550f9969bc712
Board: stm32mp1: Add supply current boot information

For DK1/DK2 boards, check if power supply provides enough current
to allow the board to boot correctly.
ADC@0 channel 18 and 19 are connected to USB type-C CC1 and CC2
signals. The table below shows the behavior for different range of
CC1 or CC2:

  range       | power supply | red led |          console message
  (Volts)     |   (Amps)     | blinks  |
--------------|--------------|---------|-----------------------------------
[2.10 - 1.23[ |     3        |   NO    |    NO
[1.23 - 0.66[ |     1.5      | 3 times | WARNING 1.5A power supply detected
[0.66 - 0]    |     0.5      | 2 times | WARNING 500mA power supply detected

If detected current is < 3A, red led is kept ON after blinking.

Signed-off-by: Patrice Chotard <[email protected]>
board/st/stm32mp1/stm32mp1.c
This page took 0.031627 seconds and 4 git commands to generate.