[PATCH] kernel: of: add DT MAC address bitwise operation support

Shiji Yang yangshiji66 at outlook.com
Fri Nov 10 04:28:43 PST 2023


On Nov. 10, 2023, 9:46 a.m., Rafał Miłecki wrote:

>On 2023-11-10 10:41, Shiji Yang wrote:
>> From: Shiji Yang <yangshiji66 at qq.com>
>> 
>> This patch allow user to perform basic bitwise clear/set operation on
>> OF DT MAC address. We use two new added dt-bindings to specific the
>> MAC address bits clear/set mask. "mac-address-bitwise-set" can be used
>> to set bit. And "mac-address-bitwise-clear" can be used to clear bit.
>
>I'd like this binding to be documented and send upstream for a review.
>
>I know 804-nvmem-core-support-mac-base-fixed-layout-cells.patch is still
>not upstreamed and I'm not proud of it (I'm waiting for upstream NVMEM
>layouts reword). Still we have an /official/ "mac-base" binding at
>least. I'd be nice to have DT guys opinion on binding like this.
>
>-- 
>Rafał Miłecki

Hi!

Thanks for your reply. I'll try to rework and send it upstream when
I have time. Feel free to remove this patch from the patchwork.

Regards,
Shiji Yang



More information about the openwrt-devel mailing list