[Letux-kernel] odd things in dt
Andreas Kemnade
andreas at kemnade.info
Sun Jan 28 13:17:42 CET 2018
Hi,
I looked into dt and did a diff with mainline and found several things,
which do not depend on our main battleplace (uart pm) and are different
in upstream and look as it should/need not be different.
Reason was just that I played around with mainline and there used to be
a display with an uncalibrated touchscreen. But I have only white
screen. So I digged around a bit.
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi
index 3dc56fb156b7..6eba8a76fcd5 100644
--- a/arch/arm/boot/dts/omap3-gta04.dtsi
+++ b/arch/arm/boot/dts/omap3-gta04.dtsi
[...]
@@ -71,7 +72,7 @@
#sound-dai-cells = <0>;
};
- spi_lcd {
+ spi_lcd: spi_lcd {
compatible = "spi-gpio";
#address-cells = <0x1>;
#size-cells = <0x0>;
hmm, does this cause any difference?
@@ -150,7 +153,7 @@
};
port at 1 {
- reg = <1>;
+ reg = <0>;
opa_out: endpoint {
remote-endpoint = <&tv_connector_in>;
};
So 0 or 1...
It is caused by:
788f9bbce9ae5
Another one
/* accelerometer */
bma180 at 41 {
+ /* we use the BMA150 Input (CONFIG_INPUT_BMA150) driver */
compatible = "bosch,bma180";
reg = <0x41>;
pinctrl-names = "default";
pintcrl-0 = <&bma180_pins>;
interrupt-parent = <&gpio4>;
- interrupts = <19 IRQ_TYPE_LEVEL_HIGH>; /* GPIO_115 */
+ interrupts = <19 (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING)>; /* GPIO_115 */
@@ -412,10 +427,24 @@
tsc2007 at 48 {
compatible = "ti,tsc2007";
reg = <0x48>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&penirq_pins>;
interrupt-parent = <&gpio6>;
(and several other penirq related stuff)
Also by the same patch.
Regards,
Andreas
More information about the Letux-kernel
mailing list