aboutsummaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/iio/multiplexer
AgeCommit message (Collapse)AuthorFilesLines
2022-12-16dt-bindings: drop redundant part of title (end, part three)Krzysztof Kozlowski1-1/+1
The Devicetree bindings document does not have to say in the title that it is a "binding", but instead just describe the hardware. Drop trailing "bindings" in various forms (also with trailing full stop): find Documentation/devicetree/bindings/ -type f -name '*.yaml' \ -not -name 'trivial-devices.yaml' \ -exec sed -i -e 's/^title: \(.*\) [bB]indings\?\.\?$/title: \1/' {} \; Signed-off-by: Krzysztof Kozlowski <[email protected]> Acked-by: Alexandre Belloni <[email protected]> Acked-by: Matti Vaittinen <[email protected]> # ROHM Acked-by: Ulf Hansson <[email protected]> # MMC Acked-by: Stephen Boyd <[email protected]> # clk Acked-by: Dmitry Torokhov <[email protected]> # input Acked-by: Mark Brown <[email protected]> Acked-by: Hans Verkuil <[email protected]> # media Acked-by: Sebastian Reichel <[email protected]> # power Acked-by: Viresh Kumar <[email protected]> # cpufreq Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
2021-10-21dt-bindings: iio: io-channel-mux: allow duplicate channel, labelsPeter Rosin1-2/+3
This is needed since an empty channel label is used to indicate an unused channel, and there can be more that one of those. Fixes the following problem reported by dtbs_check: envelope-detector-mux: channels: ['', '', 'sync-1', 'in', 'out', 'sync-2', 'sys-reg', 'ana-reg'] has non-unique elements arch/arm/boot/dts/at91-tse850-3.dt.yaml Suggested-by: Rob Herring <[email protected]> Signed-off-by: Peter Rosin <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
2021-10-21dt-bindings: iio: io-channel-mux: add optional #io-channel-cellsPeter Rosin1-0/+3
Needed for in-kernel use of the child channels of the mux. Fixes problems like this, reported by dtbs_check: adc0mux: '#io-channel-cells' does not match any of the regexes: 'pinctrl-[0-9]+' arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dt.yaml Suggested-by: Vincent Whitchurch <[email protected]> Signed-off-by: Peter Rosin <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
2021-10-21dt-bindings: iio: io-channel-mux: Add property for settle timeVincent Whitchurch1-0/+5
Hardware may require some time for the muxed analog signals to settle after the muxing is changed. Allow this time to be specified in the devicetree. Signed-off-by: Vincent Whitchurch <[email protected]> Reviewed-by: Rob Herring <[email protected]> Reviewed-by: Lars-Peter Clausen <[email protected]> Tested-by: Lars-Peter Clausen <[email protected]> Acked-by: Peter Rosin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
2021-06-02dt-bindings: iio: multiplexer: Convert io-channel-mux bindings to DT schemaJonathan Cameron2-39/+70
Straight conversion of the txt file using the mux-consumer.yaml binding now that is available. Signed-off-by: Jonathan Cameron <[email protected]> Cc: Peter Rosin <[email protected]> [robh: Drop quotes and $ref for mux-controls] Signed-off-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2021-06-01dt-bindings: mux: Convert mux controller bindings to schemaRob Herring1-1/+1
Convert the mux controller bindings to DT schema. Cc: Peter Rosin <[email protected]> Reviewed-by: Jonathan Cameron <[email protected]> Acked-by: Wolfram Sang <[email protected]> Acked-by: Peter Rosin <[email protected]> Signed-off-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-07-31dt-bindings: iio: io-channel-mux: Fix compatible string in example codeChristian Eggers1-1/+1
The correct compatible string is "gpio-mux" (see bindings/mux/gpio-mux.txt). Cc: [email protected] # v4.13+ Reviewed-by: Peter Rosin <[email protected]> Signed-off-by: Christian Eggers <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
2017-06-03dt-bindings: iio: io-channel-mux: document io-channel-mux bindingsPeter Rosin1-0/+39
Describe how a multiplexer can be used to select which signal is fed to an io-channel. Acked-by: Jonathan Cameron <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Peter Rosin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>