From: Paul Kocialkowski <hidden> Date: 2016-02-28 12:39:53
This series requires lp872x regulator patches from the regulator tree[0] to work
at run-time but can be applied as-is.
Changes since v3:
* Switch to the already-defined devicetree vendor prefix for LG
* Enable the lp872x regulator in omap2plus_defconfig
Changes since v2:
* Add USB OTG support
* Add TWL4030 keypad support
* Drop references to P970 since other devices (e.g. KU5900) are supported too
Changes since v1:
* Remove lp872x patches that were accepted already from the series
* Explain why removing the invalid DVS GPIO warning is enough
* Update copyright notice on omap3-sniper.dts
* Rename the devicetree property for the enable GPIO to enable-gpios
* Rename function to enable GPIO to lp872x_hw_enable
* Add enable delays after requesting the enable GPIO
* Use IOPAD macros for pinmux description
* Mux the dp3t uart selection pins to gpio
* Restrict not-reset gpio controllers to only avoid reset when needed
This series introduces support for the LG Optimus Black, as described in the
patch adding devicetree support for the device.
In order to power the external mmc (mmc1), the lp872x regulator is used.
Its code had to be improved a bit to work on the device.
Note that the patch adding devicetree support for the device requires the
changes applied to the lp872x regulator, so all this is sent in one series
despite the fact they're different parts of the code.
[0]: https://git.kernel.org/cgit/linux/kernel/git/broonie/regulator.git/log/?h=topic/lp872x
From: Paul Kocialkowski <hidden> Date: 2016-02-28 12:40:17
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.
Signed-off-by: Paul Kocialkowski <redacted>
---
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/omap3-sniper.dts | 215 +++++++++++++++++++++++++++++++++++++
2 files changed, 216 insertions(+)
create mode 100644 arch/arm/boot/dts/omap3-sniper.dts
From: Tony Lindgren <tony@atomide.com> Date: 2016-02-29 21:51:42
Hi,
* Paul Kocialkowski [off-list ref] [160228 04:40]:
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.
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.
Anyways, applying the dts changes into omap-for-v4.6/dt thanks.
Regards,
Tony
From: Paul Kocialkowski <hidden> Date: 2016-03-01 08:05:42
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.
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.
From: Paul Kocialkowski <hidden> Date: 2016-03-20 15:59:31
Hi,
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.
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.
Anyways, applying the dts changes into omap-for-v4.6/dt thanks.
From: Tony Lindgren <tony@atomide.com> Date: 2016-03-30 19:14:03
* Paul Kocialkowski [off-list ref] [160320 08:59]:
Le lundi 29 f?vrier 2016 ? 13:51 -0800, Tony Lindgren a ?crit?:
quoted
Anyways, applying the dts changes into omap-for-v4.6/dt thanks.
It seems that v3 of this patch was merged into your tree instead of v4, which
contains some improvements over v3.
Should I submit a cleanup patch with the diff or can you use v4 instead (if not
too late)?
Oops sorry. Yes please send an incremental patch against v4.6-rc1.
Thanks,
Tony
From: Paul Kocialkowski <hidden> Date: 2016-03-30 19:23:19
Le mercredi 30 mars 2016 ? 12:13 -0700, Tony Lindgren a ?crit?:
* Paul Kocialkowski [off-list ref] [160320 08:59]:
quoted
Le lundi 29 f?vrier 2016 ? 13:51 -0800, Tony Lindgren a ?crit?:
quoted
Anyways, applying the dts changes into omap-for-v4.6/dt thanks.
It seems that v3 of this patch was merged into your tree instead of v4,
which
contains some improvements over v3.
Should I submit a cleanup patch with the diff or can you use v4 instead (if
not
too late)?
Oops sorry. Yes please send an incremental patch against v4.6-rc1.
From: Paul Kocialkowski <hidden> Date: 2016-02-28 12:40:24
This adds support for USB OTG on the Optimus Black.
The HSUSB0 interface is connected to the TWL4030 USB PHY.
Signed-off-by: Paul Kocialkowski <redacted>
---
arch/arm/boot/dts/omap3-sniper.dts | 32 +++++++++++++++++++++++++++++++-
1 file changed, 31 insertions(+), 1 deletion(-)
From: Paul Kocialkowski <hidden> Date: 2016-02-28 12:40:30
This adds support for the volume and gesture keys, using TWL4030 keypad.
Signed-off-by: Paul Kocialkowski <redacted>
---
arch/arm/boot/dts/omap3-sniper.dts | 9 +++++++++
1 file changed, 9 insertions(+)
From: Paul Kocialkowski <hidden> Date: 2016-03-01 19:19:38
Hi,
Le dimanche 28 f?vrier 2016 ? 13:39 +0100, Paul Kocialkowski a ?crit?:
This adds support for the volume and gesture keys, using TWL4030 keypad.
I noticed this patch hadn't been picked up in:?https://git.kernel.org/cgit/linux
/kernel/git/tmlind/linux-omap.git/log/?h=omap-for-v4.6/dt
Should I submit it somewhere else instead?
?#include "twl4030.dtsi"
?#include "twl4030_omap3.dtsi"
?
+&twl_keypad {
+ linux,keymap = <
+ MATRIX_KEY(0x00, 0x00, KEY_VOLUMEUP)
+ MATRIX_KEY(0x01, 0x00, KEY_VOLUMEDOWN)
+ MATRIX_KEY(0x02, 0x00, KEY_SELECT)
+ >;
+};
+
?/*
? * The TWL4030 VAUX2 and VDAC regulators power sensors that are slaves on
I2C3.
? * When not powered, these sensors cause the I2C3 clock to stay low at all
times,
From: Tony Lindgren <tony@atomide.com> Date: 2016-03-01 20:59:36
* Paul Kocialkowski [off-list ref] [160301 11:19]:
Hi,
Le dimanche 28 f?vrier 2016 ? 13:39 +0100, Paul Kocialkowski a ?crit?:
quoted
This adds support for the volume and gesture keys, using TWL4030 keypad.
I noticed this patch hadn't been picked up in:?https://git.kernel.org/cgit/linux
/kernel/git/tmlind/linux-omap.git/log/?h=omap-for-v4.6/dt
Should I submit it somewhere else instead?
No sorry I missed it. I've now applied it to omap-for-v4.6/dt
and pushed out.
Regards,
Tony
From: Paul Kocialkowski <hidden> Date: 2016-03-01 22:05:14
Le mardi 01 mars 2016 ? 12:59 -0800, Tony Lindgren a ?crit?:
* Paul Kocialkowski [off-list ref] [160301 11:19]:
quoted
Hi,
Le dimanche 28 f?vrier 2016 ? 13:39 +0100, Paul Kocialkowski a ?crit?:
quoted
This adds support for the volume and gesture keys, using TWL4030 keypad.
I noticed this patch hadn't been picked up in:?https://git.kernel.org/cgit/l
inux
/kernel/git/tmlind/linux-omap.git/log/?h=omap-for-v4.6/dt
Should I submit it somewhere else instead?
No sorry I missed it. I've now applied it to omap-for-v4.6/dt
and pushed out.
From: Paul Kocialkowski <hidden> Date: 2016-02-28 12:40:39
The LP872x regulator is used in the LG Optimus Black codename sniper to supply
the external mmc card.
Signed-off-by: Paul Kocialkowski <redacted>
---
arch/arm/configs/multi_v7_defconfig | 1 +
1 file changed, 1 insertion(+)
From: Tony Lindgren <tony@atomide.com> Date: 2016-02-29 21:54:52
* Paul Kocialkowski [off-list ref] [160228 04:40]:
The LP872x regulator is used in the LG Optimus Black codename sniper to supply
the external mmc card.
This patch needs to be sent directly to arm at kernel.org to avoid
merge conflicts. I've picked the omap2plus_defconfig related change
into omap-for-v4.6/defconfig.
Regards,
Tony
On Monday 29 February 2016 13:54:46 Tony Lindgren wrote:
* Paul Kocialkowski [off-list ref] [160228 04:40]:
quoted
The LP872x regulator is used in the LG Optimus Black codename sniper to supply
the external mmc card.
This patch needs to be sent directly to arm at kernel.org to avoid
merge conflicts. I've picked the omap2plus_defconfig related change
into omap-for-v4.6/defconfig.
I'd actually prefer it as part of the omap-for-v4.6/defconfig branch.
Taking care of merge conflicts is easy.
Arnd
From: Tony Lindgren <tony@atomide.com> Date: 2016-02-29 22:57:13
* Arnd Bergmann [off-list ref] [160229 13:59]:
On Monday 29 February 2016 13:54:46 Tony Lindgren wrote:
quoted
* Paul Kocialkowski [off-list ref] [160228 04:40]:
quoted
The LP872x regulator is used in the LG Optimus Black codename sniper to supply
the external mmc card.
This patch needs to be sent directly to arm at kernel.org to avoid
merge conflicts. I've picked the omap2plus_defconfig related change
into omap-for-v4.6/defconfig.
I'd actually prefer it as part of the omap-for-v4.6/defconfig branch.
Taking care of merge conflicts is easy.
From: Paul Kocialkowski <hidden> Date: 2016-02-28 12:40:48
The LP872x regulator is used in the LG Optimus Black codename sniper to supply
the external mmc card.
Signed-off-by: Paul Kocialkowski <redacted>
---
arch/arm/configs/omap2plus_defconfig | 1 +
1 file changed, 1 insertion(+)