diff options
author | Nicola Mazzucato <nicola.mazzucato@arm.com> | 2019-07-23 17:10:31 +0100 |
---|---|---|
committer | jimqui01 <54316584+jimqui01@users.noreply.github.com> | 2020-03-02 11:01:53 +0000 |
commit | ef5071cbd4f53933fcd79d7d1d634a46396c93a0 (patch) | |
tree | 08f98bb174dac38591c68446f5e23ad8a586b882 /product/rdn1e1 | |
parent | a32191c75de2b4326e4e4104c06a398f91e385b5 (diff) |
pl011: Add powerup/powerdown handlers
This patch introduces a configurable power domain identifier
such that the driver can be informed of power state changes.
This is achieved through notifications for pre_state and
post_state power changes.
With this power domain identifier the module can receive notifications
and action accordingly. The specific action is not yet implemented.
Change-Id: I7751b6de5899a2c65aec3aef3e5e4b8c1d0cd07c
Signed-off-by: Nicola Mazzucato <nicola.mazzucato@arm.com>
Diffstat (limited to 'product/rdn1e1')
-rw-r--r-- | product/rdn1e1/mcp_romfw/config_log.c | 1 | ||||
-rw-r--r-- | product/rdn1e1/scp_ramfw/config_log.c | 1 | ||||
-rw-r--r-- | product/rdn1e1/scp_romfw/config_log.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/product/rdn1e1/mcp_romfw/config_log.c b/product/rdn1e1/mcp_romfw/config_log.c index 2d42e797..cb3efd40 100644 --- a/product/rdn1e1/mcp_romfw/config_log.c +++ b/product/rdn1e1/mcp_romfw/config_log.c @@ -24,6 +24,7 @@ static const struct fwk_element pl011_element_desc_table[] = { .baud_rate_bps = 115200, .clock_rate_hz = 24 * FWK_MHZ, .clock_id = FWK_ID_NONE_INIT, + .pd_id = FWK_ID_NONE_INIT, }), }, [1] = { 0 }, diff --git a/product/rdn1e1/scp_ramfw/config_log.c b/product/rdn1e1/scp_ramfw/config_log.c index d49be810..f72a4331 100644 --- a/product/rdn1e1/scp_ramfw/config_log.c +++ b/product/rdn1e1/scp_ramfw/config_log.c @@ -24,6 +24,7 @@ static const struct fwk_element pl011_element_desc_table[] = { .baud_rate_bps = 115200, .clock_rate_hz = 24 * FWK_MHZ, .clock_id = FWK_ID_NONE_INIT, + .pd_id = FWK_ID_NONE_INIT, }), }, [1] = { 0 }, diff --git a/product/rdn1e1/scp_romfw/config_log.c b/product/rdn1e1/scp_romfw/config_log.c index 3b227f73..2e092507 100644 --- a/product/rdn1e1/scp_romfw/config_log.c +++ b/product/rdn1e1/scp_romfw/config_log.c @@ -24,6 +24,7 @@ static const struct fwk_element pl011_element_desc_table[] = { .baud_rate_bps = 115200, .clock_rate_hz = 24 * FWK_MHZ, .clock_id = FWK_ID_NONE_INIT, + .pd_id = FWK_ID_NONE_INIT, }), }, [1] = { 0 }, |