From patchwork Wed Aug 9 12:19:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeffy Chen X-Patchwork-Id: 9890585 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 37DC2601EB for ; Wed, 9 Aug 2017 12:27:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 273082882A for ; Wed, 9 Aug 2017 12:27:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1C03F28A6F; Wed, 9 Aug 2017 12:27:10 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C56172882A for ; Wed, 9 Aug 2017 12:27:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=F4Cw2ygcO1gWpB+d4MiAEq+mXEhooZiyJebAhRljR5E=; b=q/u/WUXluF7udsenDD6xs+tRYJ DzSdRCwWfJA489zHNm6Xjy0bAd16VtbkuCDGS+ZuCuHUUqoY9DjJO6dE8jOkf1p4K+WYu59Sq1veM O+I0JwoQJUWMkGWEoNcUtigmGLcbZGEuhrH1IBx4Dr1fact24lQejEvplh4sX7lzavzK14hLfZvAP 3R9J4qCbTy06Hfja6qzAtneNVnQJWdEKUXjGvbx+XXVdeYhLD0L26bokXAKheAWVusjx1IrPocuEo +yYUSlkzOz63hzBs0BB9QWzS+eJMDk24MEo+5XqQ63y8zGDTt7ngG+jXkjeF6XsIgJ82x3LeeRnGT gc3aWL9A==; 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 1dfQ4n-00064i-Kp; Wed, 09 Aug 2017 12:27:05 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dfPz7-000872-Jf; Wed, 09 Aug 2017 12:21:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=2hv2GPx6ryFPbaBTCKXC87IPmWnmEgukEeV47qmKxkg=; b=emjjddUJ94YDtbfmbLGe2xoWT ksfFzMR0oCisRTdiTxRAlk/tEcX+NlfpTI0oNjBtmS901IfwORqS5jEYfuEZK8RpXi0FOpjj5GrzY xfTwD5nvb+cW+ModX6MT16tL1oqEsi6XEHjPWhTsLJlTnNNiFNMinf4rcRev7tuyimK997rSH3K9C 7Xo9uRyLQMk/0jwJwZ5kwmYV2XT98WN36JPC8z/pBQrr3R7Yh33vymLVYK2aGgQr3rcKrXnGcCCA/ JCoXL7W0J96fsKkeeV7TqFvxnyWcAx0MVcxrXINBPmKcYQB9txaXyNFVIop7B0OiV8jWMyFGA0lW9 SW5R7yvCg==; Received: from regular1.263xmail.com ([211.150.99.133]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dfPyr-0001rI-Rj; Wed, 09 Aug 2017 12:21:01 +0000 Received: from jeffy.chen?rock-chips.com (unknown [192.168.167.84]) by regular1.263xmail.com (Postfix) with ESMTP id 9E8B58F5A; Wed, 9 Aug 2017 20:20:25 +0800 (CST) X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 Received: from localhost (localhost [127.0.0.1]) by smtp.263.net (Postfix) with ESMTPA id D14AC348; Wed, 9 Aug 2017 20:20:19 +0800 (CST) X-RL-SENDER: jeffy.chen@rock-chips.com X-FST-TO: linux-kernel@vger.kernel.org X-SENDER-IP: 103.29.142.67 X-LOGIN-NAME: jeffy.chen@rock-chips.com X-UNIQUE-TAG: <1fa93b309c6883ab9e6f0e74d8890315> X-ATTACHMENT-NUM: 0 X-SENDER: cjf@rock-chips.com X-DNS-TYPE: 0 Received: from localhost (unknown [103.29.142.67]) by smtp.263.net (Postfix) whith ESMTP id 10901N6RY41; Wed, 09 Aug 2017 20:20:27 +0800 (CST) From: Jeffy Chen To: linux-kernel@vger.kernel.org, dgreid@chromium.org, heiko@sntech.de Subject: [PATCH 3/3] dt-bindings: ASoC: rockchip: Add rockchip, codec-names property Date: Wed, 9 Aug 2017 20:19:39 +0800 Message-Id: <1502281179-15916-4-git-send-email-jeffy.chen@rock-chips.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1502281179-15916-1-git-send-email-jeffy.chen@rock-chips.com> References: <1502281179-15916-1-git-send-email-jeffy.chen@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170809_132058_811714_248FD7B4 X-CRM114-Status: UNSURE ( 8.36 ) X-CRM114-Notice: Please train this message. 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, alsa-devel@alsa-project.org, briannorris@chromium.org, Jeffy Chen , dianders@chromium.org, Rob Herring , Liam Girdwood , linux-rockchip@lists.infradead.org, Mark Brown , 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 Add a new rockchip,codec-names property, so that the driver can parse the codecs by name. Signed-off-by: Jeffy Chen --- Documentation/devicetree/bindings/sound/rockchip,rk3399-gru-sound.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/rockchip,rk3399-gru-sound.txt b/Documentation/devicetree/bindings/sound/rockchip,rk3399-gru-sound.txt index eac91db..aa951a7 100644 --- a/Documentation/devicetree/bindings/sound/rockchip,rk3399-gru-sound.txt +++ b/Documentation/devicetree/bindings/sound/rockchip,rk3399-gru-sound.txt @@ -11,6 +11,7 @@ Optional properties: If this option is specified, which means it's required dmic need delay for DMIC to ready so that rt5514 can avoid recording before DMIC send valid data +- rockchip,codec-names: The names of the MAX98357A/RT5514/DA7219 codecs Example: @@ -18,5 +19,6 @@ sound { compatible = "rockchip,rk3399-gru-sound"; rockchip,cpu = <&i2s0>; rockchip,codec = <&max98357a &rt5514 &da7219>; + rockchip,codec-names = "MAX98357A", "RT5514", "DA7219"; dmic-wakeup-delay-ms = <20>; };