Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _LINUX_ADAU7118_H
0003 #define _LINUX_ADAU7118_H
0004 
0005 struct regmap;
0006 struct device;
0007 
0008 /* register map */
0009 #define ADAU7118_REG_VENDOR_ID      0x00
0010 #define ADAU7118_REG_DEVICE_ID1     0x01
0011 #define ADAU7118_REG_DEVICE_ID2     0x02
0012 #define ADAU7118_REG_REVISION_ID    0x03
0013 #define ADAU7118_REG_ENABLES        0x04
0014 #define ADAU7118_REG_DEC_RATIO_CLK_MAP  0x05
0015 #define ADAU7118_REG_HPF_CONTROL    0x06
0016 #define ADAU7118_REG_SPT_CTRL1      0x07
0017 #define ADAU7118_REG_SPT_CTRL2      0x08
0018 #define ADAU7118_REG_SPT_CX(num)    (0x09 + (num))
0019 #define ADAU7118_REG_DRIVE_STRENGTH 0x11
0020 #define ADAU7118_REG_RESET      0x12
0021 
0022 int adau7118_probe(struct device *dev, struct regmap *map, bool hw_mode);
0023 
0024 #endif