From patchwork Mon May 12 13:45:08 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Nazzareno Trimarchi X-Patchwork-Id: 3982 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 9A32C3F31C for ; Mon, 12 May 2025 15:45:26 +0200 (CEST) Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-440667e7f92sf21844625e9.3 for ; Mon, 12 May 2025 06:45:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1747057526; cv=pass; d=google.com; s=arc-20240605; b=AKw7vxgBH+2sQHXQWwgcaQxvuyFFWi7bTCDSNKUaDhzMdlyjPSK5vm122+nyZBhHAy 56kFotEcJz1NrS2bWguGchEWKg7VD5ZMD8RUb8RrvU/aV6u88GJo9Pd+XMGCKqsza46e oq60LPqB5u4JFvfQLjpLOMEPIeygHx4aPTnehxFYS0kTpax3mHKsDapIywoB5nmUaulk lgWIQpE+Y694t5wdOF/YSS2mFS2KEHOyEkcmmKz9/WFGloY489Ckcx8eNB3PeIBsD6VV mVvY63TYX5qe7hrlQDMnf8aE5TjuthUVnm3tmZkuLE21qgpBqD3iGGcMtpsC/wBQ5F+N KV0A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:to:from:dkim-signature; bh=QpLzZcSvrhXzlnO8lXzYyaCq2AgJBPzUyDdrH94DJYU=; fh=1++BoxDuKSljywmj1I6y/zPfXy1KJWO4PpGpsTz6vuw=; b=jC27j4W42ys4KXVwncRYyP4KbWRLDk0EOmAhznYfsv+jdtxsH0fd8ntDvABH29Mn94 +Ogot+G7hsjLXrOVrj8b3TVUXi15o9vyTtdpNJqaWEp3VWHEpL+6/Q+TrjERQc9qOHM4 1YNDUi9kPt2JqgX3ls9hNdFu3yD8Gv0OsnYrHmrCHqlkNVrEm2BSUn4qgUMTlZ/9xZFm 31WH0IYoHjI+KdfRoi3xExIQOZRJsocO22NbvOuJucCuTKOmTHhoVctoExCeWPTs+xh8 MRXc3hdi7ZzdY/fs79FKFgSqAAJ9/mvA0RPHbPuEfewrjVOLIcBs2GfeJYQGpK/m89Ul FpvQ==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=qTpKJpMt; spf=pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=michael@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1747057526; x=1747662326; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:to:from:from:to:cc:subject:date:message-id:reply-to; bh=QpLzZcSvrhXzlnO8lXzYyaCq2AgJBPzUyDdrH94DJYU=; b=LGTYNM9NXRM7zLLrFIDhmniAB556kmZT7/zc+Z2NGHg9TmErS+evjSVClVvumFgSFC 3YpWqBA1Mm2kn8dyXhbqe8qb2r1aNgfwBiLudBK2CLc+wnwvMdHOrZpXkiDeVmjyG7hZ v6e3jDvNny46hXphDWR8IHIS+cvmrqzO5Tw1w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747057526; x=1747662326; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:to:from:x-beenthere :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=QpLzZcSvrhXzlnO8lXzYyaCq2AgJBPzUyDdrH94DJYU=; b=LoprvvoWcdDPq91bb4rGUtO/Xot0SnYyQhB5G40NN/oAWL5KmfBjLe/OUYtNlRPJl9 FMpAaOYqp+nRDPtftijG5IWei9JAHrppG2r8Y1m8PjV0JbQ8k3o9sU6J+glZV2gkVX4e UeTsGU3fcs8pqSFScAF7RGvQJ/SvgULmJBQsR6jpyrbFBzsAXduk49wFrAhuJAe43i3V KtADW6XRUJeg+KOuXVc8F5KswEa9ic05cz4p3nzzKCSjmz9oKJgJkKtpnQkkVsUFXZWG JgLBYl9TUYi91jZ1fr6mApn459OhKT/dUaEVfR8/b2zAuDubb8ZzClhNl776RcnY/dmL kJPA== X-Forwarded-Encrypted: i=2; AJvYcCXTr7RXP4wR7aQcC3Kwwuak65iTn1IcuvdFcIilf9nALRe/3YiWCkQTN9zz/8mSkKDxjbC6TARuNFL2ONOA@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0YwE259o+RjRAlV11vUmUGeh9UdVhOImk6I6loVzEELnHYxuYB7n ePzPBy+9UY802zV7C19Trx4+URmRc2gFVa4uMo9ERlrponELoti9dald/nCRHZLS2A== X-Google-Smtp-Source: AGHT+IEI6nMkhdDn6mZjVjdSHEgVWybSqamX7zpDrKwDw7//U3P+fqP6aoE9X7c6ePQAPgpc64m26w== X-Received: by 2002:a05:600c:c04a:b0:43c:fdbe:4398 with SMTP id 5b1f17b1804b1-442d89ca325mr87642925e9.6.1747057526100; Mon, 12 May 2025 06:45:26 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com; h=AVT/gBEmkDxQ9FMtLi8EV/Q1ag+PvRlonqaXq9W3SJ5nNdkNhw== Received: by 2002:a05:600c:348c:b0:440:6a1a:cc17 with SMTP id 5b1f17b1804b1-442d01e61d8ls22388515e9.0.-pod-prod-09-eu; Mon, 12 May 2025 06:45:23 -0700 (PDT) X-Received: by 2002:a05:600c:4454:b0:43d:83a:417d with SMTP id 5b1f17b1804b1-442d6d44a31mr132628015e9.12.1747057523478; Mon, 12 May 2025 06:45:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1747057523; cv=none; d=google.com; s=arc-20240605; b=YvJfxyRWlz2qam2Jj4GEIW3YzpXB64heSX8flHB2MCZUG59PS/EVyYqfS1DxE2ANfh dt0YXaxLltLjsnB5A9aA0PoFrT2zvgDi0kyC3GFlfTyeXdIuRV/AkhETHNgAHzKHlZIr mhCxIYGfuiMcE9ksTY8pZb0sZkabNGjn//jD8BPxkBRGy94fJjfg2OgOWQPZfqVkEhfy YpQWG9QYYZhPJF0Qo6GziZbE9u5kkOEwqRXzfq3BZKuoi533m34XJ5/OhUBEhYPUkZ3P Mtiz/mJFjMf7kuGc6tu4gPIB2fLR+fgrFgGcPAFm0ulVatvu5fN1olhJILRiTf4hL45b inog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:dkim-signature; bh=fXPPyfmval9u39NmAFd7Z3gx86R+xdVaiG3aPN9fREc=; fh=MkUrL5efMPF+Y084j8ve5VeRLyjhlmvKKCp+WxPK8nM=; b=IMJocjCBAG0emoUqSPPUHB2zVTr6ULllZ7/fWGa1JwqW6iZenhUNtv4OPBuC6E7xzk J2dX7igBzoGmEOtgax8tCd/aH2cILgrhcGgV6LTMi0uviUU+lP51b3e2IjA1FNT4UZ+O CpbGFcIm6xyYnWIs1E5r88k1pnDFoppApI+W6b9af+tmwu0oBzioU+gY5BOGDdBIGDMR PC5FOTqyr7H/YizZaDl9k5mx/owxkqublxlVFaL8eEcLJY+tcH2JRKiSfoz9OrEivysd +vBLmd+DVJJAWlmxuzzV1Ll9g0YQXc18xI62NpCXCO0Vwcwc4Vz0wF5dHq3Pkof1+err eH4A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=qTpKJpMt; spf=pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=michael@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id 5b1f17b1804b1-442d67ee258sor24600565e9.5.2025.05.12.06.45.23 for (Google Transport Security); Mon, 12 May 2025 06:45:23 -0700 (PDT) Received-SPF: pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Gm-Gg: ASbGncsUEN7h4W1iAnKbx+v+TW2nxsALkbW3nGRmpx5wjbHQH7sIakqj8/KodY+WWnx jqyVad+EDFqD2ZTtmYTKaBVSJww0Aoy+MYw9FbQhy2Z84YlA9pu2CC2oqEj8GbPZcbhnSVQUGO1 I66rL3Vb8dqtNsRbFGLlL6H05Y103qLMZhxTqZjZh5prbekG4lqFZKcodX13Sr7+5aEVkAo2Yyw 0locedcQ1REXr4EzTtT/ppAcxORebmDLNVnoZQ+idUltumGf5X+RrcGkLuAnwVoR8i9KS4e8PgX Vy2hQT0MNTjUJ5Z5qv/n1WxGrsTIjNWFqMdi8lQhT/jDeusoqKWGDHB/ZDNAJJbBgr5Y3JiIpNB 79u1xG2La4BHelNUzdTlD+mU21g== X-Received: by 2002:a05:600c:3b9a:b0:43d:45a:8fbb with SMTP id 5b1f17b1804b1-442e2ee9746mr47780275e9.22.1747057522637; Mon, 12 May 2025 06:45:22 -0700 (PDT) Received: from panicking.fritz.box (p5b26784b.dip0.t-ipconnect.de. [91.38.120.75]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-442d76b7fd6sm77608825e9.0.2025.05.12.06.45.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 May 2025 06:45:22 -0700 (PDT) From: Michael Trimarchi To: linux-amarula@amarulasolutions.com, Michael Trimarchi , Dario Binacchi , Simon Holesch Subject: [PATCH 02/11] arm64: dts: imx8mn-bsh-smm-s2-common: Leave regulator under hw state machine Date: Mon, 12 May 2025 15:45:08 +0200 Message-ID: <20250512134517.1418356-3-michael@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250512134517.1418356-1-michael@amarulasolutions.com> References: <20250512134517.1418356-1-michael@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: michael@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=qTpKJpMt; spf=pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=michael@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Let regulator to be controlled by hardware state machine except LDO5 Signed-off-by: Michael Trimarchi --- .../boot/dts/freescale/imx8mn-bsh-smm-s2-common.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-common.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-common.dtsi index 5a1ec2f6a5527..1f641c76a5ac7 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-common.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-common.dtsi @@ -144,6 +144,7 @@ buck4_reg: BUCK4 { regulator-max-microvolt = <3300000>; regulator-boot-on; regulator-always-on; + rohm,no-regulator-enable-control; }; buck5_reg: BUCK5 { @@ -153,6 +154,7 @@ buck5_reg: BUCK5 { regulator-max-microvolt = <1995000>; regulator-boot-on; regulator-always-on; + rohm,no-regulator-enable-control; }; buck6_reg: BUCK6 { @@ -162,6 +164,7 @@ buck6_reg: BUCK6 { regulator-max-microvolt = <1400000>; regulator-boot-on; regulator-always-on; + rohm,no-regulator-enable-control; }; ldo1_reg: LDO1 { @@ -171,6 +174,7 @@ ldo1_reg: LDO1 { regulator-max-microvolt = <1900000>; regulator-boot-on; regulator-always-on; + rohm,no-regulator-enable-control; }; ldo2_reg: LDO2 { @@ -180,6 +184,7 @@ ldo2_reg: LDO2 { regulator-max-microvolt = <900000>; regulator-boot-on; regulator-always-on; + rohm,no-regulator-enable-control; }; ldo3_reg: LDO3 { @@ -189,6 +194,7 @@ ldo3_reg: LDO3 { regulator-max-microvolt = <3300000>; regulator-boot-on; regulator-always-on; + rohm,no-regulator-enable-control; }; ldo4_reg: LDO4 { @@ -198,6 +204,7 @@ ldo4_reg: LDO4 { regulator-max-microvolt = <1800000>; regulator-boot-on; regulator-always-on; + rohm,no-regulator-enable-control; }; ldo6_reg: LDO6 { @@ -207,6 +214,7 @@ ldo6_reg: LDO6 { regulator-max-microvolt = <1800000>; regulator-boot-on; regulator-always-on; + rohm,no-regulator-enable-control; }; }; };