checks: tigthen up nr-gpios prop exception

There are no instances of nr-gpio in the Linux kernel tree, only
"[<vendor>,]nr-gpios", so make the check stricter.

nr-gpios without a "vendor," prefix is also invalid, according to the DT
spec[0], and there are no DT files in the Linux kernel tree with
non-vendor nr-gpios. There are some drivers, but they are not DT spec
compliant, so don't suppress the check for them.


Signed-off-by: Ilya Lipnitskiy <>
Cc: Rob Herring <>
Message-Id: <>
Signed-off-by: David Gibson <>
1 file changed