[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190924114838.25482-1-m.szyprowski@samsung.com>
Date: Tue, 24 Sep 2019 13:48:38 +0200
From: Marek Szyprowski <m.szyprowski@...sung.com>
To: devicetree@...r.kernel.org, alsa-devel@...a-project.org,
linux-kernel@...r.kernel.org, linux-samsung-soc@...r.kernel.org
Cc: Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Krzysztof Kozlowski <krzk@...nel.org>,
Mark Brown <broonie@...nel.org>,
Sylwester Nawrocki <s.nawrocki@...sung.com>,
Liam Girdwood <lgirdwood@...il.com>,
Maciej Falkowski <m.falkowski@...sung.com>,
Marek Szyprowski <m.szyprowski@...sung.com>
Subject: [PATCH] ASoC: samsung: i2s: Add clocks' macros descriptions
From: Maciej Falkowski <m.falkowski@...sung.com>
To increase macro readability added descriptions
to clocks macros.
Signed-off-by: Maciej Falkowski <m.falkowski@...sung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@...sung.com>
---
include/dt-bindings/sound/samsung-i2s.h | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
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 */
--
2.17.1
Powered by blists - more mailing lists