346978980a
The different devices handled by the WM8994 can be distinguished using their ID registers so we don't need to rely on the user having registered the device correctly. Instead do the initial regmap setup with a minimal configuration only supporting physical I/O and then configure the cache once we have identified the device. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Samuel Ortiz <sameo@linux.intel.com>
25 lines
717 B
C
25 lines
717 B
C
/*
|
|
* wm8994.h -- WM8994 MFD internals
|
|
*
|
|
* Copyright 2011 Wolfson Microelectronics PLC.
|
|
*
|
|
* Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License as published by the
|
|
* Free Software Foundation; either version 2 of the License, or (at your
|
|
* option) any later version.
|
|
*
|
|
*/
|
|
|
|
#ifndef __MFD_WM8994_H__
|
|
#define __MFD_WM8994_H__
|
|
|
|
#include <linux/regmap.h>
|
|
|
|
extern struct regmap_config wm1811_regmap_config;
|
|
extern struct regmap_config wm8994_regmap_config;
|
|
extern struct regmap_config wm8958_regmap_config;
|
|
extern struct regmap_config wm8994_base_regmap_config;
|
|
|
|
#endif
|