Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp11333399rwd; Thu, 22 Jun 2023 11:48:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6WUedravuWARLuMb8Z3vuwAINK17pQy18S1xaL/3MKV5f8OTqAdYXcmA+zZUQYpp9JkGuq X-Received: by 2002:a05:6a20:734e:b0:10c:dd4f:faa7 with SMTP id v14-20020a056a20734e00b0010cdd4ffaa7mr20059658pzc.1.1687459719814; Thu, 22 Jun 2023 11:48:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687459719; cv=none; d=google.com; s=arc-20160816; b=f8wVRsUJGniaonRKxW+8FAYQfTiOzF1mn591LSo0/ES//c8VBXLzRaDPrAmMlZYw0e DOo0CcqXamxdz2Rn1rSEPU02oecvilXZ/SrULa6wtPnozbR/LiZj07t/XZixbfOswSpb GP5W2L69nHsM9dFf6HdxF0ewof/8Jc+wpAFG0s5reeIyBQrw07ayWYHUVV4FRbCtBHbA 4OackNZchp68J6qcX398+DnskcovJ1RF3G2Ww0dhpvdkTgQcyZoLZtT4XiQ1z8n/qRi5 sqRdB5BmckVdW6UY3CLhBBOfMfRzS5GZZYicDicAQEDLNSE6B0B3VT+6FZ/wN+aOBS63 Vu/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=HLKXuJfbAEP8qRinCCvkhNT+gci8j8wovxWQareellw=; b=Rff59p2teRGgFy3dQB6wbA1POGTq9YEdGPoFIAyzDHdrY8ruhxMornmOy7AlgRUdcl zM+rKHtpNxpd14JfymO45/mMkXBhNmhMdaX1mM0V9nZ4d0Ey8Y8x+E1cxFhYWxfcENMW 7+TN6O1MIm3M6uXg9/54ZBaId6gXn6n6R2akdW7sB5MbeByygZZR2/5O1oauUWDTsoBQ t/JSLb8RqLRRtzYW4fpvXnHAbTPqrGFSDUaRHlvrHArOAfKe5p2aj/gyfcJqvMexQwzK EPI8u7fC4GSHiGBqq0K9KYryksXFVmZLwmvfTUjetIvevuUOryqGAKdYGn/ZlpQh/kaf yv4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=AgkIIfOj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q6-20020a17090311c600b001ae7f85061bsi7631268plh.609.2023.06.22.11.48.26; Thu, 22 Jun 2023 11:48:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=AgkIIfOj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231297AbjFVR77 (ORCPT + 99 others); Thu, 22 Jun 2023 13:59:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231523AbjFVR7t (ORCPT ); Thu, 22 Jun 2023 13:59:49 -0400 Received: from aposti.net (aposti.net [89.234.176.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7EB3F1FED; Thu, 22 Jun 2023 10:59:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1687456783; 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; bh=HLKXuJfbAEP8qRinCCvkhNT+gci8j8wovxWQareellw=; b=AgkIIfOj7POy7M/J2zuvkMyuTGmKlwfx1tnjSA4+ze/u1PPQccQj6c9W5SNzNvc/3XX4rP X3JR38KwiCehBD1ViNC2lH6V1ToZPtnlLRJlgCOj9PgilJIY5RhDZpJ4Tl528txLTbXgwb AHdZKlKGPwyJvBuwV0x8BOzaW9ylYVo= From: Paul Cercueil To: Thomas Bogendoerfer Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-mips@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, list@opendingux.net, Paul Cercueil , "H . Nikolaus Schaller" Subject: [PATCH] MIPS: DTS: CI20: Raise VDDCORE voltage to 1.125 volts Date: Thu, 22 Jun 2023 19:59:34 +0200 Message-Id: <20230622175934.71601-1-paul@crapouillou.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam: Yes X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit 08384e80a70f ("MIPS: DTS: CI20: Fix ACT8600 regulator node names") caused the VDDCORE power supply (regulated by the ACT8600's DCDC1 output) to drop from a voltage of 1.2V configured by the bootloader, to the 1.1V set in the Device Tree. According to the documentation, the VDDCORE supply should be between 0.99V and 1.21V; both values are therefore within the supported range. However, VDDCORE being 1.1V results in the CI20 being very unstable, with corrupted memory, failures to boot, or reboots at random. The reason might be succint drops of the voltage below the minimum required. Raising the minimum voltage to 1.125 volts seems to be enough to address this issue, while still keeping a relatively low core voltage which helps for power consumption and thermals. Fixes: 08384e80a70f ("MIPS: DTS: CI20: Fix ACT8600 regulator node names") Signed-off-by: Paul Cercueil --- Cc: H. Nikolaus Schaller --- arch/mips/boot/dts/ingenic/ci20.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/mips/boot/dts/ingenic/ci20.dts b/arch/mips/boot/dts/ingenic/ci20.dts index cec0caa2350c..a141a699b790 100644 --- a/arch/mips/boot/dts/ingenic/ci20.dts +++ b/arch/mips/boot/dts/ingenic/ci20.dts @@ -298,8 +298,8 @@ act8600: act8600@5a { regulators { vddcore: DCDC1 { - regulator-min-microvolt = <1100000>; - regulator-max-microvolt = <1100000>; + regulator-min-microvolt = <1125000>; + regulator-max-microvolt = <1125000>; vp1-supply = <&vcc_33v>; regulator-always-on; }; -- 2.40.1