misc:pmic: Support for MAX8997 PMIC at Trats Samsung device
v2 cover misc:pmic: Support for MAX8997 PMIC at Trats Samsung device
This patch series adds support for MAX8997 PMIC device. This device has been used at Trats Samsung target board.
---
Changes for v2:
- function for converting voltage to register value has been removed
---
Lukasz Majewski (2):
misc:pmic:max8997 MAX8997 support for PMIC driver misc:pmic:samsung Convert TRATS target to use MAX8997 instead of
MAX8998
board/samsung/trats/trats.c | 27 +++---- drivers/misc/Makefile | 1 + drivers/misc/pmic_max8997.c | 43 ++++++++++ include/configs/trats.h | 2 +- include/max8997_pmic.h | 190 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 245 insertions(+), 18 deletions(-) create mode 100644 drivers/misc/pmic_max8997.c create mode 100644 include/max8997_pmic.h
Signature · 1 line
1.7.2.3
PATCH v2 1/2 misc:pmic:max8997 MAX8997 support for PMIC driver
This commit adds support for MAX8997 PMIC driver.
---
Changes for v2:
- Function for converting voltage to proper register value has been removed
---
drivers/misc/Makefile | 1 + drivers/misc/pmic_max8997.c | 43 ++++++++++ include/max8997_pmic.h | 190 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 234 insertions(+), 0 deletions(-) create mode 100644 drivers/misc/pmic_max8997.c create mode 100644 include/max8997_pmic.h
drivers/misc/Makefile +1 -0
@@ -39,6 +39,7 @@ COBJS-$(CONFIG_PMIC_FSL) += pmic_fsl.o COBJS-$(CONFIG_PMIC_I2C) += pmic_i2c.o COBJS-$(CONFIG_PMIC_SPI) += pmic_spi.o COBJS-$(CONFIG_PMIC_MAX8998) += pmic_max8998.o +COBJS-$(CONFIG_PMIC_MAX8997) += pmic_max8997.o COBJS := $(COBJS-y) SRCS := $(COBJS:.o=.c)
drivers/misc/pmic_max8997.c new file +43 -0
43 lines not on this page · raw message
include/max8997_pmic.h new file +190 -0
190 lines not on this page · raw message
Signature · 1 line
1.7.2.3
PATCH v2 1/2 misc:pmic:max8997 MAX8997 support for PMIC driver
Quoted 265 lines · Lukasz Majewski
This commit adds support for MAX8997 PMIC driver.
Signed-off-by Lukasz Majewski <[email protected]>Signed-off-by Kyungmin Park <[email protected]>Cc Stefano Babic <[email protected]>---
Changes for v2:
- Function for converting voltage to proper register value has been removed---
drivers/misc/Makefile | 1 + drivers/misc/pmic_max8997.c | 43 ++++++++++ include/max8997_pmic.h | 190 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 234 insertions(+), 0 deletions(-) create mode 100644 drivers/misc/pmic_max8997.c create mode 100644 include/max8997_pmic.hdrivers/misc/Makefile +1
-0@@ -39,6 +39,7 @@ COBJS-$(CONFIG_PMIC_FSL) += pmic_fsl.o COBJS-$(CONFIG_PMIC_I2C) += pmic_i2c.o COBJS-$(CONFIG_PMIC_SPI) += pmic_spi.o COBJS-$(CONFIG_PMIC_MAX8998) += pmic_max8998.o +COBJS-$(CONFIG_PMIC_MAX8997) += pmic_max8997.o COBJS := $(COBJS-y) SRCS := $(COBJS:.o=.c)drivers/misc/pmic_max8997.c new file +43
-0@@ -0,0 +1,43 @@ +/* +* Copyright (C) 2012 Samsung Electronics +* Lukasz Majewski <[email protected]> +* +* See file CREDITS for list of people who contributed to this +* project. +* +* This program is free software; you can redistribute it and/or +* modify it under the terms of the GNU General Public License as +* published by the Free Software Foundation; either version 2 of +* the License, or (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program; if not, write to the Free Software +* Foundation, Inc., 59 Temple Place, Suite 330, Boston, +* MA 02111-1307 USA +*/ + +#include <common.h> +#include <pmic.h> +#include <max8997_pmic.h> + +int pmic_init (void ) +{ +struct pmic *p =get_pmic (); +static const char name[] ="MAX8997_PMIC" ; + +puts ("Board PMIC init\n" ); + + p->name = name; + p->interface =PMIC_I2C ; + p->number_of_regs =PMIC_NUM_OF_REGS ; + p->hw.i2c.addr =MAX8997_I2C_ADDR ; + p->hw.i2c.tx_num =1 ; + p->bus =I2C_PMIC ; + +return 0 ; +}include/max8997_pmic.h new file +180
-0@@ -0,0 +1,190 @@ +/* +* Copyright (C) 2011 Samsung Electronics +* Lukasz Majewski <[email protected]> +* +* See file CREDITS for list of people who contributed to this +* project. +* +* This program is free software; you can redistribute it and/or +* modify it under the terms of the GNU General Public License as +* published by the Free Software Foundation; either version 2 of +* the License, or (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program; if not, write to the Free Software +* Foundation, Inc., 59 Temple Place, Suite 330, Boston, +* MA 02111-1307 USA +*/ + +#ifndef __MAX8997_PMIC_H_ +#define __MAX8997_PMIC_H_ + +/* MAX 8997 registers */ +enum { +MAX8997_REG_PMIC_ID0 =0x00 , +MAX8997_REG_PMIC_ID1 =0x01 , +MAX8997_REG_INTSRC =0x02 , +MAX8997_REG_INT1 =0x03 , +MAX8997_REG_INT2 =0x04 , +MAX8997_REG_INT3 =0x05 , +MAX8997_REG_INT4 =0x06 , + +MAX8997_REG_INT1MSK =0x08 , +MAX8997_REG_INT2MSK =0x09 , +MAX8997_REG_INT3MSK =0x0a , +MAX8997_REG_INT4MSK =0x0b , + +MAX8997_REG_STATUS1 =0x0d , +MAX8997_REG_STATUS2 =0x0e , +MAX8997_REG_STATUS3 =0x0f , +MAX8997_REG_STATUS4 =0x10 , + +MAX8997_REG_MAINCON1 =0x13 , +MAX8997_REG_MAINCON2 =0x14 , +MAX8997_REG_BUCKRAMP =0x15 , + +MAX8997_REG_BUCK1CTRL =0x18 , +MAX8997_REG_BUCK1DVS1 =0x19 , +MAX8997_REG_BUCK1DVS2 =0x1a , +MAX8997_REG_BUCK1DVS3 =0x1b , +MAX8997_REG_BUCK1DVS4 =0x1c , +MAX8997_REG_BUCK1DVS5 =0x1d , +MAX8997_REG_BUCK1DVS6 =0x1e , +MAX8997_REG_BUCK1DVS7 =0x1f , +MAX8997_REG_BUCK1DVS8 =0x20 , +MAX8997_REG_BUCK2CTRL =0x21 , +MAX8997_REG_BUCK2DVS1 =0x22 , +MAX8997_REG_BUCK2DVS2 =0x23 , +MAX8997_REG_BUCK2DVS3 =0x24 , +MAX8997_REG_BUCK2DVS4 =0x25 , +MAX8997_REG_BUCK2DVS5 =0x26 , +MAX8997_REG_BUCK2DVS6 =0x27 , +MAX8997_REG_BUCK2DVS7 =0x28 , +MAX8997_REG_BUCK2DVS8 =0x29 , +MAX8997_REG_BUCK3CTRL =0x2a , +MAX8997_REG_BUCK3DVS =0x2b , +MAX8997_REG_BUCK4CTRL =0x2c , +MAX8997_REG_BUCK4DVS =0x2d , +MAX8997_REG_BUCK5CTRL =0x2e , +MAX8997_REG_BUCK5DVS1 =0x2f , +MAX8997_REG_BUCK5DVS2 =0x30 , +MAX8997_REG_BUCK5DVS3 =0x31 , +MAX8997_REG_BUCK5DVS4 =0x32 , +MAX8997_REG_BUCK5DVS5 =0x33 , +MAX8997_REG_BUCK5DVS6 =0x34 , +MAX8997_REG_BUCK5DVS7 =0x35 , +MAX8997_REG_BUCK5DVS8 =0x36 , +MAX8997_REG_BUCK6CTRL =0x37 , +MAX8997_REG_BUCK6BPSKIPCTRL =0x38 , +MAX8997_REG_BUCK7CTRL =0x39 , +MAX8997_REG_BUCK7DVS =0x3a , +MAX8997_REG_LDO1CTRL =0x3b , +MAX8997_REG_LDO2CTRL =0x3c , +MAX8997_REG_LDO3CTRL =0x3d , +MAX8997_REG_LDO4CTRL =0x3e , +MAX8997_REG_LDO5CTRL =0x3f , +MAX8997_REG_LDO6CTRL =0x40 , +MAX8997_REG_LDO7CTRL =0x41 , +MAX8997_REG_LDO8CTRL =0x42 , +MAX8997_REG_LDO9CTRL =0x43 , +MAX8997_REG_LDO10CTRL =0x44 , +MAX8997_REG_LDO11CTRL =0x45 , +MAX8997_REG_LDO12CTRL =0x46 , +MAX8997_REG_LDO13CTRL =0x47 , +MAX8997_REG_LDO14CTRL =0x48 , +MAX8997_REG_LDO15CTRL =0x49 , +MAX8997_REG_LDO16CTRL =0x4a , +MAX8997_REG_LDO17CTRL =0x4b , +MAX8997_REG_LDO18CTRL =0x4c , +MAX8997_REG_LDO21CTRL =0x4d , + +MAX8997_REG_MBCCTRL1 =0x50 , +MAX8997_REG_MBCCTRL2 =0x51 , +MAX8997_REG_MBCCTRL3 =0x52 , +MAX8997_REG_MBCCTRL4 =0x53 , +MAX8997_REG_MBCCTRL5 =0x54 , +MAX8997_REG_MBCCTRL6 =0x55 , +MAX8997_REG_OTPCGHCVS =0x56 , + +MAX8997_REG_SAFEOUTCTRL =0x5a , + +MAX8997_REG_LBCNFG1 =0x5e , +MAX8997_REG_LBCNFG2 =0x5f , +MAX8997_REG_BBCCTRL =0x60 , + +MAX8997_REG_FLASH1_CUR =0x63 ,/* 0x63 ~ 0x6e for FLASH */ +MAX8997_REG_FLASH2_CUR =0x64 , +MAX8997_REG_MOVIE_CUR =0x65 , +MAX8997_REG_GSMB_CUR =0x66 , +MAX8997_REG_BOOST_CNTL =0x67 , +MAX8997_REG_LEN_CNTL =0x68 , +MAX8997_REG_FLASH_CNTL =0x69 , +MAX8997_REG_WDT_CNTL =0x6a , +MAX8997_REG_MAXFLASH1 =0x6b , +MAX8997_REG_MAXFLASH2 =0x6c , +MAX8997_REG_FLASHSTATUS =0x6d , +MAX8997_REG_FLASHSTATUSMASK =0x6e , + +MAX8997_REG_GPIOCNTL1 =0x70 , +MAX8997_REG_GPIOCNTL2 =0x71 , +MAX8997_REG_GPIOCNTL3 =0x72 , +MAX8997_REG_GPIOCNTL4 =0x73 , +MAX8997_REG_GPIOCNTL5 =0x74 , +MAX8997_REG_GPIOCNTL6 =0x75 , +MAX8997_REG_GPIOCNTL7 =0x76 , +MAX8997_REG_GPIOCNTL8 =0x77 , +MAX8997_REG_GPIOCNTL9 =0x78 , +MAX8997_REG_GPIOCNTL10 =0x79 , +MAX8997_REG_GPIOCNTL11 =0x7a , +MAX8997_REG_GPIOCNTL12 =0x7b , + +MAX8997_REG_LDO1CONFIG =0x80 , +MAX8997_REG_LDO2CONFIG =0x81 , +MAX8997_REG_LDO3CONFIG =0x82 , +MAX8997_REG_LDO4CONFIG =0x83 , +MAX8997_REG_LDO5CONFIG =0x84 , +MAX8997_REG_LDO6CONFIG =0x85 , +MAX8997_REG_LDO7CONFIG =0x86 , +MAX8997_REG_LDO8CONFIG =0x87 , +MAX8997_REG_LDO9CONFIG =0x88 , +MAX8997_REG_LDO10CONFIG =0x89 , +MAX8997_REG_LDO11CONFIG =0x8a , +MAX8997_REG_LDO12CONFIG =0x8b , +MAX8997_REG_LDO13CONFIG =0x8c , +MAX8997_REG_LDO14CONFIG =0x8d , +MAX8997_REG_LDO15CONFIG =0x8e , +MAX8997_REG_LDO16CONFIG =0x8f , +MAX8997_REG_LDO17CONFIG =0x90 , +MAX8997_REG_LDO18CONFIG =0x91 , +MAX8997_REG_LDO21CONFIG =0x92 , + +MAX8997_REG_DVSOKTIMER1 =0x97 , +MAX8997_REG_DVSOKTIMER2 =0x98 , +MAX8997_REG_DVSOKTIMER4 =0x99 , +MAX8997_REG_DVSOKTIMER5 =0x9a , + +PMIC_NUM_OF_REGS =0x9b , +}; + +#define ENSAFEOUT1 (1 << 6) +#define ENSAFEOUT2 (1 << 7) + +#define MAX8997_I2C_ADDR (0xCC >> 1) +#define MAX8997_RTC_ADDR (0x0C >> 1) +#define MAX8997_MUIC_ADDR (0x4A >> 1) +#define MAX8997_FG_ADDR (0x6C >> 1)
include/max8997_pmic.h line 190
Quoted 10 lines
include/max8997_pmic.h new file +10
-0+ +enum { +LDO_OFF =0 , +LDO_ON =1 , + +DIS_LDO = (0x00 <<6 ), +EN_LDO = (0x3 <<6 ), +}; + +#endif /* __MAX8997_PMIC_H_ */
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================
PATCH v2 1/2 misc:pmic:max8997 MAX8997 support for PMIC driver
Hi Stefano,
Quoted 6 lines
Acked-by Stefano Babic <[email protected]>Best regards,
Stefano Babic
Thanks for ACK,
Since it is PMIC related, I'd like to ask you to take it to your (IMX?) tree.
BTW: I predict that PMIC subsytem will grow (since PMIC's are more and more complicated - e.g. MAX8997).
Up to now the IMX tree is used to push it to mainline. Stefano if this situation is OK with you, then there is no topic :-).
Signature · 6 lines
Best regards, Lukasz Majewski Samsung Poland R&D Center Platform Group
PATCH v2 1/2 misc:pmic:max8997 MAX8997 support for PMIC driver
Quoted 6 lines · Lukasz Majewski
Hi Stefano,
Quoted 3 lines
Acked-by Stefano Babic <[email protected]>
Quoted 9 lines
Quoted 3 lines
Best regards,
Stefano BabicThanks for ACK,
Since it is PMIC related, I'd like to ask you to take it to your (IMX?) tree.
I have also a u-boot-staging tree. I will use this, as changes have nothing to do with IMX.
Quoted 2 lines
BTW: I predict that PMIC subsytem will grow (since PMIC's are more and more complicated - e.g. MAX8997).
I think we will move all pmic stuff from drivers/misc to drivers/power, because PMICs belong better to this category. At the beginning, PMIC was related to only one Freescale's chip.
Quoted 3 lines
Up to now the IMX tree is used to push it to mainline. Stefano if this situation is OK with you, then there is no topic :-).
Ok - I will go on.
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================
PATCH v2 1/2 misc:pmic:max8997 MAX8997 support for PMIC driver
Hi Stefano,
Quoted 11 lines · Lukasz Majewski
Quoted 10 lines
Hi Stefano,
Quoted 6 lines
Acked-by Stefano Babic <[email protected]>Best regards,
Stefano Babic
Quoted 8 lines
Quoted 5 lines
Thanks for ACK,
Since it is PMIC related, I'd like to ask you to take it to your (IMX?) tree.
I have also a u-boot-staging tree. I will use this, as changes have nothing to do with IMX.
Ok, good.
Quoted 7 lines
Quoted 3 lines
BTW: I predict that PMIC subsytem will grow (since PMIC's are more and more complicated - e.g. MAX8997).
I think we will move all pmic stuff from
drivers/misctodrivers/power, because PMICs belong better to this category. At the beginning, PMIC was related to only one Freescale's chip.
Yes, I also think, that this is a better place.
Quoted 7 lines
Quoted 5 lines
Up to now the IMX tree is used to push it to mainline. Stefano if this situation is OK with you, then there is no topic :-).
Ok - I will go on.
No topic then :-)
Signature · 6 lines
Best regards, Lukasz Majewski Samsung Poland R&D Center Platform Group
PATCH v2 1/2 misc:pmic:max8997 MAX8997 support for PMIC driver
Quoted 4 lines · Lukasz Majewski
Quoted 2 lines
Ok - I will go on.
No topic then :-)
Minkyu has confirmed he will pick up both patches in Samsung's tree.
Best regards,
Stefano
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================
PATCH v2 2/2 misc:pmic:samsung Convert TRATS target to use MAX8997 instead of MAX8998
In reply to Lukasz MajewskiTRATS target uses MAX8997 PMIC device instead of MAX8998.
---
Changes for v2:
- None
--- board/samsung/trats/trats.c | 27 ++++++++++----------------- include/configs/trats.h | 2 +- 2 files changed, 11 insertions(+), 18 deletions(-)
board/samsung/trats/trats.c +10 -17
@@ -32,7 +32,7 @@#include <asm/arch/power.h> #include <pmic.h> #include <usb/s3c_udc.h> -#include <max8998_pmic.h> +#include <max8997_pmic.h> #include "setup.h"
@@ -216,26 +216,19 @@ static int s5pc210_phy_control(int on)return -1 ;if (on) { - ret |=pmic_set_output (p, -MAX8998_REG_BUCK_ACTIVE_DISCHARGE3 , -MAX8998_SAFEOUT1 ,LDO_ON ); - ret |=pmic_set_output (p,MAX8998_REG_ONOFF1 , -MAX8998_LDO3 ,LDO_ON ); - ret |=pmic_set_output (p,MAX8998_REG_ONOFF2 , -MAX8998_LDO8 ,LDO_ON ); - + ret |=pmic_set_output (p,MAX8997_REG_SAFEOUTCTRL , +ENSAFEOUT1 ,LDO_ON ); + ret |=pmic_reg_write (p,MAX8997_REG_LDO3CTRL ,EN_LDO ); + ret |=pmic_reg_write (p,MAX8997_REG_LDO8CTRL ,EN_LDO ); }else { - ret |=pmic_set_output (p,MAX8998_REG_ONOFF2 , -MAX8998_LDO8 ,LDO_OFF ); - ret |=pmic_set_output (p,MAX8998_REG_ONOFF1 , -MAX8998_LDO3 ,LDO_OFF ); - ret |=pmic_set_output (p, -MAX8998_REG_BUCK_ACTIVE_DISCHARGE3 , -MAX8998_SAFEOUT1 ,LDO_OFF ); + ret |=pmic_reg_write (p,MAX8997_REG_LDO8CTRL ,DIS_LDO ); + ret |=pmic_reg_write (p,MAX8997_REG_LDO3CTRL ,DIS_LDO ); + ret |=pmic_set_output (p,MAX8997_REG_SAFEOUTCTRL , +ENSAFEOUT1 ,LDO_OFF ); }if (ret) { -puts ("MAX8998 LDO setting error!\n" ); +puts ("MAX8997 LDO setting error!\n" );return -1 ; }
include/configs/trats.h +1 -1
@@ -208,7 +208,7 @@#define CONFIG_PMIC #define CONFIG_PMIC_I2C -#define CONFIG_PMIC_MAX8998 +#define CONFIG_PMIC_MAX8997 #define CONFIG_USB_GADGET #define CONFIG_USB_GADGET_S3C_UDC_OTG
Signature · 1 line
1.7.2.3
v2 cover misc:pmic: Support for MAX8997 PMIC at Trats Samsung device
In reply to Lukasz MajewskiQuoted 13 lines · On Thu, 29 Mar 2012 13:29:16 +0200 Lukasz Majewski <[email protected]>…
This patch series adds support for MAX8997 PMIC device. This device has been used at Trats Samsung target board.
---
Changes for v2:
- function for converting voltage to register value has been removed---
Lukasz Majewski (2):
misc:pmic:max8997 MAX8997 support for PMIC driver misc:pmic:samsung Convert TRATS target to use MAX8997 instead ofMAX8998
Quoted 9 lines
board/samsung/trats/trats.c | 27 +++---- drivers/misc/Makefile | 1 + drivers/misc/pmic_max8997.c | 43 ++++++++++ include/configs/trats.h | 2 +- include/max8997_pmic.h | 190+++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 245 insertions(+), 18 deletions(-) create mode 100644
drivers/misc/pmic_max8997.ccreate mode 100644include/max8997_pmic.h
Hi Stefano,
Please look into those resend patches.
I've added changes, which only fix the Trats board. No new functionality for the PMIC framework is included.
New functionality will be added after releasing 2012.04 u-boot.
Signature · 6 lines
Best regards, Lukasz Majewski Samsung Poland R&D Center Platform Group
v2 cover misc:pmic: Support for MAX8997 PMIC at Trats Samsung device
Quoted 2 lines · Lukasz Majewski
Hi Stefano,
Hi Lukasz,
Quoted 5 lines
Please look into those resend patches.
I've added changes, which only fix the Trats board. No new functionality for the PMIC framework is included.New functionality will be added after releasing 2012.04 u-boot.
no issue, I sent my Ack.
I could push Patch 1/2, as I did for previous pmic patches, but patch 2/2 is in Minkyu's competence and should be merged into Samsung's tree. To avoid breakage, I have no problems if Minkyu pick up the whole patchset in his tree (or I do the same in my tree).
Minkyu, what do you prefer ?
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================
v2 cover misc:pmic: Support for MAX8997 PMIC at Trats Samsung device
Dear Stefano Babic,
Quoted 10 lines · Stefano Babic
Quoted 2 lines · Lukasz Majewski
Hi Stefano,
Hi Lukasz,
Quoted 4 lines
Please look into those resend patches.
I've added changes, which only fix the Trats board. No new functionality for the PMIC framework is included.
Quoted 9 lines
Quoted 1 line
New functionality will be added after releasing 2012.04 u-boot.
no issue, I sent my Ack.
I could push Patch 1/2, as I did for previous pmic patches, but patch 2/2 is in Minkyu's competence and should be merged into Samsung's tree. To avoid breakage, I have no problems if Minkyu pick up the whole patchset in his tree (or I do the same in my tree).
OK. I will push this patchset to samsung tree.
Thanks,
Minkyu Kang
Signature · 2 lines
from. prom. www.promsoft.net
v2 cover misc:pmic: Support for MAX8997 PMIC at Trats Samsung device
Quoted 17 lines · Minkyu Kang
Dear Stefano Babic,
Quoted 14 lines · Stefano Babic
Quoted 2 lines · Lukasz Majewski
Hi Stefano,
Hi Lukasz,
Quoted 5 lines
Please look into those resend patches.
I've added changes, which only fix the Trats board. No new functionality for the PMIC framework is included.New functionality will be added after releasing 2012.04 u-boot.
no issue, I sent my Ack.
Quoted 7 lines
Quoted 5 lines
I could push Patch 1/2, as I did for previous pmic patches, but patch 2/2 is in Minkyu's competence and should be merged into Samsung's tree. To avoid breakage, I have no problems if Minkyu pick up the whole patchset in his tree (or I do the same in my tree).
OK. I will push this patchset to samsung tree.
Ok, thanks.
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================
v2 cover misc:pmic: Support for MAX8997 PMIC at Trats Samsung device
In reply to Lukasz MajewskiQuoted 13 lines · Lukasz Majewski
This patch series adds support for MAX8997 PMIC device. This device has been used at Trats Samsung target board.
---
Changes for v2:
- function for converting voltage to register value has been removed---
Lukasz Majewski (2):
?misc:pmic:max8997 MAX8997 support for PMIC driver ?misc:pmic:samsung Convert TRATS target to use MAX8997 instead of ? ?MAX8998
Quoted 9 lines
?board/samsung/trats/trats.c | ? 27 +++---- ?drivers/misc/Makefile ? ? ? | ? ?1 + ?drivers/misc/pmic_max8997.c | ? 43 ++++++++++ ?include/configs/trats.h ? ? | ? ?2 +- ?include/max8997_pmic.h ? ? ?| ?190 +++++++++++++++++++++++++++++++++++++++++++?5 files changed, 245 insertions(+), 18 deletions(-) ?create mode 100644
drivers/misc/pmic_max8997.c?create mode 100644include/max8997_pmic.h
applied to u-boot-samsung.
Thanks.
Minkyu Kang
Signature · 2 lines
from. prom. www.promsoft.net