Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1590335

How to handle quirky behavior with boards.

From Olliver Schinagl <o.schinagl@ultimaker.com>
Newsgroups linux.kernel
Subject How to handle quirky behavior with boards.
Date 2017-03-01 15:00 +0100
Message-ID <tgcXn-3Po-19@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hey all,

We found a bug in the design of a board that we use. This board (Olimex 
OLinuXino Lime2) features a PMIC (AXP209) and has an LDO, LDO3, that 
needs special treatment.

The bug is, that there is too much capacitance on the output of LDO3, 
which causes the PMIC to shutdown when enabeling LDO3.

The AXP does have voltage ramp control for LDO3, but this is only 
effective After LDO3 has been enabled.

To be able to turn on LDO3, we have to first set its voltage to the 
lowest setting (0.7 V), wait 1 ms, then turn it on. After that the 
voltage can be changed normally.

I'm already working on the patches to add the voltage ramp control but 
as described above, this will not fix the problem here.

My guess, and hence the question, is that we will need to add support 
for this quirk in the AXP209 LDO3 enable case. There are no quirk flags 
that I could find yet, so how is this preferabbly handled? A board level 
flag in the dts? AXP-level flag? Or is the soft-start flag sort of 
inteded for this? e.g. set soft-start for ldo3 in the dts, check this 
flag in the enable function and do the earlier described start-up?

Thanks,

Olliver

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

How to handle quirky behavior with boards. Olliver Schinagl <o.schinagl@ultimaker.com> - 2017-03-01 15:00 +0100
  Re: How to handle quirky behavior with boards. Olliver Schinagl <o.schinagl@ultimaker.com> - 2017-03-03 16:50 +0100

csiph-web