[PATCH v2 1/1] dm: fpga: Introduce new uclass

Michal Simek michal.simek at amd.com
Mon Oct 3 08:34:12 CEST 2022


Hi Simon,

On 10/1/22 01:49, Simon Glass wrote:
> On Fri, 30 Sept 2022 at 06:05, Alexander Dahl <post at lespocky.de> wrote:
>>
>> For future DM based FPGA drivers and for now to have a meaningful
>> logging class for old FPGA drivers.
>>
>> Suggested-by: Michal Simek <michal.simek at amd.com>
>> Suggested-by: Simon Glass <sjg at chromium.org>
>> Signed-off-by: Alexander Dahl <post at lespocky.de>
>> ---
>>
>> Notes:
>>      RFC -> v2:
>>        - Added/Improved Kconfig help texts
>>        - Use `uclass_first_device_err()` in test
>>        - Add compatibles match list to sandbox driver
>>        - Add 'test/dm/fpga.c' to MAINTAINERS
>>
>>   MAINTAINERS                |  1 +
>>   arch/sandbox/dts/test.dts  |  4 ++++
>>   drivers/fpga/Kconfig       | 19 +++++++++++++++++++
>>   drivers/fpga/Makefile      |  3 +++
>>   drivers/fpga/fpga-uclass.c | 11 +++++++++++
>>   drivers/fpga/sandbox.c     | 17 +++++++++++++++++
>>   include/dm/uclass-id.h     |  1 +
>>   test/dm/Makefile           |  1 +
>>   test/dm/fpga.c             | 20 ++++++++++++++++++++
>>   9 files changed, 77 insertions(+)
>>   create mode 100644 drivers/fpga/fpga-uclass.c
>>   create mode 100644 drivers/fpga/sandbox.c
>>   create mode 100644 test/dm/fpga.c
> 
> Reviewed-by: Simon Glass <sjg at chromium.org>
> 
> The only thing needed now is a header file, but we can add that once
> we have some operations.

Do you want me to take it via my tree or you want to take it via your DM tree?
Both ways works for me.

Thanks,
Michal


More information about the U-Boot mailing list