Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/hwmon/lltc,ltc4151.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: LTC4151 High Voltage I2C Current and Voltage Monitor
0008 
0009 maintainers:
0010   - Krzysztof Kozlowski <krzk@kernel.org>
0011 
0012 properties:
0013   compatible:
0014     const: lltc,ltc4151
0015 
0016   reg:
0017     maxItems: 1
0018 
0019   shunt-resistor-micro-ohms:
0020     description:
0021       Shunt resistor value in micro-Ohms
0022     default: 1000
0023 
0024 required:
0025   - compatible
0026   - reg
0027 
0028 additionalProperties: false
0029 
0030 examples:
0031   - |
0032     i2c {
0033         #address-cells = <1>;
0034         #size-cells = <0>;
0035 
0036         sensor@6e {
0037             compatible = "lltc,ltc4151";
0038             reg = <0x6e>;
0039             shunt-resistor-micro-ohms = <1500>;
0040         };
0041     };