diff options
author | Fabio Estevam <festevam@gmail.com> | 2021-09-24 16:46:43 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2021-10-05 08:51:37 +0300 |
commit | cdbaba8d72dd68bab1185fe121f64bbf2d71eac2 (patch) | |
tree | 6cf209886eaf9a78f77df8ee2031c86f4e996929 /arch/arm/boot/dts/imx6qdl-apalis.dtsi | |
parent | 56086b5e804fcc98d1c699f7df6d42db12ed2977 (diff) | |
download | linux-cdbaba8d72dd68bab1185fe121f64bbf2d71eac2.tar.xz |
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>
Diffstat (limited to 'arch/arm/boot/dts/imx6qdl-apalis.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6qdl-apalis.dtsi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-apalis.dtsi b/arch/arm/boot/dts/imx6qdl-apalis.dtsi index 7c6d9c75d2bf..4092af5f6999 100644 --- a/arch/arm/boot/dts/imx6qdl-apalis.dtsi +++ b/arch/arm/boot/dts/imx6qdl-apalis.dtsi @@ -330,10 +330,11 @@ st,touch-det-delay = <5>; }; - stmpe-adc { + stmpe_adc: stmpe-adc { compatible = "st,stmpe-adc"; /* forbid to use ADC channels 3-0 (touch) */ st,norequest-mask = <0x0F>; + #io-channel-cells = <1>; }; }; }; |