summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorIwona Winiarska <iwona.winiarska@intel.com>2020-12-06 16:16:44 +0300
committerJae Hyun Yoo <jae.hyun.yoo@linux.intel.com>2021-11-05 10:22:12 +0300
commitb9c5e4a55eb6bdfd4191e7223638bf7990088956 (patch)
tree6a029d00243f25d8ab34f8b77ec87ec26ca449fb /include/linux
parent38d14652685c2f3171ef8d2294782c397ce4e7d0 (diff)
downloadlinux-b9c5e4a55eb6bdfd4191e7223638bf7990088956.tar.xz
peci: Add peci_revision property
Right now, PECI revision is determined using a result of GetDIB() PECI command. Because GetDIB() may not be supported by all type of physical media that provides PECI, we need an alternative. Until we figure how to determine PECI revision there (if we can't do that, we'll fallback to device tree), let's allow to hardcode PECI revision as a property of hardware adapter. Signed-off-by: Iwona Winiarska <iwona.winiarska@intel.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/peci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/peci.h b/include/linux/peci.h
index 4bc4595c797d..45cb77d1913c 100644
--- a/include/linux/peci.h
+++ b/include/linux/peci.h
@@ -44,6 +44,7 @@ struct peci_adapter {
struct peci_xfer_msg *msg);
u32 cmd_mask;
bool use_dma;
+ u8 peci_revision;
};
static inline struct peci_adapter *to_peci_adapter(void *d)