From patchwork Mon May 30 04:23:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baruch Siach X-Patchwork-Id: 12864305 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E6106C433EF for ; Mon, 30 May 2022 04:25:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Z+tU67dNKNZuIIn0CxbzAY36UVO0tgyAij4p2BfI2jc=; b=aVi9z/NbxZtq8T 1PygznpUKMZJ6kWlO3R15To5YPKcge8axEKU90HtINwjin9rEd816py3Qcsf+Ptbe+YHkDIkoE+W1 KsF26gU8bd5umlhl4gs8SyE3va1Xd6AAXNw2gZ3sCLKfaLgoE2mg1pWbjTxVh3HSobtR72cplrrUO 0gXaJmkjrU3gnLeem8Bb+2eppL8rtHb6MpMTsPm6mByVCWvlVIzBM4v3A3nxGd+KGHZUl9B7ZFhXc B7NVQRpOsf028r9e/lyzOo/42ySF8Z+x4k3rHd8+vIl0M561Zi90w5C5N7MhBMsRetyETDkx7AJYv O5JVNyD4TpOYHrPJGmZw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nvWwm-005KjU-F0; Mon, 30 May 2022 04:24:04 +0000 Received: from hours.tkos.co.il ([84.110.109.230] helo=mail.tkos.co.il) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nvWwi-005KiJ-LT for linux-arm-kernel@lists.infradead.org; Mon, 30 May 2022 04:24:02 +0000 Received: from tarshish.tkos.co.il (unknown [10.0.8.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.tkos.co.il (Postfix) with ESMTPS id 85688440887; Mon, 30 May 2022 07:23:48 +0300 (IDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tkos.co.il; s=default; t=1653884628; bh=etiTFShKLjoSTC/28Ww3ACgWYc/+FQi9cmoARjmJhz8=; h=From:To:Cc:Subject:Date:From; b=Gx2ncGQuxNyfMLajZaxKH2CB2oTNnwoMaJRLCmxxHaiYb//WBkJRS9iXAFQTJDgpb 2eha6fK4JctcF7lcMnSs9e7wNQMQIFRorJrCgzXcL717lHSwOY0NC5njNuzni2mhcS DnEgu8OWfJoXzLsLxbqp+hiAxOE6p2UVrdXX0y10kS8HzRMw/rctKk41MucTMafk00 om6VRErisspLoHkT4sn+ayo5g6I1WeCMCWVcsyFczDZP59rhbnO6eUogsrF4fk0Wju OHTLboZa32czg4ONJ1OzFPmYiLxkz+5zQhipZX5TJmep1lsfuHQfCPhb3fdZF5D6df Vt/XlVVuj3cXg== From: Baruch Siach To: Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Cc: linux-arm-kernel@lists.infradead.org, Marcel Ziswiler , Frieder Schrempf , Baruch Siach Subject: [PATCH] ARM: imx6ul: drop the adc num-channels property Date: Mon, 30 May 2022 07:23:33 +0300 Message-Id: <26a24c593294d0fe9a9447f5a46c2f0b787fea4f.1653884613.git.baruch@tkos.co.il> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220529_212401_224311_072ED340 X-CRM114-Status: GOOD ( 10.50 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The mainline vf610_adc driver never used this property. Signed-off-by: Baruch Siach Reviewed-by: Marcel Ziswiler --- arch/arm/boot/dts/imx6ul-kontron-n6x1x-s.dtsi | 1 - arch/arm/boot/dts/imx6ul-phytec-segin.dtsi | 5 ----- arch/arm/boot/dts/imx6ul.dtsi | 1 - arch/arm/boot/dts/imx6ull-colibri.dtsi | 1 - 4 files changed, 8 deletions(-) diff --git a/arch/arm/boot/dts/imx6ul-kontron-n6x1x-s.dtsi b/arch/arm/boot/dts/imx6ul-kontron-n6x1x-s.dtsi index a6cf0f21c66d..43868311f48a 100644 --- a/arch/arm/boot/dts/imx6ul-kontron-n6x1x-s.dtsi +++ b/arch/arm/boot/dts/imx6ul-kontron-n6x1x-s.dtsi @@ -72,7 +72,6 @@ reg_vref_adc: regulator-vref-adc { &adc1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_adc1>; - num-channels = <3>; vref-supply = <®_vref_adc>; status = "okay"; }; diff --git a/arch/arm/boot/dts/imx6ul-phytec-segin.dtsi b/arch/arm/boot/dts/imx6ul-phytec-segin.dtsi index 0d4ba9494cf2..38ea4dcfa228 100644 --- a/arch/arm/boot/dts/imx6ul-phytec-segin.dtsi +++ b/arch/arm/boot/dts/imx6ul-phytec-segin.dtsi @@ -83,11 +83,6 @@ &adc1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_adc1>; vref-supply = <®_adc1_vref_3v3>; - /* - * driver can not separate a specific channel so we request 4 channels - * here - we need only the fourth channel - */ - num-channels = <4>; status = "disabled"; }; diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi index afeec01f6522..799d8d065731 100644 --- a/arch/arm/boot/dts/imx6ul.dtsi +++ b/arch/arm/boot/dts/imx6ul.dtsi @@ -923,7 +923,6 @@ adc1: adc@2198000 { reg = <0x02198000 0x4000>; interrupts = ; clocks = <&clks IMX6UL_CLK_ADC1>; - num-channels = <2>; clock-names = "adc"; fsl,adck-max-frequency = <30000000>, <40000000>, <20000000>; diff --git a/arch/arm/boot/dts/imx6ull-colibri.dtsi b/arch/arm/boot/dts/imx6ull-colibri.dtsi index 15621e03fa4d..623bb7585ad1 100644 --- a/arch/arm/boot/dts/imx6ull-colibri.dtsi +++ b/arch/arm/boot/dts/imx6ull-colibri.dtsi @@ -94,7 +94,6 @@ reg_eth_phy: regulator-eth-phy { }; &adc1 { - num-channels = <10>; vref-supply = <®_module_3v3_avdd>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_adc1>;