linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/9] Add support for Orange Pi 3
@ 2019-04-13 16:54 megous via linux-sunxi
       [not found] ` <20190413165418.27880-1-megous-5qf/QAjKc83QT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 18+ messages in thread
From: megous via linux-sunxi @ 2019-04-13 16:54 UTC (permalink / raw)
  To: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw, Maxime Ripard, Chen-Yu Tsai,
	Rob Herring, Linus Walleij
  Cc: Ondrej Jirman, David Airlie, Daniel Vetter, Mark Rutland,
	Giuseppe Cavallaro, Alexandre Torgue, Jose Abreu, David S. Miller,
	Maxime Coquelin, dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	netdev-u79uwXL29TY76Z2rM5mHXA,
	linux-stm32-XDFAJ8BFU24N7RejjzZ/Li2xQDfSxrLKVpNB7YpNyf8,
	linux-gpio-u79uwXL29TY76Z2rM5mHXA

From: Ondrej Jirman <megous-5qf/QAjKc83QT0dZR+AlfA@public.gmane.org>

This series implements support for Xunlong Orange Pi 3 board.

Unfortunately, this board needs some small driver patches, so I have
split the boards DT patch into chunks that require patches for drivers
in various subsystems.

Suggested merging plan/dependencies:

- Pinctrl and stmmac patches are needed for ethernet support.
  (patches 1-5) - these should be ready now
- HDMI support - waits for DT review. (patches 6-8)
- mmc1 pinconf (patch 9) can probably be merged now, too (it will
  certainly be used soon by all the other WiFi featuring boards
  based on H6)

This patch is also needed to not get segfault on boot (it was already
merged): 
  https://lkml.org/lkml/2019/4/5/856

Changes in v2:
- added dt-bindings documentation for the board's compatible string
  (suggested by Clement)
- addressed checkpatch warnings and code formatting issues (on Maxime's
  suggestions)
- stmmac: dropped useless parenthesis, reworded description of the patch
  (suggested by Sergei)
- drop useles dev_info() about the selected io bias voltage
- docummented io voltage bias selection variant macros
- wifi: marked WiFi DTS patch and realted mmc1_pins as "DO NOT MERGE",
  because wifi depends on H6 RTC support that's not merged yet (suggested
  by Clement)
- added missing signed-of-bys
- changed &usb2otg dr_mode to otg, and added a note about VBUS
- improved wording of HDMI driver's DDC power supply patch

Changes in v3:
- dropped already applied patches
- changed pinctrl I/O bias selection constants to enum and renamed
- added /omit-if-no-ref/ to mmc1_pins
- made mmc1_pins default pinconf for mmc1 in H6 dtsi
- move ddc-supply to HDMI connector node, updated patch descriptions,
  changed dt-bindings docs

Changes in v4:
- fix checkpatch warnings/style issues
- use enum in struct sunxi_desc_function for io_bias_cfg_variant
- collected acked-by's
- fix compile error in drivers/pinctrl/sunxi/pinctrl-sun9i-a80-r.c:156
  caused by missing conversion from has_io_bias_cfg struct member
  (I've kept the acked-by, because it's a trivial change, but feel free
  to object.) (reported by Martin A. on github)
  I did not have A80 pinctrl enabled for some reason, so I did not catch
  this sooner.
- dropped brcm firmware patch (was already applied)
- dropped the wifi dts patch (will re-send after H6 RTC gets merged,
  along with bluetooth support, in a separate series)

Please take a look.

thank you and regards,
  Ondrej Jirman

Icenowy Zheng (2):
  net: stmmac: sun8i: add support for Allwinner H6 EMAC
  net: stmmac: sun8i: force select external PHY when no internal one

Ondrej Jirman (7):
  pinctrl: sunxi: Prepare for alternative bias voltage setting methods
  pinctrl: sunxi: Support I/O bias voltage setting on H6
  arm64: dts: allwinner: orange-pi-3: Enable ethernet
  dt-bindings: display: hdmi-connector: Add DDC power supply
  drm: sun4i: Add support for enabling DDC I2C bus power to dw_hdmi glue
  arm64: dts: allwinner: orange-pi-3: Enable HDMI output
  arm64: dts: allwinner: h6: Add MMC1 pins

 .../display/connector/hdmi-connector.txt      |  1 +
 .../dts/allwinner/sun50i-h6-orangepi-3.dts    | 79 +++++++++++++++++++
 arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi  | 11 +++
 drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c         | 61 +++++++++++++-
 drivers/gpu/drm/sun4i/sun8i_dw_hdmi.h         |  2 +
 .../net/ethernet/stmicro/stmmac/dwmac-sun8i.c | 21 +++++
 drivers/pinctrl/sunxi/pinctrl-sun50i-h6.c     |  1 +
 drivers/pinctrl/sunxi/pinctrl-sun9i-a80-r.c   |  2 +-
 drivers/pinctrl/sunxi/pinctrl-sun9i-a80.c     |  2 +-
 drivers/pinctrl/sunxi/pinctrl-sunxi.c         | 56 ++++++++-----
 drivers/pinctrl/sunxi/pinctrl-sunxi.h         | 18 ++++-
 11 files changed, 230 insertions(+), 24 deletions(-)

-- 
2.21.0

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2019-05-03 11:58 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-13 16:54 [PATCH v4 0/9] Add support for Orange Pi 3 megous via linux-sunxi
     [not found] ` <20190413165418.27880-1-megous-5qf/QAjKc83QT0dZR+AlfA@public.gmane.org>
