[PATCH v2 0/3] cpufreq: qcom: handle ipq806x with no SMEM

From: Christian Marangi

Date: Fri Oct 31 2025 - 09:08:45 EST


This small series handle a small device family of ipq806x
devices (Google OnHub) that doesn't have SMEM init.

We improve the SMEM driver and apply a workaround in
the cpufreq driver.

Changes v2:
- Rename error macro to INIT_ERR_PTR
- Return -ENODEV from smem probe
- Restructure if condition in cpufreq driver

Christian Marangi (3):
err.h: add INIT_ERR_PTR macro
soc: qcom: smem: better track SMEM uninitialized state
cpufreq: qcom-nvmem: add compatible fallback for ipq806x for no SMEM

drivers/cpufreq/qcom-cpufreq-nvmem.c | 17 +++++++++++++++--
drivers/soc/qcom/smem.c | 26 +++++++++++++++-----------
include/linux/err.h | 8 ++++++++
3 files changed, 38 insertions(+), 13 deletions(-)

--
2.51.0