15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 25def4c47SEmmanuel Vadot%YAML 1.2 35def4c47SEmmanuel Vadot--- 45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/potentiometer/microchip,mcp41010.yaml# 55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 65def4c47SEmmanuel Vadot 75def4c47SEmmanuel Vadottitle: Microchip MCP41010/41050/41100/42010/42050/42100 Digital Potentiometer 85def4c47SEmmanuel Vadot 95def4c47SEmmanuel Vadotmaintainers: 105def4c47SEmmanuel Vadot - Chris Coffey <cmc@babblebit.net> 115def4c47SEmmanuel Vadot 125def4c47SEmmanuel Vadotdescription: | 135def4c47SEmmanuel Vadot Datasheet: https://ww1.microchip.com/downloads/en/devicedoc/11195c.pdf 145def4c47SEmmanuel Vadot 155def4c47SEmmanuel Vadotproperties: 165def4c47SEmmanuel Vadot compatible: 175def4c47SEmmanuel Vadot enum: 185def4c47SEmmanuel Vadot - microchip,mcp41010 195def4c47SEmmanuel Vadot - microchip,mcp41050 205def4c47SEmmanuel Vadot - microchip,mcp41100 215def4c47SEmmanuel Vadot - microchip,mcp42010 225def4c47SEmmanuel Vadot - microchip,mcp42050 235def4c47SEmmanuel Vadot - microchip,mcp42100 245def4c47SEmmanuel Vadot 255def4c47SEmmanuel Vadot reg: 265def4c47SEmmanuel Vadot maxItems: 1 275def4c47SEmmanuel Vadot 285def4c47SEmmanuel Vadotrequired: 295def4c47SEmmanuel Vadot - compatible 305def4c47SEmmanuel Vadot - reg 315def4c47SEmmanuel Vadot 32*7ef62cebSEmmanuel VadotallOf: 33*7ef62cebSEmmanuel Vadot - $ref: /schemas/spi/spi-peripheral-props.yaml# 34*7ef62cebSEmmanuel Vadot 35*7ef62cebSEmmanuel VadotunevaluatedProperties: false 36*7ef62cebSEmmanuel Vadot 375def4c47SEmmanuel Vadotexamples: 385def4c47SEmmanuel Vadot - | 395def4c47SEmmanuel Vadot spi { 405def4c47SEmmanuel Vadot #address-cells = <1>; 415def4c47SEmmanuel Vadot #size-cells = <0>; 425def4c47SEmmanuel Vadot 435def4c47SEmmanuel Vadot potentiometer@0 { 445def4c47SEmmanuel Vadot compatible = "microchip,mcp41010"; 455def4c47SEmmanuel Vadot reg = <0>; 465def4c47SEmmanuel Vadot spi-max-frequency = <500000>; 475def4c47SEmmanuel Vadot }; 485def4c47SEmmanuel Vadot }; 495def4c47SEmmanuel Vadot... 50