public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Przemyslaw Marczak <p.marczak@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/4] imx: mx6slevk: Add PMIC Pfuze support
Date: Wed, 05 Nov 2014 10:27:33 +0100	[thread overview]
Message-ID: <5459ED85.50802@samsung.com> (raw)
In-Reply-To: <5459DFB3.6090907@freescale.com>

Hello Ye Li,

On 11/05/2014 09:28 AM, Li Ye-B37916 wrote:
> Hi Przemyslaw,
>
> On 11/4/2014 10:09 PM, Przemyslaw Marczak wrote:
>> Hello Ye Li,
>>
>> On 11/04/2014 10:37 AM, Li Ye-B37916 wrote:
>>>
>>> Hi Przemyslaw,
>>>
>>> On 11/4/2014 5:24 PM, Li Ye-B37916 wrote:
>>>> Hi Przemyslaw,
>>>>
>>>>
>>>> On 10/30/2014 6:36 PM, Stefano Babic wrote:
>>>>> Hi Ye,
>>>>>
>>>>> On 10/09/2014 11:08, Ye.Li wrote:
>>>>>> Initialize the Pfuze on I2C1 at board late init. The mx6slevk board
>>>>>> has Pfuze100 or Pfuze200, print the chip type by parsing the ID.
>>>>>>
>>>>>> Signed-off-by: Ye.Li <B37916@freescale.com>
>>>>>> ---
>>>>> Slowly (sorry for that..) I am checking again all PMIC related patches
>>>>> you sent last month. However, these patches do not fit very well in the
>>>>> current development.
>>>>>
>>>>> In the last U-Boot mini summit we get the decision to post new PMIC
>>>>> drivers according to the Device Model rules. Przemyslaw is the new
>>>>> custodian for PMICs, and he will take care of all related issues
>>>>> regarding power management.
>>>> Can you share me more information about the new PMIC drivers development that Stefano mentioned above.
>>>> 1. Have you completed the APIs define for new PMIC drivers?  If yes, where I can get them.
>>>> 2. When will the new PMIC drivers deliver?
>>>> 3. Will the PMIC devices already supported in current release stay supported by new PMIC drivers?
>>>>
>>
>> The work on new PMIC framework was temporary on hold.
>> Now I'm working on it, but the basic functionality is actually done.
>> The first version you can check here:
>> https://github.com/bobenstein/u-boot.git
>> I need to make some rework, since the i2c is going to support the driver model.
>>
>> I can now focus on this work. And this will be merged through u-boot-dm - since i2c support is added.
>>
>> The plan is simple:
>> 1) Add new drivers to the present PMIC framework - before merge the new one.
>> 2) Add new PMIC framework as a separated piece of code.
>> 3) Migrate old drivers and boards to the new framework.
>> 4) Remove the old framework without any conflicts.
>>
>> So it's not a problem if you want add this driver, we add this to the current framework - the migration should be simple and will not cause conflicts.
>>
>> If you are interested in the new PMIC framework design, please read the doc file added by the patches from the link above.
>>
>> You can implement just one class(UCLASS_PMIC), and if you need user friendly interface it is welcome to implement also UCLASS_PMIC_REGULATOR.
>>
>> Please follow the list, maybe I will send the patches at the end of this week.
>>
>> ... [ snip ] ...
>>
>>
>> Best regards,
>
> My patches don't add any new PMIC driver. The PFUZE100 driver already exists in present u-boot.  We just call the driver to apply new settings for PFUZE100.
> According to your plan, can you help to figure out which phase the PMIC development is at now?   I feel my patches won't conflict with your job before phase 3.
> If there is no conflict, I will continue the upstream.
>
> Best regards,
> Ye Li
>
> .
>

Ok, so the code from github link(also can be found on the list), adds 
API for two PMIC uclasses: PMIC and REGULATOR - both are implemented by
MAX77686 driver and enabled for Trats2 and Odroid boards.
It was RFC patchset, but is fully functional. It's hard to say when 
exactly I can send next version - it's not the only task.
There are no conflicts, so please continue your work.

Best Regards,
-- 
Przemyslaw Marczak
Samsung R&D Institute Poland
Samsung Electronics
p.marczak at samsung.com

  reply	other threads:[~2014-11-05  9:27 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-10  9:08 [U-Boot] [PATCH 1/4] imx: mx6slevk: Add I2C1 support Ye.Li
2014-09-10  9:08 ` [U-Boot] [PATCH 2/4] imx: mx6slevk: Add PMIC Pfuze support Ye.Li
2014-10-30 10:36   ` Stefano Babic
2014-11-04  9:24     ` Li Ye-B37916
2014-11-04  9:37       ` Li Ye-B37916
2014-11-04 14:09         ` Przemyslaw Marczak
2014-11-05  8:28           ` Li Ye-B37916
2014-11-05  9:27             ` Przemyslaw Marczak [this message]
2014-11-04 15:56   ` Przemyslaw Marczak
2014-11-05  8:33     ` Li Ye-B37916
2014-11-05  9:41       ` Przemyslaw Marczak
2014-12-22 12:25       ` Fabio Estevam
2014-09-10  9:08 ` [U-Boot] [PATCH 3/4] imx: mx6sabresd: Add clear print for pfuze200 Ye.Li
2014-09-10  9:08 ` [U-Boot] [PATCH 4/4] imx: mx6: Set Pfuze mode to decrease power number for DSM Ye.Li
2014-09-10 12:14   ` Fabio Estevam
2014-11-04 15:57   ` Przemyslaw Marczak
2014-11-05  9:34     ` Li Ye-B37916

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5459ED85.50802@samsung.com \
    --to=p.marczak@samsung.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox