From patchwork Wed Jun 24 08:33:41 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sanchayan X-Patchwork-Id: 6666331 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 9CB819F399 for ; Wed, 24 Jun 2015 08:39:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C55A420619 for ; Wed, 24 Jun 2015 08:39:10 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0CB3B205BC for ; Wed, 24 Jun 2015 08:39:10 +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 1Z7gBN-0001KN-9L; Wed, 24 Jun 2015 08:37:21 +0000 Received: from mail-pd0-x22b.google.com ([2607:f8b0:400e:c02::22b]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z7gB2-0001Bj-PR for linux-arm-kernel@lists.infradead.org; Wed, 24 Jun 2015 08:37:01 +0000 Received: by pdbep18 with SMTP id ep18so4027752pdb.1 for ; Wed, 24 Jun 2015 01:36:41 -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=O4UHAbNKjyvO+yrT959mUIsrUA21eQFxXn1/bxZXOZY=; b=BEDY1oiGqzFM2Tu7IOX7qfq4JcREDjHGdieQt7gu4xBUPSYk8dlPA5tuJ3nLm230c6 LjRuCGKvtBxKX4HdKFRMxwmRcJ9NaAinD+f3hHH8BQG5Y2Rt2Fmtp0T6hW9P+gtmNGuh NX99UB5WIshFLS7JFuYsBeoRTCTOmbyuxQqdO5m+rgqsKvha1a5iUuQCcAsSkXhtG1I+ 3MEQnJhiHerCeHQvl7pFCZVXXl4H2AmP9QxWE1YGPa3wr3YQU0TYD0dazaGkJFdh1Geg zhM+12qCOC1IPCgAt98NYJ83cYQ6fQFwfFQJNlqZwBQMbr3ev2cgcRuhdG+wkB8peg+V N0lw== X-Received: by 10.70.48.172 with SMTP id m12mr25025135pdn.3.1435135001144; Wed, 24 Jun 2015 01:36:41 -0700 (PDT) Received: from localhost ([115.115.225.206]) by mx.google.com with ESMTPSA id ry2sm25799902pbb.83.2015.06.24.01.36.39 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Jun 2015 01:36:39 -0700 (PDT) From: Sanchayan Maity To: jic23@kernel.org Subject: [PATCH v2 2/2] ARM: dts: vfxxx: Add property for minimum sample time Date: Wed, 24 Jun 2015 14:03:41 +0530 Message-Id: <36fa3cef10b6a21b39e96283ea5d6961e9f6d972.1435134626.git.maitysanchayan@gmail.com> X-Mailer: git-send-email 2.4.4 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150624_013700_911737_33CA88F5 X-CRM114-Status: GOOD ( 10.64 ) X-Spam-Score: -2.7 (--) 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 X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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/vfxxx.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi index 90a03d5..71d9c08 100644 --- a/arch/arm/boot/dts/vfxxx.dtsi +++ b/arch/arm/boot/dts/vfxxx.dtsi @@ -229,6 +229,7 @@ status = "disabled"; fsl,adck-max-frequency = <30000000>, <40000000>, <20000000>; + min-sample-time = <1000>; }; wdoga5: wdog@4003e000 { @@ -447,6 +448,7 @@ status = "disabled"; fsl,adck-max-frequency = <30000000>, <40000000>, <20000000>; + min-sample-time = <1000>; }; esdhc1: esdhc@400b2000 {