From patchwork Thu Sep 26 11:02:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 174453 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp1888046ill; Thu, 26 Sep 2019 04:02:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqy4Ptu8L7u6L3Gz2pr4nlYWG5t9IzIKOLLNEzwVZQfsOH9k0ijKMAXRC+JSTdudIMVKZBdl X-Received: by 2002:aa7:c897:: with SMTP id p23mr2857145eds.199.1569495749792; Thu, 26 Sep 2019 04:02:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569495749; cv=none; d=google.com; s=arc-20160816; b=XJrXc99fQR6LTqJaTNQ1bZT7UdSDqymXzV4DlHCvbKYJrpCQzzXN9EtCd9H751BO/S 3mN6aOIp5LfHbCN/vJrsdmTtAOs6wDKj/ARBsnRfrvKl2idtcJdt5ZWYEV0RKut2wLM3 peVXIWvQ1+kOZyZy08lq1ceT+9fGInoaozq3vBYe4EZ3Xe/0h2KBTR8g29ibi8bE7e7Y Mv9/JBN2KP5/1mYMFOMrp1O09/HydSe/GQ7qXFHY44Pl6vlxFduUOfU8gUaZ4xPuvzVU ItXieQy3yRME5pqttDXz65T5MmY0teQLSAoLGWYP1BQb72Tunne/i4NceFjIKEEKZrB8 7oHw== 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=T1vG9yJ0SrvHDQJfyMirTT552HaxAD38CrVYzRGiMrA=; b=sLPQFk/L9jqtO1kURmgJ8R1mCgAPytH5pEnDeovG3YDsNWEtXxp6clS3+u8xwA8CTk xzix5Zm7SQARuwikUDIHH0DQxSU02+TFMNo0fQ2ZCLtfpPnEOJLYCpHo+pK89nCP5PDf hYJinVUMEEE8vvIGzjn9JXINbe+ctsORlbBg1aIEVSODp8UipDcsPsKuWnZvYAvtkzhP 5d9wot9LdZNnd2cSg4zKW91kHfp0Qx/Gr0gPiVgEo5xrKoWaYtdmwqnOU1DhH4PY2fbR 8aTnGHwVrTILNV3EYWgZT4BOutFBbx6rb0wDgCRwlwE03pEQKi0wPdVxh/zy8gMz1Aee hhjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=vV+vsVcp; 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 w1si1047551edt.288.2019.09.26.04.02.29; Thu, 26 Sep 2019 04:02:29 -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=vV+vsVcp; 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 S1725904AbfIZLC3 (ORCPT + 3 others); Thu, 26 Sep 2019 07:02:29 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:43345 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725208AbfIZLC2 (ORCPT ); Thu, 26 Sep 2019 07:02:28 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190926110227euoutp02a0df90044a797310b04c8088c5f53b5b~H_BEEgxy50590405904euoutp02x for ; Thu, 26 Sep 2019 11:02:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190926110227euoutp02a0df90044a797310b04c8088c5f53b5b~H_BEEgxy50590405904euoutp02x DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1569495747; bh=T1vG9yJ0SrvHDQJfyMirTT552HaxAD38CrVYzRGiMrA=; h=From:To:Cc:Subject:Date:References:From; b=vV+vsVcpVWomhaEqJilNT2Zsq8sW11jXNZViSCGly36ahapYZoqN+3/yVt0ZrSj3r hUK8FJ/KY/amTMFidA1ZdLksfG/I74zS80TZMoJlZCNjNGhzS6UqZtMGTrvVsG7/v9 e4wN0UE8Q4yvOM8H7HGt/MV7Yr4zOLKBrSrt7i0o= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190926110226eucas1p2a5a0fb04e6ecd1ce99ed81599a1e85d4~H_BDry20e0586305863eucas1p20; Thu, 26 Sep 2019 11:02:26 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 45.D8.04374.2CA9C8D5; Thu, 26 Sep 2019 12:02:26 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190926110226eucas1p24dbb1b39ffa3f607aa28c0c4d9ff6aba~H_BDSjD0z0586305863eucas1p2z; Thu, 26 Sep 2019 11:02:26 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190926110226eusmtrp25ba1e9e4c5004f2f562a43e1a591292b~H_BDK4MpT2039620396eusmtrp2B; Thu, 26 Sep 2019 11:02:26 +0000 (GMT) X-AuditID: cbfec7f5-4ddff70000001116-5b-5d8c9ac2c1e3 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 51.E9.04166.2CA9C8D5; Thu, 26 Sep 2019 12:02:26 +0100 (BST) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190926110225eusmtip162bc8419c3a731febe25b42acf6782c0~H_BCiMLpZ2692226922eusmtip1R; Thu, 26 Sep 2019 11:02:25 +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 v2] ASoC: samsung: i2s: Document clocks macros Date: Thu, 26 Sep 2019 13:02:19 +0200 Message-Id: <20190926110219.6144-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuphleLIzCtJLcpLzFFi42LZduznOd1Ds3piDdrea1pcuXiIyWLqwyds FvOPnGO1OH9+A7vFtysdTBaXd81hs5hxfh+TxYPmdWwWa4/cZbdYev0ik0Xr3iPsFofftLM6 8Hhs+NzE5rFm3hpGj52z7rJ7bFrVyebRt2UVo8fnTXIBbFFcNimpOZllqUX6dglcGT+X32Ev 2MhVsan3PHsD4yWOLkYODgkBE4k9nxm7GLk4hARWMEqce32MBcL5wihxeN0S9i5GTiDnM6PE ztmiMA2zp0LVLGeUmHviByNcw53mGWANbAKGEl1vu9hAbBGBOomzZ46AFTELHGGSaL7/mwkk ISxgJ3F8bQ8LiM0ioCrx8vQSsAZeARuJKRtugNVICMhLrN5wgBmkWUKgmV3i39mTzBAJF4mv /3oYIWxhiVfHt7BD2DIS/3fOZ4JqYJR4eG4tO4TTwyhxuWkGVIe1xOHjF1lBHmIW0JRYv0sf IuwoceXNVhaIP/k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qQWpRTB9TBycUg2ManbsrZOVu5bp 8lzX+s25PsXg2fQrJyb/apkSyOkqOSnjOsfKvY89WFSeajr3vK7af3FToU6p0M7uWIfzlez8 G2TvumeyPT+8pE8qWu4h47WVCltaw2q59220EGY5m+Xy+8M00z0u96coifP8Upj7fGXUIfVk JfUtxsdv/JvzWDt59coHSZxblViKMxINtZiLihMBXlom33cCAAA= X-CMS-MailID: 20190926110226eucas1p24dbb1b39ffa3f607aa28c0c4d9ff6aba X-Msg-Generator: CA X-RootMTR: 20190926110226eucas1p24dbb1b39ffa3f607aa28c0c4d9ff6aba X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190926110226eucas1p24dbb1b39ffa3f607aa28c0c4d9ff6aba 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 Document clocks macros with their description from 'Documentation/devicetree/bindings/sound/samsung-i2s.txt' Signed-off-by: Maciej Falkowski Signed-off-by: Marek Szyprowski --- v2: - Added proper commit message and description - Moved comments to the right side Best regards, Maciej Falkowski --- include/dt-bindings/sound/samsung-i2s.h | 12 +++++++++--- 1 file changed, 9 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..250de0d6c734 100644 --- a/include/dt-bindings/sound/samsung-i2s.h +++ b/include/dt-bindings/sound/samsung-i2s.h @@ -2,8 +2,14 @@ #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 +#define CLK_I2S_CDCLK 0 /* the CDCLK (CODECLKO) gate clock */ + +#define CLK_I2S_RCLK_SRC 1 /* the RCLKSRC mux clock (corresponding to + * RCLKSRC bit in IISMOD register) + */ + +#define CLK_I2S_RCLK_PSR 2 /* the RCLK prescaler divider clock + * (corresponding to the IISPSR register) + */ #endif /* _DT_BINDINGS_SAMSUNG_I2S_H */