From patchwork Mon Dec 17 12:36:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Heiko_St=C3=BCbner?= X-Patchwork-Id: 10733323 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 7C2E714DE for ; Mon, 17 Dec 2018 12:37:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6E9E129C5D for ; Mon, 17 Dec 2018 12:37:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 62A2029DA6; Mon, 17 Dec 2018 12:37:29 +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=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 240EB29C5D for ; Mon, 17 Dec 2018 12:37:29 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id F3E096E468; Mon, 17 Dec 2018 12:37:25 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7A72E6E453 for ; Mon, 17 Dec 2018 12:37:08 +0000 (UTC) Received: from wf0848.dip.tu-dresden.de ([141.76.183.80] helo=phil.dip.tu-dresden.de) by gloria.sntech.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1gYs8q-0003o4-Sv; Mon, 17 Dec 2018 13:37:00 +0100 From: Heiko Stuebner To: linux-rockchip@lists.infradead.org, hjc@rock-chips.com Subject: [PATCH 00/15] drm/rockchip: add display support for rk3368 Date: Mon, 17 Dec 2018 13:36:35 +0100 Message-Id: <20181217123650.6773-1-heiko@sntech.de> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, robh+dt@kernel.org, Laurent.pinchart@ideasonboard.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP This ties together the last lose ends to make display support work on rk3368 and includes some missing clock exports, compatible values+settings for the specific encoder drivers and quite a number of dt-changes enabling power-domains first and then adding the display stuff. The core rk3368 support for powerdomains and the vop is in the kernel for quite a while already but hasn't been used so far. Heiko Stuebner (15): clk: rockchip: add clock ids for dphy rx and tx channels on rk3368 clk: rockchip: add clock id 24m dsi clock on rk3368 clk: rockchip: use clock ids for dphy rx and tx on rk3368 clk: rockchip: use clock id for 24m dsi on rk3368 drm/rockchip: dw_hdmi: add support for rk3368 drm/rockchip: analogix_dp: add support for the rk3368 variant drm/rockchip: dw-mipi-dsi: add support for rk3368-variant arm64: dts: rockchip: default values for core clocks on rk3368 arm64: dts: rockchip: add power-domain nodes on rk3368 arm64: dts: rockchip: add dw-hdmi controller on rk3368 arm64: dts: rockchip: add analogix-dp controller on rk3368 arm64: dts: rockchip: add dw-mipi-dsi controller on rk3368 arm64: dts: rockchip: add core display support for rk3368 arm64: dts: rockchip: enable display on rk3368-r88 arm64: defconfig: enable hym8563 rtc driver .../display/rockchip/analogix_dp-rockchip.txt | 1 + .../display/rockchip/dw_hdmi-rockchip.txt | 1 + .../display/rockchip/dw_mipi_dsi_rockchip.txt | 1 + arch/arm64/boot/dts/rockchip/rk3368-r88.dts | 17 + arch/arm64/boot/dts/rockchip/rk3368.dtsi | 309 ++++++++++++++++++ arch/arm64/configs/defconfig | 1 + drivers/clk/rockchip/clk-rk3368.c | 6 +- .../gpu/drm/rockchip/analogix_dp-rockchip.c | 17 +- .../gpu/drm/rockchip/dw-mipi-dsi-rockchip.c | 25 +- drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 15 + include/dt-bindings/clock/rk3368-cru.h | 3 + 11 files changed, 387 insertions(+), 9 deletions(-)