openwrt/target/linux/mpc85xx/patches-5.10
Josef Schlehofer 2f496c34b6 mpc85xx: add patch to fix gpio mpc8xxx
Backports patch, which is currently on review [1] for kernel 5.10 and
kernel 5.15, where it applies cleanly. This was tested on CZ.NIC Turris
1.1 router running OpenWrt 21.02.03 with kernel 5.15.

Before:

- In /var/log/messages:
```
[   16.392988] lm90 0-004c: cannot request IRQ 48
[   16.398280] lm90: probe of 0-004c failed with error -22
```

- Sensors does not work:
```
root@turris:~# sensors
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.
```

After:

```
root@turris:/# sensors
sa56004-i2c-0-4c
Adapter: MPC adapter (i2c@3000)
temp1:        +44.0°C  (low  =  +0.0°C, high = +70.0°C)
                       (crit = +85.0°C, hyst = +75.0°C)
temp2:        +73.8°C  (low  =  +0.0°C, high = +70.0°C)  ALARM (HIGH)
                       (crit = +85.0°C, hyst = +75.0°C)
```

[1] https://lore.kernel.org/linux-gpio/20220906105431.30911-1-pali@kernel.org/

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-09-11 01:30:11 +02:00
..
001-powerpc-85xx-add-gpio-keys-to-of-match-table.patch mpc85xx-p1010: add Kernel 5.10 support 2021-02-20 01:26:00 +01:00
100-powerpc-85xx-tl-wdr4900-v1-support.patch kernel: bump 5.10 to 5.10.80 2021-11-19 09:40:29 +00:00
101-powerpc-85xx-hiveap-330-support.patch kernel: bump 5.10 to 5.10.80 2021-11-19 09:40:29 +00:00
102-powerpc-add-cmdline-override.patch kernel: bump 5.10 to 5.10.122 2022-06-27 00:57:15 +02:00
103-powerpc-85xx-red-15w-rev1.patch kernel: bump 5.10 to 5.10.80 2021-11-19 09:40:29 +00:00
104-powerpc-mpc85xx-change-P2020RDB-dts-file-for-OpenWRT.patch kernel: bump 5.10 to 5.10.20 2021-03-05 20:35:01 +01:00
105-powerpc-85xx-panda-support.patch kernel: bump 5.10 to 5.10.80 2021-11-19 09:40:29 +00:00
106-powerpc-85xx-ws-ap3710i-support.patch kernel: bump 5.10 to 5.10.80 2021-11-19 09:40:29 +00:00
107-powerpc-85xx-add-ws-ap3825i-support.patch kernel: bump 5.10 to 5.10.107 2022-03-19 17:42:41 +01:00
110-gpio-mpc8xxx-Fix-support-for-IRQ_TYPE_LEVEL_LOW-flow.patch mpc85xx: add patch to fix gpio mpc8xxx 2022-09-11 01:30:11 +02:00
900-powerpc-bootwrapper-disable-uImage-generation.patch mpc85xx-p1010: add Kernel 5.10 support 2021-02-20 01:26:00 +01:00