From patchwork Thu Sep 30 15:56:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frieder Schrempf X-Patchwork-Id: 12528811 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6F1C3C433F5 for ; Thu, 30 Sep 2021 16:00:00 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 360CA61440 for ; Thu, 30 Sep 2021 16:00:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 360CA61440 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=fris.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nfCNN/GueVxiMM4XTP5iz+yACIgOPMRpdHqmGGhHwEc=; b=hNmI3I4dkYCg8L cPEsoARC8U9zgR3EcmK9Aj1qyDlc6fY2DftqQEr+TgsBzdURHIX61zA1PUjLPlw2tk6hhQ74SsWJB puMEe9rt0jWrIx9fyV0N0pYB5ohxr5aDJQTMMiEMhv6cjlBOxSHKWME2mgkQvMCo7DbC0lJkBM6aL yvjrm7RA2bLzlA8/2f6Q8wwLxo0AnmLk/jZM4RfUq7lN5Sh2QEwLnj6TWbzXRL2UKy/T8WUwUFfU4 H4x5Q60LtdxeMPx7GXaymHvqRIKQR8uAKGZ2nZJgRIchU5l7gdVGsMcb9ptf5h2JpZWhO4P9AJvbY 3ceFV2Ej9du6yrHeWPyA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVyRz-00F4XW-F6; Thu, 30 Sep 2021 15:58:24 +0000 Received: from mail.fris.de ([2a01:4f8:c2c:390b::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVyQb-00F3z0-Is for linux-arm-kernel@lists.infradead.org; Thu, 30 Sep 2021 15:56:59 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id E1561BFBD8; Thu, 30 Sep 2021 17:56:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fris.de; s=dkim; t=1633017414; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=IU87R0XSQOesOBA4xIK7GNvQVFsVTZb7Gkj0MIhqEes=; b=1Aioh4dTlVijAtyXdQNT6Sr1VrjuoTchdcdV8AUsilm0KCFsGOwVhQb11qNjTnGKprYmes 74mOqHWN9TvgMcnZ1Dcz133RCXaw5B9Zy1lmrZYyXePOv1lNp3z+dPQN7OOaH8wxwOvhlY C5RZHNvpr+yUwUrL/AsLdOnzvdJ42TppXBmQz/UVfXqe65i2VPKnUPkaZdzCWni7v8CMsz kITSaLy5E6ZYTNQNyoJfIwm4lLriGWZnea5+XPdkK25/B/gnOyW76iHaUoR541hQtvzymK MH9/UCI8FNppMp09qp+xfxazn/XZ7gCraNa6Mxl7Q88L6j6qDekW9XpFcoaaow== From: Frieder Schrempf To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring , Sascha Hauer , Shawn Guo Cc: Frieder Schrempf , Fabio Estevam , Krzysztof Kozlowski , NXP Linux Team , Pengutronix Kernel Team Subject: [PATCH 2/8] arm64: dts: imx8mm-kontron: Make sure SOC and DRAM supply voltages are correct Date: Thu, 30 Sep 2021 17:56:25 +0200 Message-Id: <20210930155633.2745201-3-frieder@fris.de> In-Reply-To: <20210930155633.2745201-1-frieder@fris.de> References: <20210930155633.2745201-1-frieder@fris.de> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210930_085657_820878_88C325CD X-CRM114-Status: UNSURE ( 9.28 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Frieder Schrempf VDD_SOC should be 800 mV in suspend and 850 mV in run mode. VDD_DRAM should be 950 mV for DDR clock frequencies of 1.5 GHz. This information is taken from the datasheet and the uboot-imx code. Signed-off-by: Frieder Schrempf --- arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi index 03b3516abd64..b12fb7ce6686 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi @@ -92,10 +92,12 @@ regulators { reg_vdd_soc: BUCK1 { regulator-name = "buck1"; regulator-min-microvolt = <800000>; - regulator-max-microvolt = <900000>; + regulator-max-microvolt = <850000>; regulator-boot-on; regulator-always-on; regulator-ramp-delay = <3125>; + nxp,dvs-run-voltage = <850000>; + nxp,dvs-standby-voltage = <800000>; }; reg_vdd_arm: BUCK2 { @@ -111,7 +113,7 @@ reg_vdd_arm: BUCK2 { reg_vdd_dram: BUCK3 { regulator-name = "buck3"; regulator-min-microvolt = <850000>; - regulator-max-microvolt = <900000>; + regulator-max-microvolt = <950000>; regulator-boot-on; regulator-always-on; };