From patchwork Fri Jan 19 09:25:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Katsuhiro Suzuki X-Patchwork-Id: 125133 Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp206109ljf; Fri, 19 Jan 2018 01:27:14 -0800 (PST) X-Google-Smtp-Source: ACJfBot7NrEozAHz97xG2LJIFF1ixoDc/ZLGQuSkWYEoKdldEIh6Bo6pbwN1Lx8XKoohnDOQFvBd X-Received: by 10.99.56.85 with SMTP id h21mr12505324pgn.402.1516354034234; Fri, 19 Jan 2018 01:27:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516354034; cv=none; d=google.com; s=arc-20160816; b=Ht5Wjj9ZIbffXBIvkCksP8c6ZBG4qY87G8IY7WoFkRgIfcwo+YZDTKXNvVNo1QxFfS eh8TADFst7wosVZ83xCHHl/pPhq++nfa7icQzD7IU+egfuMkhueWV2bAk8ygMRgwNtCA OhSz58ttbZu2xL3DmXCkE/D03hvZgkTEqFfMjhdFDg09UEZTsdambjJEiDl05wUulERa wMqF0SvwZtBfgmiPiMAK7dewLA0mvk4s+FRTlEbXOCFqU50Q0RfFWQzKlmWpn8mPrbHN kk3IG1aV3eXiUgVTAwzh9NFcxsdM8DPmog7HxOWaZpcTYLg1ybGogZcJl5z60yoqxzDa Jmbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=EZi3KipA+WVH4npSHAWhaKPqjdRHpXhNQcJzTPJSQqQ=; b=jz0sLMt/8Mt50Fo2gyt6tj2TTfJC086rZcxaEixq4xTmccr1X3YOe9Ad1tdVzSlbRu vZWd8Gpfr0sCHub65TOm1+UvGBJ/VETOAvQjyw86ea3JH9Q/m78OVKwzaXEe1t2j9VER WO3ec84SbED+fjnW1u0s0plmQbkiQrhd0cjvDX8N+hO3d7As+H7BOI9vmM2L64/JJ19g 8MM9H+jJNWHrwbKGcDCdYp4XRtplkVBWcOQGoddkNqS4b1A6vaD9doXF3lE2Nm8Lng3x ev7ECaxJM4s/oiO9FF0tHzKcjuvzBDLv0ngf6x5/Q7RSjmKjT/Q2NEaoPKrL16h58dlh Msow== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u1si3487689pge.278.2018.01.19.01.27.14; Fri, 19 Jan 2018 01:27:14 -0800 (PST) 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; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755685AbeASJ1M (ORCPT + 6 others); Fri, 19 Jan 2018 04:27:12 -0500 Received: from mx.socionext.com ([202.248.49.38]:5592 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755400AbeASJZu (ORCPT ); Fri, 19 Jan 2018 04:25:50 -0500 Received: from unknown (HELO iyokan-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 19 Jan 2018 18:25:34 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by iyokan-ex.css.socionext.com (Postfix) with ESMTP id 77974600BE; Fri, 19 Jan 2018 18:25:34 +0900 (JST) Received: from 172.31.9.53 (172.31.9.53) by m-FILTER with ESMTP; Fri, 19 Jan 2018 18:25:40 +0900 Received: from yuzu.css.socionext.com (yuzu [172.31.8.45]) by iyokan.css.socionext.com (Postfix) with ESMTP id 2C128403A6; Fri, 19 Jan 2018 18:25:34 +0900 (JST) Received: from aegis.e01.socionext.com (unknown [10.213.134.210]) by yuzu.css.socionext.com (Postfix) with ESMTP id F09221209D6; Fri, 19 Jan 2018 18:25:33 +0900 (JST) From: Katsuhiro Suzuki To: Mark Brown , alsa-devel@alsa-project.org, Rob Herring , devicetree@vger.kernel.org, Masahiro Yamada Cc: Masami Hiramatsu , Jassi Brar , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Katsuhiro Suzuki Subject: [PATCH v2 8/9] arm64: dts: uniphier: add speaker out for UniPhier LD11/LD20 boards Date: Fri, 19 Jan 2018 18:25:35 +0900 Message-Id: <20180119092536.22501-9-suzuki.katsuhiro@socionext.com> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20180119092536.22501-1-suzuki.katsuhiro@socionext.com> References: <20180119092536.22501-1-suzuki.katsuhiro@socionext.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This patch adds codec node for TI TAS571x on UniPhier LD11/20 global boards. And adds settings of AIO for speaker out. Signed-off-by: Katsuhiro Suzuki --- .../boot/dts/socionext/uniphier-ld11-global.dts | 20 ++++++++++++++++++++ .../boot/dts/socionext/uniphier-ld20-global.dts | 20 ++++++++++++++++++++ 2 files changed, 40 insertions(+) -- 2.15.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts b/arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts index 4eb8d00a8c02..ca09251a3eab 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts +++ b/arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts @@ -10,6 +10,7 @@ /dts-v1/; #include "uniphier-ld11.dtsi" +#include "dt-bindings/gpio/uniphier-gpio.h" / { model = "UniPhier LD11 Global Board (REF_LD11_GP)"; @@ -45,6 +46,7 @@ widgets = "Headphone", "Headphone Jack"; dais = <&i2s_port2 + &i2s_port3 &i2s_port4 &spdif_port0>; }; @@ -73,6 +75,20 @@ &i2c0 { status = "okay"; + tas5707a@1d { + compatible = "ti,tas5711"; + reg = <0x1d>; + reset-gpios = <&gpio UNIPHIER_GPIO_PORT(23, 4) GPIO_ACTIVE_LOW>; + pdn-gpios = <&gpio UNIPHIER_GPIO_PORT(23, 5) GPIO_ACTIVE_LOW>; + #sound-dai-cells = <0>; + + port@0 { + tas_speaker: endpoint { + remote-endpoint = <&i2s_hpcmout1>; + }; + }; + }; + eeprom@50 { compatible = "st,24c64", "atmel,24c64"; reg = <0x50>; @@ -109,17 +125,21 @@ i2s_port2: port@2 { i2s_line: endpoint { + dai-format = "i2s"; remote-endpoint = <&evea_line>; }; }; i2s_port3: port@3 { i2s_hpcmout1: endpoint { + dai-format = "i2s"; + remote-endpoint = <&tas_speaker>; }; }; i2s_port4: port@4 { i2s_pcmout3: endpoint { + dai-format = "i2s"; remote-endpoint = <&evea_hp>; }; }; diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts b/arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts index ebcd65631bca..0728832ce552 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts +++ b/arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts @@ -10,6 +10,7 @@ /dts-v1/; #include "uniphier-ld20.dtsi" +#include "dt-bindings/gpio/uniphier-gpio.h" / { model = "UniPhier LD20 Global Board (REF_LD20_GP)"; @@ -45,6 +46,7 @@ widgets = "Headphone", "Headphone Jack"; dais = <&i2s_port2 + &i2s_port3 &i2s_port4 &spdif_port0>; }; @@ -72,6 +74,20 @@ &i2c0 { status = "okay"; + + tas5707@1b { + compatible = "ti,tas5711"; + reg = <0x1b>; + reset-gpios = <&gpio UNIPHIER_GPIO_PORT(0, 0) GPIO_ACTIVE_LOW>; + pdn-gpios = <&gpio UNIPHIER_GPIO_PORT(0, 1) GPIO_ACTIVE_LOW>; + #sound-dai-cells = <0>; + + port@0 { + tas_speaker: endpoint { + remote-endpoint = <&i2s_hpcmout1>; + }; + }; + }; }; &nand { @@ -91,17 +107,21 @@ i2s_port2: port@2 { i2s_line: endpoint { + dai-format = "i2s"; remote-endpoint = <&evea_line>; }; }; i2s_port3: port@3 { i2s_hpcmout1: endpoint { + dai-format = "i2s"; + remote-endpoint = <&tas_speaker>; }; }; i2s_port4: port@4 { i2s_pcmout3: endpoint { + dai-format = "i2s"; remote-endpoint = <&evea_hp>; }; };