mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
DTS example in the bindings should be indented with 2- or 4-spaces and aligned with opening '- |', so correct any differences like 3-spaces or mixtures 2- and 4-spaces in one binding. No functional changes here, but saves some comments during reviews of new patches built on existing code. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Nuno Sa <nuno.sa@analog.com> Acked-by: Rob Herring (Arm) <robh@kernel.org> Link: https://patch.msgid.link/20250107125848.226899-1-krzysztof.kozlowski@linaro.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
56 lines
1.1 KiB
YAML
56 lines
1.1 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/iio/humidity/sciosense,ens210.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: ScioSense ENS210 temperature and humidity sensor
|
|
|
|
maintainers:
|
|
- Joshua Felmeden <jfelmeden@thegoodpenguin.co.uk>
|
|
|
|
description: |
|
|
Temperature and Humidity sensor.
|
|
|
|
Datasheet:
|
|
https://www.sciosense.com/wp-content/uploads/2024/04/ENS21x-Datasheet.pdf
|
|
https://www.sciosense.com/wp-content/uploads/2023/12/ENS210-Datasheet.pdf
|
|
|
|
properties:
|
|
compatible:
|
|
oneOf:
|
|
- items:
|
|
- enum:
|
|
- sciosense,ens210a
|
|
- sciosense,ens211
|
|
- sciosense,ens212
|
|
- sciosense,ens213a
|
|
- sciosense,ens215
|
|
- const: sciosense,ens210
|
|
- const: sciosense,ens210
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
vdd-supply: true
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
i2c {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
temperature-sensor@43 {
|
|
compatible = "sciosense,ens210";
|
|
reg = <0x43>;
|
|
};
|
|
};
|
|
...
|
|
|