-
Notifications
You must be signed in to change notification settings - Fork 579
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rtl8730e_boot.c: bringup gpio PB22 pin for lcd #6533
Conversation
7726ffd
to
21e86d1
Compare
@@ -242,6 +242,7 @@ void board_gpio_initialize(void) | |||
{PA_23, PIN_INPUT, PullNone}, | |||
/* PB_20 is gpio pin number for LED */ | |||
{PB_20, PIN_OUTPUT, PullDown}, | |||
{PB_22, PIN_OUTPUT, PullNone}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- It should be PIN_INPUT. (My previous comment was wrong)
- Let me suggest the title like below
board/rtl8730e: set PB_22 GPIO pin to get outside wakeup event
The PB_22 pin will be registered as a wakeup source and will get a wakeup event from outside.
@@ -242,6 +242,7 @@ void board_gpio_initialize(void) | |||
{PA_23, PIN_INPUT, PullNone}, | |||
/* PB_20 is gpio pin number for LED */ | |||
{PB_20, PIN_OUTPUT, PullDown}, | |||
{PB_22, PIN_OUTPUT, PullNone}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
os/arch/arm/src/amebasmart/amebasmart_i2s.c
.i2s_mclk_pin = PB_22,
PB22 pin is setting I2S2 mclk.
We need to check first if we can change I2S2 mclk to un-used pin
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rtk will raise PR about I2S2,
@ritesh55555 Let's merge your PR, Please update
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
- The PB_22 pin will be registered as a wakeup source and will get a wakeup event from outside.
This commit brings up PB22 gpio pin. This pin will be used as wake up source for lcd.