From patchwork Wed Jun 24 15:11:04 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 50282 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f69.google.com (mail-wg0-f69.google.com [74.125.82.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2EB8D228FC for ; Wed, 24 Jun 2015 15:14:47 +0000 (UTC) Received: by wgbhy7 with SMTP id hy7sf11900681wgb.3 for ; Wed, 24 Jun 2015 08:14:46 -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=yV1ln7eFk+NBrYf05KulWP4nnkeQE+mje6R2d4wPxxw=; b=mLPnA4P3vn6IFlk09UTqRbV5zna3MoJrMBotFoZw0Z7wvLIn1PyU3lTrqWqLV7oqwe 7sfeML2GC7rVlZeEMlc6PnUS5xW7OXwSZypEOnXTtZO4nzuKt1bVp3tyC7W4oL1ZArWy /6/sf2JgbBY7/1zpx8pwGxzQQaMXvlpb3vxDWjOPDEQZd14HS0rCTmBJ6m6tOPB48cqc 0N2sWVSCYuWcPlj/xXdENV6ZIXAS3Ko8bNMfGuep2q6hegZFNgrrlLDR2mPECWGfkaDo /jyGMFMwvgV3yDqmt8alY0IGOES7b1dOsdIuXGD56VaqzGj3vhivxtn2t+CD8GHiKpod giig== X-Gm-Message-State: ALoCoQkzs/nRIB1822plY2NvXVaklVPF+NJjPNlMtWD+hjjl50e29liLDLbi684Rgk//jz4JlL6V X-Received: by 10.112.40.45 with SMTP id u13mr36274674lbk.0.1435158886479; Wed, 24 Jun 2015 08:14:46 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.120.40 with SMTP id kz8ls226077lab.24.gmail; Wed, 24 Jun 2015 08:14:46 -0700 (PDT) X-Received: by 10.152.23.234 with SMTP id p10mr40499594laf.52.1435158886308; Wed, 24 Jun 2015 08:14:46 -0700 (PDT) Received: from mail-la0-f48.google.com (mail-la0-f48.google.com. [209.85.215.48]) by mx.google.com with ESMTPS id lp10si22268683lbb.1.2015.06.24.08.14.46 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Jun 2015 08:14:46 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.48 as permitted sender) client-ip=209.85.215.48; Received: by laka10 with SMTP id a10so28087693lak.0 for ; Wed, 24 Jun 2015 08:14:46 -0700 (PDT) X-Received: by 10.112.219.70 with SMTP id pm6mr39691378lbc.41.1435158886019; Wed, 24 Jun 2015 08:14:46 -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.108.230 with SMTP id hn6csp3858126lbb; Wed, 24 Jun 2015 08:14:44 -0700 (PDT) X-Received: by 10.66.66.130 with SMTP id f2mr10610315pat.120.1435158884185; Wed, 24 Jun 2015 08:14:44 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w10si14735614pas.189.2015.06.24.08.14.19; Wed, 24 Jun 2015 08:14:44 -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 S1753874AbbFXPMo (ORCPT + 30 others); Wed, 24 Jun 2015 11:12:44 -0400 Received: from mail-wg0-f54.google.com ([74.125.82.54]:33608 "EHLO mail-wg0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753587AbbFXPLk (ORCPT ); Wed, 24 Jun 2015 11:11:40 -0400 Received: by wgck11 with SMTP id k11so39122929wgc.0 for ; Wed, 24 Jun 2015 08:11:39 -0700 (PDT) X-Received: by 10.180.107.70 with SMTP id ha6mr5780971wib.20.1435158699290; Wed, 24 Jun 2015 08:11:39 -0700 (PDT) Received: from localhost.localdomain (cpc14-aztw22-2-0-cust189.18-1.cable.virginm.net. [82.45.1.190]) by mx.google.com with ESMTPSA id ju2sm3018019wid.12.2015.06.24.08.11.37 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 24 Jun 2015 08:11:38 -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, hugues.fruchet@st.com, linux-media@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 06/12] ARM: DT: STi: STiH407: Add c8sectpfe LinuxDVB DT node. Date: Wed, 24 Jun 2015 16:11:04 +0100 Message-Id: <1435158670-7195-7-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1435158670-7195-1-git-send-email-peter.griffin@linaro.org> References: <1435158670-7195-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.215.48 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 | 50 ++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/arch/arm/boot/dts/stihxxx-b2120.dtsi b/arch/arm/boot/dts/stihxxx-b2120.dtsi index 1f27589..ece2ede 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 { @@ -72,5 +76,51 @@ st,osc-force-ext; }; }; + + 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 = ; + }; + + /* tsin3 is TSB on NIMB */ + tsin3: port@3 { + + tsin-num = <3>; + serial-not-parallel; + i2c-bus = <&ssc3>; + rst-gpio = <&pio15 7 0>; + + dvb-card = ; + }; + }; }; };