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

Patch in missing PWREN/RSTCTL fields #3

Merged
merged 1 commit into from
Nov 10, 2024
Merged
Show file tree
Hide file tree
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
21 changes: 21 additions & 0 deletions devices/common_patches/register_keys.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
"*":
_clusters:
"?~*GPRCM*":
"*_PWREN":
_add:
KEY:
description: "KEY to allow Power State Change"
bitOffset: 0x18
bitWidth: 0x8
access: write-only
KEY:
KEY: [0x26, "KEY to allow write access to this register"]
"*_RSTCTL":
_add:
KEY:
description: "KEY to allow Reset"
bitOffset: 0x18
bitWidth: 0x8
access: write-only
KEY:
KEY: [0xB1, "KEY to allow write access to this register"]
3 changes: 2 additions & 1 deletion devices/mspm0c110x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ _modify:
_include:
- ../devices/common_patches/vendor_id.yaml
- ../devices/common_patches/periph_clusters_c_series.yaml
- ../devices/common_patches/cluster_desc_iomux.yaml
- ../devices/common_patches/cluster_desc_iomux.yaml
- ../devices/common_patches/register_keys.yaml
3 changes: 2 additions & 1 deletion devices/mspm0g110x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ _modify:
_include:
- ../devices/common_patches/vendor_id.yaml
- ../devices/common_patches/periph_clusters.yaml
- ../devices/common_patches/cluster_desc_g_series.yaml
- ../devices/common_patches/cluster_desc_g_series.yaml
- ../devices/common_patches/register_keys.yaml
3 changes: 2 additions & 1 deletion devices/mspm0g150x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ _include:
- ../devices/common_patches/cluster_desc_dac.yaml
- ../devices/common_patches/cluster_desc_security.yaml
- ../devices/common_patches/cluster_desc_comp12.yaml
- ../devices/common_patches/cluster_desc_mathacl.yaml
- ../devices/common_patches/cluster_desc_mathacl.yaml
- ../devices/common_patches/register_keys.yaml
3 changes: 2 additions & 1 deletion devices/mspm0g310x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ _include:
- ../devices/common_patches/periph_clusters.yaml
- ../devices/common_patches/cluster_desc_g_series.yaml
- ../devices/common_patches/cluster_desc_security.yaml
- ../devices/common_patches/cluster_desc_canfd.yaml
- ../devices/common_patches/cluster_desc_canfd.yaml
- ../devices/common_patches/register_keys.yaml
3 changes: 2 additions & 1 deletion devices/mspm0g350x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ _include:
- ../devices/common_patches/cluster_desc_security.yaml
- ../devices/common_patches/cluster_desc_comp12.yaml
- ../devices/common_patches/cluster_desc_mathacl.yaml
- ../devices/common_patches/cluster_desc_canfd.yaml
- ../devices/common_patches/cluster_desc_canfd.yaml
- ../devices/common_patches/register_keys.yaml
3 changes: 2 additions & 1 deletion devices/mspm0l110x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ _include:
- ../devices/common_patches/vendor_id.yaml
- ../devices/common_patches/periph_clusters.yaml
- ../devices/common_patches/periph_clusters_more.yaml
- ../devices/common_patches/register_keys.yaml

FLASH:
_delete:
_registers: "*"
_registers: "*"
3 changes: 2 additions & 1 deletion devices/mspm0l130x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ _include:
- ../devices/common_patches/vendor_id.yaml
- ../devices/common_patches/periph_clusters.yaml
- ../devices/common_patches/periph_clusters_more.yaml
- ../devices/common_patches/cluster_desc_advanced_analog.yaml
- ../devices/common_patches/cluster_desc_advanced_analog.yaml
- ../devices/common_patches/register_keys.yaml
3 changes: 2 additions & 1 deletion devices/mspm0l134x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ _include:
- ../devices/common_patches/vendor_id.yaml
- ../devices/common_patches/periph_clusters.yaml
- ../devices/common_patches/periph_clusters_more.yaml
- ../devices/common_patches/cluster_desc_advanced_analog.yaml
- ../devices/common_patches/cluster_desc_advanced_analog.yaml
- ../devices/common_patches/register_keys.yaml
3 changes: 2 additions & 1 deletion devices/msps003fx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ _modify:
_include:
- ../devices/common_patches/vendor_id.yaml
- ../devices/common_patches/periph_clusters_c_series.yaml
- ../devices/common_patches/cluster_desc_iomux.yaml
- ../devices/common_patches/cluster_desc_iomux.yaml
- ../devices/common_patches/register_keys.yaml
Loading