Le lundi 29 février 2016 à 13:51 -0800, Tony Lindgren a écrit :
Hi,
* Paul Kocialkowski [off-list ref] [160228 04:40]:
quoted
The LG Optimus Black codename sniper is a smartphone that was designed and
manufactured by LG Electronics (LGE) and released back in 2011.
It is using an OMAP3630 SoC, GP version.
This adds devicetree support for the device, with only a few basic features
supported, such as debug uart, i2c, internal emmc and external mmc.
...
quoted
+&i2c1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c1_pins>;
+
+ clock-frequency = <2600000>;
+
+ twl: twl@48 {
+ reg = <0x48>;
+ interrupts = <7>; /* SYS_NIRQ cascaded to intc */
+ interrupt-parent = <&intc>;
+
+ power {
+ compatible = "ti,twl4030-power";
+ ti,use_poweroff;
+ };
+ };
+};
Chances are this devices supports cutting off the voltages and
the high frequency oscillator during idle. So you may want to
at some point set compatible = "ti,twl4030-power-idle-osc-off"
here.
Thanks for the pointer, I'll consider adding this in the future!
Anyways, applying the dts changes into omap-for-v4.6/dt thanks.
Nice, thanks!
Cheers,
--
Paul Kocialkowski, low-level free software developer on embedded devices
Website: https://www.paulk.fr/
Coding blog: https://code.paulk.fr/
Git repositories: https://git.paulk.fr/ https://git.code.paulk.fr/