[PATCH RFC] pinctrl: add support for HiSilicon HiSTB SoCs

Yang Xiwen forbidden405 at outlook.com
Mon Feb 12 18:22:25 CET 2024


On 2/13/2024 1:08 AM, Tom Rini wrote:
> On Tue, Feb 13, 2024 at 01:02:50AM +0800, Yang Xiwen wrote:
>> On 2/13/2024 12:58 AM, Tom Rini wrote:
>>> On Tue, Feb 13, 2024 at 12:30:15AM +0800, Yang Xiwen via B4 Relay wrote:
>>>
>>>> From: Yang Xiwen <forbidden405 at outlook.com>
>>>>
>>>> The first supported SoC is Hi3798MV200.
>>>>
>>>> Signed-off-by: Yang Xiwen <forbidden405 at outlook.com>
>>>> ---
>>>> This patchset adds support for HiSTB ioconfig module. The module is used
>>>> to set pins config(e.g. pull-up, pull-down, drive-strength etc..) and
>>>> pinmux.
>>>>
>>>> The first supported chip is Hi3798MV200. Adding support for Hi3798CV200
>>>> should be also easy.
>>>>
>>>> Below is an example of the dts node:
>>> [snip]
>>>
>>> Has this binding already been accepted to the kernel? Thanks.
>>>
>> No, I've not wrote the driver for linux yet. That's why it is RFC now. But
>> it is expected to be soon. I'm going to finish u-boot part first and work on
>> linux kernel later. After that, i can sync linux dts and bindings back to
>> u-boot.
> How soon before you start on the Linux side of things? Given that this
> wouldn't be merged for v2024.04, there's plenty of time to get that
> Linux side going (or at least the binding reviewed and accepted to -next
> or similar) before merging here, and for U-Boot the biggest feedback
> (aside from anything checkpatch.pl may say) would be to get the binding
> reviewed.
>
Sadly, it's not on my urgent list, since we only need to setup pinctrl 
stuff once during boot. Not even this SoC(Hi3798MV200) is supported in 
mainline Linux yet. I'm keeping working on this, but I really can't say 
how soon i can start working on Linux side. Though I can say it's not 
going to be very soon if i'm the only one who is working on this platform.

Maybe Jorge and Igor can join and speed up the process. Since 
Hi3798CV200 is supported by mainline(This SoC is used by 96boards 
poplar), writing a pinctrl driver for that SoC would receive more 
comments and reviews.

-- 
Regards,
Yang Xiwen



More information about the U-Boot mailing list