Commit 43d897b
overlays: sc16is75x: Add generic SPI overlay
Currently four nearly identical overlays (sc16is750-spi0 / -spi1
and sc16is752-spi0 / -spi1) are provided. Besides the redundant
configuration all of them lack support for other SPI interfaces
than spi0 and spi1.
Thus refactor the common definitions into a generic sc16is75x-spi
overlay which provides support for all known spi / cs combinations.
Also choose the chip type via dtparam rather than different overlay.
Remove the existing overlays, replacing them with rename rules in the
overlay map.
Signed-off-by: Nicolai Buchwitz <n.buchwitz@kunbus.com>
Signed-off-by: Phil Elwell <phil@raspberrypi.com>1 parent b5cc6f5 commit 43d897b
7 files changed
Lines changed: 176 additions & 221 deletions
File tree
- arch/arm/boot/dts/overlays
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
253 | | - | |
254 | 253 | | |
255 | | - | |
256 | | - | |
| 254 | + | |
257 | 255 | | |
258 | 256 | | |
259 | 257 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4463 | 4463 | | |
4464 | 4464 | | |
4465 | 4465 | | |
4466 | | - | |
4467 | | - | |
4468 | | - | |
4469 | | - | |
4470 | | - | |
| 4466 | + | |
| 4467 | + | |
| 4468 | + | |
4471 | 4469 | | |
4472 | 4470 | | |
4473 | 4471 | | |
| |||
4483 | 4481 | | |
4484 | 4482 | | |
4485 | 4483 | | |
4486 | | - | |
4487 | | - | |
4488 | | - | |
4489 | | - | |
4490 | | - | |
| 4484 | + | |
| 4485 | + | |
| 4486 | + | |
4491 | 4487 | | |
4492 | 4488 | | |
4493 | 4489 | | |
4494 | | - | |
4495 | | - | |
4496 | | - | |
4497 | | - | |
| 4490 | + | |
| 4491 | + | |
| 4492 | + | |
4498 | 4493 | | |
4499 | | - | |
4500 | | - | |
| 4494 | + | |
| 4495 | + | |
| 4496 | + | |
| 4497 | + | |
| 4498 | + | |
| 4499 | + | |
| 4500 | + | |
| 4501 | + | |
| 4502 | + | |
| 4503 | + | |
| 4504 | + | |
4501 | 4505 | | |
4502 | 4506 | | |
4503 | 4507 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
287 | 303 | | |
288 | 304 | | |
289 | 305 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments