From patchwork Tue Jul 14 13:53:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sanchayan X-Patchwork-Id: 6787391 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 57A309F3E6 for ; Tue, 14 Jul 2015 13:58:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8ABF1206F5 for ; Tue, 14 Jul 2015 13:58:51 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BDDC8206EA for ; Tue, 14 Jul 2015 13:58:50 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZF0hk-0006Xo-9l; Tue, 14 Jul 2015 13:57:04 +0000 Received: from mail-pd0-x233.google.com ([2607:f8b0:400e:c02::233]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZF0hg-0006Qf-QE for linux-arm-kernel@lists.infradead.org; Tue, 14 Jul 2015 13:57:01 +0000 Received: by pdbqm3 with SMTP id qm3so6481142pdb.0 for ; Tue, 14 Jul 2015 06:56:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=gcMQWUszHvMW0MH6flC7kpMiCreaSNF8VQopLidmD7k=; b=oVpDeIc9v1QiYqBo9F8YawZv27IOIDYo3J7qDggQqMgf/o+TmQ7BLJTxv7qd6guOla 9LUrNV6woS7AOr3p8gwq7VrjwCxTBuPWWz8hEW6NUbizJRQqPSX5Y897y3k7CydvuTN7 Zzg2PYlsx72rQ5b1r8zKzRO0CGameu6t5pMdyFaKO+iWcAy8QSvJuE6tFbVv+7pC02Kr XQUHHIqz61U5Qs4SELwcoay+1+wGztSw6ctmXgJPppQT+I5RyT52wPtXzWL8XVsF7sbP /jdTdbDg8+0dDZakUAYAhgw99JMyWYeLEz1mELG8bfE03his4OHHEVOWnw3KbiSfo5Cs fy+w== X-Received: by 10.70.128.226 with SMTP id nr2mr81194745pdb.139.1436882199681; Tue, 14 Jul 2015 06:56:39 -0700 (PDT) Received: from localhost ([115.115.225.206]) by smtp.gmail.com with ESMTPSA id pe3sm1495561pdb.55.2015.07.14.06.56.37 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Jul 2015 06:56:38 -0700 (PDT) From: Sanchayan Maity To: jic23@kernel.org Subject: [PATCH v3 2/2] ARM: dts: vf-colibri: Add property for minimum sample time Date: Tue, 14 Jul 2015 19:23:23 +0530 Message-Id: <20e2cfad3fbb1a45332e9936ea493ddc8bfaf51d.1436880513.git.maitysanchayan@gmail.com> X-Mailer: git-send-email 2.4.5 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150714_065700_892517_00692A22 X-CRM114-Status: GOOD ( 11.03 ) X-Spam-Score: -2.0 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, B38611@freescale.com, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, stefan@agner.ch, Sanchayan Maity , robh+dt@kernel.org, kernel@pengutronix.de, galak@codeaurora.org, shawn.guo@linaro.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add a device tree property which allows to specify the minimum sample time which can be used to calculate the actual ADC cycles required depending on the hardware. Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/vf-colibri.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/vf-colibri.dtsi b/arch/arm/boot/dts/vf-colibri.dtsi index ab10d2e..59f5deb 100644 --- a/arch/arm/boot/dts/vf-colibri.dtsi +++ b/arch/arm/boot/dts/vf-colibri.dtsi @@ -16,10 +16,12 @@ }; &adc0 { + min-sample-time = <1000>; status = "okay"; }; &adc1 { + min-sample-time = <1000>; status = "okay"; };