From: Icenowy Zheng <icenowy@aosc.io>
To: Maxime Ripard <maxime.ripard@bootlin.com>,
Chen-Yu Tsai <wens@csie.org>,
Jagan Teki <jagan@amarulasolutions.com>,
Jernej Skrabec <jernej.skrabec@siol.net>
Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org,
linux-sunxi@googlegroups.com, Icenowy Zheng <icenowy@aosc.io>
Subject: [PATCH v4 07/11] dt-bindings: clock: sun50i-a64-ccu: Add PLL_VIDEO0 macro
Date: Tue, 4 Sep 2018 12:40:49 +0800 [thread overview]
Message-ID: <20180904044053.15425-8-icenowy@aosc.io> (raw)
In-Reply-To: <20180904044053.15425-1-icenowy@aosc.io>
From: Jagan Teki <jagan@amarulasolutions.com>
Allwinner A64 HDMI PHY clock has PLL_VIDEO0 as a parent.
Include the macro on dt-bindings so-that the same can be used
while defining CCU clock phandles.
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
---
Changes for v4:
- Dropped PLL_VIDEO1
Changes for v3.1:
- none
Changes for v3:
- collect Rob r-w-b tag
Changes for v2:
- new patch
drivers/clk/sunxi-ng/ccu-sun50i-a64.h | 4 +++-
include/dt-bindings/clock/sun50i-a64-ccu.h | 1 +
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/clk/sunxi-ng/ccu-sun50i-a64.h b/drivers/clk/sunxi-ng/ccu-sun50i-a64.h
index 061b6fbb4f95..a83951cf0224 100644
--- a/drivers/clk/sunxi-ng/ccu-sun50i-a64.h
+++ b/drivers/clk/sunxi-ng/ccu-sun50i-a64.h
@@ -27,7 +27,9 @@
#define CLK_PLL_AUDIO_2X 4
#define CLK_PLL_AUDIO_4X 5
#define CLK_PLL_AUDIO_8X 6
-#define CLK_PLL_VIDEO0 7
+
+/* PLL_VIDEO0 exported for HDMI PHY */
+
#define CLK_PLL_VIDEO0_2X 8
#define CLK_PLL_VE 9
#define CLK_PLL_DDR0 10
diff --git a/include/dt-bindings/clock/sun50i-a64-ccu.h b/include/dt-bindings/clock/sun50i-a64-ccu.h
index d66432c6e675..a8ac4cfcdcbc 100644
--- a/include/dt-bindings/clock/sun50i-a64-ccu.h
+++ b/include/dt-bindings/clock/sun50i-a64-ccu.h
@@ -43,6 +43,7 @@
#ifndef _DT_BINDINGS_CLK_SUN50I_A64_H_
#define _DT_BINDINGS_CLK_SUN50I_A64_H_
+#define CLK_PLL_VIDEO0 7
#define CLK_PLL_PERIPH0 11
#define CLK_BUS_MIPI_DSI 28
--
2.18.0
next prev parent reply other threads:[~2018-09-04 4:42 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-04 4:40 [PATCH v4 00/11] arm64: allwinner: Add A64 DE2 HDMI support Icenowy Zheng
2018-09-04 4:40 ` [PATCH v4 01/11] clk: sunxi-ng: a64: Add minimal rate for video PLLs Icenowy Zheng
2018-09-05 7:16 ` Maxime Ripard
2018-09-04 4:40 ` [PATCH v4 02/11] clk: sunxi-ng: a64: Add max. rate constraint to " Icenowy Zheng
2018-09-05 7:16 ` Maxime Ripard
2018-09-05 10:22 ` Sergey Suloev
2018-09-04 4:40 ` [PATCH v4 03/11] dt-bindings: display: Add compatible for A64 DE2 display pipeline Icenowy Zheng
2018-09-05 7:20 ` Maxime Ripard
2018-09-04 4:40 ` [PATCH v4 04/11] drm/sun4i: Add support for A64 mixers Icenowy Zheng
2018-09-05 7:21 ` Maxime Ripard
2018-09-04 4:40 ` [PATCH v4 05/11] drm/sun4i: Add support for A64 display engine Icenowy Zheng
2018-09-05 7:21 ` Maxime Ripard
2018-09-04 4:40 ` [PATCH v4 06/11] dt-bindings: display: Add compatible for A64 HDMI Icenowy Zheng
2018-09-05 7:21 ` Maxime Ripard
2018-09-04 4:40 ` Icenowy Zheng [this message]
2018-09-05 7:21 ` [PATCH v4 07/11] dt-bindings: clock: sun50i-a64-ccu: Add PLL_VIDEO0 macro Maxime Ripard
2018-09-04 4:40 ` [PATCH v4 08/11] arm64: dts: allwinner: a64: Add display pipeline Icenowy Zheng
2018-09-05 7:50 ` Maxime Ripard
2018-09-07 4:13 ` Jagan Teki
2018-09-07 8:21 ` Maxime Ripard
2018-09-06 6:18 ` [linux-sunxi] " Jagan Teki
2018-09-06 6:19 ` Icenowy Zheng
2018-09-04 4:40 ` [PATCH v4 09/11] dt-bindings: sun4i-drm: add HDMI VCC supply property for sun8i-dw-hdmi Icenowy Zheng
2018-09-05 7:22 ` Maxime Ripard
2018-09-04 4:40 ` [PATCH v4 10/11] drm/sun4i: Add support for HDMI voltage regulator Icenowy Zheng
2018-09-05 7:22 ` Maxime Ripard
2018-09-04 4:40 ` [PATCH v4 11/11] arm64: dts: allwinner: a64: Enable HDMI output on A64 boards w/ HDMI Icenowy Zheng
2018-09-05 7:26 ` [linux-sunxi] " Jagan Teki
2018-09-05 7:51 ` Maxime Ripard
2018-09-05 7:57 ` Jagan Teki
2018-09-05 22:53 ` Vasily Khoruzhick
2018-09-06 4:12 ` Vasily Khoruzhick
2018-09-06 5:07 ` Jernej Škrabec
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180904044053.15425-8-icenowy@aosc.io \
--to=icenowy@aosc.io \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=jagan@amarulasolutions.com \
--cc=jernej.skrabec@siol.net \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sunxi@googlegroups.com \
--cc=maxime.ripard@bootlin.com \
--cc=wens@csie.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).