From patchwork Thu Jun 30 08:51:42 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xinliang Liu X-Patchwork-Id: 71225 Delivered-To: patch@linaro.org Received: by 10.140.28.4 with SMTP id 4csp280909qgy; Thu, 30 Jun 2016 01:52:35 -0700 (PDT) X-Received: by 10.98.31.140 with SMTP id l12mr19389903pfj.51.1467276755019; Thu, 30 Jun 2016 01:52:35 -0700 (PDT) Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTP id q186si3475928pfb.213.2016.06.30.01.52.34; Thu, 30 Jun 2016 01:52:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 03AA16E83F; Thu, 30 Jun 2016 08:52:34 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pa0-x22d.google.com (mail-pa0-x22d.google.com [IPv6:2607:f8b0:400e:c03::22d]) by gabe.freedesktop.org (Postfix) with ESMTPS id A26236E842 for ; Thu, 30 Jun 2016 08:52:32 +0000 (UTC) Received: by mail-pa0-x22d.google.com with SMTP id b13so26493623pat.0 for ; Thu, 30 Jun 2016 01:52:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=sfeIU9nhQPacEHErKxvMXC5PymNGjKCYsECvW4LFr04=; b=iC861MrO2lAOdGbE95IX0nF50L5bmolgv80FnGC9cl1XCMH7L4s+VM8m/coUZEOmno /oJ892DtKiRsi3GHUUfuWYDIlqE0J0ZquWIKv4XgWbFoom5t54YABIdCKq8yqBGuftEB ZWmWLNQgI6zYz76OEv3mHt4odpw8B0gHsnuoc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=sfeIU9nhQPacEHErKxvMXC5PymNGjKCYsECvW4LFr04=; b=MjxugKZ84ZIBa74HcQeorgWZzkj7BV+BBpHO5McGHTNyuQo8+Ymv2XGDBLT5KYdUNY MF50Ws2FGxKMYhXFW8iKPmw7X0Z1rUyvbceqChkPV0gqlhlgBh37YbHJTaUvFtgEDDX7 uDbu65psyCxyjANOqogb3sRg9OyV9CwJ5po9q36Kq1ZQkbBmyiDuoTOPA1xW3FPsaKBs 8WCOT5kK3OtUO2JZAdQQxIfPacGNQznxu+dUHM6wU0eOs3joFbPociY5NNW+ZcnXa0nD 2ENZPNVxJlucwHWQcFwfIwLykvMwq5BbqxScz3AKyh8DYnQCdXRUFqGwIdMwjuRbHLVC wCkQ== X-Gm-Message-State: ALyK8tL62RXwyB+8lg0H5TnHVQP9q7LbpUy1zWpdhLoC5VhBz3PQhheGNM7/2Acz7V6swMbI X-Received: by 10.66.227.234 with SMTP id sd10mr19620776pac.115.1467276752083; Thu, 30 Jun 2016 01:52:32 -0700 (PDT) Received: from HTSAT-OPENLAB-SERVER.localdomain ([14.154.189.122]) by smtp.gmail.com with ESMTPSA id c13sm3718629pfc.40.2016.06.30.01.52.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 30 Jun 2016 01:52:31 -0700 (PDT) From: Xinliang Liu To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH] arm64: dts: Add HDMI node for hi6220-hikey Date: Thu, 30 Jun 2016 16:51:42 +0800 Message-Id: <20160630085142.2398-1-xinliang.liu@linaro.org> X-Mailer: git-send-email 2.8.3 Cc: guodong.xu@linaro.org, xuwei5@hisilicon.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add adv7533 HDMI DT node for HiKey board. And this patch depends on the hikey display dts patch[1] and adv7533 support patch[2]. [1] https://patchwork.kernel.org/patch/9189287/ [2] http://www.spinics.net/lists/linux-arm-msm/msg21305.html Signed-off-by: Xinliang Liu --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts index 90e77380f073..03c4a702b0eb 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts +++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts @@ -236,4 +236,37 @@ &dsi { status = "ok"; + + ports { + /* 1 for output port */ + port@1 { + reg = <1>; + + dsi_out0: endpoint@0 { + remote-endpoint = <&adv7533_in>; + }; + }; + }; +}; + +&i2c2 { + #address-cells = <1>; + #size-cells = <0>; + status = "ok"; + + adv7533: adv7533@39 { + compatible = "adi,adv7533"; + reg = <0x39>; + interrupt-parent = <&gpio1>; + interrupts = <1 2>; + pd-gpio = <&gpio0 4 0>; + adi,dsi-lanes = <4>; + adi,disable-timing-generator; + + port { + adv7533_in: endpoint { + remote-endpoint = <&dsi_out0>; + }; + }; + }; };