Re: [PATCH 03/11] dt-bindings: interrupt-controller: RISC-V PLIC documentation
From: Christoph Hellwig
Date: Wed Aug 08 2018 - 11:04:11 EST
On Wed, Aug 08, 2018 at 08:16:14AM -0600, Rob Herring wrote:
> Is 1.0 an actual version number corresponding to an exact, revision
> controlled version of the IP or just something you made up? Looks like
> the latter to me and I'm not a fan of s/w folks making up version
> numbers for h/w. Standard naming convention is <vendor>,<soc>-<block>
> unless you have good reason to deviate (IP for FPGAs where version
> numbers are exposed to customers is one example).
>
> And defining a version 2 when you find a quirk doesn't work. You've
> already shipped the DT. You need to be able to fix issues with just an
> OS update. This is why you are supposed to define a compatible string
> for each and every SoC (and use a fallback when they are "the
> same"TM).
Can you point to some existing examples of the multiple offered
compatible strings and what is actually matched for something that
largely hasn't changed?
For example the documentation for the arm GICv3 binding seems to just
match for arm,gic-v3. On the other hand the GIC driver seems to match
for a lot of different strings.