mirror of
https://github.com/lupyuen/pinephone-nuttx.git
synced 2025-01-12 20:58:34 +08:00
Clean up
This commit is contained in:
parent
44167d81ed
commit
5c40755c87
1 changed files with 0 additions and 21 deletions
|
@ -1,21 +0,0 @@
|
|||
// Test Code for MIPI DSI and DPHY, called by https://github.com/lupyuen/pinephone-nuttx/blob/main/render.zig
|
||||
// Add `#include "../../pinephone-nuttx/test/pinephone_userleds_inc.c"` into board_userled_all() at:
|
||||
// https://github.com/lupyuen2/wip-pinephone-nuttx/blob/dsi/boards/arm64/a64/pinephone/src/pinephone_userleds.c#L179-L207
|
||||
{
|
||||
int a64_mipi_dsi_enable(void);
|
||||
int a64_mipi_dphy_enable(void);
|
||||
int pinephone_panel_init(void);
|
||||
int a64_mipi_dsi_start(void);
|
||||
switch (ledset)
|
||||
{
|
||||
// Enable MIPI DSI Block
|
||||
case 3: _info("a64_mipi_dsi_enable\n"); a64_mipi_dsi_enable(); break;
|
||||
// Enable MIPI Display Physical Layer
|
||||
case 4: _info("a64_mipi_dphy_enable\n"); a64_mipi_dphy_enable(); break;
|
||||
// Init LCD Panel
|
||||
case 6: _info("pinephone_panel_init\n"); pinephone_panel_init(); break;
|
||||
// Start MIPI DSI HSC and HSD
|
||||
case 7: _info("a64_mipi_dsi_start\n"); a64_mipi_dsi_start(); break;
|
||||
default: break;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue