[U-Boot] [PATCH v2 0/12] Enable LCD display on snow

Simon Glass sjg at chromium.org
Thu Apr 3 01:24:17 CEST 2014


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 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: 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: Disable cros_ec interrupts due to broken GPIOs
  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                |  69 ++++-
 board/samsung/smdk5250/Makefile                 |   4 -
 board/samsung/smdk5250/exynos5-dt.c             | 241 ++++++++++++++++
 board/samsung/smdk5250/smdk5250.c               | 368 ------------------------
 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              | 312 ++++++++++++++++++++
 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, 878 insertions(+), 399 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



More information about the U-Boot mailing list