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: 109958 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp3299276qge; Sun, 13 Aug 2017 08:12:35 -0700 (PDT) X-Received: by 10.84.129.71 with SMTP id 65mr24232128plb.49.1502637155109; Sun, 13 Aug 2017 08:12:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502637155; cv=none; d=google.com; s=arc-20160816; b=CnD7MaFMYTRbsh34+5WpwdMeWVS0n7IPneBRzaUugVjAJ+BpfBFbhfs62C+IlMX/j5 fyutli920BvjygY4MNEQqfa65tq7kTwgxRbZXKbLir151z4vK7L4WSugszDJpQKP175j MXwX4RL1jkXgbsztAifQZFrQySWTx5hBNnvU5uTCsP7zgagZbTDsBvxnt+/z4knxEg3O pNXI4ROyAszP84ucK/IwgtVix79tc73zAUiK5hM4obIJl+X1o5edrInIwCRK0wo5qObZ aR8TEZ0y8HCq39fYsOJbIOamNI671D8T/ECzGy48uk3P6SOlY8eTU+Rs/RNxxntGmxNq zH4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:cc:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to :arc-authentication-results; bh=MsVTtbw/wI80UTIow0HD2eP546W5fSFgamnL1MKsK+o=; b=luNACQ5cBEzgr5ipgxAN+ybuyUZx3gO+0A5ZZbvx0hNIolRM7TBY/Ty13vRh+AWAJB zfDNDsReOqH2JPRlx6r8iy7BT3GySn2poHCpU+rtG4aCzYPblnEmng2qr+8YWqWDGt1Z sJ80Ao+AouRAHGSovBMM62dzKDrVF4raC+Dt+gJz4GGgm4fYZYXJ84Sxn+T8ic4wy0ix thKNAVAjBtQowIonRKQ2OebraHQTcq3SX2FhqwEmXe3QKD7MQSNWSW5BsZ1xD9LeEGF7 /FX8pdeR52a59gSQiTxH+2UPmX9dZ9PzNEVYj4dq0WfLE8W1eMy4oNHfSr6DvcinplNt jFFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=QTaZmSFN; 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 sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id u11si3062092pfi.238.2017.08.13.08.12.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 13 Aug 2017 08:12: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 header.s=google header.b=QTaZmSFN; 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 sp=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 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" 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"; + }; }; };