~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/iio/potentiometer/microchip,mcp4531.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

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

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php