From patchwork Tue Jul 4 11:59:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 106956 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp913337qge; Tue, 4 Jul 2017 05:01:36 -0700 (PDT) X-Received: by 10.223.165.82 with SMTP id j18mr33197510wrb.45.1499169696108; Tue, 04 Jul 2017 05:01:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499169696; cv=none; d=google.com; s=arc-20160816; b=dM2B4+LYB53dlAUK9fN3atW47zw3QO/7xjqr5qYFJVQ7zMFI/vnPUxbxTTRDSNtf+Q Jr6+xd7pDVIxh5Y+FkyE7Gp5WeYjC9xgqMyv9n7PoSSInXLcntixCaKJCPnteWF9X/Qx cStmKFPA4NiZZIZvvotPTrFamt6T671/0q0gJZUEMSGtcbh5lKyiUur9ioQ/tWOQY0JX zUdK0LVFpsAC0lsk+AHgZLcNQlwsgE3lFYfhdt+7id5FOowGPPsnr/hiiVXu6ZmsdSZH PhaATwkcN1vNVYJxvp1L7PkA2zE89dA+fOfnhVdpAF0zZckFAI+6zA11+dxiuVqACzpn p/6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:delivered-to:arc-authentication-results; bh=YORwMMMhIfLkWg35cHD/vfnJTvZkQmjmrgkKFA3I1uY=; b=YA70XL7q86gyvywagirHZhaISvKLBZxnAu6VlXixPdQn+jzu/YNVlISx/++oHHzcOo b/MCll3ukDovxC9P9cv15mPXuw4C1EeINQXCiKRzfshPWd4A+7GpXxo4TUBkq8DLXwDX 1Em6e44C/JmJ9pP0N+tgmLjyMWEZBoiPe89s6pnqFTALVef3MwCxH/h3Q31Gbt3OLqPn gN/eLBh6iXejYv+EYsNYu7iOywGk76QZMVQsTNTFTvdqZUTOZ66ktkGu+BC4VVunFYVZ 5kuA4+nPSWT261jon9mzTpIb9LWilbDIgcWsHh//K3fa2y/AtONk3IEoP1Y8kVtspWRc E5aw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id w23si13179063wmw.19.2017.07.04.05.01.35; Tue, 04 Jul 2017 05:01:36 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 75072266EA7; Tue, 4 Jul 2017 13:59:59 +0200 (CEST) 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 B2DE7266E42; Tue, 4 Jul 2017 13:59:54 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RP_MATCHES_RCVD,SPF_PASS, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by alsa0.perex.cz (Postfix) with ESMTP id 035B5266E17 for ; Tue, 4 Jul 2017 13:59:47 +0200 (CEST) Received: by mail.free-electrons.com (Postfix, from userid 110) id B20C521FC6; Tue, 4 Jul 2017 13:59:45 +0200 (CEST) Received: from localhost.localdomain (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id 5185D21D3F; Tue, 4 Jul 2017 13:59:45 +0200 (CEST) From: Quentin Schulz To: mturquette@baylibre.com, sboyd@codeaurora.org, robh+dt@kernel.org, mark.rutland@arm.com, lgirdwood@gmail.com, broonie@kernel.org, nicolas.ferre@microchip.com, alexandre.belloni@free-electrons.com, linux@armlinux.org.uk, boris.brezillon@free-electrons.com, perex@perex.cz, tiwai@suse.com Date: Tue, 4 Jul 2017 13:59:25 +0200 Message-Id: <20170704115927.32662-8-quentin.schulz@free-electrons.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170704115927.32662-1-quentin.schulz@free-electrons.com> References: <20170704115927.32662-1-quentin.schulz@free-electrons.com> Cc: thomas.petazzoni@free-electrons.com, devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Quentin Schulz , cyrille.pitchen@wedev4u.fr, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [alsa-devel] [PATCH v2 7/9] ASoC: atmel-classd: remove aclk clock from DT binding 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 Since gclk (generated-clk) is now able to determine the rate of the audio_pll, there is no need for classd to have a direct phandle to the audio_pll while already having a phandle to gclk. This binding is used by no board in mainline so it is safe to be modified. Signed-off-by: Quentin Schulz --- added in v2 Documentation/devicetree/bindings/sound/atmel-classd.txt | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) -- 2.11.0 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel Acked-by: Mark Brown diff --git a/Documentation/devicetree/bindings/sound/atmel-classd.txt b/Documentation/devicetree/bindings/sound/atmel-classd.txt index 549e701cb7a1..898551076382 100644 --- a/Documentation/devicetree/bindings/sound/atmel-classd.txt +++ b/Documentation/devicetree/bindings/sound/atmel-classd.txt @@ -13,13 +13,11 @@ Required properties: Must be "tx". - clock-names Tuple listing input clock names. - Required elements: "pclk", "gclk" and "aclk". + Required elements: "pclk" and "gclk". - clocks Please refer to clock-bindings.txt. - assigned-clocks Should be <&classd_gclk>. -- assigned-clock-parents - Should be <&audio_pll_pmc>. Optional properties: - pinctrl-names, pinctrl-0 @@ -45,10 +43,9 @@ classd: classd@fc048000 { (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) | AT91_XDMAC_DT_PERID(47))>; dma-names = "tx"; - clocks = <&classd_clk>, <&classd_gclk>, <&audio_pll_pmc>; - clock-names = "pclk", "gclk", "aclk"; + clocks = <&classd_clk>, <&classd_gclk>; + clock-names = "pclk", "gclk"; assigned-clocks = <&classd_gclk>; - assigned-clock-parents = <&audio_pll_pmc>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_classd_default>;