Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2447340pxu; Sat, 28 Nov 2020 14:31:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJyIaCG0kfxzy9OpYNo5xpGNiKlJvBKGtdWbn55YT2rbpF/Y09Vrf0kFaA726Ls3orkmAAp1 X-Received: by 2002:a17:906:6c2:: with SMTP id v2mr14377938ejb.387.1606602667417; Sat, 28 Nov 2020 14:31:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606602667; cv=none; d=google.com; s=arc-20160816; b=wciD6Ez20m0zlPeXVLm9p75d6PZw3y4FapyKBUcVCu306PnQpKWtQcepQpp9BDv99d ud2UIBTx7N8YQH83Spvo/5idiA3OIvE1Y+sHjBl0pw+OGk73zxPA9rroMyYPWRCT+W67 0ACvIBp5vsTdSfFnyuo7iNcoLFKvjo2vYa37/Ag0cjnZT/9rckkJ6AD0unD08tF6wjii qjK4toyde7d3HDk86t8sYoel5VLMOW9vQHVh7R8rEAcafGSFCqFjNYY3SJbnvkqoGEl4 iMgnZieAP6HWwNGxmmfDvI16cVENTuQSzBB3rxsaERtvnkuzR2wR6OTorxLfzfCk6GIp 1fDg== 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=cBFruY/8bVX3hFcHhQ1IUSuEZMvrcuio3qQioqmBw3g=; b=Ko2warix/f1xaSeYDgkKXmGA4mEZxBST4rpSk21vJKvTgdjo4VpaprqlCOA8jkaqUg yiQ7KZFrMNCh7iPEAAbNApd1KBp5XoPMr5SxFqA+gWqkdP1cyaCLl3ZxeIbcmKtjSodT 5obdco44TLbRXsKtskOTANbTwd7X85ylD7KPfk8/I5Vcfp5sFzX/AowGl9tkrg4idF89 SdzHbON8y1tGhmfvCwfnwDNS3gGQOcZ03Le//pWg3GIjNrWc96h1LC1mIhWxTmA1MuVN 2oQ3bEz3sd5G164c+iFJqTD/JKmEJRwycLFfXnvt0WJvSbJWr0X5MKD3ndTQ66i0658M 3APg== 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 ks8si2594547ejb.478.2020.11.28.14.30.45; Sat, 28 Nov 2020 14:31:07 -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 S2388494AbgK1W3W (ORCPT + 99 others); Sat, 28 Nov 2020 17:29:22 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:42627 "EHLO relay9-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387894AbgK1W3V (ORCPT ); Sat, 28 Nov 2020 17:29:21 -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 81A76FF807; Sat, 28 Nov 2020 22:28:39 +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 v3 09/10] ARM: dts: at91: at91sam9rl: fix ADC triggers Date: Sat, 28 Nov 2020 23:28:17 +0100 Message-Id: <20201128222818.1910764-10-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201128222818.1910764-1-alexandre.belloni@bootlin.com> References: <20201128222818.1910764-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 triggers for the ADC were taken from at91sam9260 dtsi but are not correct. Fixes: a4c1d6c75822 ("ARM: at91/dt: sam9rl: add lcd, adc, usb gadget and pwm support") Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9rl.dtsi | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/at91sam9rl.dtsi b/arch/arm/boot/dts/at91sam9rl.dtsi index 4d70194fd808..bf85a9419c69 100644 --- a/arch/arm/boot/dts/at91sam9rl.dtsi +++ b/arch/arm/boot/dts/at91sam9rl.dtsi @@ -278,23 +278,26 @@ adc0: adc@fffd0000 { atmel,adc-use-res = "highres"; trigger0 { - trigger-name = "timer-counter-0"; + trigger-name = "external-rising"; trigger-value = <0x1>; + trigger-external; }; + trigger1 { - trigger-name = "timer-counter-1"; - trigger-value = <0x3>; + trigger-name = "external-falling"; + trigger-value = <0x2>; + trigger-external; }; trigger2 { - trigger-name = "timer-counter-2"; - trigger-value = <0x5>; + trigger-name = "external-any"; + trigger-value = <0x3>; + trigger-external; }; trigger3 { - trigger-name = "external"; - trigger-value = <0x13>; - trigger-external; + trigger-name = "continuous"; + trigger-value = <0x6>; }; }; -- 2.28.0