Skip to content
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

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

ritesh55555
Copy link
Contributor

@ritesh55555 ritesh55555 commented Nov 25, 2024

This commit brings up PB22 gpio pin. This pin will be used as wake up source for lcd.

@ritesh55555 ritesh55555 changed the title rtl8730e_boot.c: bringup gpio PB22 pin for lcd [Do not Merge]rtl8730e_boot.c: bringup gpio PB22 pin for lcd Nov 25, 2024
@ritesh55555 ritesh55555 force-pushed the lcd_pin branch 3 times, most recently from 7726ffd to 21e86d1 Compare November 26, 2024 10:10
@@ -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},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. It should be PIN_INPUT. (My previous comment was wrong)
  2. 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},
Copy link
Contributor

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

Copy link
Contributor

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

Copy link
Contributor Author

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.
@ritesh55555 ritesh55555 changed the title [Do not Merge]rtl8730e_boot.c: bringup gpio PB22 pin for lcd rtl8730e_boot.c: bringup gpio PB22 pin for lcd Dec 2, 2024
@r-prabu r-prabu merged commit ee8bc93 into Samsung:master Dec 5, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants