From patchwork Fri Nov 16 05:17:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Basehore X-Patchwork-Id: 10685549 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B1CF613BF for ; Fri, 16 Nov 2018 05:17:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A223D2D583 for ; Fri, 16 Nov 2018 05:17:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 964482D599; Fri, 16 Nov 2018 05:17:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CC5062D591 for ; Fri, 16 Nov 2018 05:17:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=/Y3ko8zFwjZHusDFdL0VUT2miflHRL7lzYLKkWSTVGA=; b=oFRmayUY8AfAWF AD+8kEvHV5VlwNlO5NpA932yVgrnDJ+SMVwES3XqDGNTSoiKE/zPjpJ+e65XzXl4mOa7FrNBljLNv k+AbrcGZqSRK7pYI58D3/qWUbT1mE+WGs+Qj9VxmR+CUp+Hkq9sn/4Rd3lFc/zgOZF3anhnTlTbEb 49ljK7OBilBHE50tT1NjJ5S/C6Kq/xHmPUjAnodmAVKOqFERJEMBryZSHOvibom44UP9S1uP9BL3W oYZ9bSeCnzO1GQFhV7/16ibmzJcm0htXMYjoNls/dCkCFC1+yq2/KjTZ6e/SRDf57+g/aP/i0J9vo pjkN/a3DYl1P+s+PAWcQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNWVe-0006K8-IB; Fri, 16 Nov 2018 05:17:38 +0000 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNWVb-0006IV-Gf for linux-rockchip@lists.infradead.org; Fri, 16 Nov 2018 05:17:36 +0000 Received: by mail-pg1-x544.google.com with SMTP id d72so6619682pga.9 for ; Thu, 15 Nov 2018 21:17:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=fKCQ2LhOod7auS2N0/OhpTf2BbiplFOUaBzThPWZZTs=; b=a6wKYd4KRW/5de7Keh6DS2Z2cHLNxAolPnAa6mDxK5lP5j9MDCcu6vn3aj97lW3hP1 tkykFwDbJw1aTJVAFrTm/plny9xrQRURTKdFtQs1UMuUMIqszFhd+dLkeGv4Lqmn7JUa SOL9iYp5K/DeWZXWLGOq3m3wtu4YodU2S5h+w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=fKCQ2LhOod7auS2N0/OhpTf2BbiplFOUaBzThPWZZTs=; b=Sq7w5UuQpYccGuleZ6ij+EGtEWjYnD7JOfkaoQRJouhlUdf3Mht8ovvtb+V4OVLXS2 BzGLMepirx4JhYqqhYofNaeZtH4lkLCCINdG8p83jKZ6CKJU98yZTddeovLwBLMz6rhJ Yvkim9V35MPKaesfd7l/PMNKv+FSreaidN5B9tZChtbdP4BRCMLKVZpxCihGKbAom9Ra ANhNEDvtA8T8WCx3ei5QgilH/nOwIefDYBhXVmFfZq/eRy7QmWp3wsjNRj8d2fS3qRFm 5VudO2lsjA9tVSoEalusUfXyiozCLKqn4nK5gYWvIgHPaLUT92y6DsxOe0sQRlgIxE5y Yb8Q== X-Gm-Message-State: AGRZ1gJiDsQCJCGwSdkqF90db8xEFJOr/4kvAH2Zd5URS7CgHL1GxmcY DkvIY539iE9kHiwRZt3RQi+qxQ== X-Google-Smtp-Source: AJdET5cbw1MjNC1CG1QMl7+LpB7RgbSJNeGt6R4MSB1+MkyvBoZZNDIDFFAnt2vJo8J7j0QhdnEt8w== X-Received: by 2002:a62:2a04:: with SMTP id q4-v6mr9452670pfq.61.1542345444360; Thu, 15 Nov 2018 21:17:24 -0800 (PST) Received: from exogeni.mtv.corp.google.com ([2620:15c:202:1:db8d:8e3f:2514:5db8]) by smtp.gmail.com with ESMTPSA id k129sm34511106pgk.29.2018.11.15.21.17.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Nov 2018 21:17:23 -0800 (PST) From: Derek Basehore To: linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: rockchip: rk3399: Add xin32k clk Date: Thu, 15 Nov 2018 21:17:19 -0800 Message-Id: <20181116051719.23376-1-dbasehore@chromium.org> X-Mailer: git-send-email 2.19.1.1215.g8438c0b245-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181115_211735_556158_B4B9E5D8 X-CRM114-Status: UNSURE ( 9.60 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, Derek Basehore , briannorris@chromium.org, heiko@sntech.de, ayaka@soulik.info, dianders@chromium.org, enric.balletbo@collabora.com, linux-rockchip@lists.infradead.org, nickey.yang@rock-chips.com, tony.xie@rock-chips.com, klaus.goger@theobroma-systems.com, zyw@rock-chips.com, robh+dt@kernel.org, zhengsq@rock-chips.com, linux-arm-kernel@lists.infradead.org Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This adds the xin32k clock to the RK3399 CPU. Even though it's not directly used, muxes will end up traversing the entire clk tree on calls to determine_rate if it doesn't exist. Signed-off-by: Derek Basehore --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 99e7f65c1779..3d09472978f8 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -191,6 +191,13 @@ #clock-cells = <0>; }; + ap_rtc_clk: ap-rtc-clk { + compatible = "fixed-clock"; + clock-frequency = <32768>; + clock-output-names = "xin32k"; + #clock-cells = <0>; + }; + amba { compatible = "simple-bus"; #address-cells = <2>;