[PATCH 1/2] stmmac: dwmac-mediatek: add support for mt8188
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Mon Sep 19 03:06:04 PDT 2022
On 19/09/2022 11:56, Jianguo Zhang wrote:
>> No, this does not justify new entry. You need specific compatible,
>> but
>> not new entry.
>>
>>> On the other hand, mt8188 and mt8195 have same ethernet design, so
>>> the
>>> private data "mt8195_gmac_variant" can be resued to reduce
>>> redundant
>>> info in driver.
>>
>> And you do not need new entry in the driver.
> Do you mean that I can use "mediatek,mt8195-gmac" as compatible for
> ethernet in mt8188 DTS file?
Yes, as a fallback. Example schema describes such case.
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list