aboutsummaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/iio/potentiometer
AgeCommit message (Collapse)AuthorFilesLines
2023-05-13dt-bindings: iio: potentiometer: Add the Renesas X9250 potentiometersHerve Codina1-0/+78
The Renesas X9250 is a quad digitally controlled potentiometers. Signed-off-by: Herve Codina <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
2023-01-28dt-bindings: iio: use lowercase hex in examplesKrzysztof Kozlowski1-1/+1
Use lowercase hex in addresses in examples. Signed-off-by: Krzysztof Kozlowski <[email protected]> Acked-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
2022-08-19dt-bindings: iio: potentiometer: use spi-peripheral-props.yamlKrzysztof Kozlowski2-8/+10
Instead of listing directly properties typical for SPI peripherals, reference the spi-peripheral-props.yaml schema. This allows using all properties typical for SPI-connected devices, even these which device bindings author did not tried yet. Remove the spi-* properties which now come via spi-peripheral-props.yaml schema, except for the cases when device schema adds some constraints like maximum frequency. While changing additionalProperties->unevaluatedProperties, put it in typical place, just before example DTS. Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
2022-05-01dt-bindings: iio: Fix incorrect compatible strings in examplesRob Herring1-1/+1
Fix a couple of examples using incorrect compatible strings. Signed-off-by: Rob Herring <[email protected]> Reviewed-by: Slawomir Stepien <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
2021-01-11dt-bindings: Add missing array size constraintsRob Herring1-0/+1
DT properties which can have multiple entries need to specify what the entries are and define how many entries there can be. In the case of only a single entry, just 'maxItems: 1' is sufficient. Add the missing entry constraints. These were found with a modified meta-schema. Unfortunately, there are a few cases where the size constraints are not defined such as common bindings, so the meta-schema can't be part of the normal checks. Cc: Jens Axboe <[email protected]> Cc: Stephen Boyd <[email protected]> Cc: Thierry Reding <[email protected]> Cc: MyungJoo Ham <[email protected]> Cc: Chanwoo Choi <[email protected]> Cc: Linus Walleij <[email protected]> Cc: Bartosz Golaszewski <[email protected]> Cc: Jonathan Cameron <[email protected]> Cc: Dmitry Torokhov <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Marc Zyngier <[email protected]> Cc: Mauro Carvalho Chehab <[email protected]> Cc: Chen-Yu Tsai <[email protected]> Cc: Ulf Hansson <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Jakub Kicinski <[email protected]> Cc: Sebastian Reichel <[email protected]> Cc: Ohad Ben-Cohen <[email protected]> Cc: Bjorn Andersson <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Acked-by: Sebastian Reichel <[email protected]> Acked-by: Jonathan Cameron <[email protected]> #for-iio Acked-by: Chanwoo Choi <[email protected]> Reviewed-by: Suman Anna <[email protected]> Acked-by: Paul Cercueil <[email protected]> Acked-by: Dmitry Torokhov <[email protected]> Acked-by: Bartosz Golaszewski <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
2020-12-03dt-bindings:iio:potentiometer: give microchip,mcp4531 its own bindingJonathan Cameron1-0/+116
We use this part in an example for the envelope detector. That showed that we need to allow for the #io-channel-cells property which trivial-devices.yaml does not. It doesn't make sense to add that property to trivial-devices as it only applies for those devices that can provide some sort of DAC or ADC service to another device driver. Hence solution will be to pull some IIO devices out to have their own file on a case by case basis. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Cc: Peter Rosin <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-22dt-bindings:iio:potentiometer:microchip,mcp41010 txt to yaml conversionJonathan Cameron2-28/+48
A simple binding that I almost just move to trivial devices. The small amount of additional documentation and relatively large number of compatible entries convinced me to suggest we keep this one separately documented. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Cc: Chris Coffey <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-22dt-bindings:iio:potentiometer:adi,ad5272 yaml conversionJonathan Cameron2-27/+50
Simple direct conversion from txt to yaml as part of a general aim of converting all IIO bindings to this machine readable format. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Reviewed-by: Phil Reid <[email protected]> Cc: Phil Reid <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-22dt-bindings:iio:potentiometer:microchip,mcp4131 txt to yaml conversionJonathan Cameron2-84/+103
This binding is very simple, but I think the very large number of compatible values make it unsuitable for moving to trivial-devices.yaml. Main change in the conversion was reordering the compatible list to numerical order. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Reviewed-by: Slawomir Stepien <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-16dt-bindings:iio:potentiometer:maxim,max5481 move to trivial devicesJonathan Cameron1-23/+0
Simple SPI binding that doesn't need a separate file. During conversion I looked up the individual part number descriptions in the datasheet so that we could give slightly more detail in trivial-device.yaml. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Slawomir Stepien <[email protected]> Reviewed-by: Rob Herring <[email protected]> Cc: Maury Anderson <[email protected]> Cc: Matthew Weber <[email protected]> Cc: Slawomir Stepien <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-11-16dt-bindings:iio:potentiometer:maxim,ds1803 move to trivial devices.Jonathan Cameron1-21/+0
Simple binding where there is no obvious benefit in maintaining a separate file. Hence document in trivial-devices.yaml and drop the txt file. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Slawomir Stepien <[email protected]> Reviewed-by: Rob Herring <[email protected]> Cc: Slawomir Stepien <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-07-13Replace HTTP links with HTTPS ones: Documentation/devicetree/bindings/iioAlexander A. Klimov1-1/+1
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`: If both the HTTP and HTTPS versions return 200 OK and serve the same content: Replace HTTP with HTTPS. Signed-off-by: Alexander A. Klimov <[email protected]> Reviewed-by: Matt Ranostay <[email protected]> #for Matt's drivers Signed-off-by: Jonathan Cameron <[email protected]>
2019-08-05dt-bindings: iio: potentiometer: add max5432.yaml bindingMartin Kaiser1-0/+44
Add a binding for the Maxim Integrated MAX5432-MAX5435 family of digital potentiometers. Signed-off-by: Martin Kaiser <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
2018-11-25dt-bindings: iio: potentiometer: Add Microchip MCP41xxx/42xxxChris Coffey1-0/+28
This patch adds device tree documentation for the Microchip MCP41xxx/42xxx family of digital potentiometers. Signed-off-by: Chris Coffey <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
2018-02-10dt-bindings: ad5272: Add bindings for Analog Devices digital potentiometersPhil Reid1-0/+27
Add binding documentation for Analog Devices AD5272 and AD5274 digital potentiometer devices. Signed-off-by: Phil Reid <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
2017-01-28iio: max5481: Add support for Maxim digital potentiometersMatt Weber1-0/+23
Add implementation for Maxim Integrated 5481, 5482, 5483, and 5484 digital potentiometer devices. Datasheet: http://datasheets.maximintegrated.com/en/ds/MAX5481-MAX5484.pdf Signed-off-by: Maury Anderson <[email protected]> Signed-off-by: Matthew Weber <[email protected]> Signed-off-by: Slawomir Stepien <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
2016-04-10iio: potentiometer: add driver for Maxim Integrated DS1803Slawomir Stepien1-0/+21
The following functions are supported: - write, read potentiometer value - potentiometer scale Datasheet: https://datasheets.maximintegrated.com/en/ds/DS1803.pdf Signed-off-by: Slawomir Stepien <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
2016-04-03iio: potentiometer: add driver for Microchip ↵Slawomir Stepien1-0/+84
MCP413X/414X/415X/416X/423X/424X/425X/426X The following functionalities are supported: - write, read from volatile memory Datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/22060b.pdf Signed-off-by: Slawomir Stepien <[email protected]> Reviewed-by: Joachim Eastwood <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>