2019-04-13 16:54   ` [PATCH v4 1/9] net: stmmac: sun8i: add support for Allwinner H6 EMAC megous via linux-sunxi
2019-04-13 16:54   ` [PATCH v4 2/9] net: stmmac: sun8i: force select external PHY when no internal one megous via linux-sunxi
2019-04-13 16:54   ` [PATCH v4 3/9] pinctrl: sunxi: Prepare for alternative bias voltage setting methods megous via linux-sunxi
     [not found]     ` <20190413165418.27880-4-megous-5qf/QAjKc83QT0dZR+AlfA@public.gmane.org>
2019-04-23 10:31       ` Linus Walleij
2019-04-13 16:54   ` [PATCH v4 4/9] pinctrl: sunxi: Support I/O bias voltage setting on H6 megous via linux-sunxi
     [not found]     ` <20190413165418.27880-5-megous-5qf/QAjKc83QT0dZR+AlfA@public.gmane.org>
2019-04-23 10:32       ` Linus Walleij
2019-04-13 16:54   ` [PATCH v4 5/9] arm64: dts: allwinner: orange-pi-3: Enable ethernet megous via linux-sunxi
2019-05-03 11:58     ` [linux-sunxi] " Jagan Teki
2019-04-13 16:54   ` [PATCH v4 6/9] dt-bindings: display: hdmi-connector: Add DDC power supply megous via linux-sunxi
2019-04-26 18:23     ` Rob Herring
2019-04-26 19:20       ` Ondřej Jirman
2019-04-26 20:02         ` Rob Herring
     [not found]           ` <CAL_Jsq+o1j6AGL9UnhN1tV150DsFug6pg+UPEJ9EKqBc6rgq_w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-04-27 19:01             ` 'Ondřej Jirman' via linux-sunxi
2019-04-13 16:54   ` [PATCH v4 7/9] drm: sun4i: Add support for enabling DDC I2C bus power to dw_hdmi glue megous via linux-sunxi
2019-04-13 16:54   ` [PATCH v4 8/9] arm64: dts: allwinner: orange-pi-3: Enable HDMI output megous via linux-sunxi
2019-04-13 16:54   ` [PATCH v4 9/9] arm64: dts: allwinner: h6: Add MMC1 pins megous via linux-sunxi
     [not found]     ` <20190413165418.27880-10-megous-5qf/QAjKc83QT0dZR+AlfA@public.gmane.org>
2019-04-15  7:50       ` Maxime Ripard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).