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: 10685547 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 4340514D6 for ; Fri, 16 Nov 2018 05:17:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2947E2D583 for ; Fri, 16 Nov 2018 05:17:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1C51E2D5A7; Fri, 16 Nov 2018 05:17:47 +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 659242D583 for ; Fri, 16 Nov 2018 05:17:41 +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=Zie/eB9M5OaRBFh8bMgM/03fTiEtXCMpy342wG9WQa0=; b=tFKL5/x8vAW8dZ XUoVVK727HCISN29UkBQMd+qJ68bkwS35vWRRsM+uteeWpteeO6aMqHTPpEDZiU2yxop2fAdfpzJu qMcyQ1cxiiiIoYQbtZZINnePKpyMetZ8txNi4l2e0M5AxEN7lC2In33xxoQgNHMqZ0GSRGvXJib0x APu1ryJyDEmbLgFw4DGKcJwBGG3BwNQZFRd75gAruMdxPG2yodJavxSGP/Wg2h+hEH1SFXcTStK/r eek+00NSmd7/8Fp/gzxSgYQcMFCu70o21taLted00cp3yA165l3VFDJz7h2BWdyWkO6WHsrHwKgEu u3txaU/6XLdsmR66oP4A==; 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 1gNWVf-0006KT-6t; Fri, 16 Nov 2018 05:17:39 +0000 Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNWVb-0006IU-J3 for linux-arm-kernel@lists.infradead.org; Fri, 16 Nov 2018 05:17:36 +0000 Received: by mail-pg1-x543.google.com with SMTP id z11so7433799pgu.0 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=LTLCe/szPvD5p044c1nlE1bbrpe+P9h2UAQ4/Mg1e7nQkFQ/dRnCGsVkgE8ACy/30c /Ktvi74dyQq27z66OjWVDpxrvsLfVVUsTUKQrxuAu1rulJQvAWBoWHiT/KwUreEOJ879 DzVu4mZCy6Ch1xrbxrdn2MX5y5/rfUhQepWhoanzPaZPIt3bNie+yAkB7skjEC7cZJAg n0WKnEAqhG5QN1de1g3InNYIyGDF7Fupk2X/aECazTxYI7edSe2k53Hy2jT9Gs6KVsbk YrGJ3g5wpVtDPkYDFuFZTndp/SLamFM3YT0Qk/2BfNolKdC+dT69WVqZhzWrNKmlyRop tVIA== X-Gm-Message-State: AGRZ1gLawYakiuW4RehU0QlOIMJfljMikDl2C7X3fJlKcTmYyM7OGjIz HDZi6KVLyfyi3J+EKAVvro3Cug== 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_735223_0E71D4F7 X-CRM114-Status: GOOD ( 11.36 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: 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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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>;