Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: iio: adc: renesas,rzg2l-adc: Document RZ/G3S SoC

Document the ADC IP available on the RZ/G3S SoC. The ADC IP on the RZ/G3S
differs slightly from the one found on the RZ/G2L. The identified
differences are as follows:
- different number of channels (one being used for temperature conversion);
consequently, various registers differ; the temperature channel
support was not available for the RZ/G2L variant; the #io-channel-cells
property was added to be able to request the temperature channel from
the thermal driver
- different default sampling periods
- the RZ/G3S variant lacks the ADVIC register.

Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Link: https://patch.msgid.link/20241206111337.726244-13-claudiu.beznea.uj@bp.renesas.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Claudiu Beznea and committed by
Jonathan Cameron
4af77fea 563cf94f

+26 -11
+26 -11
Documentation/devicetree/bindings/iio/adc/renesas,rzg2l-adc.yaml
··· 17 17 18 18 properties: 19 19 compatible: 20 - items: 21 - - enum: 22 - - renesas,r9a07g043-adc # RZ/G2UL and RZ/Five 23 - - renesas,r9a07g044-adc # RZ/G2L 24 - - renesas,r9a07g054-adc # RZ/V2L 25 - - const: renesas,rzg2l-adc 20 + oneOf: 21 + - items: 22 + - enum: 23 + - renesas,r9a07g043-adc # RZ/G2UL and RZ/Five 24 + - renesas,r9a07g044-adc # RZ/G2L 25 + - renesas,r9a07g054-adc # RZ/V2L 26 + - const: renesas,rzg2l-adc 27 + - items: 28 + - const: renesas,r9a08g045-adc # RZ/G3S 26 29 27 30 reg: 28 31 maxItems: 1 ··· 60 57 '#size-cells': 61 58 const: 0 62 59 60 + "#io-channel-cells": 61 + const: 1 62 + 63 63 required: 64 64 - compatible 65 65 - reg ··· 74 68 - reset-names 75 69 76 70 patternProperties: 77 - "^channel@[0-7]$": 71 + "^channel@[0-8]$": 78 72 $ref: adc.yaml 79 73 type: object 80 74 description: | ··· 84 78 reg: 85 79 description: | 86 80 The channel number. 81 + minimum: 0 82 + maximum: 8 87 83 88 84 required: 89 85 - reg ··· 100 92 const: renesas,r9a07g043-adc 101 93 then: 102 94 patternProperties: 103 - "^channel@[2-7]$": false 95 + "^channel@[2-8]$": false 104 96 "^channel@[0-1]$": 105 97 properties: 106 98 reg: 107 - minimum: 0 108 99 maximum: 1 109 - else: 100 + 101 + - if: 102 + properties: 103 + compatible: 104 + contains: 105 + enum: 106 + - renesas,r9a07g044-adc 107 + - renesas,r9a07g054-adc 108 + then: 110 109 patternProperties: 110 + "^channel@[8]$": false 111 111 "^channel@[0-7]$": 112 112 properties: 113 113 reg: 114 - minimum: 0 115 114 maximum: 7 116 115 117 116 additionalProperties: false