[PATCH 1/2] dt-bindings: hwmon: tmp102: Document TMP110
Marek Vasut <[email protected]>
| Newsgroups | org.kernel.vger.linux-hwmon,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
The TMP110 is register compatible with TMP102, document it using a fallback compatible. Signed-off-by: Marek Vasut <[email protected]> --- Cc: Conor Dooley <[email protected]> Cc: Flaviu Nistor <[email protected]> Cc: Guenter Roeck <[email protected]> Cc: Krzysztof Kozlowski <[email protected]> Cc: Rob Herring <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] --- .../devicetree/bindings/hwmon/ti,tmp102.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/hwmon/ti,tmp102.yaml b/Documentation/devicetree/bindings/hwmon/ti,tmp102.yaml index 96b2e4969f78a..f0dbe9f07b939 100644 --- a/Documentation/devicetree/bindings/hwmon/ti,tmp102.yaml +++ b/Documentation/devicetree/bindings/hwmon/ti,tmp102.yaml @@ -4,15 +4,19 @@ $id: http://devicetree.org/schemas/hwmon/ti,tmp102.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: TMP102 temperature sensor +title: TMP102 and TMP110 temperature sensor maintainers: - Krzysztof Kozlowski <[email protected]> properties: compatible: - enum: - - ti,tmp102 + oneOf: + - items: + - const: ti,tmp110 + - const: ti,tmp102 + - enum: + - ti,tmp102 interrupts: maxItems: 1 @@ -28,7 +32,7 @@ properties: const: 1 vcc-supply: - description: Power supply for tmp102 + description: Power supply for the sensor required: - compatible -- 2.53.0