summaryrefslogtreecommitdiff
path: root/drivers/clk/starfive/clk-starfive-jh7110.h
diff options
context:
space:
mode:
authorEmil Renner Berthing <kernel@esmil.dk>2023-04-01 19:19:25 +0800
committerConor Dooley <conor.dooley@microchip.com>2023-04-05 15:44:12 +0100
commitedab7204afe55bdf2d17d3490eb88497ba60f628 (patch)
tree99489ce579d1af3d00551fc078b6949d0a99b59a /drivers/clk/starfive/clk-starfive-jh7110.h
parentb6d7406cd7a199fabf93008e9fc0aa0358695a79 (diff)
clk: starfive: Add StarFive JH7110 system clock driver
Add driver for the StarFive JH7110 system clock controller and register an auxiliary device for system reset controller which is named as "rst-sys". Tested-by: Tommaso Merciai <tomm.merciai@gmail.com> Reviewed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com> Signed-off-by: Emil Renner Berthing <kernel@esmil.dk> Co-developed-by: Hal Feng <hal.feng@starfivetech.com> Signed-off-by: Hal Feng <hal.feng@starfivetech.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Diffstat (limited to 'drivers/clk/starfive/clk-starfive-jh7110.h')
-rw-r--r--drivers/clk/starfive/clk-starfive-jh7110.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/clk/starfive/clk-starfive-jh7110.h b/drivers/clk/starfive/clk-starfive-jh7110.h
new file mode 100644
index 000000000000..f29682b8d400
--- /dev/null
+++ b/drivers/clk/starfive/clk-starfive-jh7110.h
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef __CLK_STARFIVE_JH7110_H
+#define __CLK_STARFIVE_JH7110_H
+
+#include "clk-starfive-jh71x0.h"
+
+int jh7110_reset_controller_register(struct jh71x0_clk_priv *priv,
+ const char *adev_name,
+ u32 adev_id);
+
+#endif