From patchwork Tue Sep 24 11:48:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 174267 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp4030398ill; Tue, 24 Sep 2019 04:48:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqzppunOVA/B1uCUYNlVKuPZ23acJv/riLp9sHhEAG5M0CulEZf6f/FXU6Pu7CWoll/Sqz8E X-Received: by 2002:a50:9e0a:: with SMTP id z10mr2204934ede.202.1569325730681; Tue, 24 Sep 2019 04:48:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569325730; cv=none; d=google.com; s=arc-20160816; b=J3rLs5AMiAffx7oDiz+PwS0kG8ZSq2+EtKsooSTaJhAMTw0F+qJFeiAHzl4wvESpM0 0WSdAHB6F0PAOq/oobG1Zh7/V2bRsZFqJCVz/9MxAGphKEfvHcOBiqElr8qPTHI3bnNI G7v1D8AVatUw1mtiu6PLKVX9BDSE2Va3FG0xZfkkNTJ3TPeEpRbQ/2sRU77nqywx0Lm8 W3cCBrHjDR4DlnEfk1IULs/utaVa6xT75lXVVJa+MS4orTQN+dinCsoeTrXdibnX/iZ8 HwAS5zQPlOowlFRLtnkedFoaSnsYpfptYdt26S65C6tLAXi54UYNIDZiM5zSrbWS5L0h 9oig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=o/dbitjcpBjt6m19CxhZ8Q367YRKSVkRcHnq7IXVvU4=; b=o9HojWmSzOSX+JZdSpeuEVqabRN4fZytURs2BEzxJDP47trjYcbYcqBuzcDV+c83T7 vRoU1UBc/lLwIRxEQj0YBXIMExAnUANH4d0n0IPAGxQApUAoVZ+GbTDciXnCWV/HGtf5 rz+Uzhj12IuEzmLVK1/QlSafwlctdY2CAcaS5gOLTiWCIrt12L3iwce2eiE8r4Kx4MnX n0EBEe56+MnHngKPCk18uO/Z6+vKGjNkhr/utYfSTTDJiYzZlxAtcvx120He4CJLStp8 jUMjwwx6Y9KzyvrJgLZ7tgqIHFa9SQL5G5RQ/QTOgCgSOTsvtQWmOBeLssm/4tDWnth8 FRzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=nOucOyfo; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e46si879628eda.401.2019.09.24.04.48.50; Tue, 24 Sep 2019 04:48:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=nOucOyfo; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2395152AbfIXLsq (ORCPT + 3 others); Tue, 24 Sep 2019 07:48:46 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:41264 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388764AbfIXLsq (ORCPT ); Tue, 24 Sep 2019 07:48:46 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190924114844euoutp01e8a0ca445bdd324d8f8035c04333a8ac~HXW6GKhBY0891008910euoutp01o for ; Tue, 24 Sep 2019 11:48:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190924114844euoutp01e8a0ca445bdd324d8f8035c04333a8ac~HXW6GKhBY0891008910euoutp01o DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1569325724; bh=o/dbitjcpBjt6m19CxhZ8Q367YRKSVkRcHnq7IXVvU4=; h=From:To:Cc:Subject:Date:References:From; b=nOucOyfouulZ0tfuXj9aH+KKEPZlfNZPsBYXHHVxuufkYfL42RTJnj1ZIbmZ+ChRx H7cCWRkKUL38ZxnrRx4ND3IwAMIVDjhPCu9ZIEIswWkaVQbO5k1myTiXKtiIn8354m nVWAXS4Oqf6Z8Dd96aH6xLdkV6VfsZlmFBKtL7BU= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190924114843eucas1p20daf5d370dff434ea035b690ed891f6e~HXW5pZfEY1024310243eucas1p26; Tue, 24 Sep 2019 11:48:43 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 5F.AD.04309.B920A8D5; Tue, 24 Sep 2019 12:48:43 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190924114843eucas1p2ea9c36289d3912e022ad7c9070fc00ee~HXW5NuUUI1223012230eucas1p2x; Tue, 24 Sep 2019 11:48:43 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190924114843eusmtrp15164d2b96002f72cd9d5aab9736ccf26~HXW5MoZpe0400704007eusmtrp1R; Tue, 24 Sep 2019 11:48:43 +0000 (GMT) X-AuditID: cbfec7f4-ae1ff700000010d5-43-5d8a029b8b06 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id BE.E7.04117.B920A8D5; Tue, 24 Sep 2019 12:48:43 +0100 (BST) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190924114842eusmtip204d537e43021b3373ad860bcc0f02458~HXW4pCOxk2063020630eusmtip2s; Tue, 24 Sep 2019 11:48:42 +0000 (GMT) From: Marek Szyprowski To: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: Rob Herring , Mark Rutland , Krzysztof Kozlowski , Mark Brown , Sylwester Nawrocki , Liam Girdwood , Maciej Falkowski , Marek Szyprowski Subject: [PATCH] ASoC: samsung: i2s: Add clocks' macros descriptions Date: Tue, 24 Sep 2019 13:48:38 +0200 Message-Id: <20190924114838.25482-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuphleLIzCtJLcpLzFFi42LZduznOd3ZTF2xBgu3mllcuXiIyWLqwyds FvOPnGO1OH9+A7vFtysdTBaXd81hs5hxfh+TxYPmdWwWa4/cZbdYev0ik0Xr3iPsFofftLM6 8Hhs+NzE5rFm3hpGj52z7rJ7bFrVyebRt2UVo8fnTXIBbFFcNimpOZllqUX6dglcGR8vT2Ms eMxR0TJ/F2sD4372LkZODgkBE4nvG48zdTFycQgJrGCUuP5lEhtIQkjgC6PE1l+1EPZnRonW o3IwDROXfWOGaFjOKLHx/nwmuIbtF5JAbDYBQ4mut11gg0QE6iTOnjnCCNLALHCESaL5/m+w BmEBF4m7R6cxg9gsAqoSe7dcALN5BWwlZu3sZYTYJi+xesMBsG0SAs3sEpfn3meGSLhIrJnb wAZhC0u8Or4F6h8ZidOTe1igGhglHp5byw7h9DBKXG6aATXWWuLw8YusXYwcQDdpSqzfpQ8R dpRY9fAeG0hYQoBP4sZbQZAwM5A5adt0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w80vdrK9elbQ5e uW3RyZLCPM+Lqtrytn0BC18yyK6/zdmp+SX+duoj7yyzG9fTM5rLC29vuKXy1fIq24UMp/Uz Zyyb8+ygT3LnhieRr6d9Pq607/kThcI5zovNWjxmndl7pV+ekcviz4k55zfOO/Hk9oz7Ys79 evzJkYVlYVPUJonKXri2ef8SJZbijERDLeai4kQAOpKoyngCAAA= X-CMS-MailID: 20190924114843eucas1p2ea9c36289d3912e022ad7c9070fc00ee X-Msg-Generator: CA X-RootMTR: 20190924114843eucas1p2ea9c36289d3912e022ad7c9070fc00ee X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190924114843eucas1p2ea9c36289d3912e022ad7c9070fc00ee References: Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org From: Maciej Falkowski To increase macro readability added descriptions to clocks macros. Signed-off-by: Maciej Falkowski Signed-off-by: Marek Szyprowski --- include/dt-bindings/sound/samsung-i2s.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) -- 2.17.1 diff --git a/include/dt-bindings/sound/samsung-i2s.h b/include/dt-bindings/sound/samsung-i2s.h index 77545f14c379..fd752475c762 100644 --- a/include/dt-bindings/sound/samsung-i2s.h +++ b/include/dt-bindings/sound/samsung-i2s.h @@ -2,8 +2,13 @@ #ifndef _DT_BINDINGS_SAMSUNG_I2S_H #define _DT_BINDINGS_SAMSUNG_I2S_H -#define CLK_I2S_CDCLK 0 -#define CLK_I2S_RCLK_SRC 1 -#define CLK_I2S_RCLK_PSR 2 +/* the CDCLK (CODECLKO) gate clock */ +#define CLK_I2S_CDCLK 0 + +/* the RCLKSRC mux clock (corresponding to RCLKSRC bit in IISMOD register) */ +#define CLK_I2S_RCLK_SRC 1 + +/* the RCLK prescaler divider clock (corresponding to the IISPSR register) */ +#define CLK_I2S_RCLK_PSR 2 #endif /* _DT_BINDINGS_SAMSUNG_I2S_H */