From patchwork Thu Jul 30 17:08:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 51705 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by patches.linaro.org (Postfix) with ESMTPS id 701E922DB5 for ; Thu, 30 Jul 2015 17:09:28 +0000 (UTC) Received: by lbcjf8 with SMTP id jf8sf16297245lbc.0 for ; Thu, 30 Jul 2015 10:09:27 -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=OncRMm1qN+CR0klGdm/8JG2DzkQ2UGjYiaosvtanvdM=; b=KSmWuzzZ/VhMtd62KNEBZ9ic9/zslTE4jiXqpErDmZud933LeoT/BBwV1vZUPYqiRm +nqrxxQLESxkkTkKGel0Mabtg56ev6k/W+5d3lMlDIOCVKmtCFbFZpDOCUgoAM4nZzWM QnnN3vxhDckQ9vXaiEQcIJ/KefVr4XZLfLu6qTei2EDiEiBRRAUo/0/dBdUBxfjuvCQB koPPDAhr7aj38jg7sVmnhb+p0zWSdDfWu+PRFfp0w1qx2K5fZ9UYN05rWym2Drb+LFhn Kr3u/hifYZKS6Y7PBmZ9lW0uKjmVe8LAtT/iRjN5ZA0g6PtHwyvy9FEb21ru8Wl9rRAV KVAQ== X-Gm-Message-State: ALoCoQmQSF548YVvL8GQNkec3F1F0SI5yKiNbY3ZVbOGDpDBqglSkDtEoKSfW/bZyoFDkg4ltG5f X-Received: by 10.112.51.177 with SMTP id l17mr18181344lbo.1.1438276167362; Thu, 30 Jul 2015 10:09:27 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.27.65 with SMTP id r1ls219717lag.61.gmail; Thu, 30 Jul 2015 10:09:27 -0700 (PDT) X-Received: by 10.112.180.201 with SMTP id dq9mr46608974lbc.78.1438276167176; Thu, 30 Jul 2015 10:09:27 -0700 (PDT) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com. [209.85.217.174]) by mx.google.com with ESMTPS id lh6si1316367lbc.49.2015.07.30.10.09.27 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Jul 2015 10:09:27 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) client-ip=209.85.217.174; Received: by lblf12 with SMTP id f12so31365458lbl.2 for ; Thu, 30 Jul 2015 10:09:27 -0700 (PDT) X-Received: by 10.112.209.106 with SMTP id ml10mr44659588lbc.112.1438276166930; Thu, 30 Jul 2015 10:09:26 -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.7.198 with SMTP id l6csp743219lba; Thu, 30 Jul 2015 10:09:25 -0700 (PDT) X-Received: by 10.50.221.107 with SMTP id qd11mr6966794igc.13.1438276165250; Thu, 30 Jul 2015 10:09:25 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q2si3702497pap.44.2015.07.30.10.09.24; Thu, 30 Jul 2015 10:09:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 S1754929AbbG3RJS (ORCPT + 8 others); Thu, 30 Jul 2015 13:09:18 -0400 Received: from mail-wi0-f181.google.com ([209.85.212.181]:32850 "EHLO mail-wi0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754921AbbG3RJR (ORCPT ); Thu, 30 Jul 2015 13:09:17 -0400 Received: by wicmv11 with SMTP id mv11so29059038wic.0 for ; Thu, 30 Jul 2015 10:09:16 -0700 (PDT) X-Received: by 10.180.85.194 with SMTP id j2mr8210795wiz.11.1438276155984; Thu, 30 Jul 2015 10:09:15 -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 lm16sm82853wic.18.2015.07.30.10.09.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 30 Jul 2015 10:09:15 -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, m.krufky@samsung.com Cc: peter.griffin@linaro.org, lee.jones@linaro.org, hugues.fruchet@st.com, linux-media@vger.kernel.org, devicetree@vger.kernel.org, joe@perches.com Subject: [PATCH v2 05/11] ARM: DT: STi: STiH407: Add c8sectpfe LinuxDVB DT node. Date: Thu, 30 Jul 2015 18:08:55 +0100 Message-Id: <1438276141-16902-6-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1438276141-16902-1-git-send-email-peter.griffin@linaro.org> References: <1438276141-16902-1-git-send-email-peter.griffin@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@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.174 as permitted sender) smtp.mail=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 --- arch/arm/boot/dts/stihxxx-b2120.dtsi | 38 ++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/arch/arm/boot/dts/stihxxx-b2120.dtsi b/arch/arm/boot/dts/stihxxx-b2120.dtsi index 62994ae..1bc018e 100644 --- a/arch/arm/boot/dts/stihxxx-b2120.dtsi +++ b/arch/arm/boot/dts/stihxxx-b2120.dtsi @@ -6,6 +6,10 @@ * 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 +89,39 @@ status = "okay"; }; + c8sectpfe@08a20000 { + compatible = "st,stih407-c8sectpfe"; + status = "okay"; + reg = <0x08a20000 0x10000>, <0x08a00000 0x4000>; + reg-names = "c8sectpfe", "c8sectpfe-ram"; + + interrupts = <0 34 0>, <0 35 0>; + interrupt-names = "c8sectpfe-error-irq", + "c8sectpfe-idle-irq"; + + pinctrl-names = "tsin0-serial", "tsin0-parallel", + "tsin3-serial", "tsin4-serial", + "tsin5-serial"; + + 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>; + + 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 0>; + + dvb-card = ; + }; + }; }; };