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

Add USBREFCLK enum for OTG HS PHY #545

Merged
merged 1 commit into from
Dec 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add USBREFCLK enum for OTG HS PHY
Signed-off-by: Marvin Drees <marvin.drees@9elements.com>
  • Loading branch information
MDr164 committed Dec 6, 2024
commit b05f14736443292fe2d8f92ca65a0587c4ec5053
22 changes: 22 additions & 0 deletions data/registers/syscfg_u5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ fieldset/OTGHSPHYCR:
description: Reference clock frequency selection
bit_offset: 2
bit_size: 4
enum: USBREFCKSEL
fieldset/OTGHSPHYTUNER2:
description: OTG_HS tune register 2
fields:
Expand All @@ -276,3 +277,24 @@ fieldset/OTGHSPHYTUNER2:
description: HS transmitter preemphasis current control
bit_offset: 13
bit_size: 2
enum/USBREFCKSEL:
bit_size: 4
variants:
- name: Mhz16
description: The kernel clock frequency provided to the OTG_HS PHY is 16 MHz.
value: 3
- name: Mhz19_2
description: The kernel clock frequency provided to the OTG_HS PHY is 19.2 MHz.
value: 8
- name: Mhz20
description: The kernel clock frequency provided to the OTG_HS PHY is 20MHz.
value: 9
- name: Mhz24
description: The kernel clock frequency provided to the OTG_HS PHY is 24 MHz (default after reset).
value: 10
- name: Mhz32
description: The kernel clock frequency provided to the OTG_HS PHY is 32 MHz.
value: 11
- name: Mhz26
description: The kernel clock frequency provided to the OTG_HS PHY is 26 MHz.
value: 14