Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp920522imu; Wed, 28 Nov 2018 01:32:03 -0800 (PST) X-Google-Smtp-Source: AFSGD/XSWpgd+Ab84I36wLaX9pBkrQLSyDswuOpIFLyFPaqHHVfGUJKed0zrK1Mx/PYHiSrIxzVC X-Received: by 2002:a17:902:7b88:: with SMTP id w8mr35757065pll.320.1543397523810; Wed, 28 Nov 2018 01:32:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543397523; cv=none; d=google.com; s=arc-20160816; b=gVuUcAXqBR5Tr96cFv4TlOkRQEnZYurlNBDjSaasfZhd+DP+TM8j331Upulq/vTwlq Yy+j0Gt1zHF+S4jpcjD2ZJwlkjI1Zjx5eUsL9MIcMogV5wZMi73WFrxi7cC8haKYEhzW 5X1247ETz74evF08Zhu/MCeHdGjGWJsD6hC9Y4VE8o8RToZLO7Dtlt+H5XsPXbSEjkhh jDTKL9/aelus80tXWD0/vi7ZM7of75nqwboyvIqMrLZ6EO0VyIA0PsH/ZPEuSQuFIAEk +XMnyZB2xj1TIFBsiFtL+usCa33hDFKEchLxQM+gTB3fG8KXysKaSk7bmd5g3Y2Cn5HY LjbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=0pdzdoWtx8iMRks4tMPeQigBxMJTTPvysRg8RCYpmYY=; b=nke6OSB04UHFR0P6LRPYdm+F9iGLaFhQq7ywDRWsAXeajIYt1kdbIQWeH7Ov0A3SC4 U8R9q902Elkos8qheHKJz4qQNsFHGdEzoj0TCARROnysIPtQWzjxSVnIp0MgtgOHwi+F RtxeOc3flUqI2MblNBuQe9ymotbprP++rLXeUwLiZrdWqdYa3jezn3RWstBpqBETTPdM uAk5OSHfvQ3bL6tN9UxvUnEEUscUdQ23X7DeiOzOipoibxq2WqFqEezj2W5DEviUmREc HLrZOHEu2pawysGbU25Rmo9plk9agLGbwtac96j/FrERGovk71UzwH+Okw5nc5qlf9WK GdQw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i2si7146579pfi.125.2018.11.28.01.31.48; Wed, 28 Nov 2018 01:32:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728164AbeK1Ub4 (ORCPT + 99 others); Wed, 28 Nov 2018 15:31:56 -0500 Received: from mirror2.csie.ntu.edu.tw ([140.112.30.76]:49322 "EHLO wens.csie.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728221AbeK1Ubg (ORCPT ); Wed, 28 Nov 2018 15:31:36 -0500 Received: by wens.csie.org (Postfix, from userid 1000) id 9B9BE60102; Wed, 28 Nov 2018 17:30:28 +0800 (CST) From: Chen-Yu Tsai To: Maxime Ripard , Alexandre Belloni , Alessandro Zummo , Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland Cc: Chen-Yu Tsai , linux-arm-kernel@lists.infradead.org, linux-rtc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: [PATCH 13/15] ARM: dts: sun8i: r40: Add clock accuracy for external oscillators Date: Wed, 28 Nov 2018 17:30:11 +0800 Message-Id: <20181128093013.24442-15-wens@csie.org> X-Mailer: git-send-email 2.20.0.rc1 In-Reply-To: <20181128093013.24442-1-wens@csie.org> References: <20181128093013.24442-1-wens@csie.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The R40 datasheet specifies a tolerance range for the external oscillators used. Add them to the device tree as the clock accuracy. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-r40.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-r40.dtsi b/arch/arm/boot/dts/sun8i-r40.dtsi index 6f4c9ca5a3ee..a8917f8b1c80 100644 --- a/arch/arm/boot/dts/sun8i-r40.dtsi +++ b/arch/arm/boot/dts/sun8i-r40.dtsi @@ -61,6 +61,7 @@ #clock-cells = <0>; compatible = "fixed-clock"; clock-frequency = <24000000>; + clock-accuracy = <50000>; clock-output-names = "osc24M"; }; @@ -68,6 +69,7 @@ #clock-cells = <0>; compatible = "fixed-clock"; clock-frequency = <32768>; + clock-accuracy = <20000>; clock-output-names = "osc32k"; }; }; -- 2.20.0.rc1