gpio: dwapb: allow sane gpio numbering
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | gpio: dwapb: Use human understandable gpio numbering.Documentation/ drivers/ | +9 | 5 replies | |
| 1/2 | gpio: dwapb: Use human understandable gpio numbering. | +0 | 2 replies | |
| 1/2 | gpio: dwapb: Use human understandable gpio numbering. | +0 | 1 reply | |
| 1/2 | gpio: dwapb: Use human understandable gpio numbering. | +0 | 3 replies | |
| 1/2 | gpio: dwapb: Use human understandable gpio numbering. | +0 | 1 reply | |
| 1/2 | gpio: dwapb: Use human understandable gpio numbering. | +0 | 1 reply | |
| 1/2 | gpio: dwapb: Use human understandable gpio numbering. | +0 | 0 replies | |
| 1/2 | gpio: dwapb: Use human understandable gpio numbering. | +0 | 2 replies | |
| 1/2 | gpio: dwapb: Use human understandable gpio numbering. | +0 | 0 replies | |
| 1/2 | gpio: dwapb: Use human understandable gpio numbering. | +0 | 0 replies | |
| 2/2 | arm: dts: socfpga: Provide the gpio numbers in the controller nodes.arch/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] gpio: dwapb: allow sane gpio numbering
The dwapb driver always uses dynamic (pseudo-random) gpio numbers selected in blocks *descending* from the arch's maximum gpio value. Maybe this was meant for some theoretical hot pluggable gpio controller, but normal SoC devices have their gpio numbering set in stone.
This series extends the driver to accept a base number from the device tree and add the correct base numbers into the dts for the Altera socfpga.
Richard Cochran (2):
gpio: dwapb: Use human understandable gpio numbering.
arm: dts: socfpga: Provide the gpio numbers in the controller nodes.
Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt | 2 ++ arch/arm/boot/dts/socfpga.dtsi | 3 +++ drivers/gpio/gpio-dwapb.c | 8 +++++++- 3 files changed, 12 insertions(+), 1 deletion(-)
Signature · 1 line
2.1.4