[PATCH 1/8] tcpc: Add driver for USB typec port controller (TCPC)

Marek Vasut marex at denx.de
Mon Oct 12 12:21:03 CEST 2020


On 10/12/20 11:43 AM, Peng Fan wrote:
>> Subject: Re: [PATCH 1/8] tcpc: Add driver for USB typec port controller (TCPC)
>>
>> On 10/12/20 8:23 AM, Peng Fan wrote:
>> [...]
>>>  board/freescale/common/Kconfig  |    6 +
>>>  board/freescale/common/Makefile |    4 +
>>>  board/freescale/common/tcpc.c   | 1018
>> +++++++++++++++++++++++++++++++
>>>  board/freescale/common/tcpc.h   |  469 ++++++++++++++
>>>  4 files changed, 1497 insertions(+)
>>>  create mode 100644 board/freescale/common/tcpc.c  create mode
>> 100644
>>> board/freescale/common/tcpc.h
>>
>> Shouldn't driver be in drivers/ ?
> 
> You mean drivers/usb/typec as kernel?

Yes, looks much better than putting drivers into board/ , right ?

> There is no common framework now.

What can we do about that ?


More information about the U-Boot mailing list