mirror of
https://gitee.com/Vancouver2017/luban-lite.git
synced 2025-12-25 05:28:55 +00:00
v1.1.2:add audio and efuse patch
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2022-2024, ArtInChip Technology Co., Ltd
|
||||
* Copyright (c) 2022-2025, ArtInChip Technology Co., Ltd
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
@@ -15,6 +15,8 @@ extern "C" {
|
||||
|
||||
#include <aic_core.h>
|
||||
|
||||
void drv_efuse_write_enable(void);
|
||||
void drv_efuse_write_disable(void);
|
||||
int drv_efuse_read(u32 addr, void *data, u32 size);
|
||||
int drv_efuse_read_chip_id(void *data);
|
||||
int drv_efuse_read_reserved_1(void *data);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2022-2024, ArtInChip Technology Co., Ltd
|
||||
* Copyright (c) 2022-2025, ArtInChip Technology Co., Ltd
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
@@ -16,6 +16,8 @@ extern "C" {
|
||||
#include <aic_core.h>
|
||||
|
||||
int efuse_init(void);
|
||||
void efuse_write_enable(void);
|
||||
void efuse_write_disable(void);
|
||||
int efuse_read(u32 addr, void *data, u32 size);
|
||||
int efuse_read_chip_id(void *data);
|
||||
int efuse_program(u32 addr, const void *data, u32 size);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2022-2024, ArtInChip Technology Co., Ltd
|
||||
* Copyright (c) 2022-2025, ArtInChip Technology Co., Ltd
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
@@ -17,6 +17,10 @@ extern "C" {
|
||||
|
||||
int hal_efuse_init(void);
|
||||
int hal_efuse_deinit(void);
|
||||
int hal_efuse_clk_enable(void);
|
||||
int hal_efuse_clk_disable(void);
|
||||
void hal_efuse_write_enable(void);
|
||||
void hal_efuse_write_disable(void);
|
||||
int hal_efuse_get_version(void);
|
||||
int hal_efuse_wait_ready(void);
|
||||
int hal_efuse_read(u32 wid, u32 *wval);
|
||||
|
||||
Reference in New Issue
Block a user