Skip to content

Commit

Permalink
enhance(sysctl): add ana clock mux enum
Browse files Browse the repository at this point in the history
  • Loading branch information
andelf committed Jul 25, 2024
1 parent db5ea33 commit 2b4efc0
Show file tree
Hide file tree
Showing 6 changed files with 65 additions and 0 deletions.
10 changes: 10 additions & 0 deletions data/registers/sysctl_v53.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ fieldset/ADCCLK:
description: "current mux 0: ahb0 clock N 1: ana clock."
bit_offset: 8
bit_size: 1
enum: ANA_CLK_MUX
- name: PRESERVE
description: "preserve function against global select 0: select global clock setting 1: not select global clock setting."
bit_offset: 28
Expand Down Expand Up @@ -338,6 +339,7 @@ fieldset/DACCLK:
description: "current mux 0: ahb0 clock N 1: ana clock."
bit_offset: 8
bit_size: 1
enum: ANA_CLK_MUX
- name: PRESERVE
description: "preserve function against global select 0: select global clock setting 1: not select global clock setting."
bit_offset: 28
Expand Down Expand Up @@ -826,3 +828,11 @@ enum/SUB_DIV:
value: 14
- name: DIV16
value: 15
enum/ANA_CLK_MUX:
description: no description available.
bit_size: 1
variants:
- name: AHB
value: 0
- name: ANA
value: 1
10 changes: 10 additions & 0 deletions data/registers/sysctl_v62.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ fieldset/ADCCLK:
description: "current mux 0: ana clock 1: ahb clock."
bit_offset: 8
bit_size: 1
enum: ANA_CLK_MUX
- name: PRESERVE
description: "preserve function against global select 0: select global clock setting 1: not select global clock setting."
bit_offset: 28
Expand Down Expand Up @@ -365,6 +366,7 @@ fieldset/DACCLK:
description: "current mux 0: ana clock 1: ahb clock."
bit_offset: 8
bit_size: 1
enum: ANA_CLK_MUX
- name: PRESERVE
description: "preserve function against global select 0: select global clock setting 1: not select global clock setting."
bit_offset: 28
Expand Down Expand Up @@ -857,3 +859,11 @@ enum/SUB_DIV:
value: 14
- name: DIV16
value: 15
enum/ANA_CLK_MUX:
description: no description available.
bit_size: 1
variants:
- name: AHB
value: 0
- name: ANA
value: 1
10 changes: 10 additions & 0 deletions data/registers/sysctl_v63.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ fieldset/ADCCLK:
description: "current mux 0: ana clock 1: ahb clock."
bit_offset: 8
bit_size: 1
enum: ANA_CLK_MUX
- name: PRESERVE
description: "preserve function against global select 0: select global clock setting 1: not select global clock setting."
bit_offset: 28
Expand Down Expand Up @@ -346,6 +347,7 @@ fieldset/DACCLK:
description: "current mux 0: ana clock 1: ahb clock."
bit_offset: 8
bit_size: 1
enum: ANA_CLK_MUX
- name: PRESERVE
description: "preserve function against global select 0: select global clock setting 1: not select global clock setting."
bit_offset: 28
Expand Down Expand Up @@ -827,3 +829,11 @@ enum/SUB_DIV:
value: 14
- name: DIV16
value: 15
enum/ANA_CLK_MUX:
description: no description available.
bit_size: 1
variants:
- name: AHB
value: 0
- name: ANA
value: 1
17 changes: 17 additions & 0 deletions data/registers/sysctl_v67.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ fieldset/ADCCLK:
description: "clock source selection 0: ahb clock 1: adc clock 0 2: adc clock 1 3: adc clock 2."
bit_offset: 8
bit_size: 3
enum: ADC_CLK_MUX
- name: LOC_BUSY
description: "local busy 0: a change is pending for current node 1: current node is changing status."
bit_offset: 30
Expand Down Expand Up @@ -870,3 +871,19 @@ enum/MONITOR_SELECTION:
value: 193
- name: CLK_TOP_SDXC1
value: 194
enum/ADC_CLK_MUX:
description: no description available.
bit_size: 3
variants:
- name: AHB
description: AHB clock
value: 0
- name: ADC0
description: ADC clock 0
value: 1
- name: ADC1
description: ADC clock 1
value: 2
- name: ADC2
description: ADC clock 2
value: 3
9 changes: 9 additions & 0 deletions data/registers/sysctl_v68.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ fieldset/ADCCLK:
description: "current mux 0: ana clock N 1: axi clock."
bit_offset: 8
bit_size: 1
enum: ANA_CLK_MUX
- name: PRESERVE
description: "preserve function against global select 0: select global clock setting 1: not select global clock setting."
bit_offset: 28
Expand Down Expand Up @@ -801,3 +802,11 @@ enum/MONITOR_SELECTION:
value: 193
- name: CLK_TOP_SDXC1
value: 194
enum/ANA_CLK_MUX:
description: no description available.
bit_size: 1
variants:
- name: ANA
value: 0
- name: AXI
value: 1
9 changes: 9 additions & 0 deletions data/registers/sysctl_v6e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ fieldset/ADCCLK:
description: "current mux 0: ana clock N 1: ahb0 clock."
bit_offset: 8
bit_size: 1
enum: ANA_CLK_MUX
- name: PRESERVE
description: "preserve function against global select 0: select global clock setting 1: not select global clock setting."
bit_offset: 28
Expand Down Expand Up @@ -889,3 +890,11 @@ enum/MONITOR_SELECTION:
value: 199
- name: CLK_TOP_TSN3
value: 200
enum/ANA_CLK_MUX:
description: no description available.
bit_size: 1
variants:
- name: AHB
value: 0
- name: ANA
value: 1

0 comments on commit 2b4efc0

Please sign in to comment.