u-boot/board/st
Patrice Chotard 395f12976c 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 <patrice.chotard@st.com>
2019-04-12 16:09:13 +02:00
..
stih410-b2260 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
stm32f429-discovery board: stm32: use bi_dram[0].start instead of hardcoded value 2018-08-13 14:03:57 -04:00
stm32f429-evaluation board: stm32: use bi_dram[0].start instead of hardcoded value 2018-08-13 14:03:57 -04:00
stm32f469-discovery board: stm32: use bi_dram[0].start instead of hardcoded value 2018-08-13 14:03:57 -04:00
stm32f746-disco stm32f7: board: Fix memory init 2018-08-13 14:03:57 -04:00
stm32h743-disco lib: fdtdec: Rename routine fdtdec_setup_memory_size() 2018-07-19 10:49:56 +02:00
stm32h743-eval lib: fdtdec: Rename routine fdtdec_setup_memory_size() 2018-07-19 10:49:56 +02:00
stm32mp1 Board: stm32mp1: Add supply current boot information 2019-04-12 16:09:13 +02:00
stv0991 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00