mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 04:38:03 +00:00
fb4c31587a
Add support for the reset controller present in the audio clock controller of the g12 and sm1 SoC families, using the auxiliary bus. This is expected to replace the driver currently present directly within the related clock driver. Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Link: https://lore.kernel.org/r/20240910-meson-rst-aux-v5-9-60be62635d3e@baylibre.com Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
24 lines
499 B
C
24 lines
499 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __SOC_RESET_MESON_AUX_H
|
|
#define __SOC_RESET_MESON_AUX_H
|
|
|
|
#include <linux/err.h>
|
|
|
|
struct device;
|
|
struct regmap;
|
|
|
|
#if IS_ENABLED(CONFIG_RESET_MESON_AUX)
|
|
int devm_meson_rst_aux_register(struct device *dev,
|
|
struct regmap *map,
|
|
const char *adev_name);
|
|
#else
|
|
static inline int devm_meson_rst_aux_register(struct device *dev,
|
|
struct regmap *map,
|
|
const char *adev_name)
|
|
{
|
|
return 0;
|
|
}
|
|
#endif
|
|
|
|
#endif /* __SOC_RESET_MESON_AUX_H */
|