Hello community,

here is the log from the commit of package raspberrypi-firmware-dt for 
openSUSE:Factory checked in at 2020-11-29 12:30:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/raspberrypi-firmware-dt (Old)
 and      /work/SRC/openSUSE:Factory/.raspberrypi-firmware-dt.new.5913 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "raspberrypi-firmware-dt"

Sun Nov 29 12:30:36 2020 rev:27 rq:851348 version:2020.10.26

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/raspberrypi-firmware-dt/raspberrypi-firmware-dt.changes
  2020-11-05 21:56:18.887996010 +0100
+++ 
/work/SRC/openSUSE:Factory/.raspberrypi-firmware-dt.new.5913/raspberrypi-firmware-dt.changes
        2020-11-29 12:30:55.390153583 +0100
@@ -0,0 +1,6 @@
+-------------------------------------------------------------------
+Thu Nov 26 12:54:35 UTC 2020 - Nicolas Patricio Saenz Julienne 
<[email protected]>
+
+- Introduce upstream-overlay-rpi-poe.patch to adapt the overlay to our driver 
(jsc#SLE-16543)
+
+-------------------------------------------------------------------

New:
----
  upstream-overlay-rpi-poe.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ raspberrypi-firmware-dt.spec ++++++
--- /var/tmp/diff_new_pack.Z3miCn/_old  2020-11-29 12:30:58.138156362 +0100
+++ /var/tmp/diff_new_pack.Z3miCn/_new  2020-11-29 12:30:58.142156367 +0100
@@ -27,6 +27,7 @@
 Source1:        disable-vc4-overlay.dts
 Source2:        uboot-bcm2835-pl011-overlay.dts
 Source100:      get-from-git.sh
+Patch0:         upstream-overlay-rpi-poe.patch
 Requires:       raspberrypi-firmware
 BuildRequires:  dtc
 BuildRequires:  raspberrypi-firmware
@@ -40,6 +41,7 @@
 
 %prep
 %setup
+%patch0 -p1
 
 %build
 SRCDIR=`pwd`

++++++ upstream-overlay-rpi-poe.patch ++++++
From 8945b3da73f895c85f5616d45e5d5962c62df99a Mon Sep 17 00:00:00 2001
From: Nicolas Saenz Julienne <[email protected]>
Date: Thu, 26 Nov 2020 12:48:29 +0100
Subject: [PATCH] overlays: Update rpi-poe overlay to use upstream driver

The new upstream driver provides the same functionality. So use it.

Signed-off-by: Nicolas Saenz Julienne <[email protected]>
---
 .../arm/boot/dts/overlays/rpi-poe-overlay.dts | 34 ++++++++++++-------
 1 file changed, 21 insertions(+), 13 deletions(-)

diff --git a/arch/arm/boot/dts/overlays/rpi-poe-overlay.dts 
b/arch/arm/boot/dts/overlays/rpi-poe-overlay.dts
index 544038b614e1..aa5ec4318802 100644
--- a/arch/arm/boot/dts/overlays/rpi-poe-overlay.dts
+++ b/arch/arm/boot/dts/overlays/rpi-poe-overlay.dts
@@ -8,21 +8,28 @@ / {
        compatible = "brcm,bcm2835";
 
        fragment@0 {
+               target = <&firmware>;
+               __overlay__ {
+                       fwpwm: pwm {
+                               compatible = "raspberrypi,firmware-poe-pwm";
+                               #pwm-cells = <2>;
+                       };
+               };
+       };
+
+       fragment@1 {
                target-path = "/";
                __overlay__ {
-                       fan0: rpi-poe-fan@0 {
-                               compatible = "raspberrypi,rpi-poe-fan";
-                               firmware = <&firmware>;
-                               cooling-min-state = <0>;
-                               cooling-max-state = <4>;
-                               #cooling-cells = <2>;
+                       fan: pwm-fan {
+                               compatible = "pwm-fan";
                                cooling-levels = <0 31 63 150 255>;
-                               status = "okay";
+                               #cooling-cells = <2>;
+                               pwms = <&fwpwm 0 80000>;
                        };
                };
        };
 
-       fragment@1 {
+       fragment@2 {
                target = <&cpu_thermal>;
                __overlay__ {
                        trips {
@@ -47,28 +54,29 @@ trip3: trip3 {
                                        type = "active";
                                };
                        };
+
                        cooling-maps {
                                map0 {
                                        trip = <&trip0>;
-                                       cooling-device = <&fan0 0 1>;
+                                       cooling-device = <&fan 0 1>;
                                };
                                map1 {
                                        trip = <&trip1>;
-                                       cooling-device = <&fan0 1 2>;
+                                       cooling-device = <&fan 1 2>;
                                };
                                map2 {
                                        trip = <&trip2>;
-                                       cooling-device = <&fan0 2 3>;
+                                       cooling-device = <&fan 2 3>;
                                };
                                map3 {
                                        trip = <&trip3>;
-                                       cooling-device = <&fan0 3 4>;
+                                       cooling-device = <&fan 3 4>;
                                };
                        };
                };
        };
 
-       fragment@2 {
+       fragment@3 {
                target-path = "/__overrides__";
                __overlay__ {
                        poe_fan_temp0 =         <&trip0>,"temperature:0";
-- 
2.29.2
_______________________________________________
openSUSE Commits mailing list -- [email protected]
To unsubscribe, email [email protected]
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/[email protected]

Reply via email to