Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1465675pxb; Fri, 13 Nov 2020 13:29:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJw3u/oe/9meVJ0IyDTs09js+kIioScVDDdqVBdUv54qcjPhDJmAtcnNi9jEPTsdamQFeRSt X-Received: by 2002:a17:906:3795:: with SMTP id n21mr3853479ejc.502.1605302982113; Fri, 13 Nov 2020 13:29:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605302982; cv=none; d=google.com; s=arc-20160816; b=iDUqegJlY0dvuUk36gPMqLQZpZZvHX4FyOkiwWaNHwmfg01rFcO2U+Zq3Z3rUjmsLW Lycpa3CorjPoLbhF2uBMAI5+wq7tZjQ2MYLCvB7VCkvKwyDiIbTUY2/IN/FtsSsetlZV gWs5Ukvab1IvJevys05QH/S73FzarKM/Y2FTXe0pivfc0uQTQjhxDqgItKMhVvkBYXtr 46r2rsi+e6MS1WofCisZCWAmRecT4bQQDDdK2daVn2ymiBSqh+5tzuYiiFw2ZW0YvHPA a2r/N3Sj5BkGYvqbmyT8zWQ8+xXlBf6IXGQ98G89AA2T+DJV5RuScij0rx8UVV8BEZ1D f4cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=0gDyUh5jgb9GmWu7TCWnTtoPm3b+BOsoJEFY0QE9lp4=; b=sSUu2a03q3KgUlMmFkAye4F2ZPveWZvcQhVTLNAqVqIYoU1rI5TqHH0mWkBjjTIjPO slQNtPlrCnAHP3XS3sn52JxpRMFYgcwa58A4+q/wH2I/L7x21qrCt6yUV9d9/oGrRaaX gBRPHgjCUn9wALZWEDkdTrxiVGlxYTzzgy8jkmc/iOYHWuX6sQ7Ps1kBBbm8N31lDiXw mehwq8/tdUdJNYfx4G6BRQnYAsUuntRIPvFXtmj/8Fum0HVVZChYgBtnMipcCrfFYf5O SXWoBeDu7USyZTc0+pJ7yqX9VfBVQ/4gA9EyHNuiYlK/k3ndGQE56rUzOA6QvX9IzrbA PCeg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v16si6655803ejf.28.2020.11.13.13.29.20; Fri, 13 Nov 2020 13:29:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726429AbgKMV1Q (ORCPT + 99 others); Fri, 13 Nov 2020 16:27:16 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:58527 "EHLO relay9-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726311AbgKMV1L (ORCPT ); Fri, 13 Nov 2020 16:27:11 -0500 X-Originating-IP: 86.194.74.19 Received: from localhost (lfbn-lyo-1-997-19.w86-194.abo.wanadoo.fr [86.194.74.19]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 4CC5BFF804; Fri, 13 Nov 2020 21:27:07 +0000 (UTC) From: Alexandre Belloni To: Jonathan Cameron Cc: Lars-Peter Clausen , Peter Meerwald-Stadler , Nicolas Ferre , Ludovic Desroches , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Alexandre Belloni Subject: [PATCH 8/9] ARM: dts: at91: sama5d3: use proper ADC compatible Date: Fri, 13 Nov 2020 22:26:49 +0100 Message-Id: <20201113212650.507680-9-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201113212650.507680-1-alexandre.belloni@bootlin.com> References: <20201113212650.507680-1-alexandre.belloni@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The ADC is different from the at91sam9x5 ADC. Not only it doesn't have the same resolution but it even have only one and the LOWRES bit doesn't exist. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/sama5d3.dtsi | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi index 86137f8d2b45..e0807b723533 100644 --- a/arch/arm/boot/dts/sama5d3.dtsi +++ b/arch/arm/boot/dts/sama5d3.dtsi @@ -307,7 +307,7 @@ ssc1: ssc@f800c000 { adc0: adc@f8018000 { #address-cells = <1>; #size-cells = <0>; - compatible = "atmel,at91sam9x5-adc"; + compatible = "atmel,sama5d3-adc"; reg = <0xf8018000 0x100>; interrupts = <29 IRQ_TYPE_LEVEL_HIGH 5>; pinctrl-names = "default"; @@ -333,9 +333,7 @@ &pinctrl_adc0_ad11 atmel,adc-startup-time = <40>; atmel,adc-use-external-triggers; atmel,adc-vref = <3000>; - atmel,adc-res = <10 12>; atmel,adc-sample-hold-time = <11>; - atmel,adc-res-names = "lowres", "highres"; status = "disabled"; trigger0 { -- 2.28.0