19a7dc817SJonathan Cameron# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
29a7dc817SJonathan Cameron%YAML 1.2
39a7dc817SJonathan Cameron---
49a7dc817SJonathan Cameron$id: http://devicetree.org/schemas/iio/potentiometer/microchip,mcp4131.yaml#
59a7dc817SJonathan Cameron$schema: http://devicetree.org/meta-schemas/core.yaml#
69a7dc817SJonathan Cameron
79a7dc817SJonathan Camerontitle: Microchip MCP413X/414X/415X/416X/423X/424X/425X/426X Digital Potentiometer
89a7dc817SJonathan Cameron
99a7dc817SJonathan Cameronmaintainers:
109a7dc817SJonathan Cameron  - Slawomir Stepien <sst@poczta.fm>
119a7dc817SJonathan Cameron
129a7dc817SJonathan Cameronproperties:
139a7dc817SJonathan Cameron  compatible:
149a7dc817SJonathan Cameron    enum:
159a7dc817SJonathan Cameron      - microchip,mcp4131-103
169a7dc817SJonathan Cameron      - microchip,mcp4131-104
179a7dc817SJonathan Cameron      - microchip,mcp4131-502
189a7dc817SJonathan Cameron      - microchip,mcp4131-503
199a7dc817SJonathan Cameron      - microchip,mcp4132-103
209a7dc817SJonathan Cameron      - microchip,mcp4132-104
219a7dc817SJonathan Cameron      - microchip,mcp4132-502
229a7dc817SJonathan Cameron      - microchip,mcp4132-503
239a7dc817SJonathan Cameron      - microchip,mcp4141-103
249a7dc817SJonathan Cameron      - microchip,mcp4141-104
259a7dc817SJonathan Cameron      - microchip,mcp4141-502
269a7dc817SJonathan Cameron      - microchip,mcp4141-503
279a7dc817SJonathan Cameron      - microchip,mcp4142-103
289a7dc817SJonathan Cameron      - microchip,mcp4142-104
299a7dc817SJonathan Cameron      - microchip,mcp4142-502
309a7dc817SJonathan Cameron      - microchip,mcp4142-503
319a7dc817SJonathan Cameron      - microchip,mcp4151-103
329a7dc817SJonathan Cameron      - microchip,mcp4151-104
339a7dc817SJonathan Cameron      - microchip,mcp4151-502
349a7dc817SJonathan Cameron      - microchip,mcp4151-503
359a7dc817SJonathan Cameron      - microchip,mcp4152-103
369a7dc817SJonathan Cameron      - microchip,mcp4152-104
379a7dc817SJonathan Cameron      - microchip,mcp4152-502
389a7dc817SJonathan Cameron      - microchip,mcp4152-503
399a7dc817SJonathan Cameron      - microchip,mcp4161-103
409a7dc817SJonathan Cameron      - microchip,mcp4161-104
419a7dc817SJonathan Cameron      - microchip,mcp4161-502
429a7dc817SJonathan Cameron      - microchip,mcp4161-503
439a7dc817SJonathan Cameron      - microchip,mcp4162-103
449a7dc817SJonathan Cameron      - microchip,mcp4162-104
459a7dc817SJonathan Cameron      - microchip,mcp4162-502
469a7dc817SJonathan Cameron      - microchip,mcp4162-503
479a7dc817SJonathan Cameron      - microchip,mcp4231-103
489a7dc817SJonathan Cameron      - microchip,mcp4231-104
499a7dc817SJonathan Cameron      - microchip,mcp4231-502
509a7dc817SJonathan Cameron      - microchip,mcp4231-503
519a7dc817SJonathan Cameron      - microchip,mcp4232-103
529a7dc817SJonathan Cameron      - microchip,mcp4232-104
539a7dc817SJonathan Cameron      - microchip,mcp4232-502
549a7dc817SJonathan Cameron      - microchip,mcp4232-503
559a7dc817SJonathan Cameron      - microchip,mcp4241-103
569a7dc817SJonathan Cameron      - microchip,mcp4241-104
579a7dc817SJonathan Cameron      - microchip,mcp4241-502
589a7dc817SJonathan Cameron      - microchip,mcp4241-503
599a7dc817SJonathan Cameron      - microchip,mcp4242-103
609a7dc817SJonathan Cameron      - microchip,mcp4242-104
619a7dc817SJonathan Cameron      - microchip,mcp4242-502
629a7dc817SJonathan Cameron      - microchip,mcp4242-503
639a7dc817SJonathan Cameron      - microchip,mcp4251-103
649a7dc817SJonathan Cameron      - microchip,mcp4251-104
659a7dc817SJonathan Cameron      - microchip,mcp4251-502
669a7dc817SJonathan Cameron      - microchip,mcp4251-503
679a7dc817SJonathan Cameron      - microchip,mcp4252-103
689a7dc817SJonathan Cameron      - microchip,mcp4252-104
699a7dc817SJonathan Cameron      - microchip,mcp4252-502
709a7dc817SJonathan Cameron      - microchip,mcp4252-503
719a7dc817SJonathan Cameron      - microchip,mcp4261-103
729a7dc817SJonathan Cameron      - microchip,mcp4261-104
739a7dc817SJonathan Cameron      - microchip,mcp4261-502
749a7dc817SJonathan Cameron      - microchip,mcp4261-503
759a7dc817SJonathan Cameron      - microchip,mcp4262-103
769a7dc817SJonathan Cameron      - microchip,mcp4262-104
779a7dc817SJonathan Cameron      - microchip,mcp4262-502
789a7dc817SJonathan Cameron      - microchip,mcp4262-503
799a7dc817SJonathan Cameron
809a7dc817SJonathan Cameron  reg:
819a7dc817SJonathan Cameron    maxItems: 1
829a7dc817SJonathan Cameron
839a7dc817SJonathan Cameronrequired:
849a7dc817SJonathan Cameron  - compatible
859a7dc817SJonathan Cameron  - reg
869a7dc817SJonathan Cameron
87*efcdb1abSKrzysztof KozlowskiallOf:
88*efcdb1abSKrzysztof Kozlowski  - $ref: /schemas/spi/spi-peripheral-props.yaml#
89*efcdb1abSKrzysztof Kozlowski
90*efcdb1abSKrzysztof KozlowskiunevaluatedProperties: false
91*efcdb1abSKrzysztof Kozlowski
929a7dc817SJonathan Cameronexamples:
939a7dc817SJonathan Cameron  - |
949a7dc817SJonathan Cameron    spi {
959a7dc817SJonathan Cameron        #address-cells = <1>;
969a7dc817SJonathan Cameron        #size-cells = <0>;
979a7dc817SJonathan Cameron
989a7dc817SJonathan Cameron        potentiometer@0 {
99e678acedSRob Herring            compatible = "microchip,mcp4131-502";
1009a7dc817SJonathan Cameron            reg = <0>;
1019a7dc817SJonathan Cameron            spi-max-frequency = <500000>;
1029a7dc817SJonathan Cameron        };
1039a7dc817SJonathan Cameron    };
1049a7dc817SJonathan Cameron...
105