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

Message ID 20190516072731.21957-1-gch981213@gmail.com
State Not Applicable
Headers show
Series
  • MIPS: ralink: add mt7621-clk.h for device tree binding
Related show

Checks

Context Check Description
robh/checkpatch warning "total: 0 errors, 1 warnings, 14 lines checked"

Commit Message

Chuanhong Guo May 16, 2019, 7:25 a.m. UTC
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")

Signed-off-by: Weijie Gao <hackpascal@gmail.com>
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
---

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

Comments

Rob Herring June 13, 2019, 9:34 p.m. UTC | #1
On Thu, 16 May 2019 15:25:51 +0800, Chuanhong Guo wrote:
> 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")
> 
> Signed-off-by: Weijie Gao <hackpascal@gmail.com>
> Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
> ---
> 
> 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
> 

Reviewed-by: Rob Herring <robh@kernel.org>

Patch
diff mbox series

diff --git a/include/dt-bindings/clock/mt7621-clk.h b/include/dt-bindings/clock/mt7621-clk.h
new file mode 100644
index 000000000000..a29e14ee2efe
--- /dev/null
+++ b/include/dt-bindings/clock/mt7621-clk.h
@@ -0,0 +1,14 @@ 
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Copyright (C) 2018 Weijie Gao <hackpascal@gmail.com>
+ */
+
+#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 */