Thread (7 messages) 7 messages, 2 authors, 2017-02-21

[PATCH 2/2] ARM: dts: Qualcomm APQ8060 DragonBoard ALS sensor

From: Linus Walleij <hidden>
Date: 2017-02-03 13:05:30
Also in: linux-arm-msm

On Wed, Feb 1, 2017 at 7:36 PM, Bjorn Andersson
[off-list ref] wrote:
On Tue 31 Jan 02:21 PST 2017, Linus Walleij wrote:
quoted
+                                                     /* Let's use channel 5 */
+                                                     qcom,amux-route = <PMIC_MPP_AMUX_ROUTE_CH5>;
Unrelated to this patch, I did look at how this works on later devices.
It seems like we want to be able to switch the amux-route depending on
which ADC "channel" we're querying - e.g. on DB820c we have thermistors
on 3 different AMUX inputs but we don't have 3 mpps available.

Any thoughts on how to deal with this?
The AMUX is just one big mystery to me, it's one of those areas where I
think a real datasheet would be extremely helpful.

In absence of datasheet, maybe a piece of ASCII art illustrating the muxes
in the device tree binding docs or so, written by someone who understand
it.

In absence of any written sources, maybe hearsay, rumors, palimpsest...
hehe.

I'd seriously like to know how this is engineered.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help