Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp903601rwb; Wed, 28 Sep 2022 10:28:10 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6q/ebKX2+ykortyhZwJnQktPsygioQXjBWYvi5uoAjwBBR9BKzJ7AmcRXPGEZdiuN9s2qv X-Received: by 2002:a05:6a00:4106:b0:548:9e0e:f13b with SMTP id bu6-20020a056a00410600b005489e0ef13bmr35893038pfb.0.1664386090741; Wed, 28 Sep 2022 10:28:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664386090; cv=none; d=google.com; s=arc-20160816; b=WfrZYGhYC9P0oEQPfiiD7rFGrS3gr6fK8aPk0YEwpxnoKmbvpuKBVGMxyWWur9CBci VbmY5XVQYY8mcVmg3/oBkVWC0FivSE4dBo3HLvhCqaXItEA+LputUuUOz05FKXks4ifJ RofzkGEGwj2m/gMq7seh80xrziYJtbC3bIVNF9yD3F0wXnuWATwbGGuumRoBC812wbIx o5rgTmP9ihgrghIGH9dIb3fNtZVFE1Q/JTMwoY+PNLzdPvy1UphdOygzEfBT7TWsHJRy RpGqJj93T+FD1qpoSZ7zcNzwK2mmib3ZNAF7c7g6rd/0uPmo8yyKeE+clcws7KSR8Z+H IuEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=sfe+c3z4CBqQvUGfg0kmIxD0Kl5h3efDT5pi0QvUkhA=; b=bU60Cq63JDw6Qilty48qW+o9szowJOQwBwAQ8kLNJzeHl2Uf8lykHrW2zB7W1meSSX DMzoPg3oe7fQ4KEmGSl+tlxJakERewOF0my2S7kU5dT3OMfycQi/Sb5bYqszw9r5VJ4Q d1ohMFk8NvEO/jh1ISS2xMbZqaATlATsUXkLlij/Ej3BCUy5zbEhUVNVk6KuO6nwP2hd Yiv//golMDOqKsEpMaSF82GP8rKNSCgKVbNj/oqHhk6pK8rxgcfDjlEqptOQgm8BV2Xn idG3G1NlyAibB4LZNSChGZmLvgYtxzEAfdzDYg4HxrJoe6haiGTL6Iw+E7AhMl/wxm/g WeVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=otNgfxPQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k11-20020a170902ba8b00b0017828d3c263si3184410pls.192.2022.09.28.10.27.58; Wed, 28 Sep 2022 10:28:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=otNgfxPQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234580AbiI1QoG (ORCPT + 99 others); Wed, 28 Sep 2022 12:44:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234469AbiI1Qnc (ORCPT ); Wed, 28 Sep 2022 12:43:32 -0400 Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E13ECE952C; Wed, 28 Sep 2022 09:43:20 -0700 (PDT) Received: from pps.filterd (m0288072.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28SGQFUm020655; Wed, 28 Sep 2022 18:42:57 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=selector1; bh=sfe+c3z4CBqQvUGfg0kmIxD0Kl5h3efDT5pi0QvUkhA=; b=otNgfxPQeWIQMEaJ7qBmPpmS3bSgAaoLJUH2jlPLWBITBq8sKj9VbAOV/ttn2Oqmnpto XnDrpKETjIUI/r1d5TTSABy+Fx4FjMxDzqnoczpYpBEEQI4SZaOe6ocYBbwLTi5sXSs/ 6WXNqSEmHdmONsB4G5U37LH+0NGorw+UtjvuIKvEBNqBw+/io8cCQ2aO6Km1nE3ujgr7 JXAqZsEAhG8FiT4/O1ernkm5tK2ycYejfAlyV2eEcD/cX6yYf0Jxn5UhklmwaXpZ4K3Y v6Lbut2jkgPjuMwgTxiaPEYj358NtDasKmujh2Gx7dpqXLG9jPZ1cvtlTQzDcIhqrm0i tw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3jsqamj8cx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 28 Sep 2022 18:42:57 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 0FF3710002A; Wed, 28 Sep 2022 18:42:56 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 0ABF923C6B4; Wed, 28 Sep 2022 18:42:56 +0200 (CEST) Received: from localhost (10.75.127.47) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2375.31; Wed, 28 Sep 2022 18:42:55 +0200 From: Olivier Moysan To: Alexandre Torgue , Andy Shevchenko , Fabrice Gasnier , Jonathan Cameron , Lars-Peter Clausen , Maxime Coquelin , , Olivier Moysan , Paul Cercueil , Sebastian Andrzej Siewior , Wan Jiabing , Yannick Brosseau CC: , , , Subject: [PATCH 7/8] ARM: dts: stm32: add dummy vdd_adc regulator on stm32mp135f-dk Date: Wed, 28 Sep 2022 18:41:13 +0200 Message-ID: <20220928164114.48339-8-olivier.moysan@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220928164114.48339-1-olivier.moysan@foss.st.com> References: <20220928164114.48339-1-olivier.moysan@foss.st.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.75.127.47] X-ClientProxiedBy: SFHDAG2NODE3.st.com (10.75.127.6) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-28_07,2022-09-28_01,2022-06-22_01 X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a dummy fixed regulator vdd-adc for STM32 ADC, on STM32MP135F-DK board, while SCMI regulators are not available. This patch will have to be removed when SCMI regulator support is added to STM32MP13. This patch intends to allow ADC enabling on STM32MP13. With this patch the ADC can probe but it cannot return valid conversion data, as it's regulator is not actually enabled. Signed-off-by: Olivier Moysan --- arch/arm/boot/dts/stm32mp135f-dk.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp135f-dk.dts b/arch/arm/boot/dts/stm32mp135f-dk.dts index e6b8ffd332c7..95068231ed57 100644 --- a/arch/arm/boot/dts/stm32mp135f-dk.dts +++ b/arch/arm/boot/dts/stm32mp135f-dk.dts @@ -66,6 +66,14 @@ vdd_sd: vdd-sd { regulator-max-microvolt = <2900000>; regulator-always-on; }; + + vdd_adc: vdd-adc { + compatible = "regulator-fixed"; + regulator-name = "vdd_adc"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; }; &iwdg2 { -- 2.25.1