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: 9902847 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 98A2060231 for ; Wed, 16 Aug 2017 02:52:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8D2662873F for ; Wed, 16 Aug 2017 02:52:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 81E3D288C4; Wed, 16 Aug 2017 02:52:01 +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 053032888D for ; Wed, 16 Aug 2017 02:52:00 +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=KFo1tSbrN7NiJyXLE6YadWWp20Zs3biCzmg5tbeol1A=; b=I7z PaZiYmE3cD1m0A+rqvFYzao736ea7EWpvyY69fuKPF4ax3tnhqgdhtoKKxEbqsydeqmo0emX1LIkP eRD1YTNyVjr5v7aOJdlc9YJsMjLzHIESOccCMHO9L5rE+whzWsb9DndVMyzqnGgcXgEUPu6tbNnDY 6wnb4bCK6VC9WXXTFILryMS1QJMtWfksAZExOZNSyZvdZwod/I/okMNHedefUW+HR5rlayZuzX0+6 7/kqokFf80dNFiaAb2WMEy3024H74+nArVM+LbskETpnoSeTJyGxHOs633+u76l+wjdmzy+xXOePj yT07FByoxhsEwRHnM2OlFMXGhwZTfwA==; 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 1dhoQv-0007Ou-Hz; Wed, 16 Aug 2017 02:51:49 +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-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 , 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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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>;