[PATCH 4/7] ARM: dts: imx6ul: remove unsupported adc property

Baruch Siach baruch at tkos.co.il
Mon Jun 13 05:44:09 PDT 2022


Hi Alexander,

On Mon, Jun 13 2022, Alexander Stein wrote:
> 'num-channels' is not supported by binding, nor driver, remove it. Fixes
> the dt_binding_check warning:
> adc at 2198000: 'num-channels' does not match any of the regexes:
> 'pinctrl-[0-9]+'
>
> Signed-off-by: Alexander Stein <alexander.stein at ew.tq-group.com>

Shawn's imx/dt branch has commit 71b81f1cac29297 that removes
num-channels from all imx6ul DT files:

  https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git/commit/?h=imx/dt&id=71b81f1cac29297769ec81fe29a3fcc40bc2c31c

baruch

> ---
>  arch/arm/boot/dts/imx6ul.dtsi | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi
> index df8b4ad62418..b951bdb793d2 100644
> --- a/arch/arm/boot/dts/imx6ul.dtsi
> +++ b/arch/arm/boot/dts/imx6ul.dtsi
> @@ -924,7 +924,6 @@ adc1: adc at 2198000 {
>  				reg = <0x02198000 0x4000>;
>  				interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
>  				clocks = <&clks IMX6UL_CLK_ADC1>;
> -				num-channels = <2>;
>  				clock-names = "adc";
>  				fsl,adck-max-frequency = <30000000>, <40000000>,
>  							 <20000000>;


-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -



More information about the linux-arm-kernel mailing list