From nobody Fri Sep 25 23:10:00 2026 Received: from mail-106118.protonmail.ch (mail-106118.protonmail.ch [79.135.106.118]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 640BC517BCB for ; Mon, 7 Sep 2026 16:44:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=79.135.106.118 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788799483; cv=none; b=ea6A31tNIjmpNTK9MHiMl5XFWxfR/VOmhOesdqyUpJMglmPXqtiax8unT4tK+yupBLoPWQgybpFAiAu8N969d9IuGhf3yOGNl0O/P1kPXy8Ax74twIhl1a7g3wyDrbUQkhnth6SmywebWGrPFYXvMumAVV7bh6YwVAPFo8L5QrY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788799483; c=relaxed/simple; bh=UG+NTlO6bUfJVab3dSfPJecAZRaEA6aV3rDDEgv9yOs=; h=Date:To:From:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=FM4xe79pnnkSpMMCBZXyQRykXahwiENlKtxIumrD9XIP1BMIAumyadMT15RxpR1GYwL3oo9n3JQ0+gzsDQfvOOAhwx4cdlHPNETpsTEcrvkoUQI6P/MG91SHk25uJLb9FO0MEycF8ColONXT83aNUY9t31y5D4tOmAaTTFvCaa8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=pm.me; spf=pass smtp.mailfrom=pm.me; dkim=pass (2048-bit key) header.d=pm.me header.i=@pm.me header.b=CbqGtB1f; arc=none smtp.client-ip=79.135.106.118 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=pm.me Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pm.me Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=pm.me header.i=@pm.me header.b="CbqGtB1f" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1788799474; x=1789058674; bh=UG+NTlO6bUfJVab3dSfPJecAZRaEA6aV3rDDEgv9yOs=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=CbqGtB1fS+Fz6xQFhTkDeXE8iaOTSwPZe6XDPzqe0PLQM9FxD63F6lpBlEDg6NPJi d70QfWhe4bbspB0jnSdOMdBm+7blEx4gXtM1x44HAk3qZr/zEtrPM4VS7RPmUzZAdA pjNsqqoSB9jGaeaCV3RlGxlrSZw+8ur89fxSoLZZhSRKq0zt9MbEk3w7ZKG55hchfG RykqJNxOsbkRJpWZQB5rc4LUfhZRfmUTQ+8KM9BA0e7SqzOerIam1Rj6fV7ViLx1iz 9/nT2/uClaNWUO3ErZvhVtZOa75E/6bhSxT9Eudsyi7p7ZIBlF4BIJweClOxCzj/Xo /0i8UPVAcTAkw== Date: Mon, 07 Sep 2026 16:44:29 +0000 To: Sebastian Reichel From: Alexander Koskovich Cc: linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Alexander Koskovich Subject: [PATCH RFC] power: reset: qcom-pon: Drop reason shift for PMK8350 Message-ID: <20260907-pon-pbs-v1-1-cff2f5810769@pm.me> Feedback-ID: 37836894:user:proton X-Pm-Message-ID: 3422ff4c0557efb5834518b60b9bf6e8dc934dcf Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" On the PMK8350 the SOFT_RB_SPARE register does not exist, the reset reason is instead kept in SDAM and written through the reboot-reason nvmem cell. Signed-off-by: Alexander Koskovich --- Would like some feedback on this as I'm seeing conflicting results, SOFT_RB_SPARE does not exist on HLOS but it looks like the downstream qpnp-power-on driver writes to XVDD_RB_SPARE2 for GEN3, which is on PBS. Though, targets like waipio don't seem to have access to write to PBS from HLOS? Get SPMI errors when I try. Didn't have an issue doing so on milos though. Besides, the bindings doesn't allow reboot modes on PMK8350 so maybe setting no reason shift is correct regardless so it gets skipped? --- drivers/power/reset/qcom-pon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/reset/qcom-pon.c b/drivers/power/reset/qcom-pon.c index 7e108982a582..9cd55f5536b4 100644 --- a/drivers/power/reset/qcom-pon.c +++ b/drivers/power/reset/qcom-pon.c @@ -90,7 +90,7 @@ static const struct of_device_id qcom_pon_id_table[] =3D { { .compatible =3D "qcom,pm8941-pon", .data =3D (void *)NO_REASON_SHIFT }, { .compatible =3D "qcom,pms405-pon", .data =3D (void *)GEN1_REASON_SHIFT = }, { .compatible =3D "qcom,pm8998-pon", .data =3D (void *)GEN2_REASON_SHIFT = }, - { .compatible =3D "qcom,pmk8350-pon", .data =3D (void *)GEN2_REASON_SHIFT= }, + { .compatible =3D "qcom,pmk8350-pon", .data =3D (void *)NO_REASON_SHIFT }, { } }; MODULE_DEVICE_TABLE(of, qcom_pon_id_table); --- base-commit: 944a035ecca915ae947905dcfb03f2b9dc6d032c change-id: 20260907-pon-pbs-76b7ecaafe33 Best regards, --=20 Alexander Koskovich