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: 8186731 Return-Path: X-Original-To: patchwork-alsa-devel@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 451F99F4DD for ; Tue, 2 Feb 2016 03:45:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 804D92026C for ; Tue, 2 Feb 2016 03:45:48 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 5447E20166 for ; Tue, 2 Feb 2016 03:45:47 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 01CE026527E; Tue, 2 Feb 2016 04:45:40 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 063162650E7; Tue, 2 Feb 2016 04:45:33 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 095CB2650E7; Tue, 2 Feb 2016 04:45:31 +0100 (CET) Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by alsa0.perex.cz (Postfix) with ESMTP id A5A5F2614D4 for ; Tue, 2 Feb 2016 04:45:24 +0100 (CET) Received: by mail-pf0-f194.google.com with SMTP id 65so8329804pfd.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=O8Xvu80yR3pR9/yyHYjMQKHgPVnKSxkF4xRHYCyiFGJp0PdZ6wpKzqu66/Q/0mt53T fa3c/Qd0tOi9k2vZlNK8ySfrK37y4h9VUCvaOhg47oPijVJ6dgQiXVAjzMdr7nhaZsXf VQPrJvI4K5sG73VDRaRuRFTyR7WPWee0XUel0zLtUPJomCc4wPYOnTJWKkEKjLEGEdu6 UeIL8S/7YsJ98kILKWSD2aq97ZxHtp/wVRLkCOaqNOWa4oPkslVW5JSe64qeKpW2vZ2h whjazHJlLPS4EiYQRZ3TwsoiPKkg0TpbRUXicd46yvLTgLBDJwKcBvh1cyHQ3qXekmBa TqVQ== X-Gm-Message-State: AG10YORyQlEmxbgIW73a2GGQW1VQMP8Ga3x6bzU4T7NlCoCsvD8KTavo+Q1QI1HHdsOJtg== 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 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> 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 Subject: [alsa-devel] [PATCH v5 5/8] ASoC: rt5616: add mclk property for rt5616 document X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.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