Skip to content

Commit 3a87213

Browse files
Javier Martinez Canillasjic23
authored andcommitted
iio: adc: mcp320x: Deprecated compatible strings with no vendor prefix
The Microchip Analog to Digital Converter (ADC) Device Tree binding documents compatible strings with no vendor prefix. Since it should compatible strings with also a vendor, add these to the binding doc and mark the old ones as deprecated. The driver says that the device is from Microchip Technology which is listed in Documentation/devicetree/bindings/vendor-prefixes.txt so use the documented prefix. Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> Acked-by: Michael Welling <mwelling@ieee.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
1 parent 415f792 commit 3a87213

File tree

1 file changed

+21
-9
lines changed

1 file changed

+21
-9
lines changed

Documentation/devicetree/bindings/iio/adc/mcp320x.txt

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,28 @@ must be specified.
1010
Required properties:
1111
- compatible: Must be one of the following, depending on the
1212
model:
13-
"mcp3001"
14-
"mcp3002"
15-
"mcp3004"
16-
"mcp3008"
17-
"mcp3201"
18-
"mcp3202"
19-
"mcp3204"
20-
"mcp3208"
21-
"mcp3301"
13+
"mcp3001" (DEPRECATED)
14+
"mcp3002" (DEPRECATED)
15+
"mcp3004" (DEPRECATED)
16+
"mcp3008" (DEPRECATED)
17+
"mcp3201" (DEPRECATED)
18+
"mcp3202" (DEPRECATED)
19+
"mcp3204" (DEPRECATED)
20+
"mcp3208" (DEPRECATED)
21+
"mcp3301" (DEPRECATED)
2222

23+
"microchip,mcp3001"
24+
"microchip,mcp3002"
25+
"microchip,mcp3004"
26+
"microchip,mcp3008"
27+
"microchip,mcp3201"
28+
"microchip,mcp3202"
29+
"microchip,mcp3204"
30+
"microchip,mcp3208"
31+
"microchip,mcp3301"
32+
33+
NOTE: The use of the compatibles with no vendor prefix
34+
is deprecated and only listed because old DT use them.
2335

2436
Examples:
2537
spi_controller {

0 commit comments

Comments
 (0)