OSDN Git Service

ARM: dts: imx6qdl-apalis: Pass 'io-channel-cells' to the ADC
authorFabio Estevam <festevam@gmail.com>
Fri, 24 Sep 2021 13:46:43 +0000 (10:46 -0300)
committerShawn Guo <shawnguo@kernel.org>
Tue, 5 Oct 2021 05:51:37 +0000 (13:51 +0800)
commitcdbaba8d72dd68bab1185fe121f64bbf2d71eac2
tree6cf209886eaf9a78f77df8ee2031c86f4e996929
parent56086b5e804fcc98d1c699f7df6d42db12ed2977
ARM: dts: imx6qdl-apalis: Pass 'io-channel-cells' to the ADC

The STMPE811 ADC on the Apalis SoM board can be used as a provider
of ADC capabilities to other devices, for example, when a custom
baseboard has an SN74LV4051 analog mux.

Pass the 'io-channel-cells' parameter to indicate such possibility.

While at it, also pass a label for the adc device, so that it can
be referenced in the custom baseboard.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl-apalis.dtsi