diff options
| author | Iwona Winiarska <iwona.winiarska@intel.com> | 2020-12-06 16:16:44 +0300 |
|---|---|---|
| committer | Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com> | 2021-11-05 10:22:12 +0300 |
| commit | b9c5e4a55eb6bdfd4191e7223638bf7990088956 (patch) | |
| tree | 6a029d00243f25d8ab34f8b77ec87ec26ca449fb /include/linux | |
| parent | 38d14652685c2f3171ef8d2294782c397ce4e7d0 (diff) | |
| download | linux-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.h | 1 |
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) |
