From patchwork Wed Aug 16 02:51:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kever Yang X-Patchwork-Id: 9902845 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8000F60231 for ; Wed, 16 Aug 2017 02:51:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 767C72873F for ; Wed, 16 Aug 2017 02:51:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6A8192888D; Wed, 16 Aug 2017 02:51:50 +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=-2.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 F1527288EF for ; Wed, 16 Aug 2017 02:51:49 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=nqW8fX8/KP9LypFi8muhZnIhVzitw/EAu2SqawFv52k=; b=hLn 6kIL6fWVB8416x6AXSYK/z5v4SKExZkZw62N/QN90XhXYyBqTHKnXqanNCH55NP8G1t2qicePscD3 l7pXu5XRIo5Uo3GoI7wPNOo76LpCXO7lrf1HLV90Bek/sLXlLa87GYs3oE6KlD4h5WjKz89OYAQ8t ArKpV9Cii2Y4yVxTG7qMxdRO05RJcosvpN5HnJjncgktY1cn/xbJa3V5hlML/3uv+DdlbcoXLRZD4 9xXNqoD10kDAj+fIhINjQDe4ubM8b+TRTCNY8/dTldBavCvOjDCHXCiU1xhzhu347RQfyFc9sV333 uf4nXBvqSBTpYcA5Hd6vvZKa6t/Gw9g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dhoQu-0007OU-Dl; Wed, 16 Aug 2017 02:51:48 +0000 Received: from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dhoQq-00079t-Se; Wed, 16 Aug 2017 02:51:46 +0000 Received: by mail-pf0-x244.google.com with SMTP id j68so120856pfc.2; Tue, 15 Aug 2017 19:51:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=pCuRGyAgn7epPFSRLlXrHVCkDjFLL7n/lqVrsVd/bEw=; b=aJ52VRs831K/z5kPF8zBdqdPHfmIRQsjzQr7udTg0wyo6yNp7g28hn6BLRBee7nQLP yWExUdDikL94YMtEn7eHM6NyCQcSlHxgDUDixn5QBmueHGNuSeLshjFozrFMvdoGvq/L +QsU8xFpcq+WuOgxkriwPJbKKb6yaVuKmavIVed5MSRtiEpQstXKI4+jCLGPJMRtaApU H45kWjG2fFMMHziqSbO0I9gy3VwMBWlqtpFpdbu0r8tIh2byZwVtbhhJmiQg5zudB4a+ EBo8x+cZYeOifHp83HleUpq8v8jq34t+beYC6Doo+ed7ZE2nZM66EQFSZ/8KbDiiG0N4 RsGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=pCuRGyAgn7epPFSRLlXrHVCkDjFLL7n/lqVrsVd/bEw=; b=EsEIlsA+1ehj2kpeAcTk/3xjDeegiQ68EvRsfVbBcOq4oKhU3LkYuB8Uo9KQlc5dN/ SMO9UbUyXHRRMGc/lXY8GSTwpAoqsHM9cJjFj6/BCzeBv91yVYzfcAWlFC/ZmB4fxHB3 V5udzAHrxa/PrkGzZHMVWarAM/wGTEkBC0QHy2Znt3uUEEiKsw6xQmsgkAnH7q0PxtUI mB6VzIAeXuwYtGcb7PIecOOODYE9/L825xLjs+0U3mQmipK5sHBsQvtoI5d2Mr4bV2oj hMu9xKUyTPZ3JGeqgJ+ObB8A8vKYW5rs3z2veak2oE5NKCfFfikT+ibPkY60EUc33D2b nCYw== X-Gm-Message-State: AHYfb5iH7cl9L2xUqpBcVettB4miIPecQNL6l5bILWc2XaT3CLtyLa6e IZVxOZrumg42dfDp X-Received: by 10.84.231.201 with SMTP id g9mr287259pln.146.1502851883412; Tue, 15 Aug 2017 19:51:23 -0700 (PDT) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id v11sm19980267pfi.52.2017.08.15.19.51.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 15 Aug 2017 19:51:22 -0700 (PDT) From: Kever Yang To: heiko@sntech.de Subject: [PATCH] arm64: dts: rk3399: init vop clock rates Date: Wed, 16 Aug 2017 10:51:09 +0800 Message-Id: <1502851869-1736-1-git-send-email-kever.yang@rock-chips.com> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170815_195144_963716_92E52BFD X-CRM114-Status: UNSURE ( 7.18 ) 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 , devicetree@vger.kernel.org, Elaine Zhang , Jacob Chen , linux-kernel@vger.kernel.org, Shawn Lin , Brian Norris , Will Deacon , Kever Yang , Douglas Anderson , linux-rockchip@lists.infradead.org, Rob Herring , Roger Chen , Catalin Marinas , William wu , linux-arm-kernel@lists.infradead.org, Caesar Wang MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP We need to init vop aclk and hclk incase the U-Boot does not do the initialize. Signed-off-by: Kever Yang --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 0b3acc9..a592c24 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -1480,6 +1480,8 @@ interrupts = ; clocks = <&cru ACLK_VOP1>, <&cru DCLK_VOP1>, <&cru HCLK_VOP1>; clock-names = "aclk_vop", "dclk_vop", "hclk_vop"; + assigned-clocks = <&cru ACLK_VOP1>, <&cru HCLK_VOP1>; + assigned-clock-rates = <400000000>, <100000000>; iommus = <&vopl_mmu>; power-domains = <&power RK3399_PD_VOPL>; resets = <&cru SRST_A_VOP1>, <&cru SRST_H_VOP1>, <&cru SRST_D_VOP1>; @@ -1525,6 +1527,8 @@ interrupts = ; clocks = <&cru ACLK_VOP0>, <&cru DCLK_VOP0>, <&cru HCLK_VOP0>; clock-names = "aclk_vop", "dclk_vop", "hclk_vop"; + assigned-clocks = <&cru ACLK_VOP0>, <&cru HCLK_VOP0>; + assigned-clock-rates = <400000000>, <100000000>; iommus = <&vopb_mmu>; power-domains = <&power RK3399_PD_VOPB>; resets = <&cru SRST_A_VOP0>, <&cru SRST_H_VOP0>, <&cru SRST_D_VOP0>;