Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
linux-imx-kuk
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SECO Northern Europe
Kernel
linux-imx-kuk
Commits
93657d7a
Commit
93657d7a
authored
1 year ago
by
Tobias Kahlki
Committed by
Jonas Höppner
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
arm64:dts:pconxs: Adapt touch, backlight and display enable
parent
acb859b3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
arch/arm64/boot/dts/seconorth/pconxs.dtsi
+42
-19
42 additions, 19 deletions
arch/arm64/boot/dts/seconorth/pconxs.dtsi
with
42 additions
and
19 deletions
arch/arm64/boot/dts/seconorth/pconxs.dtsi
+
42
−
19
View file @
93657d7a
...
@@ -185,23 +185,19 @@ &pwm1 {
...
@@ -185,23 +185,19 @@ &pwm1 {
status = "okay";
status = "okay";
};
};
&backlight1{
/*
status = "okay";
The backlight is provided by the SOM, so it should be defined in the SOM's
pinctrl-0 = <&pinctrl_backlight_enable>;
DTSI file. If a display needs reversed brightness levels, this should be
enable-gpios = <spin73_gpio GPIO_ACTIVE_HIGH>;
overridden by the display's DTSI file.
brightness-levels = < 100
*/
99 98 97 96 95 94 93 92 91 90
89 88 87 86 85 84 83 82 81 80
79 78 77 76 75 74 73 72 71 70
69 68 67 66 65 64 63 62 61 60
59 58 57 56 55 54 53 52 51 50
49 48 47 46 45 44 43 42 41 40
39 38 37 36 35 34 33 32 31 30
29 28 27 26 25 24 23 22 21 20
19 18 17 16 15 14 13 12 11 10
9 8 7 6 5 4 3 2 1 0>;
};
/*
The touch is part of the display, not the baseboard.
But if a touch is present, some configurations are almost the same,
at least when the pins to be used are defined somewhere else.
Furthermore to move the touch definition to the display will break
lots of existing device trees (believe me, I tried to do so).
*/
#ifdef TOUCH_INT
#ifdef TOUCH_INT
i2c_touch: &i2c1 { /* Touch */
i2c_touch: &i2c1 { /* Touch */
clock-frequency = <400000>;
clock-frequency = <400000>;
...
@@ -213,9 +209,7 @@ cap_touch: cap_touch_controller@0{
...
@@ -213,9 +209,7 @@ cap_touch: cap_touch_controller@0{
interrupt-parent = <touch_int_parent>;
interrupt-parent = <touch_int_parent>;
interrupts = <touch_int_pin IRQ_TYPE_LEVEL_LOW>;
interrupts = <touch_int_pin IRQ_TYPE_LEVEL_LOW>;
irq-gpio = <touch_int GPIO_ACTIVE_LOW>;
irq-gpio = <touch_int GPIO_ACTIVE_LOW>;
#ifdef TRIZEPS8MINI // on plus the reset is not connected
reset-gpio = <touch_enable GPIO_ACTIVE_LOW>;
reset-gpio = <touch_enable GPIO_ACTIVE_LOW>;
#endif
status = "disabled";
status = "disabled";
};
};
...
@@ -300,6 +294,8 @@ &gpio1 10 (KK_RSRVD_IN |KK_RSRVD_EXPORT|KK_RSRVD_REQUEST(2)) /* CAN1_TX */
...
@@ -300,6 +294,8 @@ &gpio1 10 (KK_RSRVD_IN |KK_RSRVD_EXPORT|KK_RSRVD_REQUEST(2)) /* CAN1_TX */
};
};
#endif
#endif
// the touch is part of the display, not the baseboard
#if 0
&iomuxc {
&iomuxc {
#ifdef DISPLAY_ENABLE
#ifdef DISPLAY_ENABLE
...
@@ -308,6 +304,31 @@ pinctrl_display_enable: display-enable {
...
@@ -308,6 +304,31 @@ pinctrl_display_enable: display-enable {
};
};
#endif
#endif
#ifdef TOUCH_INT
pinctrl_captouch: captouchgrp {
fsl,pins = <
#ifdef TRIZEPS8MINI // on plus the reset is not connected
// yes it is, but is is a mcu-gpio
TOUCH_RESET PAD_GPIO /* WAKE */
#endif
#if defined(TOUCH_USE_INT2) && (TOUCH_USE_INT2==1)
TOUCH_INT2 PAD_GPIO /* IRQ */
#else
TOUCH_INT PAD_GPIO /* IRQ */
#endif
TOUCH_INT PAD_GPIO
>;
};
#endif
};
#else
&iomuxc {
#ifdef DISPLAY_ENABLE
pinctrl_display_enable: display-enable {
fsl,pins = < DISPLAY_ENABLE PAD_GPIO_PU >; /* DISPLAY_ENABLE */
};
#endif
#ifdef TOUCH_INT
#ifdef TOUCH_INT
pinctrl_captouch: captouchgrp {
pinctrl_captouch: captouchgrp {
fsl,pins = <
fsl,pins = <
...
@@ -320,6 +341,8 @@ TOUCH_INT PAD_GPIO
...
@@ -320,6 +341,8 @@ TOUCH_INT PAD_GPIO
>;
>;
};
};
#endif
#endif
};
};
#endif
#endif
#endif
This diff is collapsed.
Click to expand it.
GitBot
@gitbot
mentioned in commit
seco-ne/yocto/manifest@5d9fc8c4
·
1 year ago
mentioned in commit
seco-ne/yocto/manifest@5d9fc8c4
mentioned in commit seco-ne/yocto/manifest@5d9fc8c485266fbff5a6e2e543f6d4b8ce5919bf
Toggle commit list
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
register
or
sign in
to comment