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: Add device tree support for Winsen MHZ19B CO2 sensor

Add device tree support for Winsen MHZ19B sensor.

Signed-off-by: Gyeyoung Baek <gye976@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20250423194100.53934-3-gye976@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Gyeyoung Baek and committed by
Jonathan Cameron
fd3730b2 028239a6

+33
+33
Documentation/devicetree/bindings/iio/chemical/winsen,mhz19b.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/iio/chemical/winsen,mhz19b.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: MHZ19B CO2 sensor 8 + 9 + maintainers: 10 + - Gyeyoung Baek <gye976@gmail.com> 11 + 12 + properties: 13 + compatible: 14 + const: winsen,mhz19b 15 + 16 + vin-supply: 17 + description: Regulator that provides power to the sensor 18 + 19 + required: 20 + - compatible 21 + - vin-supply 22 + 23 + additionalProperties: false 24 + 25 + examples: 26 + - | 27 + serial { 28 + co2-sensor { 29 + compatible = "winsen,mhz19b"; 30 + vin-supply = <&vdd>; 31 + }; 32 + }; 33 + ...