mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
imx233: normalise pinctrl names
The current pinctrl functions were a mess. Normalise the functions names to make them shorter and clearer. Change-Id: Iac6ff84625ef2b7610268e3a5802dc0088de3167
This commit is contained in:
parent
abb7d1dcfe
commit
918a06a12a
18 changed files with 281 additions and 281 deletions
|
|
@ -84,10 +84,10 @@ void imx233_i2c_init(void)
|
|||
{
|
||||
BF_SET(I2C_CTRL0, SFTRST);
|
||||
/* setup pins (must be done when shutdown) */
|
||||
imx233_pinctrl_acquire_pin(0, 30, "i2c");
|
||||
imx233_pinctrl_acquire_pin(0, 31, "i2c");
|
||||
imx233_set_pin_function(0, 30, PINCTRL_FUNCTION_MAIN);
|
||||
imx233_set_pin_function(0, 31, PINCTRL_FUNCTION_MAIN);
|
||||
imx233_pinctrl_acquire(0, 30, "i2c");
|
||||
imx233_pinctrl_acquire(0, 31, "i2c");
|
||||
imx233_pinctrl_set_function(0, 30, PINCTRL_FUNCTION_MAIN);
|
||||
imx233_pinctrl_set_function(0, 31, PINCTRL_FUNCTION_MAIN);
|
||||
/* clear softreset */
|
||||
imx233_reset_block(&HW_I2C_CTRL0);
|
||||
/* Errata:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue