From patchwork Thu Jan 28 08:43:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caesar Wang X-Patchwork-Id: 8147731 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 C78DCBEEED for ; Thu, 28 Jan 2016 08:46:04 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 07149202DD for ; Thu, 28 Jan 2016 08:46:04 +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 EAA8320221 for ; Thu, 28 Jan 2016 08:46:02 +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 1aOiDK-00053P-G9; Thu, 28 Jan 2016 08:46:02 +0000 Received: from mail-pa0-f68.google.com ([209.85.220.68]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aOiCY-00036G-5V for linux-rockchip@lists.infradead.org; Thu, 28 Jan 2016 08:45:15 +0000 Received: by mail-pa0-f68.google.com with SMTP id pv5so1662858pac.0 for ; Thu, 28 Jan 2016 00:44:54 -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=EcpQb+CRLg6XZe1kX5lG/glaecmos02OzJBBtyG2UJY=; b=KHRSaEHQirBN7gNqEcm8IRa2368+W+gxAIyUVxvjLo6gnN/N542TjLe2c1JsPCd7sV 3Wyu6IA5Zpy+oUmsKKL8IxxXf6p0/TGbBRw9Lx9v+yN2acBP3VvK31G75eYgbFm7o/cV znlIbP5nlI+kt2fYY4ZRjiWZekvDe1t7J69jvkYr+Gr/u/o8UrSA11MknRE3Nw09uYTA TbxmpwTEB0lKP7DXs+82Gb4qNJdtb2kJ7AgAjvCRnmKrtt350l5uHyWAoWvg+NSVbTjI 8OW6fGVQJCIYHl/p8GBtJjeciye10ab49iSUjLLdtPtEPKycpZlpP4V51Iyv5ejRZoOb y97Q== X-Gm-Message-State: AG10YOT3v8gt7Yt5sLQvEiqLfwCKh7tLfdXth/m2EhOKbAerP2TvfuCLBpVHrU+cux0kCw== X-Received: by 10.67.7.200 with SMTP id de8mr2874914pad.28.1453970693812; Thu, 28 Jan 2016 00:44:53 -0800 (PST) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id t67sm14422515pfa.14.2016.01.28.00.44.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 28 Jan 2016 00:44:52 -0800 (PST) From: Caesar Wang To: Heiko Stuebner , linux-kernel@vger.kernel.org Subject: [PATCH v4 6/9] ASoC: rt5616: add mclk property for rt5616 document Date: Thu, 28 Jan 2016 16:43:35 +0800 Message-Id: <1453970618-4383-7-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-20160128_004514_329205_F762F819 X-CRM114-Status: UNSURE ( 8.98 ) 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: Mark Rutland , devicetree@vger.kernel.org, hl@rock-chips.com, Pawel Moll , Ian Campbell , sonnyrao@chromium.org, jeffy.chen@rock-chips.com, Rob Herring , linux-rockchip@lists.infradead.org, Mark Brown , keescook@google.com, cf@rock-chips.com, Kumar Gala , jay.xu@rock-chips.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.2 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 add the mclk property for the CODEC driver, since sometime the CODEC driver needs the clock enabled. The system clock of ALC5616 can be selected from MCLK, That's also make as the codec master clock provider, Signed-off-by: Caesar Wang --- 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