Patchwork [U-Boot,v4,1/4] misc:max8998 Add LDO macros

login
register
mail settings
Submitter Piotr Wilczek
Date Sept. 28, 2012, 10:34 a.m.
Message ID <1348828478-31298-2-git-send-email-p.wilczek@samsung.com>
Download mbox | patch
Permalink /patch/187762/
State Accepted
Delegated to: Minkyu Kang
Headers show

Comments

Piotr Wilczek - Sept. 28, 2012, 10:34 a.m.
Add LDO7 and LDO17 macros to max8998_pmic.h necessary to power on the LCD.

Signed-off-by: Piotr Wilczek <p.wilczek@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
CC: Minkyu Kang <mk7.kang@samsung.com>
---
Changes in v2:
- none.
Changes in v3:
- none.
Changes in v4:
- none.

 include/max8998_pmic.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Piotr Wilczek - Oct. 19, 2012, 3:34 p.m.
This patchset add support for display on Universal C210 board.
Software SPI support is added to universal C210.
Max8998 is modified to power on display, new driver ld9040 is added
and support for LCD display on universal C210 board is added.

Changes in v2:
	- removed unnecessary function for fimd clock set;
	- code cleanup
	- removed patch for fix exynos4_fb structure
Changes in v3:
	- code cleanup
Changes in v4:
	- removed comment and unused struct
	- removed patch with unused display control define
Changes in v5:
	- add patch to support soft SPI on Universal_C210
	
Piotr Wilczek (5):
  exynos4: universal_C210: use software SPI
  misc:max8998 Add LDO macros
  drivers: video: Add ld9040 video driver
  drivers: video: fix image position
  exynos4: universal_C210: add display support

 board/samsung/universal_c210/universal.c |  253 +++++++++++++++++++++++++++--
 drivers/video/Makefile                   |    1 +
 drivers/video/exynos_fb.c                |   15 ++-
 drivers/video/ld9040.c                   |  144 +++++++++++++++++
 include/configs/s5pc210_universal.h      |   34 ++++
 include/ld9040.h                         |   32 ++++
 include/max8998_pmic.h                   |    2 +
 7 files changed, 461 insertions(+), 20 deletions(-)
 create mode 100644 drivers/video/ld9040.c
 create mode 100644 include/ld9040.h
Minkyu Kang - Nov. 2, 2012, 9:01 a.m.
On 20/10/12 00:34, Piotr Wilczek wrote:
> This patchset add support for display on Universal C210 board.
> Software SPI support is added to universal C210.
> Max8998 is modified to power on display, new driver ld9040 is added
> and support for LCD display on universal C210 board is added.
> 
> Changes in v2:
> 	- removed unnecessary function for fimd clock set;
> 	- code cleanup
> 	- removed patch for fix exynos4_fb structure
> Changes in v3:
> 	- code cleanup
> Changes in v4:
> 	- removed comment and unused struct
> 	- removed patch with unused display control define
> Changes in v5:
> 	- add patch to support soft SPI on Universal_C210
> 	
> Piotr Wilczek (5):
>   exynos4: universal_C210: use software SPI
>   misc:max8998 Add LDO macros
>   drivers: video: Add ld9040 video driver
>   drivers: video: fix image position
>   exynos4: universal_C210: add display support
> 
>  board/samsung/universal_c210/universal.c |  253 +++++++++++++++++++++++++++--
>  drivers/video/Makefile                   |    1 +
>  drivers/video/exynos_fb.c                |   15 ++-
>  drivers/video/ld9040.c                   |  144 +++++++++++++++++
>  include/configs/s5pc210_universal.h      |   34 ++++
>  include/ld9040.h                         |   32 ++++
>  include/max8998_pmic.h                   |    2 +
>  7 files changed, 461 insertions(+), 20 deletions(-)
>  create mode 100644 drivers/video/ld9040.c
>  create mode 100644 include/ld9040.h
> 

applied to u-boot-samsung.

Thanks.
Minkyu Kang.

Patch

diff --git a/include/max8998_pmic.h b/include/max8998_pmic.h
index ca21f88..0e559f9 100644
--- a/include/max8998_pmic.h
+++ b/include/max8998_pmic.h
@@ -76,7 +76,9 @@  enum {
 
 #define MAX8998_LDO3		(1 << 2)
 #define MAX8998_LDO4		(1 << 1)
+#define MAX8998_LDO7		(1 << 6)
 #define MAX8998_LDO8		(1 << 5)
+#define MAX8998_LDO17		(1 << 4)
 #define MAX8998_SAFEOUT1	(1 << 4)
 
 #define MAX8998_I2C_ADDR        (0xCC >> 1)