Commit c72a23701bd9b15dab35e0d43c468ab051739af3

Authored by Jun Nie
Committed by Stefano Babic
1 parent 76ed1036c2

pico-imx7d: enable boot without PMIC

If PMIC is not probed successfully, it is still OK to boot
with default configuration although power is not optimized.

Default voltage of SW1A/SW1B is 1.1V/1.0V for PC32PF3000A1EP
on pico according to table 42 of spec of PF3000 ver 9.0.

Default mode of SW1A/SW1B is APS as expected(table 47).

Signed-off-by: Jun Nie <jun.nie@linaro.org>

Showing 1 changed file with 5 additions and 2 deletions Side-by-side Diff

board/technexion/pico-imx7d/pico-imx7d.c
... ... @@ -85,8 +85,11 @@
85 85  
86 86 p = pmic_get("PFUZE3000");
87 87 ret = pmic_probe(p);
88   - if (ret)
89   - return ret;
  88 + if (ret) {
  89 + printf("Warning: Cannot find PMIC PFUZE3000\n");
  90 + printf("\tPower consumption is not optimized.\n");
  91 + return 0;
  92 + }
90 93  
91 94 pmic_reg_read(p, PFUZE3000_DEVICEID, &reg);
92 95 pmic_reg_read(p, PFUZE3000_REVID, &rev_id);