summaryrefslogtreecommitdiff
path: root/lib/intel_iosf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/intel_iosf.c')
-rw-r--r--lib/intel_iosf.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/intel_iosf.c b/lib/intel_iosf.c
index 26d6d01a..ffa2fcaa 100644
--- a/lib/intel_iosf.c
+++ b/lib/intel_iosf.c
@@ -153,3 +153,17 @@ void intel_dpio_reg_write(uint32_t reg, uint32_t val, int phy)
{
vlv_sideband_rw(IOSF_PORT_DPIO, SB_MWR_NP, reg, &val);
}
+
+uint32_t intel_flisdsi_reg_read(uint32_t reg)
+{
+ uint32_t val = 0;
+
+ vlv_sideband_rw(IOSF_PORT_FLISDSI, SB_CRRDDA_NP, reg, &val);
+
+ return val;
+}
+
+void intel_flisdsi_reg_write(uint32_t reg, uint32_t val)
+{
+ vlv_sideband_rw(IOSF_PORT_FLISDSI, SB_CRWRDA_NP, reg, &val);
+}