From mboxrd@z Thu Jan 1 00:00:00 1970
From: Przemyslaw Marczak
Date: Mon, 20 Apr 2015 12:55:35 +0200
Subject: [U-Boot] [PATCH V4 00/10] dm: core: extend API by useful
functions with tests
In-Reply-To:
References: <1428512810-21566-1-git-send-email-p.marczak@samsung.com>
<1429096046-28280-1-git-send-email-p.marczak@samsung.com>
Message-ID: <5534DB27.5060707@samsung.com>
List-Id:
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
To: u-boot@lists.denx.de
Hello Simon,
On 04/20/2015 05:22 AM, Simon Glass wrote:
> Hi Przemyslaw,
>
> On 15 April 2015 at 05:07, Przemyslaw Marczak wrote:
>> Hello,
>> Before merge, I would like to extend this patchset by additional functions [V4],
>> which are now the base for my work on PMIC.
>>
>> The base version:
>>
>> The struct udevice provides two fields for device's platform data:
>> - .platdata - to keep platform-dependent data for the device driver
>> - .parent_platdata - to keep platform-dependent data for the device parent
>>
>> Some implementations may need addidional platform data, which could be owned
>> by the uclass. For example, the regulator device's constraints.
>>
>> This patchset adds the additional field:
>> - .uclass_platdata - to keep platform-dependend data for the uclass driver
>>
>> Two tests are added to the test framework:
>> - one for check dev->uclass_platdata pointer
>> - second for validation the data assigned to by test uclass's post_bind() method
>>
>> Change in V2:
>> - implementation of functions for getting the uclass's device without probe it
>> - cleanup test code
>>
>> Change in V3:
>> - add tests for uclass device get/find functions
>>
>> Change in V4:
>> - remove type 'static' for uclass_get_device_tail()
>> - add: class_get/find_device_by_name() with sandbox tests
>> - add: dev_get_driver_ops()
>> - add: dev_get_uclass_name()
>
> The driver model tree has gone to mainline now so I'm going to pick
> this series up.
>
> I'm leaving out patches 5 and 10 for now as I have responded with
> minor nits. Can you please respin against u-boot-dm/master?
>
> Thanks,
> Simon
>
Thank you for taking this,
I will resend those two in a moment.
Best regards,
--
Przemyslaw Marczak
Samsung R&D Institute Poland
Samsung Electronics
p.marczak at samsung.com