Thread (44 messages) 44 messages, 9 authors, 2017-08-17

[linux-sunxi] [PATCH 10/10] ARM: dts: sun8i: Add SY8106A regulator to Orange Pi PC

From: Ondřej Jirman <hidden>
Date: 2017-07-26 10:31:40
Also in: linux-devicetree, linux-pm, lkml

Hi,

icenowy at aosc.io p??e v St 26. 07. 2017 v 15:36 +0800:
quoted
quoted
quoted
Otherwse
quoted
+               regulator-max-microvolt = <1400000>;
+               regulator-ramp-delay = <200>;
Is this an actual constraint of the SoC? Or is it a characteristic
of the regulator? If it is the latter, it belongs in the driver.
AFAIK the regulator supports varying the ramp delay (slew rate).
I don't know...

Maybe I should ask Ondrej?
It is probably neither.

It is used to calculate a delay inserted by the kernel between setting
a new target voltage over I2C and changing the frequency of the CPU.
The actual delay is calculated by the difference between previous and
the new voltage.

I don't remember seeing anything in the datasheet of the regulator.
This is just some low value that works.

It would probably be dependent on the capacitance on the output of the
regulator, actual load (which varies), etc. So it is a board specific
value. One could measure it with an oscilloscope if there's a need to
optimize this.

regards,
  o.
quoted
quoted
quoted
ChenYu
quoted
+               regulator-boot-on;
+               regulator-always-on;
+       };
+};
+
 &r_pio {
        leds_r_opc: led_pins at 0 {
                pins = "PL10";
--
2.13.0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170726/7d2c9119/attachment.sig>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help