blob: 483cd4c53960c43a93fd8efcb2f840b8fe0ef3d1 [file] [log] [blame]
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef LYNXPOINT_HDA_VERB_H
#define LYNXPOINT_HDA_VERB_H
#define HDA_GCAP_REG 0x00
#define HDA_GCTL_REG 0x08
#define HDA_GCTL_CRST (1 << 0)
#define HDA_STATESTS_REG 0x0e
#define HDA_IC_REG 0x60
#define HDA_IR_REG 0x64
#define HDA_ICII_REG 0x68
#define HDA_ICII_BUSY (1 << 0)
#define HDA_ICII_VALID (1 << 1)
int hda_codec_detect(u8 *base);
int hda_codec_write(u8 *base, u32 size, const u32 *data);
int hda_codec_init(u8 *base, int addr, int verb_size, const u32 *verb_data);
#endif