From ef5071cbd4f53933fcd79d7d1d634a46396c93a0 Mon Sep 17 00:00:00 2001 From: Nicola Mazzucato Date: Tue, 23 Jul 2019 17:10:31 +0100 Subject: 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 --- product/rdn1e1/mcp_romfw/config_log.c | 1 + product/rdn1e1/scp_ramfw/config_log.c | 1 + product/rdn1e1/scp_romfw/config_log.c | 1 + 3 files changed, 3 insertions(+) (limited to 'product/rdn1e1') 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 }, -- cgit v1.2.3