From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BF6093A9D8E for ; Tue, 20 Jan 2026 08:53:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768899186; cv=none; b=PW6XXQSiFx4g/MVNf5so1QOzB3Ht8Y0gOErDEuRf86kQdVHeMtdN5U7JsVdLiCH/Ji3x/Z3ksUmWL0gmGgxnmi7Sx3wcFE0Q9aQPrvy4feE65NLRhL0+ukNTRDOsNsQ66pMnYLbMJvFc9N2+fm+63UvsalGnkh0GqAbZvUWcWy4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768899186; c=relaxed/simple; bh=tn/DC8IcKtm0rwSX4r4eT67oYdx2oETYPnh48Ak1qQA=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=SrhFJrghUJ8HbMSzDPkKL3ZvGXWmhwPU+DxRiregWWKlMUg3+RJrPvG76p3FcSZRJJtG67gy/omJ75XXZ2WBoO8iu6cJjneNQJK+JZzf/bIq9zj85q0MPOmOB2J65e8DcZfSqNXmMXU48W2oLNxI9feTO57eDATqzrbyN0qyrIU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=sEXwzqv6; arc=none smtp.client-ip=209.85.128.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="sEXwzqv6" Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-47f3b7ef761so28572935e9.0 for ; Tue, 20 Jan 2026 00:53:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1768899183; x=1769503983; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=B+Mpn+b7S8kX43PRVWBWsEkr3ZlV8vDSFyyH8rqi02k=; b=sEXwzqv6kBFIm1OHhXnveHjpE+Y2PY0JCsqbhpDJ61g1fNr6Tsz/eTKcy07zC15ghN 8qyl6rwBd85D6KszoOT5SuJXfRfjvYAMPyRoQaM3qgHpVkeFq2PEiKd8qB5PFhUL5t2p ESQu7WG7BNie94/PyjQZofIddGeyG/GwHBaK3wykl5cgZz6bi5DUHUPzdsoVCvHKjNti aS5quyfHAiubU014ICj1ngq6DQHQ6zoXlWkaBWhkWduyBAMJ2BO2EceHa3TBqXFnaoKb P1yBqqWCFaINFn2uWCsMK74+QbzPJaOCNTYo250U0JAUF7rKn9SuoOC3Xmt0bgjhW4oV V0cA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768899183; x=1769503983; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=B+Mpn+b7S8kX43PRVWBWsEkr3ZlV8vDSFyyH8rqi02k=; b=bVW1VWBek7y43uQlz9rZTU5S5+d6QHYFzM68pEjzl2UD2nHqy2RfKvC/PwadywnPiN Y9KfUvsXPTuAcJgdGYnReHbnXI2dwDfxV+70KFPcOIKYrMKnBnMGAC5p3J2oLJLvYasR xctWxIlDaXPjNdDoQ+xwd4ksRi4t2w7xVmk3mS5Apvy89t/ujngRYhozSC7Y9muQXjLq NnVC/C9+UsEJlpwL8gnXgx6xC4pnpmt2MJTMXv33+SFd7zrnVsbWwyDLKej5oUzTztsa XrIDnLC7GNUNfGAEfDrmLvde6k3EEFc6rHwlM6lt1w0BxRHq1sDcK/4wezLf7uKGC87G PQXQ== X-Forwarded-Encrypted: i=1; AJvYcCVMI19cMOoTE8yTMBvOqACw+nqXO/iugX5vG7kpLab3HU4V5ukfQmKTeW+EKXYBTtSw1K8+hRevB6zvxLo=@vger.kernel.org X-Gm-Message-State: AOJu0Yx5x1ivntQaxyXOXvmYX6MK3PJLVCDAfyzOsISxp1ROvTf4mqVq WSgyOTgJD1jMhfcmSt1zoceG6IvThpr4+F92ZT9EspnEqT9DNAgIM9n9nhYtvAizT38= X-Gm-Gg: AY/fxX7CL5K4qzsp963SL3dbSPlN/zklzsmBvuwpHg9syuVmNahJLOQwb/f5dxinkwa ztNhPKZ9YMa92POPPnD+RSZr/vUlM6fKtMJA6l+Ijiz+URhZTdRG8Vh95lFvOkvy4ElNvhLtW2M rx0vVprGShbXBpfLly2gOBBzGzcD37x72CQXXjUrtOPuck2lcsXX2Yi4D1welZECU8HssczjP4E gINhvRtlhsREvhyNOj0+I8OI/VURHqMUEMZvLpIBmyJM3p9dju0SosURNE/PVwfHH+9xcf8kROz SAl0IH2JBB1Ys8yjwaAlW4Rr31kQdFwYTLXiMdCgVBjgCJnun38PeHkIMS0TCIE4xssKlavFDM5 6M+2HhVYmUUIOP2luPGTpI6HBiYBEgWoAgixpF66FmHdQIUtSpccw8d7+716x/ytmcwzl76PME7 3wHxCsKV1eRToQhpdVmtFal3Wd+ZgQ1Js= X-Received: by 2002:a05:600c:34d1:b0:45d:d97c:236c with SMTP id 5b1f17b1804b1-4803e7e8562mr15375225e9.21.1768899183012; Tue, 20 Jan 2026 00:53:03 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:3d9:2080:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43569926ffcsm27597335f8f.18.2026.01.20.00.53.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jan 2026 00:53:02 -0800 (PST) From: Neil Armstrong To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Eric Neulight Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org In-Reply-To: <20260116-odroid-hc4-dts-v1-1-459b601cd5cf@linuxdev.slmail.me> References: <20260116-odroid-hc4-dts-v1-1-459b601cd5cf@linuxdev.slmail.me> Subject: Re: [PATCH] Eliminate Odroid HC4 power glitches during boot. Message-Id: <176889918237.1477585.6813293385956996088.b4-ty@linaro.org> Date: Tue, 20 Jan 2026 09:53:02 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.14.3 Hi, On Fri, 16 Jan 2026 23:02:20 -0500, Eric Neulight wrote: > Fix issue with Odroid HC4 (and all meson-sm1-odroid) DTS that causes > regulator power to momentarily glitch OFF-ON during boot. Add > regulator-boot-on to all regulator-fixed and regulator-gpio entries > that (1) define a gpio AND (2) define regulator-always-on. > > U-boot powers on devices necessary for boot then hands off the DTB to > the kernel. During probe, linux drivers/regulator/fixed.c and > gpio-regulator.c both first set the regulator control gpio (that U-boot > already turned ON) to default OFF before then setting it to the defined > (ON) state. This glitches the power to the affected devices, unless > regulator-boot-on is specified with it. In fact, U-boot has the same > behavior. So, during reboot, a power glitch can actually happen twice: > once when U-boot reads the DTB and probes the gpio and again when the > kernel reads the DTB and probes the gpio. > > [...] Thanks, Applied to https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git (v6.20/arm64-dt) [1/1] Eliminate Odroid HC4 power glitches during boot. https://git.kernel.org/amlogic/c/436418ef5baa024b7b15dd730c36d651c6aaaf47 These changes has been applied on the intermediate git tree [1]. The v6.20/arm64-dt branch will then be sent via a formal Pull Request to the Linux SoC maintainers for inclusion in their intermediate git branches in order to be sent to Linus during the next merge window, or sooner if it's a set of fixes. In the cases of fixes, those will be merged in the current release candidate kernel and as soon they appear on the Linux master branch they will be backported to the previous Stable and Long-Stable kernels [2]. The intermediate git branches are merged daily in the linux-next tree [3], people are encouraged testing these pre-release kernels and report issues on the relevant mailing-lists. If problems are discovered on those changes, please submit a signed-off-by revert patch followed by a corrective changeset. [1] https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git [2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git [3] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git -- Neil