From patchwork Sun Jan 31 09:10:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caesar Wang X-Patchwork-Id: 8173191 Return-Path: X-Original-To: patchwork-linux-rockchip@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 86FDCBEEE5 for ; Sun, 31 Jan 2016 09:11:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A383020221 for ; Sun, 31 Jan 2016 09:11:44 +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 865E22034A for ; Sun, 31 Jan 2016 09:11:43 +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 1aPo2p-0000Lo-6O; Sun, 31 Jan 2016 09:11:43 +0000 Received: from mail-pf0-f193.google.com ([209.85.192.193]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aPo2n-0000CV-1y for linux-rockchip@lists.infradead.org; Sun, 31 Jan 2016 09:11:41 +0000 Received: by mail-pf0-f193.google.com with SMTP id n128so6018374pfn.3 for ; Sun, 31 Jan 2016 01:11:20 -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=9Y0PiVAtrb6uolmlRQrOmAwLpE5lds1KUKxWnML5yFA=; b=gMQl6t4udtYIpOhiSdxG6IGwKvNc2IAdrWm7iSpp5/1KWawOqJ8lIvqUkGBd22TwxM unw8hXpgIh9LccBZXazWJO3STXWfr7+Z7r5SrE2AXm4fjFjmsvx8MVLqWqAsDx3qPa16 8v9hl8KjXB2uUhx6vqLMzx64CZZcHOivWYayVFEudrW2GuzvJinTNZtApOjE1wr6LQyt 2Wm1HEwPNMQSfkejQ+WM4BeL9sgls/0ESOzBZ6gNFRvy7tJd4AThD5A3JZ6ER1M4hv6E p2Xzr93nFGlliJh5gdrMYU/xym6+z9RY9AML3yHF8BTaFQolTp3rGBqoq77QWj+Fbvpz 8vVA== X-Gm-Message-State: AG10YOR9GgFxYDDa2Bey2EBscli9/OB2ziL4OXQbfIR7puxijSsKB95UQYxl8ZaSFAWDDw== X-Received: by 10.98.89.4 with SMTP id n4mr10780996pfb.81.1454231479978; Sun, 31 Jan 2016 01:11:19 -0800 (PST) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id n2sm35027128pfj.16.2016.01.31.01.11.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 31 Jan 2016 01:11:19 -0800 (PST) From: Caesar Wang To: broonie@kernel.org, robh+dt@kernel.org Subject: [PATCH v4.1 6/9] ASoC: rt5616: add mclk property for rt5616 document Date: Sun, 31 Jan 2016 17:10:43 +0800 Message-Id: <1454231443-22354-1-git-send-email-wxt@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1453970618-4383-1-git-send-email-wxt@rock-chips.com> References: <1453970618-4383-1-git-send-email-wxt@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160131_011141_137609_B0B19815 X-CRM114-Status: UNSURE ( 9.35 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.4 (--) 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: devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, Caesar Wang , heiko@sntech.de, linux-kernel@vger.kernel.org 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.8 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 --- Changes in v4 -> v4.1: - Fix the wrong word, as the Rob comments on https://patchwork.kernel.org/patch/8147731/. 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