From patchwork Wed Jan 4 13:34:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 9497955 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id AB69960237 for ; Wed, 4 Jan 2017 22:24:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8C6D928210 for ; Wed, 4 Jan 2017 22:24:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7EA972832F; Wed, 4 Jan 2017 22:24:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 186C728210 for ; Wed, 4 Jan 2017 22:24:51 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cOty3-0008Qk-1K; Wed, 04 Jan 2017 22:23:35 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cOtl8-0003Q7-49 for linux-arm-kernel@bombadil.infradead.org; Wed, 04 Jan 2017 22:10:14 +0000 Received: from mail-wj0-x22b.google.com ([2a00:1450:400c:c01::22b]) by merlin.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cOlj1-0006IE-HN for linux-arm-kernel@lists.infradead.org; Wed, 04 Jan 2017 13:35:31 +0000 Received: by mail-wj0-x22b.google.com with SMTP id tn15so10662193wjb.1 for ; Wed, 04 Jan 2017 05:35:11 -0800 (PST) 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=nyzi6M5zHvIYaCAc+r8+dFAfPIVCnLJcC9kbDYlO8Fo=; b=HDJUzSItBnq4NkjW8WdAkYgEDob29HlNN79ilzUep5O/QonDiAc2GElPWqhvd/hbhS w7xZKrrHzpC1z0NsM75IfZANRr3DADQt6NC3HIQZDXogBi3FkJ3/7Oy5gI/iRRLPwrwR OzOTlynkTSNLOa4VY4v7rM3eZBfG8tOJj8H3k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=nyzi6M5zHvIYaCAc+r8+dFAfPIVCnLJcC9kbDYlO8Fo=; b=hUOAfvm4reLKtAUxzQzXaUhFI3JxgV0H98xiu0FvkydBq+ZJuZOEeqqK23jx9x+p8B uVDw4h0+3C3KY0D8DELQr/iK9yTTtdRq0XUSExOYqD/STm9jf3QLBQ29Piyk8BifyCOk w5ONlWMyHVXWs+eQF/cCZ3X9PC8N4d2xwQFvicwfZhEwxFr395+Qh3VdPso9fAxfy6hJ FSK6G18hnC4S5XgYKswV5QoUIP0mjZJuTRdHDiQPwJ3v1sggN0sey+jB7kddfimwNBeE KMoPYSi6sSWsmn3yHfjO3k2wt2YW3k81O4NaIJB1tcexW0olRHeN1o4OrlG7uRSNazzz 2Ebg== X-Gm-Message-State: AIkVDXKHvOj5SqChgWzDvr2GI7dtaWXU+wQ/STTDkwilk9bubIRo+aQmMmliZCXrxvR7C8QH X-Received: by 10.194.136.166 with SMTP id qb6mr55278091wjb.42.1483536909438; Wed, 04 Jan 2017 05:35:09 -0800 (PST) Received: from localhost.localdomain (host-2-98-102-117.as13285.net. [2.98.102.117]) by smtp.gmail.com with ESMTPSA id kq6sm64861741wjc.7.2017.01.04.05.35.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 04 Jan 2017 05:35:08 -0800 (PST) From: Srinivas Kandagatla To: Andy Gross Subject: [PATCH 2/6] arm64: dts: apq8016-sbc: add support to hdmi audio via adv7533 Date: Wed, 4 Jan 2017 13:34:58 +0000 Message-Id: <1483536902-21450-3-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1483536902-21450-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1483536902-21450-1-git-send-email-srinivas.kandagatla@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170104_083531_709957_FAEF430F X-CRM114-Status: GOOD ( 12.20 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, David Brown , Rob Herring , Srinivas Kandagatla , linux-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds support to hdmi audio via adv7533. Signed-off-by: Srinivas Kandagatla Tested-by: Archit Taneja --- arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi index 08bd5eb..5ab277f 100644 --- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi @@ -85,6 +85,7 @@ pinctrl-names = "default","sleep"; pinctrl-0 = <&adv7533_int_active &adv7533_switch_active>; pinctrl-1 = <&adv7533_int_suspend &adv7533_switch_suspend>; + #sound-dai-cells = <1>; ports { #address-cells = <1>; @@ -285,6 +286,15 @@ qcom,audio-routing = "AMIC2", "MIC BIAS Internal2", "AMIC3", "MIC BIAS External1"; + external-dai-link@0 { + link-name = "ADV7533"; + cpu { /* QUAT */ + sound-dai = <&lpass MI2S_QUATERNARY>; + }; + codec { + sound-dai = <&adv_bridge 0>; + }; + }; internal-codec-playback-dai-link@0 { /* I2S - Internal codec */ link-name = "WCD";