Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3118187pxf; Mon, 15 Mar 2021 01:39:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyzKl2UhE991Xl2K4LppSGSXjtoJV4vb2dcZy6QrFY7LN84udrfaKH8Vn8wP8NjTrhf93pV X-Received: by 2002:a17:906:1453:: with SMTP id q19mr22555248ejc.76.1615797560890; Mon, 15 Mar 2021 01:39:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615797560; cv=none; d=google.com; s=arc-20160816; b=1FS0V9hHPVcqEri9E8W7SKPwUH4nTYeJ11v8quxD0miBOp2L+CrSRNjhGFCEjnLcp4 8Hnb5vxIEhX/+KuDRE3sOjGzUFU3Gui1RqjiR/XU2rsO6j+F1uPur+0oFlZFHCsUiXZL pKd9yD3yiGgstPTDGHX1bGnmA8Spsa9olbb69g18ApOXBQpoVDm8yw3JC5wi2hDoXEuQ 4YrzZDdGS+K7YTzlKyxrYhP9s0QomN1ASBICrsJLIDuD9fVQYMMAy6UES3VROd9DkN1J QhS7eFH7Ct4IlUI5FjSdvF/txyctTRaDa+f7kOQn3FxIjPjM2ahFftpBLEpO3Ot56qdb 2rPQ== 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=fiy1/pV1527yT36mPD5st01nxN1P4y4c4Uzk7OQqMxo=; b=WQPa1tqAfouwX07TSyCqF2/+I9fzPa4D527w52LiYjnjWXUo+wT6rIpARLYSmorbF3 HW6R4e5nG7FsPPj0ezq0uy3pbA9rxrEUS8mKUmtA21GB8lUe1yFLDy7hHXSC0TeWFuKr BRfSDh6ArfaLXcK7byMdvEaWtVFmMw+dRLjHEcPsp8JsrMGciFRiPe+DOnKD46cmWH+4 8LjelKwvD3VpdJUQEL3CPVbTYPuHl7jW6K16sIn21riD2TXpsgdJ5DFdPXLRaSPLGPJC 0VNZVOrFj9DZvHRp4kD4b3sJl8nfRrfJzKLh8Q2RPVeY86xniPp0p2wCOr79jX28DkkD +bpg== 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 go18si10654884ejc.187.2021.03.15.01.38.58; Mon, 15 Mar 2021 01:39:20 -0700 (PDT) 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 S229548AbhCOIgp (ORCPT + 99 others); Mon, 15 Mar 2021 04:36:45 -0400 Received: from comms.puri.sm ([159.203.221.185]:45130 "EHLO comms.puri.sm" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229728AbhCOIgO (ORCPT ); Mon, 15 Mar 2021 04:36:14 -0400 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id A4899DF900; Mon, 15 Mar 2021 01:36:14 -0700 (PDT) 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 jw28Q6WTXG6X; Mon, 15 Mar 2021 01:36:14 -0700 (PDT) From: Martin Kepplinger To: martin.kepplinger@puri.sm Cc: devicetree@vger.kernel.org, festevam@gmail.com, kernel@pengutronix.de, kernel@puri.sm, krzk@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, robh@kernel.org, shawnguo@kernel.org, Sebastian Krzyszkowiak Subject: [PATCH v2 2/3] arm64: dts: imx8mq-librem5-r3: Mark buck3 as always on Date: Mon, 15 Mar 2021 09:35:30 +0100 Message-Id: <20210315083531.3743183-3-martin.kepplinger@puri.sm> In-Reply-To: <20210315083531.3743183-1-martin.kepplinger@puri.sm> References: <20210311120259.3310499-1-martin.kepplinger@puri.sm> <20210315083531.3743183-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 99e71c029213 ("arm64: dts: imx8mq-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