Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3886636pxb; Tue, 17 Nov 2020 06:13:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJynp5DFyAislCn9X6V59IoumKfr82XbKPrgB1YNUImsqj5qG52P1y8b7BjEqBOkbGKHRaHc X-Received: by 2002:a17:906:614a:: with SMTP id p10mr1789957ejl.312.1605622396684; Tue, 17 Nov 2020 06:13:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605622396; cv=none; d=google.com; s=arc-20160816; b=TxUY07XsBSOL+9m5ZWUpP7iMrtEenIVg79bALza90WTewKd7mwQ+tID6xjjlKo077q y5hN8hUGkveh7CVD5HiGJtwCRwgn+CBR7QBQR3RK0XC0mz3K4MuR9Nt9jn9srmYjuKu5 ZqL7+kkKHTucg1ZiPgGv/+bQLQBNS8Kvv/qzkCx77gC/6Cp7e+oSucD9jw2nhjPlY+s9 ZVQVlrAHEZEXfVYxXfaT2ZlZXraVqeIPtppQlavzNAX+OeJl2IC/dMrpiZSk40/p8fK6 MhCc+h8JCucH2PnWl7WnPfsli0EPr5IUqWF5T3NGGA0rd6IAbECNHR/NLSV+bpTbyxcd e7bg== 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=RCGmVlpYp0YD/KCHLi67aFVXY5E+usHCwyXyLmG6oZ0=; b=kFCQi1CNGmPzpjD7PzeDbQj+vUK+xENtZwnzEiMwTGUdvRX/AhlpF9jHW5vFIweibN FKTT5ftFgzuQnqXi6/L1EbI2/jMg9pu2u3VmZFVRNbDVpzFcD9sqDvbEANz7pDEtSgTM N2rAz3odolRowNBMPP4NiNkUYghQbZV/OQUEwm2AILKxGoL/irsRxGQOdmmLpzVpPGfw wn4RYrlLPK+s6dLNM8U9eHCaNcfk2G+S8dJKCLjynbPbf287JPnrcrMb2GLLCHCzXxL8 5r7pY+JQqC8xLMXDd+pf3Me9jJF/w/PTvblwF3PAwV3vZe/ZT8bOmELyTJUs9p6MFFqm pMYg== 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 hb20si6306958ejc.664.2020.11.17.06.12.53; Tue, 17 Nov 2020 06:13:16 -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 S2388027AbgKQOI1 (ORCPT + 99 others); Tue, 17 Nov 2020 09:08:27 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:28121 "EHLO relay1-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387991AbgKQOIJ (ORCPT ); Tue, 17 Nov 2020 09:08:09 -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 relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 223B724000D; Tue, 17 Nov 2020 14:08:06 +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 v2 10/11] ARM: dts: at91: at91sam9rl: fix ADC triggers Date: Tue, 17 Nov 2020 15:06:55 +0100 Message-Id: <20201117140656.1235055-11-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201117140656.1235055-1-alexandre.belloni@bootlin.com> References: <20201117140656.1235055-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 5653e70c84b4..36a42a9fe195 100644 --- a/arch/arm/boot/dts/at91sam9rl.dtsi +++ b/arch/arm/boot/dts/at91sam9rl.dtsi @@ -282,23 +282,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