public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 00/12] LG Optimus Black (P970) codename sniper support series (and driver-model issue)
@ 2015-07-20 13:17 Paul Kocialkowski
  2015-07-20 13:17 ` [U-Boot] [PATCH 01/12] power: twl4030: Power off support Paul Kocialkowski
                   ` (12 more replies)
  0 siblings, 13 replies; 49+ messages in thread
From: Paul Kocialkowski @ 2015-07-20 13:17 UTC (permalink / raw)
  To: u-boot

This patch series adds support for the LG Optimus Black (P970) codename sniper,
see the commit that introduces the board and config files for a short
description of the device.

This should be applied on top of patches that I have submitted to the list but
were not merged yet, especially:
* omap-common: Common boot code OMAP3 support and cleanup
* omap3: CONFIG_REVISION_TAG ifdef check for get_board_rev

At this point, support as submitted as this point is minimalistic. It is not
ready for daily use, but introduces the basic elements that are needed to have
a sane base upon which the rest of the device support will be introduced.

In particular, the device is currently headless, mainly because the display
backlight is not enabled. Other important features such as the MUIC are not
enabled, so USB will only work in U-Boot when the device boots with an USB
cable already attached. In addition, the external MMC is not supported in U-Boot
either, as it requires support for a separate PMIC.

A work in progress commit introduces support for (some of) those bits in a dirty
and non-mergeable way is available at: 
http://git.code.paulk.fr/gitweb/?p=u-boot.git;a=shortlog;h=refs/heads/sniper-next

Having those bits written correctly would require writing some drivers using the
power framework. In the long run, those would have to use the driver model API,
which would involve converting the I2C driver to DM as well. This is too much
overhead for now, but it will be done eventually.

The main problem I see with doing that work now is that I2C DM seems to heavily
rely on device-tree. Other parts of the OMAP platform support were converted to
DM but use platform data defined in each board. That solution looks good to me,
but doesn't work with I2C. Thus, we could either modify the I2C driver to cope
with the lack of device-tree or make the use of device-tree a hard requirement
for driver model, implying that each omap3 boards would have to provide a
device-tree file as well.

Both solutions look good to me and I'll let experts decide what to do. Either
way, I need to know what the right solution to this problem is to be able to
move forward.

^ permalink raw reply	[flat|nested] 49+ messages in thread

end of thread, other threads:[~2015-08-16 17:07 UTC | newest]

Thread overview: 49+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-20 13:17 [U-Boot] [PATCH 00/12] LG Optimus Black (P970) codename sniper support series (and driver-model issue) Paul Kocialkowski
2015-07-20 13:17 ` [U-Boot] [PATCH 01/12] power: twl4030: Power off support Paul Kocialkowski
2015-08-04  2:07   ` Tom Rini
2015-08-04 17:59     ` Paul Kocialkowski
2015-08-04  3:13   ` Fabio Estevam
2015-08-04 14:29   ` Przemyslaw Marczak
2015-08-13 13:18   ` [U-Boot] [U-Boot,01/12] " Tom Rini
2015-07-20 13:17 ` [U-Boot] [PATCH 02/12] input: TWL4030 input support for power button, USB and charger Paul Kocialkowski
2015-08-04  2:07   ` Tom Rini
2015-08-04 17:58     ` Paul Kocialkowski
2015-08-13 13:18   ` [U-Boot] [U-Boot, " Tom Rini
2015-07-20 13:17 ` [U-Boot] [PATCH 03/12] input: twl4030: Keypad scan and input Paul Kocialkowski
2015-08-04  2:07   ` Tom Rini
2015-08-13 13:18   ` [U-Boot] [U-Boot,03/12] " Tom Rini
2015-07-20 13:17 ` [U-Boot] [PATCH 04/12] omap3: Reboot mode support Paul Kocialkowski
2015-08-04  2:07   ` Tom Rini
2015-08-13 13:18   ` [U-Boot] [U-Boot,04/12] " Tom Rini
2015-07-20 13:17 ` [U-Boot] [PATCH 05/12] LG Optimus Black (P970) codename sniper support Paul Kocialkowski
2015-08-04  2:08   ` Tom Rini
2015-08-13 13:18   ` [U-Boot] [U-Boot, " Tom Rini
2015-07-20 13:17 ` [U-Boot] [PATCH 06/12] sniper: OMAP3 reboot mode support Paul Kocialkowski
2015-08-04  2:08   ` Tom Rini
2015-08-13 13:18   ` [U-Boot] [U-Boot,06/12] " Tom Rini
2015-07-20 13:17 ` [U-Boot] [PATCH 07/12] sniper: Serial number support, obtained from die ID Paul Kocialkowski
2015-08-04  2:08   ` Tom Rini
2015-08-04 18:02     ` Paul Kocialkowski
2015-08-04 18:16       ` Tom Rini
2015-08-04 18:22         ` Paul Kocialkowski
2015-08-04 18:27           ` Tom Rini
2015-08-07  9:44             ` Paul Kocialkowski
2015-08-13 12:13               ` Tom Rini
2015-08-16 17:07                 ` Paul Kocialkowski
2015-08-13 13:18   ` [U-Boot] [U-Boot, " Tom Rini
2015-07-20 13:17 ` [U-Boot] [PATCH 08/12] sniper: Pass serial number through ATAG Paul Kocialkowski
2015-08-04  2:08   ` Tom Rini
2015-08-13 13:18   ` [U-Boot] [U-Boot, " Tom Rini
2015-07-20 13:17 ` [U-Boot] [PATCH 09/12] sniper: Fastboot support Paul Kocialkowski
2015-08-04  2:08   ` Tom Rini
2015-08-13 13:18   ` [U-Boot] [U-Boot,09/12] " Tom Rini
2015-07-20 13:17 ` [U-Boot] [PATCH 10/12] sniper: Power button reset support Paul Kocialkowski
2015-08-04  2:08   ` Tom Rini
2015-08-13 13:18   ` [U-Boot] [U-Boot,10/12] " Tom Rini
2015-07-20 13:17 ` [U-Boot] [PATCH 11/12] sniper: Power off when the power on reason is not a valid one Paul Kocialkowski
2015-08-04  2:08   ` Tom Rini
2015-08-13 13:18   ` [U-Boot] [U-Boot, " Tom Rini
2015-07-20 13:17 ` [U-Boot] [PATCH 12/12] sniper: Keypad support, with recovery and fastboot key combinations Paul Kocialkowski
2015-08-04  2:08   ` Tom Rini
2015-08-13 13:19   ` [U-Boot] [U-Boot, " Tom Rini
2015-07-26 16:34 ` [U-Boot] [PATCH 00/12] LG Optimus Black (P970) codename sniper support series (and driver-model issue) Paul Kocialkowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox