project:cfg:BoardConfig_IPC: Added fastboot BoardConfig file and firmware post-scripts, distinguishing between the BoardConfigs for Luckfox Pico Pro and Luckfox Pico Max. project:app: Added fastboot_client and rk_smart_door for quick boot applications; updated rkipc app to adapt to the latest media library. media:samples: Added more usage examples. media:rockit: Fixed bugs; removed support for retrieving data frames from VPSS. media:isp: Updated rkaiq library and related tools to support connection to RKISP_Tuner. sysdrv:Makefile: Added support for compiling drv_ko on Luckfox Pico Ultra W using Ubuntu; added support for custom root filesystem. sysdrv:tools:board: Updated Buildroot optional mirror sources, updated some software versions, and stored device tree files and configuration files that undergo multiple modifications for U-Boot and kernel separately. sysdrv:source:mcu: Used RISC-V MCU SDK with RT-Thread system, mainly for initializing camera AE during quick boot. sysdrv:source:uboot: Added support for fastboot; added high baud rate DDR bin for serial firmware upgrades. sysdrv:source:kernel: Upgraded to version 5.10.160; increased NPU frequency for RV1106G3; added support for fastboot. Signed-off-by: luckfox-eng29 <eng29@luckfox.com>
23 lines
737 B
C
23 lines
737 B
C
/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
|
|
/*
|
|
* Copyright (c) 2023 Rockchip Electronics Co., Ltd.
|
|
*/
|
|
|
|
#ifndef __ROCKCHIP_HPTIEMR_H__
|
|
#define __ROCKCHIP_HPTIEMR_H__
|
|
|
|
enum rk_hptimer_mode_t {
|
|
RK_HPTIMER_NORM_MODE = 0,
|
|
RK_HPTIMER_HARD_ADJUST_MODE = 1,
|
|
RK_HPTIMER_SOFT_ADJUST_MODE = 2,
|
|
};
|
|
|
|
int rk_hptimer_is_enabled(void __iomem *base);
|
|
int rk_hptimer_get_mode(void __iomem *base);
|
|
u64 rk_hptimer_get_count(void __iomem *base);
|
|
int rk_hptimer_wait_mode(void __iomem *base, enum rk_hptimer_mode_t mode);
|
|
void rk_hptimer_do_soft_adjust(void __iomem *base, u32 hf, u32 lf);
|
|
void rk_hptimer_do_soft_adjust_no_wait(void __iomem *base, u32 hf, u32 lf);
|
|
void rk_hptimer_mode_init(void __iomem *base, enum rk_hptimer_mode_t mode);
|
|
#endif
|