mb/google/brya: Implement touchscreen power sequencing
For brya variants with a touchscreen, drive the enable GPIO high starting in romstage while holding in reset, then disable the reset GPIO in ramstage (done in the baseboard). This will allow coreboot to detect the presence of i2c touchscreens during ACPI SSDT generation (implemented in a subsequent commit). BUG=b:121309055 TEST=tested with rest of patch train Change-Id: I8e56ac4834ce69de18bef2d34f5c361a7fda1aab Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/74928 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <gaumless@gmail.com> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
This commit is contained in:
parent
204ffcb98d
commit
d7d74f106d
|
@ -159,6 +159,12 @@ static const struct pad_config romstage_gpio_table[] = {
|
|||
/* B4 : PROC_GP3 ==> SSD_PERST_L */
|
||||
PAD_CFG_GPO(GPP_B4, 1, DEEP),
|
||||
|
||||
/* Enable touchscreen, hold in reset */
|
||||
/* C0 : SMBCLK ==> EN_PP3300_TCHSCR */
|
||||
PAD_CFG_GPO(GPP_C0, 1, DEEP),
|
||||
/* C1 : SMBDATA ==> USI_RST_L */
|
||||
PAD_CFG_GPO(GPP_C1, 0, DEEP),
|
||||
|
||||
/* D1 : ISH_GP1 ==> FP_RST_ODL */
|
||||
PAD_CFG_GPO(GPP_D1, 0, DEEP),
|
||||
/* D2 : ISH_GP2 ==> EN_FP_PWR */
|
||||
|
|
|
@ -159,6 +159,12 @@ static const struct pad_config romstage_gpio_table[] = {
|
|||
/* B4 : PROC_GP3 ==> SSD_PERST_L */
|
||||
PAD_CFG_GPO(GPP_B4, 1, DEEP),
|
||||
|
||||
/* Enable touchscreen, hold in reset */
|
||||
/* C0 : SMBCLK ==> EN_PP3300_TCHSCR */
|
||||
PAD_CFG_GPO(GPP_C0, 1, DEEP),
|
||||
/* C1 : SMBDATA ==> USI_RST_L */
|
||||
PAD_CFG_GPO(GPP_C1, 0, DEEP),
|
||||
|
||||
/* D1 : ISH_GP1 ==> FP_RST_ODL */
|
||||
PAD_CFG_GPO(GPP_D1, 0, DEEP),
|
||||
/* D2 : ISH_GP2 ==> EN_FP_PWR */
|
||||
|
|
|
@ -103,7 +103,7 @@ static const struct pad_config gpio_table[] = {
|
|||
/* C0 : SMBCLK ==> EN_PP3300_TCHSCR */
|
||||
PAD_CFG_GPO(GPP_C0, 1, DEEP),
|
||||
/* C1 : SMBDATA ==> USI_RST_L */
|
||||
PAD_CFG_GPO(GPP_C1, 0, DEEP),
|
||||
PAD_CFG_GPO(GPP_C1, 1, DEEP),
|
||||
/* C2 : SMBALERT# ==> GPP_C2_STRAP */
|
||||
PAD_NC(GPP_C2, NONE),
|
||||
/* C3 : SML0CLK ==> EN_UCAM_PWR */
|
||||
|
|
|
@ -103,7 +103,7 @@ static const struct pad_config gpio_table[] = {
|
|||
/* C0 : SMBCLK ==> EN_PP3300_TCHSCR_X */
|
||||
PAD_CFG_GPO(GPP_C0, 1, DEEP),
|
||||
/* C1 : SMBDATA ==> TCHSCR_RST_L */
|
||||
PAD_CFG_GPO(GPP_C1, 0, DEEP),
|
||||
PAD_CFG_GPO(GPP_C1, 1, DEEP),
|
||||
/* C2 : SMBALERT# ==> GPP_C2_STRAP */
|
||||
PAD_NC(GPP_C2, NONE),
|
||||
/* C3 : SML0CLK ==> EN_PP3300_UCAM_X */
|
||||
|
|
|
@ -167,6 +167,12 @@ static const struct pad_config romstage_gpio_table[] = {
|
|||
/* B4 : PROC_GP3 ==> SSD_PERST_L */
|
||||
PAD_CFG_GPO(GPP_B4, 1, DEEP),
|
||||
|
||||
/* Enable touchscreen, hold in reset */
|
||||
/* C0 : SMBCLK ==> EN_PP3300_TCHSCR */
|
||||
PAD_CFG_GPO(GPP_C0, 1, DEEP),
|
||||
/* C1 : SMBDATA ==> USI_RST_L */
|
||||
PAD_CFG_GPO(GPP_C1, 0, DEEP),
|
||||
|
||||
/* D1 : ISH_GP1 ==> FP_RST_ODL */
|
||||
PAD_CFG_GPO(GPP_D1, 0, DEEP),
|
||||
/* D2 : ISH_GP2 ==> EN_FP_PWR */
|
||||
|
|
|
@ -78,6 +78,13 @@ static const struct pad_config early_gpio_table[] = {
|
|||
static const struct pad_config romstage_gpio_table[] = {
|
||||
/* B4 : SSD_PERST_L */
|
||||
PAD_CFG_GPO(GPP_B4, 1, DEEP),
|
||||
|
||||
/* Enable touchscreen, hold in reset */
|
||||
/* C0 : SMBCLK ==> EN_PP3300_TCHSCR */
|
||||
PAD_CFG_GPO(GPP_C0, 1, DEEP),
|
||||
/* C1 : SMBDATA ==> USI_RST_L */
|
||||
PAD_CFG_GPO(GPP_C1, 0, DEEP),
|
||||
|
||||
/* H12 : UART0_RTS# ==> SD_PERST_L */
|
||||
PAD_CFG_GPO(GPP_H12, 1, DEEP),
|
||||
};
|
||||
|
|
|
@ -197,6 +197,12 @@ static const struct pad_config romstage_gpio_table[] = {
|
|||
/* A20 : EXT_PWR_GATE2# ==> WWAN_RST_L (set here for correct power sequencing) */
|
||||
PAD_CFG_GPO(GPP_A20, 0, DEEP),
|
||||
|
||||
/* Enable touchscreen, hold in reset */
|
||||
/* C0 : SMBCLK ==> EN_PP3300_TCHSCR */
|
||||
PAD_CFG_GPO(GPP_C0, 1, DEEP),
|
||||
/* C1 : SMBDATA ==> USI_RST_L */
|
||||
PAD_CFG_GPO(GPP_C1, 0, DEEP),
|
||||
|
||||
/* D1 : ISH_GP1 ==> FP_RST_ODL */
|
||||
PAD_CFG_GPO(GPP_D1, 0, DEEP),
|
||||
/* D2 : ISH_GP2 ==> EN_FP_PWR */
|
||||
|
|
|
@ -145,6 +145,12 @@ static const struct pad_config early_gpio_table[] = {
|
|||
static const struct pad_config romstage_gpio_table[] = {
|
||||
/* B4 : PROC_GP3 ==> SSD_PERST_L */
|
||||
PAD_CFG_GPO(GPP_B4, 1, DEEP),
|
||||
|
||||
/* Enable touchscreen, hold in reset */
|
||||
/* C0 : SMBCLK ==> EN_PP3300_TCHSCR */
|
||||
PAD_CFG_GPO(GPP_C0, 1, DEEP),
|
||||
/* C1 : SMBDATA ==> USI_RST_L */
|
||||
PAD_CFG_GPO(GPP_C1, 0, DEEP),
|
||||
};
|
||||
|
||||
const struct pad_config *variant_gpio_override_table(size_t *num)
|
||||
|
|
|
@ -162,6 +162,12 @@ static const struct pad_config romstage_gpio_table[] = {
|
|||
/* B4 : PROC_GP3 ==> SSD_PERST_L */
|
||||
PAD_CFG_GPO(GPP_B4, 1, DEEP),
|
||||
|
||||
/* Enable touchscreen, hold in reset */
|
||||
/* C0 : SMBCLK ==> EN_PP3300_TCHSCR */
|
||||
PAD_CFG_GPO(GPP_C0, 1, DEEP),
|
||||
/* C1 : SMBDATA ==> USI_RST_L */
|
||||
PAD_CFG_GPO(GPP_C1, 0, DEEP),
|
||||
|
||||
/* D1 : ISH_GP1 ==> FP_RST_ODL */
|
||||
PAD_CFG_GPO(GPP_D1, 0, DEEP),
|
||||
/* D2 : ISH_GP2 ==> EN_FP_PWR */
|
||||
|
|
|
@ -162,6 +162,12 @@ static const struct pad_config romstage_gpio_table[] = {
|
|||
/* B4 : PROC_GP3 ==> SSD_PERST_L */
|
||||
PAD_CFG_GPO(GPP_B4, 1, DEEP),
|
||||
|
||||
/* Enable touchscreen, hold in reset */
|
||||
/* C0 : SMBCLK ==> EN_PP3300_TCHSCR */
|
||||
PAD_CFG_GPO(GPP_C0, 1, DEEP),
|
||||
/* C1 : SMBDATA ==> USI_RST_L */
|
||||
PAD_CFG_GPO(GPP_C1, 0, DEEP),
|
||||
|
||||
/* D1 : ISH_GP1 ==> FP_RST_ODL */
|
||||
PAD_CFG_GPO(GPP_D1, 0, DEEP),
|
||||
/* D2 : ISH_GP2 ==> EN_FP_PWR */
|
||||
|
|
|
@ -171,6 +171,12 @@ static const struct pad_config romstage_gpio_table[] = {
|
|||
/* B4 : PROC_GP3 ==> SSD_PERST_L */
|
||||
PAD_CFG_GPO(GPP_B4, 1, DEEP),
|
||||
|
||||
/* Enable touchscreen, hold in reset */
|
||||
/* C0 : SMBCLK ==> EN_PP3300_TCHSCR */
|
||||
PAD_CFG_GPO(GPP_C0, 1, DEEP),
|
||||
/* C1 : SMBDATA ==> USI_RST_L */
|
||||
PAD_CFG_GPO(GPP_C1, 0, DEEP),
|
||||
|
||||
/* D1 : ISH_GP1 ==> FP_RST_ODL */
|
||||
PAD_CFG_GPO(GPP_D1, 0, DEEP),
|
||||
/* D2 : ISH_GP2 ==> EN_FP_PWR */
|
||||
|
|
|
@ -209,6 +209,13 @@ static const struct pad_config early_gpio_table[] = {
|
|||
static const struct pad_config romstage_gpio_table[] = {
|
||||
/* B4 : SSD_PERST_L ==> SSD_PERST_L */
|
||||
PAD_CFG_GPO(GPP_B4, 1, DEEP),
|
||||
|
||||
/* Enable touchscreen, hold in reset */
|
||||
/* C0 : SMBCLK ==> EN_PP3300_TCHSCR */
|
||||
PAD_CFG_GPO(GPP_C0, 1, DEEP),
|
||||
/* C1 : SMBDATA ==> USI_RST_L */
|
||||
PAD_CFG_GPO(GPP_C1, 0, DEEP),
|
||||
|
||||
/* D1 : FP_RST_ODL ==> FP_RST_ODL */
|
||||
PAD_CFG_GPO(GPP_D1, 0, DEEP),
|
||||
/* D2 : EN_FP_PWR ==> EN_FP_PWR */
|
||||
|
|
|
@ -145,6 +145,12 @@ static const struct pad_config early_gpio_table[] = {
|
|||
static const struct pad_config romstage_gpio_table[] = {
|
||||
/* B4 : PROC_GP3 ==> SSD_PERST_L */
|
||||
PAD_CFG_GPO(GPP_B4, 1, DEEP),
|
||||
|
||||
/* Enable touchscreen, hold in reset */
|
||||
/* C0 : SMBCLK ==> EN_PP3300_TCHSCR */
|
||||
PAD_CFG_GPO(GPP_C0, 1, DEEP),
|
||||
/* C1 : SMBDATA ==> USI_RST_L */
|
||||
PAD_CFG_GPO(GPP_C1, 0, DEEP),
|
||||
};
|
||||
|
||||
const struct pad_config *variant_gpio_override_table(size_t *num)
|
||||
|
|
|
@ -53,6 +53,12 @@ static const struct pad_config early_gpio_table[] = {
|
|||
};
|
||||
|
||||
static const struct pad_config romstage_gpio_table[] = {
|
||||
/* Enable touchscreen, hold in reset */
|
||||
/* C0 : SMBCLK ==> EN_PP3300_TCHSCR */
|
||||
PAD_CFG_GPO(GPP_C0, 1, DEEP),
|
||||
/* C1 : SMBDATA ==> USI_RST_L */
|
||||
PAD_CFG_GPO(GPP_C1, 0, DEEP),
|
||||
|
||||
/* H12 : UART0_RTS# ==> SD_PERST_L */
|
||||
PAD_CFG_GPO(GPP_H12, 1, DEEP),
|
||||
/* H20 : IMGCLKOUT1 ==> WLAN_PERST_L */
|
||||
|
|
|
@ -183,6 +183,13 @@ static const struct pad_config early_gpio_table_nirwen[] = {
|
|||
static const struct pad_config romstage_gpio_table[] = {
|
||||
/* B4 : SSD_PERST_L */
|
||||
PAD_CFG_GPO(GPP_B4, 1, DEEP),
|
||||
|
||||
/* Enable touchscreen, hold in reset */
|
||||
/* C0 : SMBCLK ==> EN_PP3300_TCHSCR */
|
||||
PAD_CFG_GPO(GPP_C0, 1, DEEP),
|
||||
/* C1 : SMBDATA ==> USI_RST_L */
|
||||
PAD_CFG_GPO(GPP_C1, 0, DEEP),
|
||||
|
||||
/* H12 : UART0_RTS# ==> SD_PERST_L */
|
||||
PAD_CFG_GPO(GPP_H12, 1, DEEP),
|
||||
};
|
||||
|
|
|
@ -316,6 +316,12 @@ static const struct pad_config romstage_gpio_table[] = {
|
|||
* B4 is programmed here so that it is sequenced after EN_PP3300_SSD.
|
||||
*/
|
||||
PAD_CFG_GPO(GPP_B4, 1, DEEP),
|
||||
|
||||
/* Enable touchscreen, hold in reset */
|
||||
/* C0 : SMBCLK ==> EN_PP3300_TCHSCR */
|
||||
PAD_CFG_GPO(GPP_C0, 1, DEEP),
|
||||
/* C1 : SMBDATA ==> USI_RST_L */
|
||||
PAD_CFG_GPO(GPP_C1, 0, DEEP),
|
||||
};
|
||||
|
||||
const struct pad_config *variant_gpio_override_table(size_t *num)
|
||||
|
|
|
@ -142,6 +142,12 @@ static const struct pad_config romstage_gpio_table[] = {
|
|||
/* B4 : PROC_GP3 ==> SSD_PERST_L */
|
||||
PAD_CFG_GPO(GPP_B4, 1, DEEP),
|
||||
|
||||
/* Enable touchscreen, hold in reset */
|
||||
/* C0 : SMBCLK ==> EN_PP3300_TCHSCR */
|
||||
PAD_CFG_GPO(GPP_C0, 1, DEEP),
|
||||
/* C1 : SMBDATA ==> USI_RST_L */
|
||||
PAD_CFG_GPO(GPP_C1, 0, DEEP),
|
||||
|
||||
/* D1 : ISH_GP1 ==> FP_RST_ODL */
|
||||
PAD_CFG_GPO(GPP_D1, 0, DEEP),
|
||||
/* D2 : ISH_GP2 ==> EN_FP_PWR */
|
||||
|
|
|
@ -142,6 +142,12 @@ static const struct pad_config romstage_gpio_table[] = {
|
|||
/* B4 : PROC_GP3 ==> SSD_PERST_L */
|
||||
PAD_CFG_GPO(GPP_B4, 1, DEEP),
|
||||
|
||||
/* Enable touchscreen, hold in reset */
|
||||
/* C0 : SMBCLK ==> EN_PP3300_TCHSCR */
|
||||
PAD_CFG_GPO(GPP_C0, 1, DEEP),
|
||||
/* C1 : SMBDATA ==> USI_RST_L */
|
||||
PAD_CFG_GPO(GPP_C1, 0, DEEP),
|
||||
|
||||
/* D1 : ISH_GP1 ==> FP_RST_ODL */
|
||||
PAD_CFG_GPO(GPP_D1, 0, DEEP),
|
||||
/* D2 : ISH_GP2 ==> EN_FP_PWR */
|
||||
|
|
|
@ -153,6 +153,12 @@ static const struct pad_config early_5g_gpio_table[] = {
|
|||
|
||||
/* Pad configuration in romstage for Pujjo */
|
||||
static const struct pad_config romstage_gpio_table[] = {
|
||||
/* Enable touchscreen, hold in reset */
|
||||
/* C0 : SMBCLK ==> EN_PP3300_TCHSCR */
|
||||
PAD_CFG_GPO(GPP_C0, 1, DEEP),
|
||||
/* C1 : SMBDATA ==> USI_RST_L */
|
||||
PAD_CFG_GPO(GPP_C1, 0, DEEP),
|
||||
|
||||
/* H12 : UART0_RTS# ==> SD_PERST_L */
|
||||
PAD_CFG_GPO(GPP_H12, 1, DEEP),
|
||||
};
|
||||
|
|
|
@ -135,6 +135,12 @@ static const struct pad_config romstage_gpio_table[] = {
|
|||
/* B4 : PROC_GP3 ==> SSD_PERST_L */
|
||||
PAD_CFG_GPO(GPP_B4, 1, DEEP),
|
||||
|
||||
/* Enable touchscreen, hold in reset */
|
||||
/* C0 : SMBCLK ==> EN_PP3300_TCHSCR */
|
||||
PAD_CFG_GPO(GPP_C0, 1, DEEP),
|
||||
/* C1 : SMBDATA ==> USI_RST_L */
|
||||
PAD_CFG_GPO(GPP_C1, 0, DEEP),
|
||||
|
||||
/* D1 : ISH_GP1 ==> FP_RST_ODL */
|
||||
PAD_CFG_GPO(GPP_D1, 0, DEEP),
|
||||
/* D2 : ISH_GP2 ==> EN_FP_PWR */
|
||||
|
|
|
@ -132,6 +132,12 @@ static const struct pad_config romstage_gpio_table[] = {
|
|||
/* B4 : PROC_GP3 ==> SSD_PERST_L */
|
||||
PAD_CFG_GPO(GPP_B4, 1, DEEP),
|
||||
|
||||
/* Enable touchscreen, hold in reset */
|
||||
/* C0 : SMBCLK ==> EN_PP3300_TCHSCR */
|
||||
PAD_CFG_GPO(GPP_C0, 1, DEEP),
|
||||
/* C1 : SMBDATA ==> USI_RST_L */
|
||||
PAD_CFG_GPO(GPP_C1, 0, DEEP),
|
||||
|
||||
/* D1 : ISH_GP1 ==> FP_RST_ODL */
|
||||
PAD_CFG_GPO(GPP_D1, 0, DEEP),
|
||||
/* D2 : ISH_GP2 ==> EN_FP_PWR */
|
||||
|
|
|
@ -169,6 +169,12 @@ static const struct pad_config romstage_gpio_table[] = {
|
|||
/* B4 : PROC_GP3 ==> SSD_PERST_L */
|
||||
PAD_CFG_GPO(GPP_B4, 1, DEEP),
|
||||
|
||||
/* Enable touchscreen, hold in reset */
|
||||
/* C0 : SMBCLK ==> EN_PP3300_TCHSCR */
|
||||
PAD_CFG_GPO(GPP_C0, 1, DEEP),
|
||||
/* C1 : SMBDATA ==> USI_RST_L */
|
||||
PAD_CFG_GPO(GPP_C1, 0, DEEP),
|
||||
|
||||
/* D1 : ISH_GP1 ==> FP_RST_ODL */
|
||||
PAD_CFG_GPO(GPP_D1, 0, DEEP),
|
||||
/* D2 : ISH_GP2 ==> EN_FP_PWR */
|
||||
|
|
|
@ -167,6 +167,12 @@ static const struct pad_config romstage_gpio_table[] = {
|
|||
/* B4 : PROC_GP3 ==> SSD_PERST_L */
|
||||
PAD_CFG_GPO(GPP_B4, 1, DEEP),
|
||||
|
||||
/* Enable touchscreen, hold in reset */
|
||||
/* C0 : SMBCLK ==> EN_PP3300_TCHSCR */
|
||||
PAD_CFG_GPO(GPP_C0, 1, DEEP),
|
||||
/* C1 : SMBDATA ==> USI_RST_L */
|
||||
PAD_CFG_GPO(GPP_C1, 0, DEEP),
|
||||
|
||||
/* D1 : ISH_GP1 ==> FP_RST_ODL */
|
||||
PAD_CFG_GPO(GPP_D1, 0, DEEP),
|
||||
/* D2 : ISH_GP2 ==> EN_FP_PWR */
|
||||
|
|
|
@ -205,6 +205,12 @@ static const struct pad_config romstage_gpio_table[] = {
|
|||
*/
|
||||
PAD_CFG_GPO(GPP_B4, 1, DEEP),
|
||||
|
||||
/* Enable touchscreen, hold in reset */
|
||||
/* C0 : SMBCLK ==> EN_PP3300_TCHSCR */
|
||||
PAD_CFG_GPO(GPP_C0, 1, DEEP),
|
||||
/* C1 : SMBDATA ==> USI_RST_L */
|
||||
PAD_CFG_GPO(GPP_C1, 0, DEEP),
|
||||
|
||||
/* D1 : ISH_GP1 ==> FP_RST_ODL */
|
||||
PAD_CFG_GPO(GPP_D1, 0, DEEP),
|
||||
/* D2 : ISH_GP2 ==> EN_FP_PWR */
|
||||
|
|
|
@ -205,6 +205,12 @@ static const struct pad_config romstage_gpio_table[] = {
|
|||
*/
|
||||
PAD_CFG_GPO(GPP_B4, 1, DEEP),
|
||||
|
||||
/* Enable touchscreen, hold in reset */
|
||||
/* C0 : SMBCLK ==> EN_PP3300_TCHSCR */
|
||||
PAD_CFG_GPO(GPP_C0, 1, DEEP),
|
||||
/* C1 : SMBDATA ==> USI_RST_L */
|
||||
PAD_CFG_GPO(GPP_C1, 0, DEEP),
|
||||
|
||||
/* D1 : ISH_GP1 ==> FP_RST_ODL */
|
||||
PAD_CFG_GPO(GPP_D1, 0, DEEP),
|
||||
/* D2 : ISH_GP2 ==> EN_FP_PWR */
|
||||
|
|
|
@ -211,6 +211,12 @@ static const struct pad_config early_gpio_table[] = {
|
|||
static const struct pad_config romstage_gpio_table[] = {
|
||||
/* B4 : PROC_GP3 ==> SSD_PERST_L */
|
||||
PAD_CFG_GPO(GPP_B4, 1, DEEP),
|
||||
|
||||
/* Enable touchscreen, hold in reset */
|
||||
/* C0 : SMBCLK ==> EN_PP3300_TCHSCR */
|
||||
PAD_CFG_GPO(GPP_C0, 1, DEEP),
|
||||
/* C1 : SMBDATA ==> USI_RST_L */
|
||||
PAD_CFG_GPO(GPP_C1, 0, DEEP),
|
||||
};
|
||||
|
||||
const struct pad_config *variant_gpio_override_table(size_t *num)
|
||||
|
|
|
@ -176,6 +176,12 @@ static const struct pad_config romstage_gpio_table[] = {
|
|||
/* F21 : EXT_PWR_GATE2# ==> WWAN_FCPO_L (set here for correct power sequencing) */
|
||||
PAD_CFG_GPO(GPP_F21, 1, DEEP),
|
||||
|
||||
/* Enable touchscreen, hold in reset */
|
||||
/* C0 : SMBCLK ==> EN_PP3300_TCHSCR */
|
||||
PAD_CFG_GPO(GPP_C0, 1, DEEP),
|
||||
/* C1 : SMBDATA ==> USI_RST_L */
|
||||
PAD_CFG_GPO(GPP_C1, 0, DEEP),
|
||||
|
||||
/* D1 : ISH_GP1 ==> FP_RST_ODL */
|
||||
PAD_CFG_GPO(GPP_D1, 0, DEEP),
|
||||
/* D2 : ISH_GP2 ==> EN_FP_PWR */
|
||||
|
|
|
@ -180,6 +180,12 @@ static const struct pad_config romstage_gpio_table[] = {
|
|||
/* B4 : PROC_GP3 ==> SSD_PERST_L */
|
||||
PAD_CFG_GPO(GPP_B4, 1, DEEP),
|
||||
|
||||
/* Enable touchscreen, hold in reset */
|
||||
/* C0 : SMBCLK ==> EN_PP3300_TCHSCR */
|
||||
PAD_CFG_GPO(GPP_C0, 1, DEEP),
|
||||
/* C1 : SMBDATA ==> USI_RST_L */
|
||||
PAD_CFG_GPO(GPP_C1, 0, DEEP),
|
||||
|
||||
/* D1 : ISH_GP1 ==> FP_RST_ODL */
|
||||
PAD_CFG_GPO(GPP_D1, 0, DEEP),
|
||||
/* D2 : ISH_GP2 ==> EN_FP_PWR */
|
||||
|
|
|
@ -56,6 +56,11 @@ static const struct pad_config early_gpio_table[] = {
|
|||
};
|
||||
|
||||
static const struct pad_config romstage_gpio_table[] = {
|
||||
/* Enable touchscreen, hold in reset */
|
||||
/* C0 : SMBCLK ==> EN_PP3300_TCHSCR */
|
||||
PAD_CFG_GPO(GPP_C0, 1, DEEP),
|
||||
/* C1 : SMBDATA ==> USI_RST_L */
|
||||
PAD_CFG_GPO(GPP_C1, 0, DEEP),
|
||||
/* H12 : UART0_RTS# ==> SD_PERST_L */
|
||||
PAD_CFG_GPO(GPP_H12, 1, DEEP),
|
||||
/* H20 : IMGCLKOUT1 ==> WLAN_PERST_L */
|
||||
|
|
|
@ -152,6 +152,12 @@ static const struct pad_config early_gpio_table_yavilla[] = {
|
|||
};
|
||||
|
||||
static const struct pad_config romstage_gpio_table[] = {
|
||||
/* Enable touchscreen, hold in reset */
|
||||
/* C0 : SMBCLK ==> EN_PP3300_TCHSCR */
|
||||
PAD_CFG_GPO(GPP_C0, 1, DEEP),
|
||||
/* C1 : SMBDATA ==> USI_RST_L */
|
||||
PAD_CFG_GPO(GPP_C1, 0, DEEP),
|
||||
|
||||
/* H12 : UART0_RTS# ==> SD_PERST_L */
|
||||
PAD_CFG_GPO(GPP_H12, 1, DEEP),
|
||||
/* H20 : IMGCLKOUT1 ==> WLAN_PERST_L */
|
||||
|
|
|
@ -74,6 +74,12 @@ static const struct pad_config early_gpio_table[] = {
|
|||
};
|
||||
|
||||
static const struct pad_config romstage_gpio_table[] = {
|
||||
/* Enable touchscreen, hold in reset */
|
||||
/* C0 : SMBCLK ==> EN_PP3300_TCHSCR */
|
||||
PAD_CFG_GPO(GPP_C0, 1, DEEP),
|
||||
/* C1 : SMBDATA ==> USI_RST_L */
|
||||
PAD_CFG_GPO(GPP_C1, 0, DEEP),
|
||||
|
||||
/* H20 : IMGCLKOUT1 ==> WLAN_PERST_L */
|
||||
PAD_CFG_GPO(GPP_H20, 1, DEEP),
|
||||
};
|
||||
|
|
|
@ -171,6 +171,12 @@ static const struct pad_config romstage_gpio_table[] = {
|
|||
/* B4 : PROC_GP3 ==> SSD_PERST_L */
|
||||
PAD_CFG_GPO(GPP_B4, 1, DEEP),
|
||||
|
||||
/* Enable touchscreen, hold in reset */
|
||||
/* C0 : SMBCLK ==> EN_PP3300_TCHSCR */
|
||||
PAD_CFG_GPO(GPP_C0, 1, DEEP),
|
||||
/* C1 : SMBDATA ==> USI_RST_L */
|
||||
PAD_CFG_GPO(GPP_C1, 0, DEEP),
|
||||
|
||||
/* D1 : ISH_GP1 ==> FP_RST_ODL */
|
||||
PAD_CFG_GPO(GPP_D1, 0, DEEP),
|
||||
/* D2 : ISH_GP2 ==> EN_FP_PWR */
|
||||
|
|
Loading…
Reference in New Issue