Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/potentiometer/microchip,mcp41010.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Microchip MCP41010/41050/41100/42010/42050/42100 Digital Potentiometer
0008 
0009 maintainers:
0010   - Chris Coffey <cmc@babblebit.net>
0011 
0012 description: |
0013   Datasheet: https://ww1.microchip.com/downloads/en/devicedoc/11195c.pdf
0014 
0015 properties:
0016   compatible:
0017     enum:
0018       - microchip,mcp41010
0019       - microchip,mcp41050
0020       - microchip,mcp41100
0021       - microchip,mcp42010
0022       - microchip,mcp42050
0023       - microchip,mcp42100
0024 
0025   reg:
0026     maxItems: 1
0027 
0028   spi-max-frequency: true
0029 
0030 additionalProperties: false
0031 
0032 required:
0033   - compatible
0034   - reg
0035 
0036 examples:
0037   - |
0038     spi {
0039         #address-cells = <1>;
0040         #size-cells = <0>;
0041 
0042         potentiometer@0 {
0043             compatible = "microchip,mcp41010";
0044             reg = <0>;
0045             spi-max-frequency = <500000>;
0046         };
0047     };
0048 ...