From patchwork Tue Jun 7 16:19:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 69543 Delivered-To: patch@linaro.org Received: by 10.140.106.246 with SMTP id e109csp2063105qgf; Tue, 7 Jun 2016 09:21:37 -0700 (PDT) X-Received: by 10.98.44.134 with SMTP id s128mr202364pfs.153.1465316497650; Tue, 07 Jun 2016 09:21:37 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id wj5si6999812pab.33.2016.06.07.09.21.31; Tue, 07 Jun 2016 09:21:37 -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; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422650AbcFGQV2 (ORCPT + 31 others); Tue, 7 Jun 2016 12:21:28 -0400 Received: from mail-wm0-f46.google.com ([74.125.82.46]:35699 "EHLO mail-wm0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161673AbcFGQUC (ORCPT ); Tue, 7 Jun 2016 12:20:02 -0400 Received: by mail-wm0-f46.google.com with SMTP id v199so27115842wmv.0 for ; Tue, 07 Jun 2016 09:20:02 -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=75XHOMWiq9k+1LyAAJV9EiPv9LApCmcCw4e2cVWodEw=; b=BZ+xSN56ha+WvFjwWBz6Y4eBv4jU3+ltxZX1HCOL2WDHpzR9+Z5a5j4MFIBC7xxiHF RlbnWe4DQtEFVzdmk+bDkYXBmauHLOdW/fnit5E6/225YLjFkO/LIHCA0sww4pUsjyCa VDwxrOq10soaliEFhpIASdznxxXxRhzxVtV5E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=75XHOMWiq9k+1LyAAJV9EiPv9LApCmcCw4e2cVWodEw=; b=KqXnDZb+txLouUgnhHHiFYU6EUEKGI1zQlAGzJYDQF5X//jtxYPSGU6UDRJ7jrLej6 X9n4nLoTTzUxg7vhMnvkHhUhZc5bG2YzEBSL40ORxIibHNl6ts1QC1402Fw//L2cam0R Z1bvwMN/MtcBS/zZcLJsnrM3reB9Po9UtZ/SAWEmnuUKhRrXfDeL09TFnt16mYkUYSmO 5lwDE21gHBBKbgzWq+HJcLqf95d7Xvt3uU1PesY+acjaS+wASxPL9szwhNb9yHQ89Yj3 wiM2EbSb2BswBU/09krgn1SdJatVoTjU5TV9Enn/EgDasewd8/hqRBVLtzAwpZ5OrZ8H KvnQ== X-Gm-Message-State: ALyK8tJ847SY1/C3zY80znomKsBywHqrxJqzhqnEp1SgXGJzcGqXiibH76oZtu0a5ve14nAp X-Received: by 10.194.90.112 with SMTP id bv16mr244103wjb.126.1465316401160; Tue, 07 Jun 2016 09:20:01 -0700 (PDT) Received: from localhost.localdomain (cpc84731-aztw28-2-0-cust112.18-1.cable.virginm.net. [82.37.67.113]) by smtp.gmail.com with ESMTPSA id xw8sm13839790wjb.30.2016.06.07.09.19.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 07 Jun 2016 09:20:00 -0700 (PDT) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@stlinux.com, maxime.coquelin@st.com, patrice.chotard@st.com, srinivas.kandagatla@gmail.com, vinod.koul@intel.com, bjorn.andersson@linaro.org, arnaud.pouliquen@st.com, arnd@arndb.de Cc: peter.griffin@linaro.org, lee.jones@linaro.org, dmaengine@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v5 16/18] ARM: STi: DT: STiH407: Add uniperif player dt nodes Date: Tue, 7 Jun 2016 17:19:10 +0100 Message-Id: <1465316352-20691-17-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1465316352-20691-1-git-send-email-peter.griffin@linaro.org> References: <1465316352-20691-1-git-send-email-peter.griffin@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds the DT nodes for the uniperif player IP blocks found on STiH407 family silicon. Signed-off-by: Arnaud Pouliquen Signed-off-by: Peter Griffin --- arch/arm/boot/dts/stih407-family.dtsi | 76 +++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) -- 1.9.1 diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index 3d74bc2..850b180 100644 --- a/arch/arm/boot/dts/stih407-family.dtsi +++ b/arch/arm/boot/dts/stih407-family.dtsi @@ -881,5 +881,81 @@ status = "disabled"; st,syscfg = <&syscfg_core>; }; + + sti_uni_player0: sti-uni-player@0 { + compatible = "st,sti-uni-player"; + status = "disabled"; + #sound-dai-cells = <0>; + st,syscfg = <&syscfg_core>; + clocks = <&clk_s_d0_flexgen CLK_PCM_0>; + assigned-clocks = <&clk_s_d0_quadfs 0>, <&clk_s_d0_flexgen CLK_PCM_0>; + assigned-clock-parents = <0>, <&clk_s_d0_quadfs 0>; + assigned-clock-rates = <50000000>; + reg = <0x8D80000 0x158>; + interrupts = ; + dmas = <&fdma0 2 0 1>; + dai-name = "Uni Player #0 (HDMI)"; + dma-names = "tx"; + st,uniperiph-id = <0>; + st,version = <5>; + st,mode = "HDMI"; + }; + + sti_uni_player1: sti-uni-player@1 { + compatible = "st,sti-uni-player"; + status = "disabled"; + #sound-dai-cells = <0>; + st,syscfg = <&syscfg_core>; + clocks = <&clk_s_d0_flexgen CLK_PCM_1>; + assigned-clocks = <&clk_s_d0_quadfs 1>, <&clk_s_d0_flexgen CLK_PCM_1>; + assigned-clock-parents = <0>, <&clk_s_d0_quadfs 1>; + assigned-clock-rates = <50000000>; + reg = <0x8D81000 0x158>; + interrupts = ; + dmas = <&fdma0 3 0 1>; + dai-name = "Uni Player #1 (PIO)"; + dma-names = "tx"; + st,uniperiph-id = <1>; + st,version = <5>; + st,mode = "PCM"; + }; + + sti_uni_player2: sti-uni-player@2 { + compatible = "st,sti-uni-player"; + status = "disabled"; + #sound-dai-cells = <0>; + st,syscfg = <&syscfg_core>; + clocks = <&clk_s_d0_flexgen CLK_PCM_2>; + assigned-clocks = <&clk_s_d0_quadfs 2>, <&clk_s_d0_flexgen CLK_PCM_2>; + assigned-clock-parents = <0>, <&clk_s_d0_quadfs 2>; + assigned-clock-rates = <50000000>; + reg = <0x8D82000 0x158>; + interrupts = ; + dmas = <&fdma0 4 0 1>; + dai-name = "Uni Player #1 (DAC)"; + dma-names = "tx"; + st,uniperiph-id = <2>; + st,version = <5>; + st,mode = "PCM"; + }; + + sti_uni_player3: sti-uni-player@3 { + compatible = "st,sti-uni-player"; + status = "disabled"; + #sound-dai-cells = <0>; + st,syscfg = <&syscfg_core>; + clocks = <&clk_s_d0_flexgen CLK_SPDIFF>; + assigned-clocks = <&clk_s_d0_quadfs 3>, <&clk_s_d0_flexgen CLK_SPDIFF>; + assigned-clock-parents = <0>, <&clk_s_d0_quadfs 3>; + assigned-clock-rates = <50000000>; + reg = <0x8D85000 0x158>; + interrupts = ; + dmas = <&fdma0 7 0 1>; + dma-names = "tx"; + dai-name = "Uni Player #1 (PIO)"; + st,uniperiph-id = <3>; + st,version = <5>; + st,mode = "SPDIF"; + }; }; };