From patchwork Tue Feb 2 03:44:38 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caesar Wang X-Patchwork-Id: 8186741 Return-Path: X-Original-To: patchwork-linux-rockchip@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4107F9F4DD for ; Tue, 2 Feb 2016 03:45:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7C40F20256 for ; Tue, 2 Feb 2016 03:45:51 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AED1220166 for ; Tue, 2 Feb 2016 03:45:50 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aQRuV-0006C5-14; Tue, 02 Feb 2016 03:45:47 +0000 Received: from mail-pf0-f194.google.com ([209.85.192.194]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aQRuS-00062L-CE for linux-rockchip@lists.infradead.org; Tue, 02 Feb 2016 03:45:45 +0000 Received: by mail-pf0-f194.google.com with SMTP id 65so8329805pfd.1 for ; Mon, 01 Feb 2016 19:45:24 -0800 (PST) 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=AjtxFAZ/UiENxHitWP/eW4y9D1J/hppdzftqI/7J7bU=; b=RRC1nNosrgk2+zNkcei/guwXm8F7VKIhdBBvm6HThqsPjjINo5Gi5A8BpH2vTSrEud GSXZxYE3kpaYikUrCbYsFCaDh3jQwmjsT9/ybyxfqZOcW2Xg63dD0aL7196AYCnzHfcD Wwuv+15z5/LtOe0a27kHm3OqLJUF33pS+GKqzsMM6tqyfTWevebWipGCE0hXT91iEsWt w4v32SCLULXCSnpU7d9X6Zsgrb62CJNlDeq6fvDzNj8GyOmDaOVy8Wd7fgh4la6X0JDc q083UfJrn4T1+dCS1c490hK2MJVJe9rxjn51gwP4RJB/ArR2J/c/2cQBQNF2reRJ4EV6 Immw== X-Gm-Message-State: AG10YORPniUQMnd+FcBhwVu/GhyyGyZumbIxDddzLKFrR9B81UEkg7qfjL2DrHJEySsDaQ== X-Received: by 10.98.2.150 with SMTP id 144mr43989516pfc.11.1454384723957; Mon, 01 Feb 2016 19:45:23 -0800 (PST) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id 85sm32510204pfl.18.2016.02.01.19.45.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 01 Feb 2016 19:45:22 -0800 (PST) From: Caesar Wang To: broonie@kernel.org, bardliao@realtek.com Subject: [PATCH v5 5/8] ASoC: rt5616: add mclk property for rt5616 document Date: Tue, 2 Feb 2016 11:44:38 +0800 Message-Id: <1454384680-7197-1-git-send-email-wxt@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1454384032-6794-1-git-send-email-wxt@rock-chips.com> References: <1454384032-6794-1-git-send-email-wxt@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160201_194544_468094_032F2707 X-CRM114-Status: UNSURE ( 9.14 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: oder_chiou@realtek.com, devicetree@vger.kernel.org, alsa-devel@alsa-project.org, heiko@sntech.de, jeffy.chen@rock-chips.com, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, robh+dt@kernel.org, keescook@google.com, leozwang@google.com, Caesar Wang MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds the mclk property for the CODEC driver, since sometimes the CODEC driver needs the clock enabled. The system clock of ALC5616 can be selected from MCLK, That also makes the codec the master clock provider. Signed-off-by: Caesar Wang Acked-by: Rob Herring Cc: alsa-devel@alsa-project.org Cc: Mark Brown Cc: Bard Liao --- Changes in v5: - Fix the wrong word, as the Rob comments on https://patchwork.kernel.org/patch/8147731/. - Cc the related alsa experts. Changes in v4: - Add this patch included in kylin series patches. Documentation/devicetree/bindings/sound/rt5616.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/rt5616.txt b/Documentation/devicetree/bindings/sound/rt5616.txt index efc48c6..e410858 100644 --- a/Documentation/devicetree/bindings/sound/rt5616.txt +++ b/Documentation/devicetree/bindings/sound/rt5616.txt @@ -8,6 +8,12 @@ Required properties: - reg : The I2C address of the device. +Optional properties: + +- clocks: The phandle of the master clock to the CODEC. + +- clock-names: Should be "mclk". + Pins on the device (for linking into audio routes) for RT5616: * IN1P