Hello community,
here is the log from the commit of package raspberrypi-firmware-dt for
openSUSE:Factory checked in at 2019-01-21 10:57:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/raspberrypi-firmware-dt (Old)
and /work/SRC/openSUSE:Factory/.raspberrypi-firmware-dt.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "raspberrypi-firmware-dt"
Mon Jan 21 10:57:37 2019 rev:5 rq:666444 version:2018.07.16
Changes:
--------
---
/work/SRC/openSUSE:Factory/raspberrypi-firmware-dt/raspberrypi-firmware-dt.changes
2018-12-21 08:21:47.313549247 +0100
+++
/work/SRC/openSUSE:Factory/.raspberrypi-firmware-dt.new.28833/raspberrypi-firmware-dt.changes
2019-01-21 10:57:58.415460955 +0100
@@ -1,0 +2,7 @@
+Tue Jan 15 12:56:15 UTC 2019 - Nicolas Patricio Saenz Julienne
<[email protected]>
+
+- Add upstream-rpi-ft5406-overlay.patch which updates the touchscreen's
+ overlay to support both downstream and upstream versions of the driver
+ (FATE#326921, bsc#1122118)
+
+-------------------------------------------------------------------
New:
----
upstream-rpi-ft5406-overlay.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ raspberrypi-firmware-dt.spec ++++++
--- /var/tmp/diff_new_pack.40iCdT/_old 2019-01-21 10:58:00.255458553 +0100
+++ /var/tmp/diff_new_pack.40iCdT/_new 2019-01-21 10:58:00.255458553 +0100
@@ -1,7 +1,7 @@
#
# spec file for package raspberrypi-firmware-dt
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,7 @@
Source: raspberrypi-firmware-dt-%{version}.tar.xz
Source1: upstream-aux-interrupt-overlay.dts
Source100: get-from-git.sh
+Patch1: upstream-rpi-ft5406-overlay.patch
Requires: raspberrypi-firmware
BuildRequires: dtc
BuildRequires: raspberrypi-firmware
@@ -38,6 +39,7 @@
%prep
%setup
+%patch1 -p1
%build
SRCDIR=`pwd`
++++++ upstream-rpi-ft5406-overlay.patch ++++++
From: Nicolas Saenz Julienne <[email protected]>
Date: Mon, 14 Jan 2019 18:45:23 +0100
Subject: dts: overlays: add upstream rpi-ft5406 support
Patch-mainline: No, this is specific to openSUSE
References: FATE#326921
The upstream version of the driver uses a different compatible string
and dt parameters. This joins both implementations in a single overlay
to make user's life easier.
Signed-off-by: Nicolas Saenz Julienne <[email protected]>
---
arch/arm/boot/dts/overlays/rpi-ft5406-overlay.dts | 29 +++++++++++++++++++----
1 file changed, 24 insertions(+), 5 deletions(-)
diff --git a/arch/arm/boot/dts/overlays/rpi-ft5406-overlay.dts
b/arch/arm/boot/dts/overlays/rpi-ft5406-overlay.dts
index 1915ce188bf3..8ff42e06e81b 100644
--- a/arch/arm/boot/dts/overlays/rpi-ft5406-overlay.dts
+++ b/arch/arm/boot/dts/overlays/rpi-ft5406-overlay.dts
@@ -20,11 +20,30 @@
};
};
+
+ fragment@1 {
+ target-path = "/soc/firmware";
+ __overlay__ {
+ compatible = "raspberrypi,bcm2835-firmware",
"simple-bus";
+
+ ts: touchscreen {
+ compatible = "raspberrypi,firmware-ts";
+ touchscreen-size-x = <800>;
+ touchscreen-size-y = <480>;
+ };
+ };
+ };
+
__overrides__ {
- touchscreen-size-x = <&rpi_ft5406>,"touchscreen-size-x:0";
- touchscreen-size-y = <&rpi_ft5406>,"touchscreen-size-y:0";
- touchscreen-inverted-x =
<&rpi_ft5406>,"touchscreen-inverted-x:0";
- touchscreen-inverted-y =
<&rpi_ft5406>,"touchscreen-inverted-y:0";
- touchscreen-swapped-x-y =
<&rpi_ft5406>,"touchscreen-swapped-x-y:0";
+ touchscreen-size-x = <&rpi_ft5406>,"touchscreen-size-x:0",
+ <&ts>,"touchscreen-size-x:0";
+ touchscreen-size-y = <&rpi_ft5406>,"touchscreen-size-y:0",
+ <&ts>,"touchscreen-size-y:0";
+ touchscreen-inverted-x =
<&rpi_ft5406>,"touchscreen-inverted-x:0",
+ <&ts>,"touchscreen-inverted-x?";
+ touchscreen-inverted-y =
<&rpi_ft5406>,"touchscreen-inverted-y:0",
+ <&ts>,"touchscreen-inverted-y?";
+ touchscreen-swapped-x-y =
<&rpi_ft5406>,"touchscreen-swapped-x-y:0",
+ <&ts>,"touchscreen-swapped-x-y?";
};
};