Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rockchip] Provide dtb overlay to enable pwm node for rk3288 #7369

Merged
merged 1 commit into from
Oct 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions patch/kernel/archive/rockchip-6.11/overlay/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ dtbo-$(CONFIG_ARCH_ROCKCHIP) += \
rockchip-ds1307.dtbo \
rockchip-i2c1.dtbo \
rockchip-i2c4.dtbo \
rockchip-pwm1.dtbo \
rockchip-pwm2.dtbo \
rockchip-pwm3.dtbo \
rockchip-spi0.dtbo \
rockchip-spi2.dtbo \
rockchip-spidev0.dtbo \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ rockchip (Rockchip)
- ds1307
- i2c1
- i2c4
- pwm1
- pwm2
- pwm3
- spi0
- spi2
- spidev0
Expand All @@ -35,6 +38,10 @@ Activate i2c1

Activate i2c4

### pwm*

Activate pwm1, pwm2 and pwm3

### spi0

Activate spi0
Expand Down
16 changes: 16 additions & 0 deletions patch/kernel/archive/rockchip-6.11/overlay/rockchip-pwm1.dtso
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/* Definitions for pwm1
*/

/dts-v1/;
/plugin/;

/ {
compatible = "rockchip,rk3288";

fragment@0 {
target = <&pwm1>;
__overlay__ {
status = "okay";
};
};
};
16 changes: 16 additions & 0 deletions patch/kernel/archive/rockchip-6.11/overlay/rockchip-pwm2.dtso
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/* Definitions for pwm2
*/

/dts-v1/;
/plugin/;

/ {
compatible = "rockchip,rk3288";

fragment@0 {
target = <&pwm2>;
__overlay__ {
status = "okay";
};
};
};
16 changes: 16 additions & 0 deletions patch/kernel/archive/rockchip-6.11/overlay/rockchip-pwm3.dtso
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/* Definitions for pwm3
*/

/dts-v1/;
/plugin/;

/ {
compatible = "rockchip,rk3288";

fragment@0 {
target = <&pwm3>;
__overlay__ {
status = "okay";
};
};
};
3 changes: 3 additions & 0 deletions patch/kernel/archive/rockchip-6.6/overlay/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ dtbo-$(CONFIG_ARCH_ROCKCHIP) += \
rockchip-ds1307.dtbo \
rockchip-i2c1.dtbo \
rockchip-i2c4.dtbo \
rockchip-pwm1.dtbo \
rockchip-pwm2.dtbo \
rockchip-pwm3.dtbo \
rockchip-spi0.dtbo \
rockchip-spi2.dtbo \
rockchip-spidev0.dtbo \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ rockchip (Rockchip)
- ds1307
- i2c1
- i2c4
- pwm1
- pwm2
- pwm3
- spi0
- spi2
- spidev0
Expand All @@ -35,6 +38,10 @@ Activate i2c1

Activate i2c4

### pwm*

Activate pwm1, pwm2 and pwm3

### spi0

Activate spi0
Expand Down
16 changes: 16 additions & 0 deletions patch/kernel/archive/rockchip-6.6/overlay/rockchip-pwm1.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/* Definitions for pwm1
*/

/dts-v1/;
/plugin/;

/ {
compatible = "rockchip,rk3288";

fragment@0 {
target = <&pwm1>;
__overlay__ {
status = "okay";
};
};
};
16 changes: 16 additions & 0 deletions patch/kernel/archive/rockchip-6.6/overlay/rockchip-pwm2.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/* Definitions for pwm2
*/

/dts-v1/;
/plugin/;

/ {
compatible = "rockchip,rk3288";

fragment@0 {
target = <&pwm2>;
__overlay__ {
status = "okay";
};
};
};
16 changes: 16 additions & 0 deletions patch/kernel/archive/rockchip-6.6/overlay/rockchip-pwm3.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/* Definitions for pwm3
*/

/dts-v1/;
/plugin/;

/ {
compatible = "rockchip,rk3288";

fragment@0 {
target = <&pwm3>;
__overlay__ {
status = "okay";
};
};
};