From patchwork Sun Aug 20 10:05:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 110475 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp15185qge; Sun, 20 Aug 2017 03:06:48 -0700 (PDT) X-Received: by 10.84.233.136 with SMTP id l8mr13793582plk.333.1503223608061; Sun, 20 Aug 2017 03:06:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503223608; cv=none; d=google.com; s=arc-20160816; b=b89gbuRXdW1FFEiwVydMF3cDMBiLfDTzbDXTEgjpYAcAweRqJlbk7zDxNl6kizjdck OnSfwhqJwe9hEpwy79RpjS2JnddZdyii4OgtUkkqMCXmes7nGmILqYmbWLdScFgFwVTR 5oNaP9XidLXAGlqotChv9XqgU17iKJj+ycKl7OY417PZFC6uTRmr/m0j1Im9hRUyLVgu /2c7IFKX6ngj2vvDNaVWiK5S+mCNmE70yjC3TxIAJ3wsUrc7xNyTJXge31lrtFSPk9y/ W5ZFXKopf99OCEslBadMl4Y9TUJWoidGePqnMjozeN1/WnQjp5wbOi1M0CatxMlZolRL HAYg== 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=bAeYfitANtS/FoIXUlRSR1/VCDvnQeOIbh65EniP9rc=; b=mg/Z6aTZMk8yr7OC4Vlbn5hlXsyoGSjrryMoOLrn0bpQ+kVa0WOiwf4zeO5El+/6Ey HQiqMbtmHda02et201UDhUUYTdA6pDbcOd11fg3NABV6svPoEGy6m6/3DK1LS8D789zk 7EXuepfEKaoZO0jQN2nUnlF6A6b+0UdNHYXX6sOUk9BPQU84pKTCv6mtWX9MmA9aRB5d qpbroIszZBm9bhkhb/1w7o0QKRxRarnD6dwHCIfOhCtKYI8wFqbfiG+CdxuE3Wak/FHV PKffsGl3Ve7FISdP9ri2ubIYUwsSdaMO+WIJ4AtkyWdwgY+RCllVcYErbMeExMceXiui QGJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=WXluVme3; 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 b4si6414224plb.264.2017.08.20.03.06.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 20 Aug 2017 03:06:48 -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=WXluVme3; 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 ECE666E170; Sun, 20 Aug 2017 10:06:16 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lf0-x22f.google.com (mail-lf0-x22f.google.com [IPv6:2a00:1450:4010:c07::22f]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3EB6C6E170 for ; Sun, 20 Aug 2017 10:06:14 +0000 (UTC) Received: by mail-lf0-x22f.google.com with SMTP id g77so24580240lfg.1 for ; Sun, 20 Aug 2017 03:06:14 -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=QzfLxXHnOQC3QUAbmdWeVgTG8vUtt7vAr+0wQHE9sds=; b=WXluVme3YaFLU4LRDGjFepgHqxCR8UWvxn/8IPJwT1E+m3l9Q2QHdBoR9vpArWy26l oI6tZWB1q1dj8AeQm4wh2qn2mS8wFXATEesXssAiopWS6xkNCANxM2ps2XSQaB3fHm9f dtMi9U0rCn4LoyN6yi3IhcgC+T2wbtTX7JrJg= 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=QzfLxXHnOQC3QUAbmdWeVgTG8vUtt7vAr+0wQHE9sds=; b=CA63qlTo7nmpz/yKRqCegl89obghGmxfdUd7Gwxp/lg9fBdqlCTwGUq1r6Of/fEHnK Xx2sd8qK4lgJx0pu2SBzxyfOBBsbdMCse27epYNDTUjc9lC7MlXluvb7qB2AGpGZsOsE Wvnfl8IV5Ur7w6BHQQk6qkkjpQo5PuDh9lqtQ8H8K13iiP3EqdGzRZYwnM+2OVbI+dyN YbwPCE49RgEVFnDynuNoEr5I31L+RoUDz5MraGkb73jbJwiT9onPF7ppLejMkGpKcb4Z o6A1UomwdCj/ytiENmNil6Mzv8O0mhytYaujeDF6l3EapHkLc5RpDyXkIYDl5RJYwd/B w0HQ== X-Gm-Message-State: AHYfb5gxNSCtfo71LwjbIFzu/eX3qZkGYVGYItnGjv/WbHFfZMa9Zz8R ApU6KNmZ1rvpO3lgWVwtyg== X-Received: by 10.46.33.9 with SMTP id h9mr4360525ljh.52.1503223572335; Sun, 20 Aug 2017 03:06:12 -0700 (PDT) Received: from fabina.bredbandsbolaget.se (c-437f71d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.127.67]) by smtp.gmail.com with ESMTPSA id q11sm2127985lfi.24.2017.08.20.03.06.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 20 Aug 2017 03:06:11 -0700 (PDT) From: Linus Walleij To: dri-devel@lists.freedesktop.org, Eric Anholt , Daniel Vetter , Jani Nikula , Sean Paul Subject: [PATCH 3/4 v2] ARM: dts: Add TVE200 to the Gemini SoC DTSI Date: Sun, 20 Aug 2017 12:05:56 +0200 Message-Id: <20170820100557.24991-3-linus.walleij@linaro.org> X-Mailer: git-send-email 2.13.5 In-Reply-To: <20170820100557.24991-1-linus.walleij@linaro.org> References: <20170820100557.24991-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 --- ChangeLog v1->v2: - Move the definition of cells to this file as it is part of the IP binding. - Rename node from "tvc" to "display-controller" 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 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/gemini.dtsi b/arch/arm/boot/dts/gemini.dtsi index c68e8d430234..53baba4d9392 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,20 @@ memcpy-bus-width = <32>; #dma-cells = <2>; }; + + display-controller@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>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; }; };