From nobody Fri Apr 3 06:38:14 2026 Received: from mail.fris.de (mail.fris.de [116.203.77.234]) (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 71D72258EFF; Mon, 9 Mar 2026 08:58:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=116.203.77.234 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773046730; cv=none; b=nqc+LsU8Oy5V4KFcmxtsG40AhmBYTqiw+9IIgVPvJGocRXIgeiIfcxNmvgwrIqmUPS++Upol/27WWAlhFKnjly1/yfm3n48FZ9YCTf7EnMivbuFQ8Yuh7Efq8YoPmyg7Gxc+TBbKlof34hXd8QIT08KLyyDTLQ+VQvJmDRkuAfc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773046730; c=relaxed/simple; bh=XXj5OZL3ekp1nSkUNm5xppmIFqX9DUEsya/2KpaE5EU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=lM7J/PVyUw9PS4Ao7u8PrAYW43oRVvNVo/EOdkPsEPHo8ng07Zy4Wx4A0aXZk3LoEIJGdAXL4+AEIQFMXAoJc1cBVdkcwBois35kRioAvd28ZAypi4IAOXGGJKqJ3yuzc9Ks+Ru59RLLSligGvU9MOXqckGjQpIVsZtEX3XvVqs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fris.de; spf=pass smtp.mailfrom=fris.de; dkim=pass (2048-bit key) header.d=fris.de header.i=@fris.de header.b=p+kffUFE; arc=none smtp.client-ip=116.203.77.234 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fris.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fris.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fris.de header.i=@fris.de header.b="p+kffUFE" From: Frieder Schrempf DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fris.de; s=mail; t=1773046718; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/B+tp3dMy8sqBzmYiyFqnMtBSEEAUxty5oGaDhbN/AM=; b=p+kffUFEbHZYejovDReYNvDAUvMRA0dtoJ4laIn5aV1FcR5KUpQp7JAsN3OYKyxhaW+FnF QqmBUrX1zrz8tq9JYpmH+1aSg8GFGHAQTYx+eaSk7n/r+OhM8NP4qkNqvH7WvbgGWC3DQo XBrjnyCDuDPB7+dHVeGmjvzzPxf9bXU3e+UhCFB+Ke19q5nclT9o7M6c8x1RlAz4uukzQx xsh8/QBb2Xs2WYoV9kGkqIfW9/b+UFOV7CoFkwJZu2yQGiMgxVbNypXtE37VWTAqQQTUlL S2ALTUcciFyhS9btFmHjJkTrMjeci9vcfz1xMbndVrEV/RZwSnxUtvzQIiMdcg== To: Alexandre Belloni , Conor Dooley , devicetree@vger.kernel.org, Krzysztof Kozlowski , linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, Rob Herring Cc: Frieder Schrempf Subject: [PATCH v3 1/2] dt-bindings: rtc: microcrystal,rv3028: Allow to specify vdd-supply Date: Mon, 9 Mar 2026 09:57:42 +0100 Message-ID: <20260309085749.25747-2-frieder@fris.de> In-Reply-To: <20260309085749.25747-1-frieder@fris.de> References: <20260309085749.25747-1-frieder@fris.de> 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" From: Frieder Schrempf In case the VDD supply voltage regulator of the RTC needs to be specified explicitly, allow to set vdd-supply. Signed-off-by: Frieder Schrempf Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/rtc/microcrystal,rv3028.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/rtc/microcrystal,rv3028.yaml= b/Documentation/devicetree/bindings/rtc/microcrystal,rv3028.yaml index cda8ad7c12037..2ea3b40419530 100644 --- a/Documentation/devicetree/bindings/rtc/microcrystal,rv3028.yaml +++ b/Documentation/devicetree/bindings/rtc/microcrystal,rv3028.yaml @@ -32,6 +32,8 @@ properties: - 9000 - 15000 =20 + vdd-supply: true + required: - compatible - reg --=20 2.53.0 From nobody Fri Apr 3 06:38:14 2026 Received: from mail.fris.de (mail.fris.de [116.203.77.234]) (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 B28F836F42C; Mon, 9 Mar 2026 08:58:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=116.203.77.234 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773046730; cv=none; b=dbEOZTA/yA6wUjlPsHsjLujmF2uG++joPXr8cnMTj73fCK/H6YeMekGATSxZJl24yJoflo9IRUFT0uoLvT8dvbP5m33xJjcg4RZgZrcc5qLBechv2yhemyJKtxbnt07HQuUphiaUDO0O/lpKuCGVud3TB4+yMYPot7mZqxRN4z4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773046730; c=relaxed/simple; bh=alfksuUsaIMwwikJNXi8Mz/rONNZgs1R0FswmS9hGp8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=nFN3BiIL5QkKivusYHw9ZXJj3+zl3HnqvhhjrNj7oGG+DNkExDPkiQ6OBjhqBQVvqoBdOTxzqBjcwdOA8vMH/kB2E/nMChJOf2LKsyK4EKFVZETIEFdAjFix0vShZSvXF+qnZxdGXU1m0N8xpRS4lDlanUgg7t5h50w0BIKGj/g= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fris.de; spf=pass smtp.mailfrom=fris.de; dkim=pass (2048-bit key) header.d=fris.de header.i=@fris.de header.b=CNXdO+dP; arc=none smtp.client-ip=116.203.77.234 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fris.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fris.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fris.de header.i=@fris.de header.b="CNXdO+dP" From: Frieder Schrempf DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fris.de; s=mail; t=1773046719; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sNGBrZbcItuL87F8eu29arIhBMtm0lZwX1AAsxQD8uE=; b=CNXdO+dP8JYgZs6IcsExtMJTi8AL7PMVvrZNXM2VJ61/M6ZpwGGSQOc6IYXLi3tLq14smU EzLz8KmUgvMulY3uL1fklO8APl3znyDfGZrK5ek5BMWU+Q+s7r4H9LpMmZ9ti2EKvairuB KxpaIi/s5M7N7UCBLcpAZMc/j1vYTsgq4KhRdE8MijyunvWwBXMRedFAJwu4K3LOiOvOVu IPC6evVX1wpfA4xq79/8dbqL2EXfQrgnnL1xqCSkZ+sqQdzoRbW1OVhDIxd9e5VTp11OQ0 BXWroxT8nNOEhc+b47JOGBHQZdqzdy5tX1guWLsFGIXZGSMhlzdtGSWuOZ8Qtw== To: Conor Dooley , devicetree@vger.kernel.org, Frank Li , Frieder Schrempf , imx@lists.linux.dev, Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring , Sascha Hauer , Shawn Guo Cc: Annette Kobou , Fabio Estevam , Pengutronix Kernel Team Subject: [PATCH v3 2/2] arm64: dts: imx8mp-kontron: Fix boot order for PMIC and RTC Date: Mon, 9 Mar 2026 09:57:43 +0100 Message-ID: <20260309085749.25747-3-frieder@fris.de> In-Reply-To: <20260309085749.25747-1-frieder@fris.de> References: <20260309085749.25747-1-frieder@fris.de> 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 X-Spam: Yes Content-Type: text/plain; charset="utf-8" From: Annette Kobou The PMIC provides a level-shifter for the I2C lines to the RTC. As the level shifter needs to be enabled before the RTC can be accessed, we need to make sure that the PMIC driver is probed first. As the PMIC also provides the supply voltage for the RTC through the 3.3V regulator, we can simply express this in the DT to create the required dependency. This fixes sporadic boot hangs that occurred when the RTC was accessed before the level-shifter was enabled. Fixes: 946ab10e3f40f ("arm64: dts: Add support for Kontron OSM-S i.MX8MP So= M and BL carrier board") Signed-off-by: Annette Kobou Signed-off-by: Frieder Schrempf --- arch/arm64/boot/dts/freescale/imx8mp-kontron-osm-s.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-kontron-osm-s.dtsi b/arch= /arm64/boot/dts/freescale/imx8mp-kontron-osm-s.dtsi index b97bfeb1c30f8..bc1a261bb000e 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-kontron-osm-s.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-kontron-osm-s.dtsi @@ -330,6 +330,12 @@ rv3028: rtc@52 { pinctrl-names =3D "default"; pinctrl-0 =3D <&pinctrl_rtc>; interrupts-extended =3D <&gpio3 24 IRQ_TYPE_LEVEL_LOW>; + /* + * While specifying the vdd-supply is normally not strictly necessary, + * here it also makes sure that the PMIC driver enables the level- + * shifter for the RTC before the RTC is probed. + */ + vdd-supply =3D <®_vdd_3v3>; }; }; =20 --=20 2.53.0