summaryrefslogtreecommitdiff
path: root/drivers/reset/starfive/reset-starfive-jh71x0.h
diff options
context:
space:
mode:
authorEmil Renner Berthing <kernel@esmil.dk>2023-04-01 14:19:22 +0300
committerConor Dooley <conor.dooley@microchip.com>2023-04-05 17:43:57 +0300
commited36fcd160f3a703e0264539abdf0da2f3e0fc35 (patch)
treebeb7f28b6e7560a3b05d2ad8d783735c74bea60b /drivers/reset/starfive/reset-starfive-jh71x0.h
parent1ec3d20e4e2fef33c618b2ef550cbf3b4728e4cd (diff)
downloadlinux-ed36fcd160f3a703e0264539abdf0da2f3e0fc35.tar.xz
reset: starfive: Extract the common JH71X0 reset code
Extract the common JH71X0 reset code for reusing them to support JH7110 SoC. Tested-by: Tommaso Merciai <tomm.merciai@gmail.com> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com> Signed-off-by: Emil Renner Berthing <kernel@esmil.dk> Signed-off-by: Hal Feng <hal.feng@starfivetech.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Diffstat (limited to 'drivers/reset/starfive/reset-starfive-jh71x0.h')
-rw-r--r--drivers/reset/starfive/reset-starfive-jh71x0.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/reset/starfive/reset-starfive-jh71x0.h b/drivers/reset/starfive/reset-starfive-jh71x0.h
index 318d7a0e096a..1fc5a648c8d8 100644
--- a/drivers/reset/starfive/reset-starfive-jh71x0.h
+++ b/drivers/reset/starfive/reset-starfive-jh71x0.h
@@ -6,6 +6,9 @@
#ifndef __RESET_STARFIVE_JH71X0_H
#define __RESET_STARFIVE_JH71X0_H
-int jh7100_reset_probe(struct platform_device *pdev);
+int reset_starfive_jh7100_register(struct device *dev, struct device_node *of_node,
+ void __iomem *assert, void __iomem *status,
+ const u64 *asserted, unsigned int nr_resets,
+ struct module *owner);
#endif /* __RESET_STARFIVE_JH71X0_H */