pwm: rockchip: need the Distinguish between rk3328 and rk3288 for clk used
Change-Id: Ib6274a200640ab8829a99761ffbf60d530fe5653 Signed-off-by: david.wu <david.wu@rock-chips.com>
This commit is contained in:
@@ -5,7 +5,7 @@ Required properties:
|
|||||||
"rockchip,rk2928-pwm": found on RK29XX,RK3066 and RK3188 SoCs
|
"rockchip,rk2928-pwm": found on RK29XX,RK3066 and RK3188 SoCs
|
||||||
"rockchip,rk3288-pwm": found on RK3288 SoC
|
"rockchip,rk3288-pwm": found on RK3288 SoC
|
||||||
"rockchip,vop-pwm": found integrated in VOP on RK3288 SoC
|
"rockchip,vop-pwm": found integrated in VOP on RK3288 SoC
|
||||||
"rockchip,rk3328-pwm", "rockchip,rk3288-pwm": found on RK3328 SoC
|
"rockchip,rk3328-pwm": found on RK3328 SoC
|
||||||
"rockchip,rk3399-pwm", "rockchip,rk3288-pwm": found on RK3399 SoC
|
"rockchip,rk3399-pwm", "rockchip,rk3288-pwm": found on RK3399 SoC
|
||||||
- reg: physical base address and length of the controller's registers
|
- reg: physical base address and length of the controller's registers
|
||||||
- clocks: See ../clock/clock-bindings.txt
|
- clocks: See ../clock/clock-bindings.txt
|
||||||
|
|||||||
@@ -239,6 +239,7 @@ static const struct rockchip_pwm_data pwm_data_vop = {
|
|||||||
static const struct of_device_id rockchip_pwm_dt_ids[] = {
|
static const struct of_device_id rockchip_pwm_dt_ids[] = {
|
||||||
{ .compatible = "rockchip,rk2928-pwm", .data = &pwm_data_v1},
|
{ .compatible = "rockchip,rk2928-pwm", .data = &pwm_data_v1},
|
||||||
{ .compatible = "rockchip,rk3288-pwm", .data = &pwm_data_v2},
|
{ .compatible = "rockchip,rk3288-pwm", .data = &pwm_data_v2},
|
||||||
|
{ .compatible = "rockchip,rk3328-pwm", .data = &pwm_data_v2},
|
||||||
{ .compatible = "rockchip,vop-pwm", .data = &pwm_data_vop},
|
{ .compatible = "rockchip,vop-pwm", .data = &pwm_data_vop},
|
||||||
{ .compatible = "rockchip,rk3399-pwm", .data = &pwm_data_v2},
|
{ .compatible = "rockchip,rk3399-pwm", .data = &pwm_data_v2},
|
||||||
{ /* sentinel */ }
|
{ /* sentinel */ }
|
||||||
|
|||||||
Reference in New Issue
Block a user