Skip to content

Commit 304be20

Browse files
QSchulzmmind
authored andcommitted
arm64: dts: rockchip: add header for RK8XX PMIC constants
To make it easier to read the device tree, let's add constants for the rockchip,reset-mode property values that are currently only applicable to RK806 PMIC. Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de> [dt-maintainers did not consider this part of the binding, so we're keeping the header in the devicetree directory] Link: https://lore.kernel.org/r/20250627-rk8xx-rst-fun-v4-3-ce05d041b45f@cherry.de Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent e6066ed commit 304be20

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

  • arch/arm64/boot/dts/rockchip
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/* SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) */
2+
/*
3+
* Device Tree defines for Rockchip RK8xx PMICs
4+
*
5+
* Copyright 2025 Cherry Embedded Solutions GmbH
6+
*
7+
* Author: Quentin Schulz <quentin.schulz@cherry.de>
8+
*/
9+
10+
#ifndef _DT_MFD_ROCKCHIP_RK8XX_H
11+
#define _DT_MFD_ROCKCHIP_RK8XX_H
12+
13+
/* For use with rockchip,reset-mode property */
14+
#define RK806_RESTART 0
15+
#define RK806_RESET 1
16+
#define RK806_RESET_NOTIFY 2
17+
18+
#endif

0 commit comments

Comments
 (0)