]> git.dujemihanovic.xyz Git - linux.git/commit
dt-bindings: net: tja11xx: fix the broken binding
authorWei Fang <wei.fang@nxp.com>
Mon, 9 Sep 2024 01:21:52 +0000 (09:21 +0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 11 Sep 2024 00:12:58 +0000 (17:12 -0700)
commit2f9caba9b2f68639047d67d7cbfa98f7f2ac3180
tree4c0b1bbb3383cb1e35874c3c94b10b01141f4bdd
parente8a63d473b49011a68a748aea1c8aefa046ebacf
dt-bindings: net: tja11xx: fix the broken binding

As Rob pointed in another mail thread [1], the binding of tja11xx PHY
is completely broken, the schema cannot catch the error in the DTS. A
compatiable string must be needed if we want to add a custom propety.
So extract known PHY IDs from the tja11xx PHY drivers and convert them
into supported compatible string list to fix the broken binding issue.

Fixes: 52b2fe4535ad ("dt-bindings: net: tja11xx: add nxp,refclk_in property")
Link: https://lore.kernel.org/31058f49-bac5-49a9-a422-c43b121bf049@kernel.org
Signed-off-by: Wei Fang <wei.fang@nxp.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20240909012152.431647-1-wei.fang@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/devicetree/bindings/net/nxp,tja11xx.yaml