Skip to content

Commit 295926e

Browse files
finley1226Ulf Hansson
authored andcommitted
dt-bindings: power: rockchip: Add support for RV1126B
Add power domain IDs for RV1126B SoC. Add a new compatible because register fields have changed. Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 parent 203dfbd commit 295926e

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

Documentation/devicetree/bindings/power/rockchip,power-controller.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ properties:
4646
- rockchip,rk3576-power-controller
4747
- rockchip,rk3588-power-controller
4848
- rockchip,rv1126-power-controller
49+
- rockchip,rv1126b-power-controller
4950

5051
"#power-domain-cells":
5152
const: 1
@@ -126,6 +127,7 @@ $defs:
126127
"include/dt-bindings/power/rk3568-power.h"
127128
"include/dt-bindings/power/rk3588-power.h"
128129
"include/dt-bindings/power/rockchip,rv1126-power.h"
130+
"include/dt-bindings/power/rockchip,rv1126b-power-controller.h"
129131
130132
clocks:
131133
minItems: 1
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */
2+
/*
3+
* Copyright (c) 2024 Rockchip Electronics Co., Ltd.
4+
* Author: Finley Xiao <finley.xiao@rock-chips.com>
5+
*/
6+
7+
#ifndef __DT_BINDINGS_POWER_RV1126B_POWER_CONTROLLER_H__
8+
#define __DT_BINDINGS_POWER_RV1126B_POWER_CONTROLLER_H__
9+
10+
/* VD_NPU */
11+
#define RV1126B_PD_NPU 0
12+
13+
/* VD_LOGIC */
14+
#define RV1126B_PD_VDO 1
15+
#define RV1126B_PD_AIISP 2
16+
17+
#endif

0 commit comments

Comments
 (0)