feat(drivers/pmic): 添加IP5306硬件看门狗功能支持
为IP5306 PMIC驱动添加了硬件看门狗脉冲生成功能,通过RTC2、GPIOTE和PPI外设实现硬 件级的唤醒脉冲生成。当配置keepalive-hardware属性时,系统将使用硬件方式而非软件 定时器来产生看门狗脉冲。 在设备树中新增keepalive-hardware布尔属性,用于启用硬件看门狗功能,并相应更新了 驱动程序以支持软硬件两种看门狗模式的选择。 相关的DTS文件和配置也进行了相应调整,包括添加必要的nRF52硬件抽象层依赖以及 RTC2和GPIOTE相关配置选项。
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
description: Injoinic IP5306 PMIC with software wakeup keepalive support
|
||||
description: Injoinic IP5306 PMIC with selectable software or hardware wakeup keepalive support
|
||||
|
||||
compatible: "injoinic,ip5306"
|
||||
|
||||
@@ -19,3 +19,7 @@ properties:
|
||||
type: int
|
||||
required: true
|
||||
description: Active-high pulse width for the keepalive wakeup GPIO.
|
||||
|
||||
keepalive-hardware:
|
||||
type: boolean
|
||||
description: Enable RTC2 plus GPPI plus GPIOTE based hardware keepalive pulses.
|
||||
|
||||
Reference in New Issue
Block a user