public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v3 0/12] Enable LCD display on snow
@ 2014-05-20 12:01 Simon Glass
  2014-05-20 12:01 ` [U-Boot] [PATCH v3 01/12] exynos: dts: Correct EC interrupt GPIO Simon Glass
                   ` (13 more replies)
  0 siblings, 14 replies; 16+ messages in thread
From: Simon Glass @ 2014-05-20 12:01 UTC (permalink / raw)
  To: u-boot

This series adds a driver for TPS65090 and plumbs it in to get the LCD
working correctly on snow.

The display driver is already present, but needs information about the
display to be provided in the device tree.

The backlight also needs to be enabled - it is controlled by a FET on
the TPS65090. Note that the TPS65090 is controlled by the device tree
so will only be present if the board's device tree file specifies it.
At present this is only the case for snow, but other exynos5 boards will
use it (e.g. pit).

Note: the TPS65090 driver was sent to the list around the middle of last
year but was never applied.

Changes in v3:
- Add new patch to correct EC interrupt GPIO
- Rebase on samsung/master
- Remove extra blank lines in two places
- Use !! style instead ternary operator
- Change the ptn3460 comment to indicate a TODO for device tree GPIOs
- Rename MAX_TRIES to lower case
- Rename onoff to on
- Use generic GPIO API
- Drop patch "exynos: dts: Disable cros_ec interrupts due to broken GPIOs"

Changes in v2:
- Add new patch to drop smdk5250.c file
- Add new patch to rename CHARGER_EN/DISABLE
- Removed non-device-tree operation
- Use errno.h for error return codes everywhere
- Plumb into pmic charging framework
- Fix style nit
- Use correct license header
- Use new Linux device tree bindings
- Add partial battery charging support
- Update patch name to exynos5-dt instead of smdk5250
- Move code to exynos5-dt.c
- Fix comment style
- Add #ifdef around tps65090 code
- Add a device tree node for the snow EDP bridge chip
- Only set up the EDP bridge for snow
- Add a device tree compatibility string for the EDP bridge
- Check for EDP failure and print an error in that case
- Return immediately in exynos_backlight_on() if needed
- Rebase to samsung/master

Aaron Durbin (3):
  exynos5: Enable tps65090 on exynos5-dt
  power: Explicitly select pmic device's bus
  exynos5: support tps65090 pmic

Simon Glass (8):
  exynos: dts: Correct EC interrupt GPIO
  exynos: Drop old smdk5250.c file
  power: Rename CONFIG_PMIC_... to CONFIG_POWER_...
  power: Add PMIC_ prefix to CHARGER_EN/DISABLE
  exynos: Enable PSHOLD in SPL
  exynos: dts: Enable LCD for snow
  exynos: Enable the LCD backlight for snow
  initcall: Improve debugging support

Tom Wai-Hong Tam (1):
  power: Add support for TPS65090 PMU chip.

 arch/arm/cpu/armv7/exynos/lowlevel_init.c       |   2 +
 arch/arm/dts/exynos5250-snow.dts                |  61 +++-
 board/samsung/smdk5250/Makefile                 |   4 -
 board/samsung/smdk5250/exynos5-dt.c             | 238 +++++++++++++++-
 board/samsung/smdk5250/smdk5250.c               | 363 ------------------------
 doc/device-tree-bindings/power/tps65090.txt     |  17 ++
 doc/device-tree-bindings/regulator/tps65090.txt | 122 ++++++++
 drivers/power/battery/bat_trats.c               |   4 +-
 drivers/power/battery/bat_trats2.c              |   2 +-
 drivers/power/mfd/pmic_max77693.c               |   2 +-
 drivers/power/pmic/Makefile                     |   1 +
 drivers/power/pmic/pmic_max8997.c               |   2 +-
 drivers/power/pmic/pmic_tps65090.c              | 310 ++++++++++++++++++++
 drivers/power/power_fsl.c                       |   6 +-
 drivers/power/power_i2c.c                       |   4 +
 include/configs/arndale.h                       |   4 +-
 include/configs/exynos5-dt.h                    |   1 +
 include/configs/exynos5250-dt.h                 |   2 +-
 include/configs/mx25pdk.h                       |   2 +-
 include/configs/mx35pdk.h                       |   2 +-
 include/configs/mx53evk.h                       |   2 +-
 include/configs/mx53loco.h                      |   2 +-
 include/configs/woodburn_common.h               |   2 +-
 include/fdtdec.h                                |   2 +
 include/initcall.h                              |   2 +-
 include/power/max77693_pmic.h                   |   2 -
 include/power/max8997_pmic.h                    |   1 -
 include/power/pmic.h                            |   5 +
 include/power/tps65090_pmic.h                   |  73 +++++
 lib/fdtdec.c                                    |   2 +
 lib/initcall.c                                  |  17 +-
 31 files changed, 864 insertions(+), 395 deletions(-)
 delete mode 100644 board/samsung/smdk5250/smdk5250.c
 create mode 100644 doc/device-tree-bindings/power/tps65090.txt
 create mode 100644 doc/device-tree-bindings/regulator/tps65090.txt
 create mode 100644 drivers/power/pmic/pmic_tps65090.c
 create mode 100644 include/power/tps65090_pmic.h

-- 
1.9.1.423.g4596e3a

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

end of thread, other threads:[~2014-05-29  0:24 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-20 12:01 [U-Boot] [PATCH v3 0/12] Enable LCD display on snow Simon Glass
2014-05-20 12:01 ` [U-Boot] [PATCH v3 01/12] exynos: dts: Correct EC interrupt GPIO Simon Glass
2014-05-20 12:01 ` [U-Boot] [PATCH v3 02/12] exynos: Drop old smdk5250.c file Simon Glass
2014-05-20 12:01 ` [U-Boot] [PATCH v3 03/12] power: Rename CONFIG_PMIC_... to CONFIG_POWER_ Simon Glass
2014-05-20 12:01 ` [U-Boot] [PATCH v3 04/12] power: Add PMIC_ prefix to CHARGER_EN/DISABLE Simon Glass
2014-05-20 12:01 ` [U-Boot] [PATCH v3 05/12] power: Add support for TPS65090 PMU chip Simon Glass
2014-05-20 12:01 ` [U-Boot] [PATCH v3 06/12] exynos5: Enable tps65090 on exynos5-dt Simon Glass
2014-05-20 12:01 ` [U-Boot] [PATCH v3 07/12] power: Explicitly select pmic device's bus Simon Glass
2014-05-20 12:01 ` [U-Boot] [PATCH v3 08/12] exynos5: support tps65090 pmic Simon Glass
2014-05-20 12:01 ` [U-Boot] [PATCH v3 09/12] exynos: Enable PSHOLD in SPL Simon Glass
2014-05-20 12:01 ` [U-Boot] [PATCH v3 10/12] exynos: dts: Enable LCD for snow Simon Glass
2014-05-20 12:01 ` [U-Boot] [PATCH v3 11/12] exynos: Enable the LCD backlight " Simon Glass
2014-05-20 12:01 ` [U-Boot] [PATCH v3 12/12] initcall: Improve debugging support Simon Glass
2014-05-22 18:37 ` [U-Boot] [PATCH v3 0/12] Enable LCD display on snow Tom Rini
2014-05-22 20:04   ` Simon Glass
2014-05-29  0:24 ` Minkyu Kang

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