iio: xoadc: augment DT bindings a bit
commit96b3c833035ee3e591361c1b424d3ae87241133c
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 4 Apr 2017 12:08:17 +0000 (4 14:08 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sat, 8 Apr 2017 16:40:07 +0000 (8 17:40 +0100)
tree5a1b7f49936de044e0af3c01c66abd597826494f
parent808a8b73772c6ac7d999c0508d2f757831cd83ca
iio: xoadc: augment DT bindings a bit

In order to accommodate in a logical manner for the premuxed channels
in PM8921 and the similarly addressed channels in later PMICs, we
need a twocell arrangement with premux and analog mux setting as
a tuple to uniquely identify a hardware channel.

These bindings are not yet in use, so it should be fine to augment
them before we actually start using it in drivers and device trees.

This scheme came out of lengthy discussions and reverse-engineering
and reading of the few information sources we have.

Cc: devicetree@vger.kernel.org
Acked-by: Rob Herring <robh+dt@kernel.org>
Suggested-by: Björn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/devicetree/bindings/iio/adc/qcom,pm8xxx-xoadc.txt