From patchwork Tue Sep 26 07:55:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nickey Yang X-Patchwork-Id: 9971411 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 ABB16602D8 for ; Tue, 26 Sep 2017 07:56:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9CF632896D for ; Tue, 26 Sep 2017 07:56:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 915062897B; Tue, 26 Sep 2017 07:56:51 +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.7 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_SPAM 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 471FA2896D for ; Tue, 26 Sep 2017 07:56:51 +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:References: In-Reply-To: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:List-Owner; bh=AW1X/etNlEukUFZ8ElI3hvxRz+T7jXxa6aTZuHQ5LuQ=; b=N9w8WRRIS9kw9JmPU/k3GS7GlQ pNeTsqTEgjU/FwBycy0me7NZ+zrUCCsqb3OblesWQWGBHwQw3QooCT0UOicPrS1L85FfqRA3tqZKs 8m54J7Q29K0BZSJK+vN4AFteqzsxJ9rdFAJFZ0RsA7cTGspnX9dCtKYc8HKM1NIW6FrLiqi50uiua pxMXSzgTetVJratkXtj9ACjp8ppDpHzuEc08rsW626312c23D6a4wUfHEzHAbSdzGYbkm3kcVEwOF r0TSFKkK5Nini9koRreDFs3tcxGxXsECrZHu9qGKhvgeWCfZDkibO4UppyO4D345ZbDEmzfQ8dw4x /SdgXXUw==; 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 1dwkja-0006Ia-J4; Tue, 26 Sep 2017 07:56:50 +0000 Received: from mail-pg0-f67.google.com ([74.125.83.67]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dwkjP-0005p9-9w for linux-rockchip@lists.infradead.org; Tue, 26 Sep 2017 07:56:48 +0000 Received: by mail-pg0-f67.google.com with SMTP id d8so6335001pgt.3 for ; Tue, 26 Sep 2017 00:56:19 -0700 (PDT) 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:in-reply-to :references; bh=w4r3tk7TTP3BfqyQFTc2mpclRpoDrRT81e7UHKEgoHM=; b=naLBgb25FbqCICiArY8mOmeL+TGy4xt9VqDvTj/6v36P7+AP/v1krES4M4NDd9Nl02 r7EFsOZlne1F/sYskzQuOnG9EpXXVoqb3fvFWlQv4t2WFnFfKOcm2M7zIcFuM2dnPuny LH0K1yQWhLvPI/K9OyDMnWJjPb1FLx7ACowcziCNW6q271RwFyJP5uU0jrkl12KQqMof Qq8is+anCQ6kpikB+Yg8WT0TS4nyjg/FvlSLzogAWabbZoqyBD4f6lQcdxOaShlhpHmJ eVvcjftqSCOfBDkRG/883ND677ANGrLmJc+0gRZRLGV5FNfsDEEU6una8j//jxe+KoL+ cCKQ== X-Gm-Message-State: AHPjjUg37Yum3lwvIc0oDdW2XMsQ9Mtk0s2GP42xhsbvxm3hrMXjRxAA tNTaUJgdzzKbJxkSLedNlPo= X-Google-Smtp-Source: AOwi7QBJLWdg/WQ/Iq8DHhgH17xcnFpXUeka5HWmq47ObR/muCbz7glp0derdIZ9iNPoq1yNNOTXKg== X-Received: by 10.159.197.76 with SMTP id d12mr9942118plo.132.1506412578557; Tue, 26 Sep 2017 00:56:18 -0700 (PDT) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id n12sm16116908pfb.131.2017.09.26.00.56.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 26 Sep 2017 00:56:17 -0700 (PDT) From: Nickey Yang To: mark.yao@rock-chips.com, robh+dt@kernel.org, heiko@sntech.de, mark.rutland@arm.com, airlied@linux.ie Subject: [PATCH v2 7/8] arm64: dts: rockchip: add a grf clk for dw-mipi-dsi Date: Tue, 26 Sep 2017 15:55:22 +0800 Message-Id: <1506412523-1766-7-git-send-email-nickey.yang@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1506412523-1766-1-git-send-email-nickey.yang@rock-chips.com> References: <1506412523-1766-1-git-send-email-nickey.yang@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170926_005639_661533_36C48EFD X-CRM114-Status: UNSURE ( 8.23 ) 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: bivvy.bi@rock-chips.com, hl@rock-chips.com, briannorris@chromium.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-rockchip@lists.infradead.org, nickey.yang@rock-chips.com, seanpaul@chromium.org, zyw@rock-chips.com, xbl@rock-chips.com 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 The clk of grf must be enabled before writing grf register for rk3399. Signed-off-by: Nickey Yang --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 6aa43fd..ab7629c 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -1630,8 +1630,8 @@ reg = <0x0 0xff960000 0x0 0x8000>; interrupts = ; clocks = <&cru SCLK_DPHY_PLL>, <&cru PCLK_MIPI_DSI0>, - <&cru SCLK_DPHY_TX0_CFG>; - clock-names = "ref", "pclk", "phy_cfg"; + <&cru SCLK_DPHY_TX0_CFG>, <&cru PCLK_VIO_GRF>; + clock-names = "ref", "pclk", "phy_cfg", "grf"; power-domains = <&power RK3399_PD_VIO>; rockchip,grf = <&grf>; status = "disabled";