-
Notifications
You must be signed in to change notification settings - Fork 2
bsp: imx9: Add BSP manual for i.MX 91/93 FPSC #449
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
Open
FPlohl
wants to merge
3
commits into
main
Choose a base branch
from
WIP/florijan.plohl@norik.com/imx93-phyflex-doc
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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,31 @@ | ||
| .. list-table:: | ||
|
|
||
| * - .. figure:: /bsp/images/dipswitch-tristate-4-pppp.svg | ||
| :scale: 400% | ||
|
|
||
| Internal fuses | ||
|
|
||
| - .. figure:: /bsp/images/dipswitch-tristate-4-mppp.svg | ||
| :scale: 400% | ||
|
|
||
| USB serial download | ||
|
|
||
| * - .. figure:: /bsp/images/dipswitch-tristate-4-pmpp.svg | ||
| :scale: 400% | ||
|
|
||
| e.MMC | ||
|
|
||
| - .. figure:: /bsp/images/dipswitch-tristate-4-mmpp.svg | ||
| :scale: 400% | ||
|
|
||
| SD card | ||
|
|
||
| * - .. figure:: /bsp/images/dipswitch-tristate-4-pmmp.svg | ||
| :scale: 400% | ||
|
|
||
| SPI NOR flash | ||
|
|
||
| - .. figure:: /bsp/images/dipswitch-tristate-4-mmmm.svg | ||
| :scale: 400% | ||
|
|
||
| JTAG mode |
This file contains hidden or 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,14 @@ | ||
| |sbc| Components | ||
| ................ | ||
|
|
||
| .. figure:: /bsp/imx9/imx91-93-fpsc/images/Libra-front-components.jpg | ||
| :align: center | ||
| :width: 90 % | ||
|
|
||
| **Libra Components (top)** | ||
|
|
||
| .. figure:: /bsp/imx9/imx91-93-fpsc/images/Libra-back-components.jpg | ||
| :align: center | ||
| :width: 85 % | ||
|
|
||
| **Libra Components (bottom)** |
This file contains hidden or 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,23 @@ | ||
| Display | ||
| ------- | ||
|
|
||
| .. supported-display-interfaces-marker-start | ||
|
|
||
| The |kit| supports up to 2 different display outputs: LVDS and MIPI-DSI. | ||
| The BSP contains two different device tree overlays: | ||
|
|
||
| * ``imx93-phyflex-libra-rdk-lvds-ph128800t006-zhc01.dtbo`` for LVDS | ||
| * ``imx93-phyflex-libra-rdk-peb-av-12-ph128800t006-zhc01.dtbo`` for MIPI-DSI | ||
|
|
||
| Both overlays are for the display Powertip display PH12800T006 (AC209). | ||
| For LVDS the display is connected directly to the |sbc|. For MIPI-DSI the | ||
| Phytec PEB-AV-12 adapter is used between |sbc| and the display. | ||
|
|
||
| .. supported-display-interfaces-marker-end | ||
|
|
||
| .. code-block:: | ||
| :substitutions: | ||
|
|
||
| [output] | ||
| name=LVDS-1 | ||
| mode=preferred |
This file contains hidden or 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,22 @@ | ||
| .. include:: ../peripherals/gpios.rsti | ||
| :end-before: .. gpio-gpiochip-table | ||
|
|
||
| * GPIO expander | ||
|
|
||
| Beside the GPIOs of the |soc| SoC, the |sbc| has two GPIO expanders, which add | ||
| more GPIOs to the system. | ||
|
|
||
| .. code-block:: console | ||
|
|
||
| gpiochip4 [2-0021] (16 lines) | ||
| gpiochip5 [3-0021] (16 lines) | ||
|
|
||
| DT configuration for the GPIO expanders can be found here: | ||
|
|
||
| |dt-gpio-expander1| | ||
|
|
||
| |dt-gpio-expander2| | ||
|
|
||
| .. include:: ../peripherals/gpios.rsti | ||
| :start-after: .. gpio-gpiochip-table | ||
|
|
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
We have a duplicate of this file for every Libra board I guess. Why not move this to a more generic place and rename it to something like gpios-libra.rsti. Use the https://github.com/phytec/doc-bsp-yocto/blob/main/source/bsp/imx8/imx8mp-fpsc/gpios.rsti as reference as I just updated it for .2 Libra revision.
So all SoMs using Libra can reuse the file.
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.
After rechecking the GPIO documentation for i.MX93, I realized that only 4 GPIO banks are available instead of 5. Using the common documentation will mean some information will be incorrect for this SoM.