From patchwork Fri May 18 09:45:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10414137 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 DF92460365 for ; Mon, 21 May 2018 08:22:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C716F287A7 for ; Mon, 21 May 2018 08:22:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BBE3E287AE; Mon, 21 May 2018 08:22:49 +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.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,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]) (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 4EB5A287A7 for ; Mon, 21 May 2018 08:22:49 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C43486E321; Mon, 21 May 2018 08:19:42 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pg0-x244.google.com (mail-pg0-x244.google.com [IPv6:2607:f8b0:400e:c05::244]) by gabe.freedesktop.org (Postfix) with ESMTPS id B33DE6ECD8 for ; Fri, 18 May 2018 09:48:07 +0000 (UTC) Received: by mail-pg0-x244.google.com with SMTP id n9-v6so3100769pgq.5 for ; Fri, 18 May 2018 02:48:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=SCMlrnr9R+wFMq4kKsZ2VfSweDQ5IOxlaWfQMPsBxAw=; b=iyjUXthE8ZAQywseYN01JhgIVeYAGjpqoFU2F4mN1bBlnVvlNDjvLQfDIjtblLtQzw 6wrszJxoOLIlJv8SjuuIXnysRdJtabK7PZchxxa3B9wL8IjCaNlR6RXlV0g48xBhu7CS pGaJrR16Pw7aeyQGKZkYllwb8ANFQPD4B51go= 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:in-reply-to :references; bh=SCMlrnr9R+wFMq4kKsZ2VfSweDQ5IOxlaWfQMPsBxAw=; b=h+NgrOfoqL1aB1kn/nlIqfnFSsNXM+i+vp/pKsFraKsXTBB/yRd4lMdeD2OtohGPiz OQ49MVZmLJmEu93DekrclWtdlUTD98R4NrKA+EOLYhLpADBYOyXdWL7N1FigyAifFGDi uOAsIO+ZtKYCsbugUygH5p6ucUso9cSuy/UtWKIfRUEK1zxuabkvYp/9vtvTdhq5IL/d cVja87yhr7zwPOmk6s+LVC1UegPVljSvHukXLwKX1jSId/R5VapaAYJRBlhjEjzmm/GP E/ug1IviJ6kbfzcBtx4pPoM2LwFzRDbr4juRsxj8SMpmZ9QdNZh6fktrn+/Ke0fcU7N3 GBww== X-Gm-Message-State: ALKqPwflxebV/k6DEsnsHCnZRYe1/AJUovimDz/HYnRFfgY4PBY0Yj1D GHXZPLDXuXR09BmEICmi+EFxPQ== X-Google-Smtp-Source: AB8JxZqTd1YedepyFPnjVHe+VvVtaNFAklgVkelJ1OIqW9Bv39RbmYpWfnawuRZtKrSq4/vkVgSvWA== X-Received: by 2002:a63:61c8:: with SMTP id v191-v6mr6970870pgb.184.1526636887231; Fri, 18 May 2018 02:48:07 -0700 (PDT) Received: from localhost.localdomain ([183.82.227.74]) by smtp.gmail.com with ESMTPSA id j11-v6sm12694097pff.64.2018.05.18.02.48.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 18 May 2018 02:48:06 -0700 (PDT) From: Jagan Teki To: Maxime Ripard , Chen-Yu Tsai , Icenowy Zheng , Jernej Skrabec , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , David Airlie , dri-devel@lists.freedesktop.org, Michael Turquette , Stephen Boyd , linux-clk@vger.kernel.org, Michael Trimarchi , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: [PATCH v2 19/26] arm64: dts: allwinner: a64: Add HDMI pipeline Date: Fri, 18 May 2018 15:15:29 +0530 Message-Id: <20180518094536.17201-20-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180518094536.17201-1-jagan@amarulasolutions.com> References: <20180518094536.17201-1-jagan@amarulasolutions.com> X-Mailman-Approved-At: Mon, 21 May 2018 08:18:09 +0000 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: Jagan Teki MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP HDMI pipeline on Allwinner A64 has similar behavior like A83T where tcon1 is connected to HDMI. Setup the pipeline according to that. Signed-off-by: Jagan Teki --- Changes for v2: - none arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 4ffd4787acd2..8ec6559d10cc 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -257,6 +257,10 @@ #size-cells = <0>; reg = <1>; + tcon1_out_hdmi: endpoint@1 { + reg = <1>; + remote-endpoint = <&hdmi_in_tcon1>; + }; }; }; }; @@ -719,6 +723,23 @@ phys = <&hdmi_phy>; phy-names = "hdmi-phy"; status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + hdmi_in: port@0 { + reg = <0>; + + hdmi_in_tcon1: endpoint { + remote-endpoint = <&tcon1_out_hdmi>; + }; + }; + + hdmi_out: port@1 { + reg = <1>; + }; + }; }; hdmi_phy: hdmi-phy@1ef0000 {