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: 9207031 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 06A906075A for ; Thu, 30 Jun 2016 08:52:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E1697284BA for ; Thu, 30 Jun 2016 08:52:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D5BB328417; Thu, 30 Jun 2016 08:52:35 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AB54C28417 for ; Thu, 30 Jun 2016 08:52:34 +0000 (UTC) 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" X-Virus-Scanned: ClamAV using ClamSMTP 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>; + }; + }; + }; };