1*5def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2*5def4c47SEmmanuel Vadot%YAML 1.2 3*5def4c47SEmmanuel Vadot--- 4*5def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/potentiometer/microchip,mcp4531.yaml# 5*5def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*5def4c47SEmmanuel Vadot 7*5def4c47SEmmanuel Vadottitle: Microchip mcp4531 and similar potentiometers. 8*5def4c47SEmmanuel Vadot 9*5def4c47SEmmanuel Vadotmaintainers: 10*5def4c47SEmmanuel Vadot - Peter Rosin <peda@axentia.se> 11*5def4c47SEmmanuel Vadot 12*5def4c47SEmmanuel Vadotdescription: | 13*5def4c47SEmmanuel Vadot Family of I2C digital potentiometer 14*5def4c47SEmmanuel Vadot Datasheets at: 15*5def4c47SEmmanuel Vadot * volatile https://ww1.microchip.com/downloads/en/DeviceDoc/22096b.pdf 16*5def4c47SEmmanuel Vadot * non-volatile https://ww1.microchip.com/downloads/en/DeviceDoc/22107B.pdf 17*5def4c47SEmmanuel Vadot Part numbers as follows: mcp4ABC-XXX where 18*5def4c47SEmmanuel Vadot A = 5 (1 wiper), 6 (2 wipers) 19*5def4c47SEmmanuel Vadot B = 3 (7-bit, volatile), 4 (7-bit, non-volatile), 20*5def4c47SEmmanuel Vadot 5 (8-bit, volatile), 6 (8-bit, non-volatile), 21*5def4c47SEmmanuel Vadot C: 1 (potentiometer), 2 (rheostat) 22*5def4c47SEmmanuel Vadot XXX = 502 (5 kOhms), 103 (10 kOhms), 503 (50 kOhms), 104 (100 kOhms) 23*5def4c47SEmmanuel Vadot 24*5def4c47SEmmanuel Vadotproperties: 25*5def4c47SEmmanuel Vadot compatible: 26*5def4c47SEmmanuel Vadot enum: 27*5def4c47SEmmanuel Vadot # Ordering reflects part number + range, so 502 < 103 etc 28*5def4c47SEmmanuel Vadot - microchip,mcp4531-502 29*5def4c47SEmmanuel Vadot - microchip,mcp4531-103 30*5def4c47SEmmanuel Vadot - microchip,mcp4531-503 31*5def4c47SEmmanuel Vadot - microchip,mcp4531-104 32*5def4c47SEmmanuel Vadot - microchip,mcp4532-502 33*5def4c47SEmmanuel Vadot - microchip,mcp4532-103 34*5def4c47SEmmanuel Vadot - microchip,mcp4532-503 35*5def4c47SEmmanuel Vadot - microchip,mcp4532-104 36*5def4c47SEmmanuel Vadot - microchip,mcp4541-502 37*5def4c47SEmmanuel Vadot - microchip,mcp4541-103 38*5def4c47SEmmanuel Vadot - microchip,mcp4541-503 39*5def4c47SEmmanuel Vadot - microchip,mcp4541-104 40*5def4c47SEmmanuel Vadot - microchip,mcp4542-502 41*5def4c47SEmmanuel Vadot - microchip,mcp4542-103 42*5def4c47SEmmanuel Vadot - microchip,mcp4542-503 43*5def4c47SEmmanuel Vadot - microchip,mcp4542-104 44*5def4c47SEmmanuel Vadot - microchip,mcp4551-502 45*5def4c47SEmmanuel Vadot - microchip,mcp4551-103 46*5def4c47SEmmanuel Vadot - microchip,mcp4551-503 47*5def4c47SEmmanuel Vadot - microchip,mcp4551-104 48*5def4c47SEmmanuel Vadot - microchip,mcp4552-502 49*5def4c47SEmmanuel Vadot - microchip,mcp4552-103 50*5def4c47SEmmanuel Vadot - microchip,mcp4552-503 51*5def4c47SEmmanuel Vadot - microchip,mcp4552-104 52*5def4c47SEmmanuel Vadot - microchip,mcp4561-502 53*5def4c47SEmmanuel Vadot - microchip,mcp4561-103 54*5def4c47SEmmanuel Vadot - microchip,mcp4561-503 55*5def4c47SEmmanuel Vadot - microchip,mcp4561-104 56*5def4c47SEmmanuel Vadot - microchip,mcp4562-502 57*5def4c47SEmmanuel Vadot - microchip,mcp4562-103 58*5def4c47SEmmanuel Vadot - microchip,mcp4562-503 59*5def4c47SEmmanuel Vadot - microchip,mcp4562-104 60*5def4c47SEmmanuel Vadot - microchip,mcp4631-502 61*5def4c47SEmmanuel Vadot - microchip,mcp4631-103 62*5def4c47SEmmanuel Vadot - microchip,mcp4631-503 63*5def4c47SEmmanuel Vadot - microchip,mcp4631-104 64*5def4c47SEmmanuel Vadot - microchip,mcp4632-502 65*5def4c47SEmmanuel Vadot - microchip,mcp4632-103 66*5def4c47SEmmanuel Vadot - microchip,mcp4632-503 67*5def4c47SEmmanuel Vadot - microchip,mcp4632-104 68*5def4c47SEmmanuel Vadot - microchip,mcp4641-502 69*5def4c47SEmmanuel Vadot - microchip,mcp4641-103 70*5def4c47SEmmanuel Vadot - microchip,mcp4641-503 71*5def4c47SEmmanuel Vadot - microchip,mcp4641-104 72*5def4c47SEmmanuel Vadot - microchip,mcp4642-502 73*5def4c47SEmmanuel Vadot - microchip,mcp4642-103 74*5def4c47SEmmanuel Vadot - microchip,mcp4642-503 75*5def4c47SEmmanuel Vadot - microchip,mcp4642-104 76*5def4c47SEmmanuel Vadot - microchip,mcp4651-502 77*5def4c47SEmmanuel Vadot - microchip,mcp4651-103 78*5def4c47SEmmanuel Vadot - microchip,mcp4651-503 79*5def4c47SEmmanuel Vadot - microchip,mcp4651-104 80*5def4c47SEmmanuel Vadot - microchip,mcp4652-502 81*5def4c47SEmmanuel Vadot - microchip,mcp4652-103 82*5def4c47SEmmanuel Vadot - microchip,mcp4652-503 83*5def4c47SEmmanuel Vadot - microchip,mcp4652-104 84*5def4c47SEmmanuel Vadot - microchip,mcp4661-502 85*5def4c47SEmmanuel Vadot - microchip,mcp4661-103 86*5def4c47SEmmanuel Vadot - microchip,mcp4661-503 87*5def4c47SEmmanuel Vadot - microchip,mcp4661-104 88*5def4c47SEmmanuel Vadot - microchip,mcp4662-502 89*5def4c47SEmmanuel Vadot - microchip,mcp4662-103 90*5def4c47SEmmanuel Vadot - microchip,mcp4662-503 91*5def4c47SEmmanuel Vadot - microchip,mcp4662-104 92*5def4c47SEmmanuel Vadot 93*5def4c47SEmmanuel Vadot reg: 94*5def4c47SEmmanuel Vadot maxItems: 1 95*5def4c47SEmmanuel Vadot 96*5def4c47SEmmanuel Vadot "#io-channel-cells": 97*5def4c47SEmmanuel Vadot const: 1 98*5def4c47SEmmanuel Vadot 99*5def4c47SEmmanuel Vadotrequired: 100*5def4c47SEmmanuel Vadot - compatible 101*5def4c47SEmmanuel Vadot - reg 102*5def4c47SEmmanuel Vadot 103*5def4c47SEmmanuel VadotadditionalProperties: false 104*5def4c47SEmmanuel Vadot 105*5def4c47SEmmanuel Vadotexamples: 106*5def4c47SEmmanuel Vadot - | 107*5def4c47SEmmanuel Vadot i2c { 108*5def4c47SEmmanuel Vadot #address-cells = <1>; 109*5def4c47SEmmanuel Vadot #size-cells = <0>; 110*5def4c47SEmmanuel Vadot dpot: dpot@28 { 111*5def4c47SEmmanuel Vadot compatible = "microchip,mcp4651-104"; 112*5def4c47SEmmanuel Vadot reg = <0x28>; 113*5def4c47SEmmanuel Vadot #io-channel-cells = <1>; 114*5def4c47SEmmanuel Vadot }; 115*5def4c47SEmmanuel Vadot }; 116*5def4c47SEmmanuel Vadot... 117