Skip to contentSkip to conversation

MIPS: ralink: add mt7621-clk.h for device tree binding

PATCH In review Chuanhong Guo 2 participants 2 messages May 16, 2019 – Jun 13, 2019

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: ralink: add mt7621-clk.h for device tree binding

This patch adds dt binding header for mediatek,mt7621-pll which
was added in:
commit e6046b5e69a0 ("MIPS: ralink: fix cpu clock of mt7621 and add dt clk devices")

---

checkpatch.pl shows a warning that the line referencing old commit is over 75 chars but if I shink it down anyhow it gave me an error saying I should use a proper style for commits. So I chose to ignore the warning and fix the error.

 include/dt-bindings/clock/mt7621-clk.h | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 include/dt-bindings/clock/mt7621-clk.h
include/dt-bindings/clock/mt7621-clk.h new file +14 -0
new file mode 100644
index 000000000000..a29e14ee2efe
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Copyright (C) 2018 Weijie Gao <[email protected]>
+ */
+
+#ifndef __DT_BINDINGS_MT7621_CLK_H
+#define __DT_BINDINGS_MT7621_CLK_H
+
+#define MT7621_CLK_CPU		0
+#define MT7621_CLK_BUS		1
+
+#define MT7621_CLK_MAX		2
+
+#endif /* __DT_BINDINGS_MT7621_CLK_H */
Signature · 1 line
2.21.0
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Chuanhong Guo

This patch adds dt binding header for mediatek,mt7621-pll which
was added in:
commit e6046b5e69a0 ("MIPS: ralink: fix cpu clock of mt7621 and add dt clk devices")

---

Quoted 9 lines

checkpatch.pl shows a warning that the line referencing old commit is over 75 chars but if I shink it down anyhow it gave me an error saying I should use a proper style for commits. So I chose to ignore the warning and fix the error.

 include/dt-bindings/clock/mt7621-clk.h | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 include/dt-bindings/clock/mt7621-clk.h