Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp921111imu; Wed, 28 Nov 2018 01:32:41 -0800 (PST) X-Google-Smtp-Source: AFSGD/UTgUQyZEz5m24QOQ2fOf4PwvndXy4kjNKNR/Cd4dxPGxzQ4sbDfBmfvF2/5YVCKAkvGvZn X-Received: by 2002:a62:2a4b:: with SMTP id q72mr20789229pfq.61.1543397561329; Wed, 28 Nov 2018 01:32:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543397561; cv=none; d=google.com; s=arc-20160816; b=RnVUHDNAiws2CtEuXIFfDzl1YTKJBIgTycfUXx/QELnQvOBBPw+tc+SjrEE5tl3oJO eNfrJvoT3g2uOqlB3olRKsXDpeV2nJUqWIOEq7Wq/9ylgnm4yF47Do2w4Tn91TflWBrL cwnyrrj6uR31V03GtHrTl/EZDrL1NOq/2e4fyh4q252mb63T1igHP6PhINEyvZstgqud sxMHo8aeGrppUz2Gq4x6z6haBnhGcYMtRgd86NwtO1gIBqgA7ZxQD/rijj54ug4c8gTp EfsK1+gmVN9M1jXNEDPxA7BRdv4j2YuLpjJ29lVj6bMLGXexQAdyYTUFEPpSSDT//gBy jMrw== 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=Pqrio54smWDI8cMB8Hlzk7mFHIHRZLIPG3rkwOjzA4k=; b=xnutE+Z0Uut/QnD8aEsPMH0rHMajndY5X4MOgD7rSug45NCOeBPF9svGm2/DGfRpON Wn3yTfr39YUMeYTLCCB6214mR/ZHQeNdYSOyjKaJJbzFJlDO/GXo+69ttl47Kh7tOn7L 3OWphy+wiM2IHJrG4j5wS01mi/5ky0x1P6BVx89daggDaJBxCAfmfVoqMVdyAZjSa9AO BvhHE4ZMI0P6qAB0BV73WuwPD54o/Eg+afjziF6lhIoHF1XeAXWz7Chav9n7t1Uzw+q9 JdNfHVoeJT+yyUTiQ9JM6EWfv4vl5+G3LXBVDCZJ1cWYWle1HYbYnTCP2CYbTADNK3Fo uK4Q== 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 e7si7221781pfh.147.2018.11.28.01.32.26; Wed, 28 Nov 2018 01:32:41 -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 S1728123AbeK1UcY (ORCPT + 99 others); Wed, 28 Nov 2018 15:32:24 -0500 Received: from mirror2.csie.ntu.edu.tw ([140.112.30.76]:49304 "EHLO wens.csie.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728215AbeK1Ubf (ORCPT ); Wed, 28 Nov 2018 15:31:35 -0500 Received: by wens.csie.org (Postfix, from userid 1000) id 8E02B604B3; 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 11/15] ARM: dts: sunxi: h3/h5: Add clock accuracy for external oscillators Date: Wed, 28 Nov 2018 17:30:09 +0800 Message-Id: <20181128093013.24442-13-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 H3 datasheet specifies a tolerance range for the external oscillators used. Add them to the device tree as the clock accuracy. The internal oscillator is left unchanged, as it will be removed later. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi b/arch/arm/boot/dts/sunxi-h3-h5.dtsi index 0d9e9eac518c..bce3bf1d6ae5 100644 --- a/arch/arm/boot/dts/sunxi-h3-h5.dtsi +++ b/arch/arm/boot/dts/sunxi-h3-h5.dtsi @@ -86,6 +86,7 @@ #clock-cells = <0>; compatible = "fixed-clock"; clock-frequency = <24000000>; + clock-accuracy = <50000>; clock-output-names = "osc24M"; }; @@ -93,6 +94,7 @@ #clock-cells = <0>; compatible = "fixed-clock"; clock-frequency = <32768>; + clock-accuracy = <50000>; clock-output-names = "osc32k"; }; -- 2.20.0.rc1