mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-31 14:13:39 +00:00

Add an of_device_id table for both the I2C and SPI drivers. Signed-off-by: Nuno Sa <nuno.sa@analog.com> Link: https://patch.msgid.link/20241021-adau1372-of-table-v1-1-6efbc7946957@analog.com Signed-off-by: Mark Brown <broonie@kernel.org>
23 lines
507 B
C
23 lines
507 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* ADAU1372 driver
|
|
*
|
|
* Copyright 2016 Analog Devices Inc.
|
|
* Author: Lars-Peter Clausen <lars@metafoo.de>
|
|
*/
|
|
|
|
#ifndef SOUND_SOC_CODECS_ADAU1372_H
|
|
#define SOUND_SOC_CODECS_ADAU1372_H
|
|
|
|
#include <linux/regmap.h>
|
|
|
|
struct device;
|
|
|
|
extern const struct of_device_id adau1372_of_match[];
|
|
int adau1372_probe(struct device *dev, struct regmap *regmap,
|
|
void (*switch_mode)(struct device *dev));
|
|
|
|
extern const struct regmap_config adau1372_regmap_config;
|
|
|
|
#endif
|