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: 9911047 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 40185602A0 for ; Sun, 20 Aug 2017 10:06:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3226728720 for ; Sun, 20 Aug 2017 10:06:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 271B428727; Sun, 20 Aug 2017 10:06:18 +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 D6B9A28720 for ; Sun, 20 Aug 2017 10:06:17 +0000 (UTC) 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" 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 --- 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"; + }; }; };