#include <linux/mod_devicetable.h>
#include <linux/platform_device.h>
#include "reset-starfive-jh71x0.h"
#include <dt-bindings/reset/starfive-jh7100.h>
#define JH7100_RESET_ASSERT0 …
#define JH7100_RESET_ASSERT1 …
#define JH7100_RESET_ASSERT2 …
#define JH7100_RESET_ASSERT3 …
#define JH7100_RESET_STATUS0 …
#define JH7100_RESET_STATUS1 …
#define JH7100_RESET_STATUS2 …
#define JH7100_RESET_STATUS3 …
static const u32 jh7100_reset_asserted[4] = …;
static int __init jh7100_reset_probe(struct platform_device *pdev)
{ … }
static const struct of_device_id jh7100_reset_dt_ids[] = …;
static struct platform_driver jh7100_reset_driver = …;
builtin_platform_driver_probe(…);