From patchwork Tue Mar 7 13:17:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13163613 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 9E3B8C678D5 for ; Tue, 7 Mar 2023 14:00:52 +0000 (UTC) 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:Cc:To:In-Reply-To:References:Message-Id :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=ENtcWbz+zDs8R5RkgEgcp5vhDwHfdNCKBNCg5HYJRO8=; b=M6YDP+KZT1XBoV bJjL+uS07W6iFPcSbMVZPqurJzznYFulGdpcQOXzeVDgOLlt1lZVW7cYkR5p/7jLtSRVDATCob09K Vj11qxOrmBMOb2nDnV3q52TIXlXQgq/JXVUCpIQqKQGJrO+4sqXHaIJzkFkGReSKmB1TyOW1DaSfD JZOucnnMb/munZknWOKk8AAP00v5RioJWjJVYa9CQDAnaUYQHMA2Mr3eCW3PZfnUneNnEFjjXwmzX cT8X762Zv1o2vyUsBCoYsVTsKL2qNEbjQksXM1qJAsWTPoPkmlqth5QaLebNVedSdI1SJyy6hi0aq u2J1NzimWKfxFaEmaqUA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZXqp-000aMk-El; Tue, 07 Mar 2023 13:59:36 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZXe9-000UzR-Of for linux-arm-kernel@bombadil.infradead.org; Tue, 07 Mar 2023 13:46:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Cc:To:In-Reply-To:References: Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Sender:Reply-To:Content-ID:Content-Description; bh=jZgziY/YB1+30FBJvKkNffG54YxezBqs7LSH3IaDCyE=; b=UleGmdTVDaOyn+y4pq7/bnS4Nz a4gdadwYMIENYLnG19toi3ZZXX9lzYsXbEMtatH9sOZNSHKalqHP2yzR50a4FnUdTnAJr+9lI2y4w FaFjsVQTgsLCQkfqVhqcHU5FMsJZ2WifLEUvraPZkjdl62W7gcMHDgsuEqyCwwV/9V/VkURLw0SEU gp4UJV2IcZcLuIDcpacYr7BrIrEDPN025iKHNTap94a0plJ3NXRJQYz8QtTdznAtK7aKpLlKGe+XE ObMoWX11JRWBidYgdDhjC3NM3bJrzb/MGEl+rF9gggTJnXTSeF5LNElUHvfj4rVCdxcRhaaaEuV84 CR8QFNBQ==; Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pZXCn-00H3BR-13 for linux-arm-kernel@lists.infradead.org; Tue, 07 Mar 2023 13:18:15 +0000 Received: by mail-wm1-x32a.google.com with SMTP id t25-20020a1c7719000000b003eb052cc5ccso10374214wmi.4 for ; Tue, 07 Mar 2023 05:18:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1678195092; 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=jZgziY/YB1+30FBJvKkNffG54YxezBqs7LSH3IaDCyE=; b=gC9PSU0EnIFVPXWsFxTNgWSf3tFnBCbUk5WHSo8XVliNlpnSfhfHxLrY/vctpUteoa 7H70gjcACxeZu24f2wnZQ3FnrxiflSf4hpX8i9TSAnX7peuavPAgSCeEaQc0MKip0rXX 51SsfpKERecVAVIYslCTABFn311ojZmsZwkPQUneoWV5UWNmy1Urf2wuGrpZf4QM5jpc lRVw/q5kLj8KFFD7w/29U5+7fh+Sfe84aFN8ddpGa8CANq0gXIPQ2a7YiQIMJbB7HfAb +GwjcLaCzswDeoZBTaBHt6lzOIiLh22CZq9YLIsV7H5+B3it+X8hCP6N3nTqOWri5kVC pFQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678195092; 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=jZgziY/YB1+30FBJvKkNffG54YxezBqs7LSH3IaDCyE=; b=Em59Mb25c4OnGQivUJ4EGeAGXyq6lJQheZDg+3kz8RUk1kjw0hbb7rKcpy8zhsXBxD BS/Q3KqND2ThywuVW76eMRzXarNm6jYLsecCcV5jY706D08dz34Es1M9bAvnWE/F6RLB feEsp46GYafhU76SFaADva6pVYSCvFZ1eaFSOTTUBJKh1HW5Xhx2aEiAiPVIEP/c37bX o6256J1tZDEKM16i/iAURTGBY9D5OUDoXJQlIARgB5Y2uVIEHhX3G0DWO2BqbAcjGEoD wvP8AJJI1SPZhy+nSm5zZvQyneUSd+mIrrYqsIJbr2TEicx8dRsjH4wcfkLK0vffcgoD gH/w== X-Gm-Message-State: AO0yUKUef6Bj/a65/d39iXg5RrKCqTelAEm4hV2bJEZ0T4x5Ol86RXf5 XUQ5EccV93qE3Qhva4xESVRAfw== X-Google-Smtp-Source: AK7set+cP8/xdPN2V+iIMBYICaK3cU0G05dWqNfqiPFVmOsPJ1f8OveQiZPLR8GCioSkk1VJkw7fEg== X-Received: by 2002:a05:600c:3b11:b0:3df:fbc7:5b10 with SMTP id m17-20020a05600c3b1100b003dffbc75b10mr12361026wms.0.1678195092054; Tue, 07 Mar 2023 05:18:12 -0800 (PST) Received: from [127.0.1.1] (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id hu21-20020a05600ca29500b003eaee9e0d22sm12986242wmb.33.2023.03.07.05.18.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Mar 2023 05:18:11 -0800 (PST) From: Alexandre Mergnat Date: Tue, 07 Mar 2023 14:17:40 +0100 Subject: [PATCH v2 11/18] arm64: dts: mediatek: set vmc regulator as always on MIME-Version: 1.0 Message-Id: <20230203-evk-board-support-v2-11-6ec7cdb10ccf@baylibre.com> References: <20230203-evk-board-support-v2-0-6ec7cdb10ccf@baylibre.com> In-Reply-To: <20230203-evk-board-support-v2-0-6ec7cdb10ccf@baylibre.com> To: =?unknown-8bit?q?Zhiyong_Tao_=3Czhiyong=2Etao=40mediatek=2Ecom=3E=2C_Gue?= =?unknown-8bit?q?nter_Roeck_=3Clinux=40roeck-us=2Enet=3E=2C_Linus_Walleij_?= =?unknown-8bit?q?=3Clinus=2Ewalleij=40linaro=2Eorg=3E=2C?= =?unknown-8bit?q?_Bernhard_Rosenkr=C3=A4nzer_=3Cbero=40baylibre=2Ecom=3E=2C_?= =?unknown-8bit?q?AngeloGioacchino_Del_Regno_=3Cangelogioacchino=2Edelregno?= =?unknown-8bit?q?=40collabora=2Ecom=3E=2C?= =?unknown-8bit?q?_Ulf_Hansson_=3Culf=2Ehansson=40linaro=2Eorg=3E=2C_Wim_Van_?= =?unknown-8bit?q?Sebroeck_=3Cwim=40linux-watchdog=2Eorg=3E=2C?= =?unknown-8bit?q?_Krzysztof_Kozlowski_=3Ckrzysztof=2Ekozlowski+dt=40linaro?= =?unknown-8bit?q?=2Eorg=3E=2C_Chaotian_Jing_=3Cchaotian=2Ejing=40mediatek?= =?unknown-8bit?q?=2Ecom=3E=2C?= =?unknown-8bit?q?_Rob_Herring_=3Crobh+dt=40kernel=2Eorg=3E=2C_Wenbin_Mei_=3C?= =?unknown-8bit?q?wenbin=2Emei=40mediatek=2Ecom=3E=2C_Matthias_Brugger_=3Cma?= =?unknown-8bit?q?tthias=2Ebgg=40gmail=2Ecom=3E?= Cc: linux-mmc@vger.kernel.org, Alexandre Bailon , devicetree@vger.kernel.org, Amjad Ouled-Ameur , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-watchdog@vger.kernel.org, Alexandre Mergnat , linux-mediatek@lists.infradead.org, Fabien Parent X-Mailer: b4 0.10.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=736; i=amergnat@baylibre.com; h=from:subject:message-id; bh=zgAlVqRMW0cAokXo5nVY6t0rSDFpe2kI442mv7CbE8w=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBkBzmF882sWdKBKZfGLh7NQrzfuoy24HxuZignt4t3 Mr+TuGCJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZAc5hQAKCRArRkmdfjHURXePD/ wJMDLl6pvqakmMG8hz7aGqqdhwAuLq2j2nRK88uv/lChJvPbyXbOdPJfYAwAq0W3SPJPGnYWqRA+9o rlDRXzYwCyvUedBxvhKsS72XdiG7uA0YOymaQJmihtSk6UzWmwBrcK491iP2yacumgoab4t9ToGD0c 2dHol88AH1muFHFGNJpeA5TO/mOYEqyJmtnCtnzD86of9FeRjYksMJGVQ2EUz0LMfifDsYYAF+AmPo 4mxtGqA+ISGbodtvDPp7NhiNbxSB84kbNlb8Ft16SOq3M0S1QvPLXZ2zjFlVNqzfDSvjgkLhedmble z2WA1Y/BJWtyT0Hcv80fHnvKEF+uwcceS2/YaVpAvzD5EGvtYotu+KIQK6qayhkkEjin/sKWEsRrZR HLvqfcJnPQZqW+0Y611bzXu/IG65TKTFIe6L/vZ+DMYCzhJcc2XzgPs2+alXCi/f4pmEaPqrPE2uQR eGMwrF7hxQneTY2v222PrpxgPbPFq+c85ujrO3syV4OeMsJMTGcEyKCvWFhEYLLnSyVSNk+fcsrY1C txTFjGkUbQzJkCr1TJ1dmEGBC19Rr4BX7moQqlrnhqSak+ageMLJ4SbDWxoq8CnIGEyR+R+adkvugz zsR2OxBlrgVx2ODximRC3cr/4sH4CeYXEZK6uIUZKM5FiFYWWbap35eG4TTw== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230307_131813_482458_260FEDAC X-CRM114-Status: GOOD ( 10.98 ) 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: Fabien Parent MSDC1 IP block is powered by VMC. Make sure it is always on. Signed-off-by: Fabien Parent Signed-off-by: Alexandre Mergnat --- arch/arm64/boot/dts/mediatek/mt8365-evk.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8365-evk.dts b/arch/arm64/boot/dts/mediatek/mt8365-evk.dts index b5d018686cbe..22ec332fe9c9 100644 --- a/arch/arm64/boot/dts/mediatek/mt8365-evk.dts +++ b/arch/arm64/boot/dts/mediatek/mt8365-evk.dts @@ -140,6 +140,11 @@ &mt6357_pmic { #interrupt-cells = <2>; }; +/* Needed by MSDC1 */ +&mt6357_vmc_reg { + regulator-always-on; +}; + &pio { gpio_keys: gpio-keys-pins { pins {