From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Yang Xiwen <forbidden405@outlook.com>,
Yisen Zhuang <yisen.zhuang@huawei.com>,
Salil Mehta <salil.mehta@huawei.com>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>, Andrew Lunn <andrew@lunn.ch>,
Heiner Kallweit <hkallweit1@gmail.com>,
Russell King <linux@armlinux.org.uk>
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org
Subject: Re: [PATCH net-next v9 8/9] net: hisi_femac: add support for hisi_femac core on Hi3798MV200
Date: Fri, 8 Mar 2024 09:09:59 +0100 [thread overview]
Message-ID: <1cdbe5b8-ed3a-46a6-bc73-6bf35e3305f2@linaro.org> (raw)
In-Reply-To: <SEZPR06MB695921BD3235F62E5D37E61F96272@SEZPR06MB6959.apcprd06.prod.outlook.com>
On 08/03/2024 09:07, Yang Xiwen wrote:
> On 3/8/2024 4:02 PM, Krzysztof Kozlowski wrote:
>> On 07/03/2024 12:34, Yang Xiwen via B4 Relay wrote:
>>> From: Yang Xiwen <forbidden405@outlook.com>
>>>
>>> Register the sub MDIO bus if it is found. Also implement the internal
>>> PHY reset procedure as needed.
>> ...
>>
>>>
>>> @@ -946,6 +991,7 @@ static int hisi_femac_drv_resume(struct platform_device *pdev)
>>>
>>> static const struct of_device_id hisi_femac_match[] = {
>>> {.compatible = "hisilicon,hi3516cv300-femac",},
>>> + {.compatible = "hisilicon,hi3798mv200-femac",},
>>
>> Why do you keep growing this table?
>
>
> I'm completely confused. Don't I need to keep binding and driver
> compatible ids sync?
>
>
> The FEMAC cores on 2 SoCs are compatible afaik. That's why i want to add
> a generic "hisilicon,hisi-femac" compatible. Though i know nothing about
> the mysterious version numbers (v1, v2 etc..) documented in the old
> binding, so i want them to be removed. Instead only keep one generic
> fallback compatible.
>
>
> Do you mean that i broke the backward compatibility for
> "hisilicon,hi3516cv300-femac"?
No. I meant, use one as fallback and only fallback needs to be in the
device ID table. There are dozens if not hundreds of such examples in
the tree.
Best regards,
Krzysztof
next prev parent reply other threads:[~2024-03-08 8:10 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-07 11:34 [PATCH net-next v9 0/9] net: hisi-femac: add support for Hi3798MV200, remove unmaintained compatibles Yang Xiwen via B4 Relay
2024-03-07 11:34 ` [PATCH net-next v9 1/9] dt-bindings: net: hisilicon-femac-mdio: convert to YAML Yang Xiwen via B4 Relay
2024-03-07 11:34 ` [PATCH net-next v9 2/9] dt-bindings: net: hisilicon,hisi-femac-mdio: remove clocks Yang Xiwen via B4 Relay
2024-03-07 11:34 ` [PATCH net-next v9 3/9] net: mdio: hisi-femac: remove clock Yang Xiwen via B4 Relay
2024-03-07 11:34 ` [PATCH net-next v9 4/9] dt-bindings: net: convert hisi-femac.txt to YAML Yang Xiwen via B4 Relay
2024-03-08 7:59 ` Krzysztof Kozlowski
2024-03-07 11:34 ` [PATCH net-next v9 5/9] dt-bindings: net: hisi-femac: add mandatory MDIO bus subnode Yang Xiwen via B4 Relay
2024-03-07 11:34 ` [PATCH net-next v9 6/9] dt-bindings: net: hisi-femac: add binding for Hi3798MV200 FEMAC core Yang Xiwen via B4 Relay
2024-03-07 22:11 ` Rob Herring
2024-03-08 8:01 ` Krzysztof Kozlowski
2024-03-08 8:02 ` Yang Xiwen
2024-03-08 8:40 ` Krzysztof Kozlowski
2024-03-07 11:34 ` [PATCH net-next v9 7/9] net: hisi_femac: remove unused compatible strings Yang Xiwen via B4 Relay
2024-03-07 11:34 ` [PATCH net-next v9 8/9] net: hisi_femac: add support for hisi_femac core on Hi3798MV200 Yang Xiwen via B4 Relay
2024-03-08 8:02 ` Krzysztof Kozlowski
2024-03-08 8:07 ` Yang Xiwen
2024-03-08 8:09 ` Krzysztof Kozlowski [this message]
2024-03-08 8:18 ` Yang Xiwen
2024-03-08 8:22 ` Krzysztof Kozlowski
2024-03-07 11:34 ` [PATCH net-next v9 9/9] net: hisi_femac: remove unneeded MODULE_ALIAS() Yang Xiwen via B4 Relay
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1cdbe5b8-ed3a-46a6-bc73-6bf35e3305f2@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=andrew@lunn.ch \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=forbidden405@outlook.com \
--cc=hkallweit1@gmail.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=robh+dt@kernel.org \
--cc=salil.mehta@huawei.com \
--cc=yisen.zhuang@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox