Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp289430pxf; Thu, 11 Mar 2021 04:05:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJy9UZOvZrqr4D3FeZmdGDE9rDazFaVHc/oTm4UrMBNy0c7RMyq6bYdUdpiOj1muaqrNJ6qG X-Received: by 2002:a17:906:d787:: with SMTP id pj7mr2667701ejb.257.1615464311028; Thu, 11 Mar 2021 04:05:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615464311; cv=none; d=google.com; s=arc-20160816; b=rYnlvx3NnlLcVNNTrtJ3cpsen4Px01A5U+zGJEjFI058x2pdQgpY306JVpZdM4d6TM dbiUIWzcxK6Kp+rB8meDnv7oepeQ00UKYcAowXEor0K8w7S5KZDeABN7TEohj9lPb1uW RhlW9jO+9olp5b231mGt8eDDphMtwzNsjMezcadIgdRNyj/AbRFIVwz9/hqPh3q7KhBB iTEqTRAmgJ3mzoKMrsiJtKysEzhxYj2o6le+qq73m7nQMe0AyhPChCURgjHFJFlluR0a R687pH5AvaviwywT8wu4yL/fyS3sPFDADp18VNqGkXPcIUVcEc+XIUN8KYH6KFpfGdqf /FLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:references:in-reply-to :message-id:date:subject:cc:to:from; bh=J4rURDFB7shjD5z5e+alH5LyLDZ+ktzXkZ6se5Vgyic=; b=garUvNYlhFBg//OPXpIGVf5Qc+uG9aFxOhc+c3YohmA1h70tqGHOcPrrs/pOjx0cp/ FKwkIMyTPsOrQ1h/1oM5bCTWjK7QJDCNtioYml5bJ7fBEq+53YDulRQdxaVeEkrwuuym kY+8Wy4ewjqyTZ9TWHVljOJm27jA5JqRHU0wayjK4p7uCLyBn1KasTtFQSaDD8UAfffi HaH+wh7OKdp+Qpx3RBKbUeWpGjbJlH2P9FnehaFLXg+9BlnpoVpSm1cbKWVLUs2Tqkvd Oj7gmd7kcEC2wGdIDzCjMuVxzftrEa7klmmrAwGSAsAOX3uGc7/sRyaazkhDqvNuA5Gf jszQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b3si1659384ejd.663.2021.03.11.04.04.48; Thu, 11 Mar 2021 04:05:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232915AbhCKMDy (ORCPT + 99 others); Thu, 11 Mar 2021 07:03:54 -0500 Received: from comms.puri.sm ([159.203.221.185]:39000 "EHLO comms.puri.sm" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232870AbhCKMDY (ORCPT ); Thu, 11 Mar 2021 07:03:24 -0500 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id 82B2FE0DC0; Thu, 11 Mar 2021 04:03:24 -0800 (PST) Received: from comms.puri.sm ([127.0.0.1]) by localhost (comms.puri.sm [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2Na-PJynUT3A; Thu, 11 Mar 2021 04:03:23 -0800 (PST) From: Martin Kepplinger To: robh@kernel.org, shawnguo@kernel.org, kernel@pengutronix.de, festevam@gmail.com, krzk@kernel.org Cc: kernel@puri.sm, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, Sebastian Krzyszkowiak , Martin Kepplinger Subject: [PATCH 2/3] arm64: dts: imx8mq-librem5-r3: Mark buck3 as always on Date: Thu, 11 Mar 2021 13:02:58 +0100 Message-Id: <20210311120259.3310499-3-martin.kepplinger@puri.sm> In-Reply-To: <20210311120259.3310499-1-martin.kepplinger@puri.sm> References: <20210311120259.3310499-1-martin.kepplinger@puri.sm> Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sebastian Krzyszkowiak Commit 66d3f246d79f ("arm64: dts: librem5: Don't mark buck3 as always on") removed always-on marking from GPU regulator, which is great for power saving - however it introduces additional i2c0 traffic which can be deadly for devices from the Dogwood batch. To workaround the i2c0 shutdown issue on Dogwood, this commit marks buck3 as always-on again - but only for Dogwood (r3). Signed-off-by: Sebastian Krzyszkowiak Signed-off-by: Martin Kepplinger --- arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dts b/arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dts index 0d38327043f8..cd3c3edd48fa 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dts @@ -28,6 +28,10 @@ &bq25895 { ti,termination-current = <144000>; /* uA */ }; +&buck3_reg { + regulator-always-on; +}; + &proximity { proximity-near-level = <25>; }; -- 2.30.1