ARM: tegra: Tegra20 pinmux cleanup
This renames all the Tegra20 pinmux pins and functions so they have a prefix which matches the type name. The entries in tegra20_pingroups[] are all updated to remove the columns which are no longer used. All affected code is updated to match. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
This commit is contained in:
committed by
Tom Warren
parent
dfb42fc95d
commit
70ad375ee4
@@ -18,12 +18,12 @@ void colibri_t20_common_pin_mux_usb(void)
|
||||
/* module internal USB bus to connect ethernet chipset */
|
||||
funcmux_select(PERIPH_ID_USB2, FUNCMUX_USB2_ULPI);
|
||||
/* ULPI reference clock output */
|
||||
pinmux_set_func(PINGRP_CDEV2, PMUX_FUNC_PLLP_OUT4);
|
||||
pinmux_tristate_disable(PINGRP_CDEV2);
|
||||
pinmux_set_func(PMUX_PINGRP_CDEV2, PMUX_FUNC_PLLP_OUT4);
|
||||
pinmux_tristate_disable(PMUX_PINGRP_CDEV2);
|
||||
/* PHY reset GPIO */
|
||||
pinmux_tristate_disable(PINGRP_UAC);
|
||||
pinmux_tristate_disable(PMUX_PINGRP_UAC);
|
||||
/* VBus GPIO */
|
||||
pinmux_tristate_disable(PINGRP_DTE);
|
||||
pinmux_tristate_disable(PMUX_PINGRP_DTE);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ void pin_mux_usb(void)
|
||||
colibri_t20_common_pin_mux_usb();
|
||||
|
||||
/* USB 1 aka Tegra USB port 3 VBus*/
|
||||
pinmux_tristate_disable(PINGRP_SPIG);
|
||||
pinmux_tristate_disable(PMUX_PINGRP_SPIG);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -31,6 +31,6 @@ void pin_mux_usb(void)
|
||||
void pin_mux_mmc(void)
|
||||
{
|
||||
funcmux_select(PERIPH_ID_SDMMC4, FUNCMUX_SDMMC4_ATB_GMA_4_BIT);
|
||||
pinmux_tristate_disable(PINGRP_GMB);
|
||||
pinmux_tristate_disable(PMUX_PINGRP_GMB);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user