Skip to content

pinctrl: sunxi: Add H3 R_PIO controller support

Krzysztof Adamski linux-arm-kernel linux-gpio lkml 4 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest4 patches 5 repliesApplied
  2. v35 patches 16 repliesSuperseded
  3. v25 patches 14 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch4 repliesSuperseded

Changes in v5 from the cover letter

- remove patches that are alredy merged
- add patch describing leds and switch in DT

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/4clk: sunxi: Add apb0 gates for H3Documentation/devicetree/bindings/clock/sunxi.txt drivers/clk/sunxi/clk-simple-gates.c+6 -01 reply
2/4dts: sun8i-h3: Add APB0 related clocks and resetsarch/arm/boot/dts/sun8i-h3.dtsi+25 -01 reply
3/4ARM: dts: sun8i-h3: Add R_PIO controller node to the dtsiarch/arm/boot/dts/sun8i-h3.dtsi+12 -02 replies
4/4ARM: dts: sun8i: Add leds and switch on Orangepi Plus boardsarch/arm/boot/dts/sun8i-h3-orangepi-plus.dts+63 -01 reply

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchLinus Walleij
1/4
2/4
3/4A-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/4] pinctrl: sunxi: Add H3 R_PIO controller support

This patch series is extension of my original single patch with the same subject. It adds support for R_PIO so that GPIO port L can be used in H3 based devices. It was tested on OrangePi PC and OrangePi Plus where PL is connected amount others to an onboard led, a switch, an IR receiver and some VCC controllers.

Patchset is based on next-20160222.

---

Changes since v4:
- remove patches that are alredy merged
- add patch describing leds and switch in DT

Changes since v3:
- collect some acked-bys
- fix r_pios #interrupt-cells

Changes since v2:
- fixed apb0 parrent clocks list
- moved binding documentation change to the proper patch
- simplified sunxi_pinctrl_gpio_get according to ChenYu suggestions
- fixed ordering in sunxi binding documentation

Changes since v1:
- splited patch to two separate - dtsi and c files
- added APB0 clocks a parent for R_PIO
- added fix in sunxi_pinctrl_gpio_get for getting pin value when in irq mode and on 2nd pinctrl
- fixed a "pwn" > "pwm" typo
- fixed order in allwinner,sunxi-pinctrl.txt

Krzysztof Adamski (4):
clk: sunxi: Add apb0 gates for H3
dts: sun8i-h3: Add APB0 related clocks and resets
ARM: dts: sun8i-h3: Add R_PIO controller node to the dtsi
ARM: dts: sun8i: Add leds and switch on Orangepi Plus boards

Krzysztof Adamski (4):
clk: sunxi: Add apb0 gates for H3
dts: sun8i-h3: Add APB0 related clocks and resets
ARM: dts: sun8i-h3: Add R_PIO controller node to the dtsi
ARM: dts: sun8i: Add leds and switch on Orangepi Plus boards

 Documentation/devicetree/bindings/clock/sunxi.txt |  2 +
 arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts      | 63 +++++++++++++++++++++++
 arch/arm/boot/dts/sun8i-h3.dtsi                   | 37 +++++++++++++
 drivers/clk/sunxi/clk-simple-gates.c              |  4 ++
 4 files changed, 106 insertions(+)
Signature · 1 line
2.1.4