On 04.11.2024 10:27:04, Krzysztof Kozlowski wrote: > > +properties: > > + compatible: > > + oneOf: > > + - enum: > > + - ti,tcan4552 > > + - ti,tcan4553 > > + - ti,tcan4x5x > > That's not really what old binding said. > > It said for example: > "ti,tcan4552", "ti,tcan4x5x" > > Which is not allowed above. You need list. Considering there are no > in-tree users of ti,tcan4x5x alone, I would allow only lists followed by > ti,tcan4x5x. IOW: disallow ti,tcan4x5x alone. I'd like to keep the old binding. > Mention this change to the binding in the commit message. The tcan4x5x chip family has 2 registers for automatic detection of the chip variant. While the ID2 register of the tcan4550 is 0x0, the registers for the tcan4552 and tcan4553 contain 4552 and 4553 respectively in ASCII. The driver was originally added for the tcan4550 chip, but currently only has a compatible for "ti,tcan4x5x". Marc -- Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung Nürnberg | Phone: +49-5121-206917-129 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
Attachment:
signature.asc
Description: PGP signature