Commit 9294853
committed
realtek: RTL930x/RTL931x led_set defines, and led-sync pin configuration
Add defines for RTL930x and RTL931x led_set 'modes' (to avoid magic numbers
in dts files).
Add support for led-sync pin usage on RTL930x and RTL931x devices.
This allows for the HC595 shift register LED support provided by these chips.
Also tidy up the handling of led_sets on rtl930x devices (so it doesn't
produce errors for missing led_sets)
Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>1 parent 9736d42 commit 9294853
File tree
5 files changed
+61
-2
lines changed- target/linux/realtek
- dts
- files-6.12
- arch/mips/include/asm/mach-rtl838x
- drivers/net/dsa/rtl83xx
5 files changed
+61
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
13 | 29 | | |
14 | 30 | | |
15 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
15 | 31 | | |
16 | 32 | | |
17 | 33 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
| 233 | + | |
| 234 | + | |
233 | 235 | | |
234 | 236 | | |
235 | 237 | | |
| |||
Lines changed: 19 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
2272 | 2274 | | |
2273 | 2275 | | |
2274 | 2276 | | |
2275 | | - | |
2276 | | - | |
| 2277 | + | |
| 2278 | + | |
2277 | 2279 | | |
2278 | 2280 | | |
2279 | 2281 | | |
| 2282 | + | |
| 2283 | + | |
| 2284 | + | |
| 2285 | + | |
| 2286 | + | |
| 2287 | + | |
| 2288 | + | |
| 2289 | + | |
| 2290 | + | |
2280 | 2291 | | |
2281 | 2292 | | |
2282 | 2293 | | |
| |||
2312 | 2323 | | |
2313 | 2324 | | |
2314 | 2325 | | |
| 2326 | + | |
| 2327 | + | |
| 2328 | + | |
| 2329 | + | |
| 2330 | + | |
| 2331 | + | |
2315 | 2332 | | |
2316 | 2333 | | |
2317 | 2334 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| |||
1651 | 1653 | | |
1652 | 1654 | | |
1653 | 1655 | | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
| 1660 | + | |
| 1661 | + | |
1654 | 1662 | | |
1655 | 1663 | | |
1656 | 1664 | | |
| |||
0 commit comments