-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
boards: shield: Support touch for the NXP LCD-PAR-S035 LCD on MCXN947
NXP LCD-PAR-S035 LCD supports touch: enable it The reset pin of the LCD and the touch controller are shared so we set alt-addr to select GT911 I2C address by probing Co-authored-by: Pascal Mareau <pascal.mareau@nxp.com> Co-authored-by: Guido Roncarolo <guido.roncarolo@nxp.com Signed-off-by: Guido Roncarolo <guido.roncarolo@nxp.com>
- Loading branch information
1 parent
d0474ce
commit f5bf20b
Showing
4 changed files
with
48 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
boards/shields/lcd_par_s035/boards/frdm_mcxn947_mcxn947_cpu0.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
* Copyright 2024, NXP | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
|
||
&flexio_i2c { | ||
status = "okay"; | ||
gt911_lcd_par_s035: gt911-lcd_par_s035@5d { | ||
compatible = "goodix,gt911"; | ||
reg = <0x5d>; | ||
irq-gpios = <&nxp_flexio_connector 0 GPIO_ACTIVE_HIGH>; | ||
alt-addr = <0x14>; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters