From patchwork Fri Aug 28 17:52:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 52805 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f71.google.com (mail-la0-f71.google.com [209.85.215.71]) by patches.linaro.org (Postfix) with ESMTPS id 6447922EBF for ; Fri, 28 Aug 2015 17:55:31 +0000 (UTC) Received: by labth1 with SMTP id th1sf20493735lab.2 for ; Fri, 28 Aug 2015 10:55:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=wOG5tQy8oibNE1eyNZx7jxl+7vk0U1HN/ui2OWyBFTE=; b=KdOcRXYi1NYNLlUpJ1U3o39EMlqQsnY9oflBtu2gqtvFgMiofgSXEi+78WJYKEe5dz o2OF6CYj0u8dsdKwJ0KHCaiTsVaq7CVt17VG3brhybHZgt9lTa/YtArXmhL6JMbhRiB6 ctAuWOUMSgzXzipO+VpETcD0PQ4zFUbbngzZ/iX8sPd3kmmsgnHMcOehKmGnj7jB4tVw wGUQRC0abHs68q2UeN/c1MxTJHULOfmB4d8Op6/T+UCGN9dPCyYDDs+xtHbuGxsSdEl0 UBhRls3/9HQ80HYWd7fY1W/1nx3Z4hKVT4PmqRCcYo5PDQ9g35C7EYDqlxrI0QDKLC5w Kuog== X-Gm-Message-State: ALoCoQkufvyVsaYqfqIVbJLLSDpJKpmT6ZjHU2tKknrnphIYYO4NfWEES8NoqCX7D5aXYfVnGp4z X-Received: by 10.152.25.199 with SMTP id e7mr3000744lag.1.1440784530358; Fri, 28 Aug 2015 10:55:30 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.27.65 with SMTP id r1ls248477lag.31.gmail; Fri, 28 Aug 2015 10:55:30 -0700 (PDT) X-Received: by 10.152.7.7 with SMTP id f7mr5340074laa.62.1440784530057; Fri, 28 Aug 2015 10:55:30 -0700 (PDT) Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com. [209.85.217.172]) by mx.google.com with ESMTPS id pp10si6424628lbc.132.2015.08.28.10.55.29 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Aug 2015 10:55:29 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.172 as permitted sender) client-ip=209.85.217.172; Received: by lbbpu9 with SMTP id pu9so34417614lbb.3 for ; Fri, 28 Aug 2015 10:55:29 -0700 (PDT) X-Received: by 10.152.28.193 with SMTP id d1mr5388230lah.72.1440784529758; Fri, 28 Aug 2015 10:55:29 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.151.194 with SMTP id us2csp32542lbb; Fri, 28 Aug 2015 10:55:28 -0700 (PDT) X-Received: by 10.66.217.138 with SMTP id oy10mr17434470pac.83.1440784526839; Fri, 28 Aug 2015 10:55:26 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id dn2si11068518pbb.210.2015.08.28.10.55.25; Fri, 28 Aug 2015 10:55:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753489AbbH1Ryg (ORCPT + 28 others); Fri, 28 Aug 2015 13:54:36 -0400 Received: from mail-wi0-f178.google.com ([209.85.212.178]:37652 "EHLO mail-wi0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753351AbbH1Rw6 (ORCPT ); Fri, 28 Aug 2015 13:52:58 -0400 Received: by wicfv10 with SMTP id fv10so18635906wic.0 for ; Fri, 28 Aug 2015 10:52:57 -0700 (PDT) X-Received: by 10.180.102.42 with SMTP id fl10mr5961760wib.64.1440784377269; Fri, 28 Aug 2015 10:52:57 -0700 (PDT) Received: from localhost.localdomain (cpc14-aztw22-2-0-cust189.18-1.cable.virginm.net. [82.45.1.190]) by smtp.gmail.com with ESMTPSA id d7sm4781243wiz.22.2015.08.28.10.52.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 28 Aug 2015 10:52:56 -0700 (PDT) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, srinivas.kandagatla@gmail.com, maxime.coquelin@st.com, patrice.chotard@st.com, mchehab@osg.samsung.com Cc: peter.griffin@linaro.org, lee.jones@linaro.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, valentinrothberg@gmail.com, hugues.fruchet@st.com Subject: [PATCH v3 2/6] ARM: DT: STi: STiH407: Add c8sectpfe LinuxDVB DT node. Date: Fri, 28 Aug 2015 18:52:38 +0100 Message-Id: <1440784362-31217-3-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1440784362-31217-1-git-send-email-peter.griffin@linaro.org> References: <1440784362-31217-1-git-send-email-peter.griffin@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.griffin@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.172 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This patch adds in the required DT node for the c8sectpfe Linux DVB demux driver which allows the tsin channels to be used on an upstream kernel. Signed-off-by: Peter Griffin Acked-by: Lee Jones --- arch/arm/boot/dts/stihxxx-b2120.dtsi | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/arch/arm/boot/dts/stihxxx-b2120.dtsi b/arch/arm/boot/dts/stihxxx-b2120.dtsi index 62994ae..f9fca10 100644 --- a/arch/arm/boot/dts/stihxxx-b2120.dtsi +++ b/arch/arm/boot/dts/stihxxx-b2120.dtsi @@ -6,6 +6,9 @@ * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ + +#include +#include / { soc { sbc_serial0: serial@9530000 { @@ -85,5 +88,37 @@ status = "okay"; }; + demux@08a20000 { + compatible = "st,stih407-c8sectpfe"; + status = "okay"; + reg = <0x08a20000 0x10000>, + <0x08a00000 0x4000>; + reg-names = "c8sectpfe", "c8sectpfe-ram"; + interrupts = , + ; + interrupt-names = "c8sectpfe-error-irq", + "c8sectpfe-idle-irq"; + pinctrl-0 = <&pinctrl_tsin0_serial>; + pinctrl-1 = <&pinctrl_tsin0_parallel>; + pinctrl-2 = <&pinctrl_tsin3_serial>; + pinctrl-3 = <&pinctrl_tsin4_serial_alt3>; + pinctrl-4 = <&pinctrl_tsin5_serial_alt1>; + pinctrl-names = "tsin0-serial", + "tsin0-parallel", + "tsin3-serial", + "tsin4-serial", + "tsin5-serial"; + clocks = <&clk_s_c0_flexgen CLK_PROC_STFE>; + clock-names = "c8sectpfe"; + + /* tsin0 is TSA on NIMA */ + tsin0: port@0 { + tsin-num = <0>; + serial-not-parallel; + i2c-bus = <&ssc2>; + rst-gpio = <&pio15 4 GPIO_ACTIVE_HIGH>; + dvb-card = ; + }; + }; }; };