lowRISC / opentitan

OpenTitan: Open source silicon root of trust
https://www.opentitan.org
Apache License 2.0
2.56k stars 762 forks source link

[sensor_ctrl,dif] Add setters/getters for input disable on manual pads and related REGWENs #23145

Open andreaskurth opened 5 months ago

andreaskurth commented 5 months ago

Input disable for manual pads has been added to sensor_ctrl in #23107. Now DIF functions need to be added to use that feature. ROM_EXT or later boot stages might want to disable the input of specific pads and/or lock the related REGWENs.

jwnrt commented 2 months ago

Please could you document what manual pads are when tackling this? We were reviewing these related changes in the software team and weren't too sure. Are they pads which don't go through pinmux?

andreaskurth commented 2 months ago

That's right; as described in PR #23107:

This PR adds input disable control for the so-called manual pads CC1, CC2, FLASH_TEST_MODE0, and FLASH_TEST_MODE1.