OSDN Git Service

pinctrl: sh-pfc: r8a7796: Add group for AVB MDIO and MII pins
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 19 Apr 2017 12:41:21 +0000 (14:41 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 15 May 2017 07:50:43 +0000 (09:50 +0200)
commit41397032c4a17dff1909c9956d6989eb849fea59
treebe05c7344e4f9ee754028d28882d6c63b8a2f03f
parent332cb226f7a4a43d19eb3a4deb792f2cbdc6a5f7
pinctrl: sh-pfc: r8a7796: Add group for AVB MDIO and MII pins

Group the AVB pins into similar groups as found in other sh-pfc drivers.
The pins can not be muxed between functions other than AVB, but their
drive strengths can be controlled.

The group avb_mdc containing ADV_MDC and ADV_MDIO is called avb_mdio on
R-Car Gen2 SoCs.  In pfc-r8a7796 the avb_mdc group already existed and
is in use in DT. Therefore add the ADV_MDIO pin to the existing group
instead of renaming it.

Based on commit b25719eb938eb39a ("pinctrl: sh-pfc: r8a7795: Add group
for AVB MDIO and MII pins").

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
drivers/pinctrl/sh-pfc/pfc-r8a7796.c