Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp922154imu; Wed, 28 Nov 2018 01:33:50 -0800 (PST) X-Google-Smtp-Source: AFSGD/ViFhyEDtFMptgGtRKU/zINbPLSZ2uJvwIWQT8qNW03Y3aMSRXxeG6RVpPb9V4NTRZSjFCm X-Received: by 2002:a17:902:bcc7:: with SMTP id o7mr16208100pls.281.1543397630765; Wed, 28 Nov 2018 01:33:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543397630; cv=none; d=google.com; s=arc-20160816; b=cdy88I94aqukx5k5R0gd46SzCqYBlwo4J/iWD2COIeA3xUX7i6uKL/UtzRdOQHRai/ gKsIVuoyzXmvIiX8ybcdVRZiAdZ9awUaSqPyghHKGHANo6+7GZXUzBqrtfV2gyNE3rqe vf9okmu+VeqknI7fdvCAeUspgGtXnbW2YyAXHE7/ZxlKBgVpfOghU4PJZIWCd9EpcnL4 eP/cvNn0bzwmknkm+8829zXPKb2ZUikZ2qYjxmgNFsG1UtEnbxzPCvV0jnLlhqb1tNRN LtStzZdC3ZMQ+WrWmAsWQTxGtrm4gzswPu7rlOR+YRkPBl609Q9CN7qkt5F96HEwf6Qz 7fIw== 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=EYBSWGlOMC7WOEG5s/W5NSCI0kvLWNbJ1zyC8AF9i6s=; b=TLaxU9vK2jpyQnS2rFnDBG+J1Z9pgCtZTazbt58waRBcd/Oj5zc+7No+BGWivhu1KD CjOzO7uSNUQqaN8Z3qNjVsmry1pDpzpaHDxXMcXRLH3mzdTnlQRnhLcB4+CP16JXebj8 kR5ejf3eAeMAjfOSgYUNx/gMs4WTDB8WK4LKm5XCHujzfW5MHVL+kWGNmyXiztW2p/Ke KC4GkPoDGU5dmxcE/8MtoolMlo517NOn6lzyhxwq6kyZ8gegA/cEB2mlprQcbkcJO6xW NPbe9Mk0G1abvQKl+5D2+Iyem8ZHzc5mwK2x3Cx76lfQJD6vcCPHr4/HF49uabXCtJE1 Pbcg== 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 m8si6428693pgd.555.2018.11.28.01.33.35; Wed, 28 Nov 2018 01:33:50 -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 S1728104AbeK1Ubc (ORCPT + 99 others); Wed, 28 Nov 2018 15:31:32 -0500 Received: from mirror2.csie.ntu.edu.tw ([140.112.30.76]:49122 "EHLO wens.csie.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727883AbeK1Ubc (ORCPT ); Wed, 28 Nov 2018 15:31:32 -0500 Received: by wens.csie.org (Postfix, from userid 1000) id 42A8F5FF70; 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 03/15] dt-bindings: rtc: sun6i-rtc: Deprecate external clock output for A31 Date: Wed, 28 Nov 2018 17:30:00 +0800 Message-Id: <20181128093013.24442-4-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 A31 does not have an external clock output directly from the RTC. Instead, it has four muxable clock outputs: three (A, B, C) are controlled from the CCU, and the last (D) is controlled from the PRCM. Deprecate the usage of the external clock output for the A31 compatible. Signed-off-by: Chen-Yu Tsai --- Documentation/devicetree/bindings/rtc/sun6i-rtc.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/rtc/sun6i-rtc.txt b/Documentation/devicetree/bindings/rtc/sun6i-rtc.txt index b1eaa443347d..78c4fb472eb7 100644 --- a/Documentation/devicetree/bindings/rtc/sun6i-rtc.txt +++ b/Documentation/devicetree/bindings/rtc/sun6i-rtc.txt @@ -30,6 +30,8 @@ Required properties for new device trees The RTC provides the following clocks at the given indices: - 0: LOSC - 1: LOSC external output, known as X32KFOUT in the datasheet. + This clock is not available on the A31 and is deprecated for old + device trees still using the "allwinner,sun6i-a31-rtc" compatible. Example: @@ -37,7 +39,7 @@ rtc: rtc@1f00000 { compatible = "allwinner,sun6i-a31-rtc"; reg = <0x01f00000 0x54>; interrupts = <0 40 4>, <0 41 4>; - clock-output-names = "osc32k", "osc32k-out"; + clock-output-names = "osc32k"; clocks = <&ext_osc32k>; #clock-cells = <1>; }; -- 2.20.0.rc1