openwrt/target/linux/mpc85xx
Josef Schlehofer dafac183f3 mpc85xx: add patch to fix gpio mpc8xxx
Backports Linux kernel patch [1] for kernel 5.10 where it applies cleanly.
This was tested on CZ.NIC Turris 1.1 router running OpenWrt 22.03
release.

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>
(cherry picked from commit 2f496c34b6)
(c&p commit ID from openwrt's master)
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2022-09-24 17:53:52 +02:00
..
base-files mpc85xx: set WS-AP3825i mac-address in preinit 2022-04-26 01:04:30 +02:00
files/arch/powerpc mpc85xx: Drop pci aliases to avoid domain changes 2022-09-02 21:42:52 +02:00
image mpc85xx: Fix output location of padded dtb 2022-05-01 13:23:12 +02:00
p1010 mpc85xx: enable NAND support for all subtargets 2022-08-16 15:24:14 +02:00
p1020 mpc85xx: enable NAND support for all subtargets 2022-08-16 15:24:14 +02:00
p2020 mpc85xx: p2020: add RTC ds1307 to kernel 2022-06-25 00:05:21 +02:00
patches-5.10 mpc85xx: add patch to fix gpio mpc8xxx 2022-09-24 17:53:52 +02:00
config-5.10 mpc85xx: fix unset kernel symbols 2022-09-20 21:10:21 +02:00
Makefile mpc85xx: enable NAND support for all subtargets 2022-08-16 15:24:14 +02:00