From patchwork Sat Oct 12 14:39:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Schneider-Pargmann X-Patchwork-Id: 13833983 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 38A42CF2566 for ; Sat, 12 Oct 2024 14:51:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=gttVsMS4Fqvh3Tt7h6KmD5HQ1g1j9lzENne/NicL/Zs=; b=FNP6K4yqtPDKLvPjrHkMWS5Dvk exKIqih8guTLqTELS1l2fHCyNg5tGKLhim718By9WRmYDbB7d2AkKzoAoQDPK7OIkIN3oz2CXWASS LFMvrYG8Ra534Y6eUjr8RXWFjhcF5ti5Le6MKSTnIBoY2y0lOXVrfZLYGZV13ixXpSG3zIv5jdy/a HsMuAlMFE7Bbf/dedQKSSmP9kL73yM52tzuTEwckIxHNDIC2SXwwqE+FpBtYr55ck7eNFTITC1llU rvsj4Sqqa2TEjGhD5nbZ74zGwCTEbriDUrZkVTWaIJAZrjNBKW/Tya72Lh3IP6cSz4joDB9pC6ynu MrcHwUEA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1szdSa-00000001NtO-0yV3; Sat, 12 Oct 2024 14:51:12 +0000 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1szdIA-00000001Lks-41DE for linux-arm-kernel@lists.infradead.org; Sat, 12 Oct 2024 14:40:28 +0000 Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a993a6348e0so207070666b.1 for ; Sat, 12 Oct 2024 07:40:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1728744025; x=1729348825; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=gttVsMS4Fqvh3Tt7h6KmD5HQ1g1j9lzENne/NicL/Zs=; b=10aa0RQn4r6CV+orUFtWBy67ebY/wXKD6bsIrWGCF/DkSbEa+gW2autLz39T9wqfnL J9WylLncuG/Y2r1CyD5GFd//5ZLK3SFJ5IkubiDwGis0nhUF89NkLzP1FwtIkV437Lqx uiRAWQLVvDOMDtch3KsRYqdsem/WlVLBWv5a1WCQbpWvo7vErWiHZoi7LuIVPyuLKR7e Q68gL+OwP08UNU0yvuQtS14nwjHPS27MlkEBDkpikdX1QoD//EF8jW8oOiEcdEStcxYi 7H52pioBglAEnVHRVHP6WynUlk2xas/ikSK9t8WR7N2VIwQwkzajIFu0uthS3BOrR1mK lHkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728744025; x=1729348825; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gttVsMS4Fqvh3Tt7h6KmD5HQ1g1j9lzENne/NicL/Zs=; b=wH19TA66VHeyDZ0gvF/nZ2FKsv4o2myZQOXUjAtNGGscnFaCX9DdYwxRn+HNhYJToj Y5I4v0jI9Ls79Bl4dk5JNsOd4EWXzxpHXxVvmSFa9yzuLdN5cFHiHsPsA2143Y0A+tQn UZ0e9zfQA8x4F/lTARppu5ziSD8OVWPYY7+7K1MTuJA1gi3vRMnbHbQDDijp9XodLOyL h3zTCfaI2NraeBt7q9FhYMPXZ+e1Z+gh631UWkRo2BkI3Coy8HGBi47GBVwhEmbjBJzT sX8TjgMXhpnMZf3/IMRm72I/FwQwpTU2Bo1zi4tf8TvAGZeHM1I5C/m17uJxbhV8jRtc GyxQ== X-Gm-Message-State: AOJu0YxRxhwEkwaWMaFnaFQESFIy5DmcOyec3EVMDzTIAlzwwvz0HZdt XYClAlRQKsftyaA57T4QKW0auAumdkQg+sqh6qXXaEGrbMSW50VjMhu2DSctFPg= X-Google-Smtp-Source: AGHT+IHt5b4bByB1WvcuC38k97IWVU58hfVMsjj5FiJWbVwYm1/FeLRBTfW/P+tmVBSwJRaQRUR0MQ== X-Received: by 2002:a05:6402:40c8:b0:5c9:34b4:69a8 with SMTP id 4fb4d7f45d1cf-5c95ac09860mr3965894a12.6.1728744025513; Sat, 12 Oct 2024 07:40:25 -0700 (PDT) Received: from localhost ([2001:4090:a244:83ae:2517:2666:43c9:d0d3]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a99a80cb013sm328446266b.131.2024.10.12.07.40.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Oct 2024 07:40:24 -0700 (PDT) From: Markus Schneider-Pargmann Date: Sat, 12 Oct 2024 16:39:31 +0200 Subject: [PATCH v3 5/6] arm64: dts: ti: am62-lp-sk: Add vddshv_canuart regulator MIME-Version: 1.0 Message-Id: <20241012-topic-am62-partialio-v6-12-b4-v3-5-f7c6c2739681@baylibre.com> References: <20241012-topic-am62-partialio-v6-12-b4-v3-0-f7c6c2739681@baylibre.com> In-Reply-To: <20241012-topic-am62-partialio-v6-12-b4-v3-0-f7c6c2739681@baylibre.com> To: Nishanth Menon , Tero Kristo , Santosh Shilimkar , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Anand Gadiyar Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Vishal Mahaveer , Kevin Hilman , Dhruva Gole , Markus Schneider-Pargmann X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1333; i=msp@baylibre.com; h=from:subject:message-id; bh=B9BqpeoJguVWS7gI+XD6rHIo0W/hrym3/3+lBaC2IGI=; b=owGbwMvMwCGm0rPl0RXRdfaMp9WSGNK5utxEp3dO6Us5KRkTecpIP3rpPckzfV6XN1V8ltM4O avp0X6xjlIWBjEOBlkxRZa7Hxa+q5O7viBi3SNHmDmsTCBDGLg4BWAiU08xMky9qLng0OL70vHO t45nefrmlZ6pfP1YZt2SqfxTfy8QO5LHyDB97YNZf1KYS0M+7/u57mBcRdhGgzOSMpyT3TR/8WR N72QBAA== X-Developer-Key: i=msp@baylibre.com; a=openpgp; fpr=BADD88DB889FDC3E8A3D5FE612FA6A01E0A45B41 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241012_074027_031827_40795455 X-CRM114-Status: GOOD ( 11.26 ) 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 vddshv_canuart on am62-lp-sk is used to power a few units specific units of the SoC that remain active in a special low power mode. Model this relationship explicitly. Signed-off-by: Markus Schneider-Pargmann --- arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts b/arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts index 529360b5e6fe052dd99f04b74c129193922f76ac..783ad65e6165ea74010c3240069fc6d99a0cd035 100644 --- a/arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts @@ -80,6 +80,17 @@ vcc_3v3_sys: regulator-5 { regulator-always-on; regulator-boot-on; }; + + vddshv_canuart: regulator-7 { + /* TPS22965DSGT */ + compatible = "regulator-fixed"; + regulator-name = "vddshv_canuart"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&vcc_3v3_main>; + regulator-always-on; + regulator-boot-on; + }; }; &main_pmx0 { @@ -242,3 +253,11 @@ &tlv320aic3106 { &gpmc0 { ranges = <0 0 0x00 0x51000000 0x01000000>; /* CS0 space. Min partition = 16MB */ }; + +&mcu_mcan0 { + vio-supply = <&vddshv_canuart>; +}; + +&mcu_mcan1 { + vio-supply = <&vddshv_canuart>; +};