From patchwork Sun Aug 13 15:11:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 9897927 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 3C4CA602CA for ; Sun, 13 Aug 2017 15:13:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 19FDF28643 for ; Sun, 13 Aug 2017 15:13:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 094FE28635; Sun, 13 Aug 2017 15:13:03 +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]) (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 9076728635 for ; Sun, 13 Aug 2017 15:13:02 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E58766E0B1; Sun, 13 Aug 2017 15:12:03 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lf0-x234.google.com (mail-lf0-x234.google.com [IPv6:2a00:1450:4010:c07::234]) by gabe.freedesktop.org (Postfix) with ESMTPS id 479E06E0B1 for ; Sun, 13 Aug 2017 15:12:03 +0000 (UTC) Received: by mail-lf0-x234.google.com with SMTP id g25so31429676lfh.1 for ; Sun, 13 Aug 2017 08:12:03 -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:in-reply-to:references; bh=dsGB3cyHgAF6+SCPv565XXIrH3sH5/CpfdvQBHJ5BXc=; b=QTaZmSFNeo4XtI56pg6x2Y34tKrjrFCF4Yw671TjWDPdQIAASlcW39pr2SZ13ZXjfq fi2YAfOzzAoQPN63M5Cd1eHnS6JZ88KrCkeTF7VYpUZDBs+P4jPPPa2eW6BhykZ6IuUG 7txkEM50FzNX0gxBfKSnDcxk6MLLjHI2dpjso= 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=dsGB3cyHgAF6+SCPv565XXIrH3sH5/CpfdvQBHJ5BXc=; b=NiZMNKgSaEQ2KtpmvlmmMNA7HNS9M5gmOtlZ6HuPh3p9moMIyEPJWvFG9tD0ukhPRA spXuB6UHMMhrwMfcRmUdpa8iSOJiq8r5bGeplnlMcy+1exa2ACS6vH8fLsd3VjIDg1TD f8prQ/b2RUQzJGqiG2EMBGyRouXX7uJBl095iE9nxRZxLf3N/F5rXlIK+c2dvOD3+feo Y0D3hpgiD3ozSEOoJY/Q3KUI00cR65kpumCJpgCj8Iz4Drb8/i8ol8j6c8PuAVBhFF4x t2xgGOWWXhaF401dIWJ7nt3/NRLNK/LHU1J/W2Lu21qYie6GqgWgJXOKhoyKIwwC/szW EaMw== X-Gm-Message-State: AHYfb5htUVhaIw2bxhsO0Xj88Vl2gsyPuI9kGZRiDCwvVkzE9Tf+2S76 ZrKATTMpFyBRMS6TD5CWlg== X-Received: by 10.46.76.26 with SMTP id z26mr8150227lja.81.1502637121161; Sun, 13 Aug 2017 08:12:01 -0700 (PDT) Received: from fabina.bredbandsbolaget.se (c-277e71d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.126.39]) by smtp.gmail.com with ESMTPSA id e195sm1064062lfg.17.2017.08.13.08.11.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 13 Aug 2017 08:12:00 -0700 (PDT) From: Linus Walleij To: dri-devel@lists.freedesktop.org, Eric Anholt , Daniel Vetter , Jani Nikula , Sean Paul Subject: [PATCH 3/4] ARM: dts: Add TVE200 to the Gemini SoC DTSI Date: Sun, 13 Aug 2017 17:11:31 +0200 Message-Id: <20170813151132.24736-4-linus.walleij@linaro.org> X-Mailer: git-send-email 2.13.4 In-Reply-To: <20170813151132.24736-1-linus.walleij@linaro.org> References: <20170813151132.24736-1-linus.walleij@linaro.org> Cc: linux-arm-kernel@lists.infradead.org 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 The Faraday TVE200 is present in the Gemini SoC, sometimes under the name "TVC". Add it to the SoC DTSI file along with its resources. Signed-off-by: Linus Walleij --- DRM developers: I will merge this patch through the ARM SoC tree. It is only included in this series for completion. --- arch/arm/boot/dts/gemini.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/gemini.dtsi b/arch/arm/boot/dts/gemini.dtsi index c68e8d430234..f4957545e558 100644 --- a/arch/arm/boot/dts/gemini.dtsi +++ b/arch/arm/boot/dts/gemini.dtsi @@ -141,6 +141,12 @@ groups = "idegrp"; }; }; + tvc_default_pins: pinctrl-tvc { + mux { + function = "tvc"; + groups = "tvcgrp"; + }; + }; }; }; @@ -346,5 +352,18 @@ memcpy-bus-width = <32>; #dma-cells = <2>; }; + + tvc@6a000000 { + compatible = "cortina,gemini-tvc", "faraday,tve200"; + reg = <0x6a000000 0x1000>; + interrupts = <13 IRQ_TYPE_EDGE_RISING>; + resets = <&syscon GEMINI_RESET_TVC>; + clocks = <&syscon GEMINI_CLK_GATE_TVC>, + <&syscon GEMINI_CLK_TVC>; + clock-names = "PCLK", "TVE"; + pinctrl-names = "default"; + pinctrl-0 = <&tvc_default_pins>; + status = "disabled"; + }; }; };