From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 E1736367F36; Sat, 12 Sep 2026 07:20:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789197634; cv=none; b=a+5HfoD68HolFScouemQ4To7TExLMHlzp9P48vasjD/rhA4ek9sJioxDgGagtNa+jZlpyMefoFdnb1XHlYTl79fqZTHNxXN1THypg+26tvA4XDIEdU2S8CQwAeteB3dn2nICjxkRMtGvYy9K9p3+dKF0z/yInVYlLcIhLlGfWIQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789197634; c=relaxed/simple; bh=6rpgycG73HWibxjRENMOhsAgOKskah9U+4KMCYWAh3s=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=UBw13k0n5fSdU9QGJgGRaBUXeNPVAiY0OMbB+of2QyzC5T1XceBQFIqWqrbahBF74cKtt0+BD+6jN+1ZuNqG4Koqo0BP1zvWT8o16O8GxXNu+IncYClRD3l1CJXeeOniZz00XKaY83Y/iq9taIsfYE6isWUZnFdOH6+Ku9z7wZc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=jWNq1Mmk; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="jWNq1Mmk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A183F1F000FF; Sat, 12 Sep 2026 07:20:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789197632; bh=yHfD9rWeRVqcCpVhXgbnF6ehcpn0Fg8UfV8UzrReom8=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=jWNq1MmkTCDdutD1R2tAtgMiy/fwlibVUaf6GF74am2TQ7naw51WzLEcn3eiCLZx9 lISoLCks7zbmRe17TpO7qBlh91ykVbdyQidJRv1989EhOZLzrR3iYlZkl3ccCvaUSE oOqV852t0kWLZr5MyLhSssiB+pNRJCgJFMfcylvs= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Jens Glathe , Konrad Dybcio , Bjorn Andersson , Sasha Levin Subject: [PATCH 7.2 0214/1815] arm64: dts: qcom: sc8280xp-blackrock: switch to uefi rtc offset Date: Sat, 12 Sep 2026 08:32:44 +0200 Message-ID: <20260912065654.017762319@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260912065648.999753832@linuxfoundation.org> References: <20260912065648.999753832@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 7.2-stable review patch. If anyone has any objections, please let me know. ------------------ From: Jens Glathe [ Upstream commit f52102fc9ccbbb3c4bc01a29f3194fe07f9602f5 ] On many Qualcomm platforms the PMIC RTC control and time registers are read-only so that the RTC time can not be updated. Instead an offset needs be stored in some machine-specific non-volatile memory, which a driver can take into account. On platforms where the offset is stored in a Qualcomm specific UEFI variable the variables are also accessed in a non-standard way, which means that the OS cannot assume that the variable service is available by the time the RTC driver probes. Use the new 'qcom,uefi-rtc-info' property to indicate that the offset is stored in a UEFI variable so that the OS can determine whether to wait for it to become available. [1]: https://lore.kernel.org/r/20250423075143.11157-4-johan+linaro@kernel.org Fixes: 16a7fed11714 ("arm64: dts: qcom: sc8280xp-blackrock: dt definition for WDK2023") Signed-off-by: Jens Glathe Reviewed-by: Konrad Dybcio Link: https://lore.kernel.org/r/20260501-blackrock-rtc-v1-1-bddf3e37fa94@oldschoolsolutions.biz Signed-off-by: Bjorn Andersson Signed-off-by: Sasha Levin --- .../boot/dts/qcom/sc8280xp-microsoft-blackrock.dts | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-microsoft-blackrock.dts b/arch/arm64/boot/dts/qcom/sc8280xp-microsoft-blackrock.dts index 125af356e24b9..47282e3ba8664 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-microsoft-blackrock.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-microsoft-blackrock.dts @@ -763,20 +763,11 @@ &pmk8280_pon_resin { }; &pmk8280_rtc { - nvmem-cells = <&rtc_offset>; - nvmem-cell-names = "offset"; + qcom,uefi-rtc-info; status = "okay"; }; -&pmk8280_sdam_6 { - status = "okay"; - - rtc_offset: rtc-offset@bc { - reg = <0xbc 0x4>; - }; -}; - &pmk8280_vadc { channel@144 { reg = ; -- 2.53.0