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>
37 lines
876 B
C
37 lines
876 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Rockchip PCIe Apis For WIFI
|
|
*
|
|
* Copyright (c) 2022, Rockchip Electronics Co., Ltd.
|
|
*/
|
|
|
|
#ifndef __RK_DHD_PCIE_LINUX_H__
|
|
#define __RK_DHD_PCIE_LINUX_H__
|
|
|
|
#include <typedefs.h>
|
|
#include <sbchipc.h>
|
|
#include <pcie_core.h>
|
|
#include <dhd_pcie.h>
|
|
#include <linux/aspm_ext.h>
|
|
|
|
static inline void
|
|
rk_dhd_bus_l1ss_enable_rc_ep(dhd_bus_t *bus, bool enable)
|
|
{
|
|
if (!bus->rc_ep_aspm_cap || !bus->rc_ep_l1ss_cap) {
|
|
pr_err("%s: NOT L1SS CAPABLE rc_ep_aspm_cap: %d rc_ep_l1ss_cap: %d\n",
|
|
__func__, bus->rc_ep_aspm_cap, bus->rc_ep_l1ss_cap);
|
|
return;
|
|
}
|
|
|
|
/* Disable ASPM of RC and EP */
|
|
pcie_aspm_ext_l1ss_enable(bus->dev, bus->rc_dev, enable);
|
|
}
|
|
|
|
static inline bool
|
|
rk_dhd_bus_is_rc_ep_l1ss_capable(dhd_bus_t *bus)
|
|
{
|
|
return pcie_aspm_ext_is_rc_ep_l1ss_capable(bus->dev, bus->rc_dev);
|
|
}
|
|
|
|
#endif /* __RK_DHD_PCIE_LINUX_H__ */
|