Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
linux-kernel-4-9-51-imx8mq-ga-rel
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ARM
NXP
i.MX8
release
bsp1
linux-kernel-4-9-51-imx8mq-ga-rel
Commits
0078d31f
Commit
0078d31f
authored
Oct 18, 2018
by
i.MX6 Administrator
Browse files
Options
Downloads
Patches
Plain Diff
FAN PWM: added fan pwm control fan_pwm
parent
49a17156
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
arch/arm64/boot/dts/seco/fsl-imx8mq-seco-c12.dts
+31
-1
31 additions, 1 deletion
arch/arm64/boot/dts/seco/fsl-imx8mq-seco-c12.dts
with
31 additions
and
1 deletion
arch/arm64/boot/dts/seco/fsl-imx8mq-seco-c12.dts
+
31
−
1
View file @
0078d31f
...
...
@@ -161,6 +161,24 @@
default-brightness-level = <80>;
};
fan_pwm: fan_pwm@1 {
compatible = "pwm-backlight";
pwms = <&pwm2 0 100000>;
brightness-levels = < 0 1 2 3 4 5 6 7 8 9
10 11 12 13 14 15 16 17 18 19
20 21 22 23 24 25 26 27 28 29
30 31 32 33 34 35 36 37 38 39
40 41 42 43 44 45 46 47 48 49
50 51 52 53 54 55 56 57 58 59
60 61 62 63 64 65 66 67 68 69
70 71 72 73 74 75 76 77 78 79
80 81 82 83 84 85 86 87 88 89
90 91 92 93 94 95 96 97 98 99
100>;
default-brightness-level = <80>;
};
lvds_backlight1: lvds_backlight@1 {
compatible = "pwm-backlight";
pwms = <&pwm3 0 100000>;
...
...
@@ -218,7 +236,6 @@
MX8MQ_IOMUXC_GPIO1_IO04_GPIO1_IO4 0x19 /* GPIO2 */
MX8MQ_IOMUXC_GPIO1_IO05_GPIO1_IO5 0x19 /* GPIO3 */
MX8MQ_IOMUXC_GPIO1_IO06_GPIO1_IO6 0x19 /* GPIO4 */
MX8MQ_IOMUXC_GPIO1_IO13_GPIO1_IO13 0x19 /* GPIO5 */
MX8MQ_IOMUXC_GPIO1_IO10_GPIO1_IO10 0x19 /* GPIO6 */
MX8MQ_IOMUXC_GPIO1_IO11_GPIO1_IO11 0x19 /* GPIO7 */
MX8MQ_IOMUXC_GPIO1_IO12_GPIO1_IO12 0x19 /* GPIO8 */
...
...
@@ -506,6 +523,12 @@
>;
};
pinctrl_fan_pwm2: lvds1pwm2grp {
fsl,pins = <
MX8MQ_IOMUXC_GPIO1_IO13_PWM2_OUT 0x000000d6
>;
};
pinctrl_lvds1_pwm3: lvds1pwm3grp {
fsl,pins = <
MX8MQ_IOMUXC_SPDIF_TX_PWM3_OUT 0x000000d6
...
...
@@ -938,6 +961,13 @@
status = "okay";
};
&pwm2 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_fan_pwm2>;
status = "okay";
};
&pwm3 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lvds1_pwm3>;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment