From patchwork Fri Nov 16 00:42:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Basehore X-Patchwork-Id: 10685351 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 4154E14E2 for ; Fri, 16 Nov 2018 00:43:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 31CDD2D414 for ; Fri, 16 Nov 2018 00:43:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 251F02D41A; Fri, 16 Nov 2018 00:43:15 +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 D187E2D414 for ; Fri, 16 Nov 2018 00:43:14 +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=2DLTZYfgq6xIw8BNoStxAGzkOA2a4PEp3/dnXFm0Kjs=; b=M87mL3n7eUP8ZG miqS3ygKQa7dcP3Z2nmB+UmIL/DajXMGB+MzOLivLZX3WWLVnz6NXT6QTUV7lngBv/nPTulXztGp2 zBWEzaYAcUm5xU1K93gebipg8vcTnHiXN/IWHhFAx+wAbnNo+UGTZDmT/goQHEWe0oG8DHOgqP8ka UGXdXzzNjdEaTmKaxomyhVUgx3L5pjgJMKuSxja/5zBcsfyvhUqOBDG3cX9GuBKdyic6EbY024c4J Jp/OGlxaNyO+9uBP4af/Fk67URP8Eb29D3W8oO+Iiycz9jtPtmtzW4NsbGeSyE9l4WKta49Y9gFMh Bu4ekXDeddYqIqqaDZmw==; 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 1gNSE0-0000yB-Qs; Fri, 16 Nov 2018 00:43:08 +0000 Received: from mail-pf1-x443.google.com ([2607:f8b0:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNSDy-0000lp-Bv for linux-arm-kernel@lists.infradead.org; Fri, 16 Nov 2018 00:43:07 +0000 Received: by mail-pf1-x443.google.com with SMTP id u3-v6so7834232pfm.4 for ; Thu, 15 Nov 2018 16:42:52 -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=0XcTIPEPcy/kt5NEIDiSbTDj0WEZaK94xvCDei0fo8w=; b=QRyCQAUBkWd4jMcP2rAe+mg/iCCiiDKcdvgSiduCXZM/6Jy6tnHn1WpabNWaYvOSwH GP5MDqE6XtR1oGHNt/B+UTpb1dWjD3SPtDX9/GxWfS7ThwVTZUmTIJYZ84Ow93aq+1Sj WZOemveCgrPElxbbxIjNxyllj+W8Lzn/2LkYw= 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=0XcTIPEPcy/kt5NEIDiSbTDj0WEZaK94xvCDei0fo8w=; b=TxnnQojifgp2GJNlbv2nzfux65bDJIFKRauWuGIV7c0h8Pm1qxrqDeyu2xHHlpe9zN 00j9SI6m3sBi+0H6YKdD2E4xavls5vxvVprXfRL9RY1Rt16XOo7MX3DnODvuoBaf9AMN qCZjEBwootq+L4O6lNi6/194XIy9TObV3bDXBWtLOm21Ckp/9wj3qkFfnC7x2X2cKZkh 0ES+7IN9D9kkcuhPji+uy/ltgd6KbFU455dp+fxx3L0mg/x4DfP6rl2t499jxzw9ei56 bJ9l/3warudNyVB+FLbzE0F9VeEgSdCtIAVoy4RLjBfhkvC1LJs2KygR/Cfxs1WAdkd7 TKcw== X-Gm-Message-State: AGRZ1gI+haRaTUNHeJTJV7V44Apb70m2zXWycRnIJmdZBR4t478CUYMN BCcvIB1uk+O36jHAXAlgxhFWJQ== X-Google-Smtp-Source: AJdET5cWU4ZqKVXBAMPnnzn/+2fW3UF1TllL+sdfxgmP1Dq3um6CgTn+9aCukJmqLNVFXwN/bsr+SA== X-Received: by 2002:a63:e615:: with SMTP id g21mr8054129pgh.290.1542328972402; Thu, 15 Nov 2018 16:42:52 -0800 (PST) Received: from exogeni.mtv.corp.google.com ([2620:15c:202:1:db8d:8e3f:2514:5db8]) by smtp.gmail.com with ESMTPSA id a10sm11902945pfi.138.2018.11.15.16.42.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Nov 2018 16:42:51 -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 16:42:47 -0800 Message-Id: <20181116004247.172977-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_164306_403182_2F7800D4 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..6a32293982d0 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -191,6 +191,13 @@ #clock-cells = <0>; }; + xin32k: xin32k { + compatible = "fixed-clock"; + clock-frequency = <32000>; + clock-output-names = "xin32k"; + #clock-cells = <0>; + }; + amba { compatible = "simple-bus"; #address-cells = <2>;