From patchwork Tue Sep 15 09:37:14 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kongxinwei X-Patchwork-Id: 53625 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by patches.linaro.org (Postfix) with ESMTPS id 50D9922A22 for ; Tue, 15 Sep 2015 09:41:29 +0000 (UTC) Received: by lagj9 with SMTP id j9sf61563877lag.0 for ; Tue, 15 Sep 2015 02:41:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-type:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe; bh=tk/LCMS0KFpCMo3UnMVx5mIVobAu9MrqmMJbac0+kuo=; b=GLXfIvUcGnvouu+8X+UcP1XMZthP2uQWkFWw0W3LXzmKAYiu8g0b8wIfkGmn1LzgCb yB8WAltKFY1AsiROvKDSRsNUsAwdiN/6oN7d0rKf32G2Q18LA9weINF8VG/NbQ4UFC16 hzPzf9VEFTk2mWoAqqmhe59SnzF7Nd3GKfIqknH+Vs7CLBTOxk1lkLFco9m6OLMp+AJl AyvnumA1ra6Q85dpgZrTODqu9b50T9ySYXsRczSs+wHI0v3r64ZM4isNdsTcb7Fs4sN5 BVEFqE81iKnoSNXrqI5G6sVkLHTqSyWk/FUpp2itq0KQg0wvVgDwygGmPcIGAxv0eZYv kLkA== X-Gm-Message-State: ALoCoQmawQUyMLvm7PKnIjEBDA1jIxedzEj6aCyHymzsAmpLxR80yneakIpG7987kexd6OlKaBuP X-Received: by 10.152.22.101 with SMTP id c5mr3545385laf.0.1442310088263; Tue, 15 Sep 2015 02:41:28 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.6.37 with SMTP id x5ls772915lax.50.gmail; Tue, 15 Sep 2015 02:41:27 -0700 (PDT) X-Received: by 10.112.205.69 with SMTP id le5mr19521804lbc.89.1442310087945; Tue, 15 Sep 2015 02:41:27 -0700 (PDT) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com. [209.85.217.171]) by mx.google.com with ESMTPS id yg5si12702979lab.114.2015.09.15.02.41.27 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Sep 2015 02:41:27 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) client-ip=209.85.217.171; Received: by lbbvu2 with SMTP id vu2so9384362lbb.0 for ; Tue, 15 Sep 2015 02:41:27 -0700 (PDT) X-Received: by 10.152.5.170 with SMTP id t10mr4820223lat.112.1442310087822; Tue, 15 Sep 2015 02:41:27 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp1680880lbq; Tue, 15 Sep 2015 02:41:26 -0700 (PDT) X-Received: by 10.66.190.6 with SMTP id gm6mr45214727pac.27.1442310086782; Tue, 15 Sep 2015 02:41:26 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id na3si30501959pbc.99.2015.09.15.02.41.25; Tue, 15 Sep 2015 02:41:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755524AbbIOJlX (ORCPT + 29 others); Tue, 15 Sep 2015 05:41:23 -0400 Received: from szxga02-in.huawei.com ([119.145.14.65]:10537 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752950AbbIOJlH (ORCPT ); Tue, 15 Sep 2015 05:41:07 -0400 Received: from 172.24.1.50 (EHLO szxeml425-hub.china.huawei.com) ([172.24.1.50]) by szxrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id CSJ28072; Tue, 15 Sep 2015 17:37:40 +0800 (CST) Received: from localhost (10.46.72.58) by szxeml425-hub.china.huawei.com (10.82.67.180) with Microsoft SMTP Server id 14.3.235.1; Tue, 15 Sep 2015 17:37:33 +0800 From: Xinwei Kong To: , , , CC: , , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH RFC 8/8] dts: hisilicon: Add drm driver device dts config for HiKey board Date: Tue, 15 Sep 2015 17:37:14 +0800 Message-ID: <1442309834-21420-9-git-send-email-kong.kongxinwei@hisilicon.com> X-Mailer: git-send-email 1.9.4.msysgit.2 In-Reply-To: <1442309834-21420-1-git-send-email-kong.kongxinwei@hisilicon.com> References: <1442309834-21420-1-git-send-email-kong.kongxinwei@hisilicon.com> MIME-Version: 1.0 X-Originating-IP: [10.46.72.58] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: kong.kongxinwei@hisilicon.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This patch adds drm dts node for HiKey board using hi6220 SOC. Signed-off-by: Xinliang Liu Signed-off-by: Xinwei Kong Signed-off-by: Andy Green Signed-off-by: Jiwen Qi Signed-off-by: Yu Gong --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 34 +++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index 3f03380..9ce8c62 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi @@ -4,6 +4,7 @@ * Copyright (C) 2015, Hisilicon Ltd. */ +#include #include / { @@ -167,5 +168,38 @@ clocks = <&ao_ctrl 36>, <&ao_ctrl 36>; clock-names = "uartclk", "apb_pclk"; }; + + display-subsystem { + compatible = "hisilicon,display-subsystem"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + dma-coherent; + + ade: ade@f4100000 { + compatible = "hisilicon,hi6220-ade"; + reg = <0x0 0xf4100000 0x0 0x7800>, + <0x0 0xf4410000 0x0 0x1000>; + reg-names = "ade_base", + "media_base"; + interrupts = <0 115 4>; /* ldi interrupt */ + + clocks = <&media_ctrl HI6220_ADE_CORE>, + <&media_ctrl HI6220_CODEC_JPEG>, + <&media_ctrl HI6220_ADE_PIX_SRC>; + /*clock name*/ + clock-names = "clk_ade_core", + "aclk_codec_jpeg_src", + "clk_ade_pix"; + }; + + dsi { + compatible = "hisilicon,hi6220-dsi"; + reg = <0x0 0xf4107800 0x0 0x100>; + clocks = <&media_ctrl HI6220_DSI_PCLK>; + clock-names = "pclk_dsi"; + encoder-slave = <&adv7533>; + }; + }; }; };