mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
dt-bindings: power: rockchip: Add bindings for rk3562
Document dt-bindings for RK3562 power-controller. Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com> Change-Id: I755b753bb08aab5a9c2b1ee8784f762a8bdf368a
This commit is contained in:
@@ -40,6 +40,7 @@ properties:
|
||||
- rockchip,rk3366-power-controller
|
||||
- rockchip,rk3368-power-controller
|
||||
- rockchip,rk3399-power-controller
|
||||
- rockchip,rk3562-power-controller
|
||||
- rockchip,rk3568-power-controller
|
||||
- rockchip,rk3588-power-controller
|
||||
- rockchip,rv1126-power-controller
|
||||
@@ -120,6 +121,7 @@ $defs:
|
||||
"include/dt-bindings/power/rk3366-power.h"
|
||||
"include/dt-bindings/power/rk3368-power.h"
|
||||
"include/dt-bindings/power/rk3399-power.h"
|
||||
"include/dt-bindings/power/rk3562-power.h"
|
||||
"include/dt-bindings/power/rk3568-power.h"
|
||||
"include/dt-bindings/power/rk3588-power.h"
|
||||
"include/dt-bindings/power/rockchip,rv1126-power.h"
|
||||
@@ -139,6 +141,14 @@ $defs:
|
||||
A number of phandles to qos blocks which need to be saved and restored
|
||||
while power domain switches state.
|
||||
|
||||
pm_shaping:
|
||||
$ref: /schemas/types.yaml#/definitions/phandle-array
|
||||
items:
|
||||
maxItems: 1
|
||||
description: |
|
||||
A number of phandles to shaping blocks which need to be saved and
|
||||
restored while power domain switches state.
|
||||
|
||||
"#power-domain-cells":
|
||||
enum: [0, 1]
|
||||
description:
|
||||
@@ -252,3 +262,70 @@ examples:
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
- |
|
||||
#include <dt-bindings/clock/rk3562-cru.h>
|
||||
#include <dt-bindings/power/rk3562-power.h>
|
||||
|
||||
soc {
|
||||
#address-cells = <2>;
|
||||
#size-cells = <2>;
|
||||
|
||||
qos_gpu: qos@fee30000 {
|
||||
compatible = "syscon";
|
||||
reg = <0x0 0xfee30000 0x0 0x20>;
|
||||
priority-init = <0x202>;
|
||||
};
|
||||
|
||||
shaping_gpu: shaping@fee30088 {
|
||||
compatible = "syscon";
|
||||
reg = <0x0 0xfee30088 0x0 0x4>;
|
||||
};
|
||||
|
||||
qos_pcie: qos@feea0000 {
|
||||
compatible = "syscon";
|
||||
reg = <0x0 0xfeea0000 0x0 0x20>;
|
||||
};
|
||||
|
||||
shaping_pcie: shaping@feea0088 {
|
||||
compatible = "syscon";
|
||||
reg = <0x0 0xfeea0088 0x0 0x4>;
|
||||
shaping-init = <0x5>;
|
||||
};
|
||||
|
||||
qos_usb3: qos@feea0100 {
|
||||
compatible = "syscon";
|
||||
reg = <0x0 0xfeea0100 0x0 0x20>;
|
||||
};
|
||||
|
||||
shaping_usb3: shaping@feea0188 {
|
||||
compatible = "syscon";
|
||||
reg = <0x0 0xfeea0188 0x0 0x4>;
|
||||
};
|
||||
|
||||
power-management@ff258000 {
|
||||
compatible = "rockchip,rk3562-pmu", "syscon", "simple-mfd";
|
||||
reg = <0x0 0xff258000 0x0 0x1000>;
|
||||
|
||||
power: power-controller {
|
||||
compatible = "rockchip,rk3562-power-controller";
|
||||
#power-domain-cells = <1>;
|
||||
##address-cells = <1>;
|
||||
##size-cells = <0>;
|
||||
|
||||
/* These power domains are grouped by VD_GPU */
|
||||
pd_gpu@RK3562_PD_GPU {
|
||||
reg = <RK3562_PD_GPU>;
|
||||
pm_qos = <&qos_gpu>;
|
||||
pm_shaping = <&shaping_gpu>;
|
||||
};
|
||||
|
||||
/* These power domains are grouped by VD_LOGIC */
|
||||
pd_php@RK3562_PD_PHP {
|
||||
reg = <RK3562_PD_PHP>;
|
||||
pm_qos = <&qos_pcie>, <&qos_usb3>;
|
||||
pm_shaping = <&shaping_pcie>, <&shaping_usb3>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user