From patchwork Sat Apr 20 14:52:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yangtao Li X-Patchwork-Id: 10910339 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 0DECC922 for ; Sat, 20 Apr 2019 14:52:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E3BCF2097A for ; Sat, 20 Apr 2019 14:52:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D1B9228565; Sat, 20 Apr 2019 14:52:58 +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,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 54B632097A for ; Sat, 20 Apr 2019 14:52:58 +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: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:In-Reply-To: References:List-Owner; bh=zMvrlvxx0bw6aKnfgWgEFFxrPfkmYX+5oKB3Agzcy1g=; b=ftr cgOS4B8VW3HrI8ebTt+zOQ4XM82sO3qFpCJdZ/bIjIKVeu0I7oFv3K7PDp3DgJJ+/uZ/SnqhaSbEE 5Dd7i3oh2cVyxbh834hNKoaddJG7sg4Z0+orcZ3UjbXmGwtZFoB5YBSEeIU8vha1ymPlVZuRJSniw 5g5oDTL2qlNuhe81+5x/x8LYpKQEN7ZInYg1ls4SfA7IATYKDCcn0GgMmST04HvixHYmN5d4Wdf6e 5PrWgGLyDvwXSoubdPxdD+RwQokdd/msJIApF1CxT/vWhOp6J7Rqb/r+rpXxXjnjW04rn2gcwGw/S uBn0pEKlCiMH5kbZcplP+lUeAqeAQQQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hHrMK-0002Wc-5B; Sat, 20 Apr 2019 14:52:52 +0000 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hHrMG-0002Vt-Ba for linux-arm-kernel@lists.infradead.org; Sat, 20 Apr 2019 14:52:49 +0000 Received: by mail-pl1-x642.google.com with SMTP id t16so3857184plo.0 for ; Sat, 20 Apr 2019 07:52:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=fjXElioTNn0znvD/3UdTPYP7pGyhNbHIV3hkEzwuuh0=; b=tnoVPVlIyTP1zGHUr73pwXlcx8gr/sw5n+kFlXv6c2j1TRi3e8CHyQLkUXycOmBBYi MhJZMtmlDX1xx1A+pbw+hIG8JIUePXNRP5HyT1VkOOENKWrABtGz4h4fYFZJmR//+07H G+m8E4A97dTM26vOaja4Ok8aCA+GHADjG0dy202aQaxPxnIbE9CYC7w9WeFmBkbH/XAm exYmScfjCQDicNslyNNlUMdJlbumyeQqK0CXwY4a0v4h1uBJly2GQ1fZMrHvCOHEDj56 IW9kvG10uM5iTb2mTbk3hsnINYxmAu2mSYL7ONcblwWAyv+qtxbkVgkwsWQM/DWUJcWu Rpdg== 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; bh=fjXElioTNn0znvD/3UdTPYP7pGyhNbHIV3hkEzwuuh0=; b=kI/5PlM7eWPJlkmHKUCxzrRT2J1WmJy6/Fa9cAkD70wX2erbhKH/q5jUaoCkyHh2CU 0UXVNt32lhGbG2uoGVgePOBa2g9DbDPt5Ewfym2JnGykl1CTPlpQ/UEAp2yEUwRzf3gw OpyzYUCBIypib+t2NVKBJWY7/M2EM3lqGWq9KAPm4BROLjj8yxhZ8Q/Cd+L7cPhclAJh mgg9veku3e6jcR/NegHrNdgg27bPPtrYTe0c7dTQsOLpkQM7dD6aCxJhpyHGxdt8vR0o 3SerHNJIbfWGJNRHHs0zts5vFDYYWKIdlsOlFlO+jukwKT8P3ZLxcZAvjJ4vmSHxfxI1 5rgw== X-Gm-Message-State: APjAAAUDDBVYhIu1gm9NWwK01LH2caNM1bn2YyGcyTzHdHROp4lKuIHG 51m9YJY0Kq5tzT7XeVxieeM= X-Google-Smtp-Source: APXvYqzsxwMELY6Y3wLX6tVwCzs8xE71b2492HqFRkko9rEVK4cRUKtWdaj7Z4HGdHuXpBo+ScCDyQ== X-Received: by 2002:a17:902:5609:: with SMTP id h9mr80552pli.35.1555771964256; Sat, 20 Apr 2019 07:52:44 -0700 (PDT) Received: from localhost (68.168.130.77.16clouds.com. [68.168.130.77]) by smtp.gmail.com with ESMTPSA id y10sm11536852pfm.27.2019.04.20.07.52.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 20 Apr 2019 07:52:43 -0700 (PDT) From: Yangtao Li To: maxime.ripard@bootlin.com, wens@csie.org, robh+dt@kernel.org, mark.rutland@arm.com Subject: [PATCH] arm64: dts: allwinner: h6: Enable HDMI output on orangepi 3 Date: Sat, 20 Apr 2019 10:52:40 -0400 Message-Id: <20190420145240.27400-1-tiny.windzz@gmail.com> X-Mailer: git-send-email 2.17.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190420_075248_399257_72D84BDE X-CRM114-Status: GOOD ( 10.32 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Yangtao Li , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Orangepi 3 has HDMI type A connector. Signed-off-by: Yangtao Li --- rebase: sunxi/dt64-for-5.2 arm64: dts: allwinner: a64-amarula-relic: Add OV5640 camera node --- .../dts/allwinner/sun50i-h6-orangepi-3.dts | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts index 17d496990108..6ed3a1ee297d 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts @@ -21,6 +21,17 @@ stdout-path = "serial0:115200n8"; }; + connector { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi_con_in: endpoint { + remote-endpoint = <&hdmi_out_con>; + }; + }; + }; + leds { compatible = "gpio-leds"; @@ -50,6 +61,10 @@ cpu-supply = <®_dcdca>; }; +&de { + status = "okay"; +}; + &ehci0 { status = "okay"; }; @@ -58,6 +73,16 @@ status = "okay"; }; +&hdmi { + status = "okay"; +}; + +&hdmi_out { + hdmi_out_con: endpoint { + remote-endpoint = <&hdmi_con_in>; + }; +}; + &mmc0 { vmmc-supply = <®_cldo1>; cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */