commit | 3f2a1c1223d3ca969b726d0ca982e936c5a42e4b | [log] [tgz] |
---|---|---|
author | Guillermo Maturana <maturana@google.com> | Wed Oct 27 14:13:42 2021 -0700 |
committer | Matute <maturana@google.com> | Tue Nov 02 12:24:13 2021 -0700 |
tree | 965f8897d0444fc7e6a2e8a62b3e7d1bf122798f | |
parent | 0d0f7aed6f4dbd1f00c229fc41ce0f999ac18de7 [diff] |
[clkmgr, pwrmgr] Add clock handshaking for usb Since usb clocks can be turned on/off outside of normal low power routines, it creates some corner cases depending on how it is used. This PR fixes [sw, dif pwrmgr smoketest] Deadlock when disabling USB clock in active power #6504 by handshaking usb oscillator disables. Specifically, before the usb oscillator can be disabled, it must first request downstream gating to assert. Only when this is done, can the usb oscillator be turned off. This ensures there is no low power entry / exit confusion. Note this is not the ideal fix, but this is done to minimize the amount of disruption on the overall design and eventually dv. Some changes in DV code are required by the clkmgr change. RTL changes by tjaychen, DV changes by matutem. Signed-off-by: Guillermo Maturana <maturana@google.com>
OpenTitan is an open source silicon Root of Trust (RoT) project. OpenTitan will make the silicon RoT design and implementation more transparent, trustworthy, and secure for enterprises, platform providers, and chip manufacturers. OpenTitan is administered by lowRISC CIC as a collaborative project to produce high quality, open IP for instantiation as a full-featured product. See the OpenTitan site and OpenTitan docs for more information about the project.
This repository contains hardware, software and utilities written as part of the OpenTitan project. It is structured as monolithic repository, or “monorepo”, where all components live in one repository. It exists to enable collaboration across partners participating in the OpenTitan project.
The project contains comprehensive documentation of all IPs and tools. You can access it online at docs.opentitan.org.
Have a look at CONTRIBUTING and our documentation on project organization and processes for guidelines on how to contribute code to this repository.
Unless otherwise noted, everything in this repository is covered by the Apache License, Version 2.0 (see LICENSE for full text).