Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp733295rwb; Tue, 4 Oct 2022 09:53:48 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6HWM3fcomVIVHewWQOczrKXERSBuu7mOvEiBJRJFwhid8I8zW61Lq1qdCoGsbHUGFYycuU X-Received: by 2002:a17:907:7d8e:b0:786:7dcd:3ef9 with SMTP id oz14-20020a1709077d8e00b007867dcd3ef9mr19516836ejc.571.1664902427782; Tue, 04 Oct 2022 09:53:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664902427; cv=none; d=google.com; s=arc-20160816; b=UiClf4JOTROeK3uVPR+73j/dcXsBsRiZSxqOjL+mYdlSZnC2TIOIpgk0LeDVB5YM7M mekXUhCWTH75h5e+aeWjge8dPRL92c752cnYLS8kwO1e+VtiAotZg8JJj79ILOURoA9V cwBw1Gu+/pQdI/9Qe661HkNz5OqTA4sXF0Cu88z7roAjhXaZ8sfJ/f4y8g5+vM4texUX /e6untCNERgSTm1MUPoE+Py3Rocz01oLjvOrz5MsuN2qupQxNGNjlGfDAJ98Kg7GnyID JrLaVHdT9kKw/S6VpLN0MLoPKLwOeW70uvmEL2fN/SOY9PO2j6eizdq7YkaHSQqajYlh JR8Q== 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=i9PnxML2126tErWZLbzvJMO++0lET7Udk97r6lwj1NY=; b=z7sKmBG1dUdzf6V5sCyVMP0w+GXTZybTzeAI8W1oZOr3RobNM0tsaSsp0T/L23ZS/R TxP7Ig+y8uvcpqbX+9RDcarleDA22z12FGj/5RCXEZmDafI7WVdiaaVwKLCaemAEHOlE hEucNoCnuaugtk8apeYyb8WVtnRX3U/WyAjL4maoG826+eRXjyTMUiY3KHiKuskezIEj lTANXbZbkMz189dFjFQ8IOIGMIWRgfYWFY5sgZOuFq/SSw5BGg09TYzBj9c/mbtPAMyq nVaUhDLoAqfgaKjZ3SCo+eKNm0ByI6luwLAx2nk9RRke7jvlXmPHqnUu42uVAAbmx6Ao zfOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ysoft.com header.s=20160406-ysoft-com header.b=M4FBZUpJ; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ysoft.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id he30-20020a1709073d9e00b0077fc66b581esi11979546ejc.688.2022.10.04.09.53.21; Tue, 04 Oct 2022 09:53:47 -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 (test mode) header.i=@ysoft.com header.s=20160406-ysoft-com header.b=M4FBZUpJ; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ysoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229768AbiJDP5f (ORCPT + 99 others); Tue, 4 Oct 2022 11:57:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229612AbiJDP52 (ORCPT ); Tue, 4 Oct 2022 11:57:28 -0400 X-Greylist: delayed 599 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 04 Oct 2022 08:57:26 PDT Received: from uho.ysoft.cz (uho.ysoft.cz [81.19.3.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A451543C9 for ; Tue, 4 Oct 2022 08:57:25 -0700 (PDT) Received: from vokac-Latitude-7410.ysoft.local (unknown [10.1.8.111]) by uho.ysoft.cz (Postfix) with ESMTP id 20435A042B; Tue, 4 Oct 2022 17:40:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ysoft.com; s=20160406-ysoft-com; t=1664898027; bh=i9PnxML2126tErWZLbzvJMO++0lET7Udk97r6lwj1NY=; h=From:To:Cc:Subject:Date:From; b=M4FBZUpJafUb+eJ24wfxuU2UfA/BIx/eDfRtKsNfgmZbg3/TKc+TH89UXza/gVk5i mIrDBzs6UFY5r1g6351zz4YrFfRH5uMZLRIonH9PtJxKhkfwMU+wu/xTGg1BOVvxKZ TCW+qvi2iBRcDHAv6OOYRqp2+OEVzSsI707b/XTQ= From: Petr Benes To: Rob Herring , Shawn Guo Cc: Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Petr Benes , petrben@gmail.com, stable@vger.kernel.org, =?UTF-8?q?Michal=20Vok=C3=A1=C4=8D?= Subject: [PATCH] ARM: dts: imx6dl-yapp4: Do not allow PM to switch PU regulator off on Q/QP Date: Tue, 4 Oct 2022 17:39:20 +0200 Message-Id: <20221004153920.104984-1-petr.benes@ysoft.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 autolearn=unavailable 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 Fix our design flaw in supply voltage distribution on the Quad and QuadPlus based boards. The problem is that we supply the SoC cache (VDD_CACHE_CAP) from VDD_PU instead of VDD_SOC. The VDD_PU internal regulator can be disabled by PM if VPU or GPU is not used. If that happens the system freezes. To prevent that configure the reg_pu regulator to be always on. Fixes: 0de4ab81ab26 ("ARM: dts: imx6dl-yapp4: Add Y Soft IOTA Crux/Crux+ board") Cc: petrben@gmail.com Cc: stable@vger.kernel.org Signed-off-by: Petr Benes Signed-off-by: Michal Vokáč --- arch/arm/boot/dts/imx6q-yapp4-crux.dts | 4 ++++ arch/arm/boot/dts/imx6qp-yapp4-crux-plus.dts | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/imx6q-yapp4-crux.dts b/arch/arm/boot/dts/imx6q-yapp4-crux.dts index deb18c57cf18..22f647eb12e7 100644 --- a/arch/arm/boot/dts/imx6q-yapp4-crux.dts +++ b/arch/arm/boot/dts/imx6q-yapp4-crux.dts @@ -45,6 +45,10 @@ &oled_1309 { status = "okay"; }; +®_pu { + regulator-always-on; +}; + ®_usb_h1_vbus { status = "okay"; }; diff --git a/arch/arm/boot/dts/imx6qp-yapp4-crux-plus.dts b/arch/arm/boot/dts/imx6qp-yapp4-crux-plus.dts index a450a77f920f..b580ce891f7e 100644 --- a/arch/arm/boot/dts/imx6qp-yapp4-crux-plus.dts +++ b/arch/arm/boot/dts/imx6qp-yapp4-crux-plus.dts @@ -45,6 +45,10 @@ &oled_1309 { status = "okay"; }; +®_pu { + regulator-always-on; +}; + ®_usb_h1_vbus { status = "okay"; }; -- 2.25.1