blob: eb97d3b5351b442aeb56b49ffcab995fd468464f [file] [log] [blame]
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __POWER_DETECT_HW_H__
#define __POWER_DETECT_HW_H__
#include <linux/types.h>
#include "regs.h"
#include "iomap.h"
extern void pwrdet_threshold(int shift, int hi_th, int lo_th);
extern void pwrdet_downsample_ctrl(bool dw_en, bool fast_en,
int dw_sel, int fast_sel);
extern void aml_pwrdet_format_set(int toddr_type, int msb, int lsb);
extern void pwrdet_src_select(bool enable, int src);
#endif