Skip to content

Commit 891c3e1

Browse files
SuperDavidWurkhuangtao
authored andcommitted
pwm: rockchip: need the Distinguish between rk3328 and rk3288 for clk used
Change-Id: Ib6274a200640ab8829a99761ffbf60d530fe5653 Signed-off-by: david.wu <[email protected]>
1 parent 216c7fa commit 891c3e1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Documentation/devicetree/bindings/pwm/pwm-rockchip.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Required properties:
55
"rockchip,rk2928-pwm": found on RK29XX,RK3066 and RK3188 SoCs
66
"rockchip,rk3288-pwm": found on RK3288 SoC
77
"rockchip,vop-pwm": found integrated in VOP on RK3288 SoC
8-
"rockchip,rk3328-pwm", "rockchip,rk3288-pwm": found on RK3328 SoC
8+
"rockchip,rk3328-pwm": found on RK3328 SoC
99
"rockchip,rk3399-pwm", "rockchip,rk3288-pwm": found on RK3399 SoC
1010
- reg: physical base address and length of the controller's registers
1111
- clocks: See ../clock/clock-bindings.txt

drivers/pwm/pwm-rockchip.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ static const struct rockchip_pwm_data pwm_data_vop = {
239239
static const struct of_device_id rockchip_pwm_dt_ids[] = {
240240
{ .compatible = "rockchip,rk2928-pwm", .data = &pwm_data_v1},
241241
{ .compatible = "rockchip,rk3288-pwm", .data = &pwm_data_v2},
242+
{ .compatible = "rockchip,rk3328-pwm", .data = &pwm_data_v2},
242243
{ .compatible = "rockchip,vop-pwm", .data = &pwm_data_vop},
243244
{ .compatible = "rockchip,rk3399-pwm", .data = &pwm_data_v2},
244245
{ /* sentinel */ }

0 commit comments

Comments
 (0)