Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1931662rwb; Wed, 5 Oct 2022 06:56:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4qQ3KQHOzLzDzl2Y1ZJwqNT75K/Ns+FDIkCldU258zLqQqn9v7HZuw/12axZET3O0a4SyT X-Received: by 2002:a05:6402:c7:b0:457:cd5d:d777 with SMTP id i7-20020a05640200c700b00457cd5dd777mr28556744edu.245.1664978218538; Wed, 05 Oct 2022 06:56:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664978218; cv=none; d=google.com; s=arc-20160816; b=uFkp6a2laNlVhnzLoryxA+eMdnnfA8/9AdXsuLC0bX/zoOXkLLv2BPhPvMwky+GV9q Z73fiUj+DOeuEWPiYisaq2QUWE1TGDnfrcqwJKYBP34caw7Fu9smTIm7QlFH0KN6s95b 720orOXgoK7rwkbefkywGzq4Pyhote+75RhriOi4dII57vjSou2VvNODIBcbMhQOHo77 HEiR3yrNwkIu01BW2PpQGp4x7duk3AKXWVlEzkPAs7U4zdUnxPV5OngCZnyw/Dwa5yZW Ejczfu0dnyD3UnpNp0t6vhkUj1uCt56S8EErElqMh/G+Pu3PcXirdhR781Erl9lt0Qfr qs8w== 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=TzOD5oUvi0GPY+/ow7uOEsE29T94TbHgWKqAWZc3Q5aMMepJZNNlZrkAUXA4roAy1O liuot4UGhptq9B/PWV11PKecZ0rObOA0T8Lk3pGOALh8xldpxactW5wAvi6Vy3eqhXYO p9MX9NhMZm3ieZu/L+xnJVZv8Z8gazkGywcs8rmnzKm2WwEPwqrYGH7DXd8ev6SG3Qyf rpP7dDq5TC/UpEOy7YzPo5uJFabKySG5A9jbuG7oxBj7w3BLRq8u+GQ/w3q3p0m8S0eg XLG9jlnrFTvLabkaSXJ8khN+y+PPLPBHqP7cP4NUGqYkUjbw0q9aNQAySJJfg3IeGD+G ASBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=ENeq2z93; 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 l17-20020a170906795100b0077b17197047si16487368ejo.437.2022.10.05.06.56.09; Wed, 05 Oct 2022 06:56:58 -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=ENeq2z93; 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 S230101AbiJENiH (ORCPT + 99 others); Wed, 5 Oct 2022 09:38:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230141AbiJENh4 (ORCPT ); Wed, 5 Oct 2022 09:37:56 -0400 Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6595A7B1C1; Wed, 5 Oct 2022 06:37:49 -0700 (PDT) Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 295Cu6cr022266; Wed, 5 Oct 2022 15:37:14 +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=ENeq2z932m2fhlp6vkxBs336ZVnorO1WEiE0RkNA02RxZ1viMqldHMBHqp0AUWz4wpyZ W0EWAW44IIJRM+ob4iM7vO64eNUKhTlzs54OdyBnXTosKpfrSWwJw9GCk4BbRliV/NCu 9wPujkoJlDGEhiSJJZVhqGgUzFPlnPp5TvUCIJcvf5bZHF121baVrmopwmvL8sRDYyCA CtHNk/+eo7Q+k+sRxDdPsCCue6CJMSSBIE3Do9tQb8caWAtg03upz/CYaxugnVYDxSiS OBQ1TjSeXqaavmFEybG9sM3IVnd+NvYWs0gzrVjAUE+leJBnhkLsBXcX9g0kzNvfIIIu bA== 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 3jxapc7s4j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 05 Oct 2022 15:37:14 +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 9415410003D; Wed, 5 Oct 2022 15:37:08 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 8FB3022A6C3; Wed, 5 Oct 2022 15:37:08 +0200 (CEST) Received: from localhost (10.75.127.119) 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, 5 Oct 2022 15:37:08 +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 v2 7/8] ARM: dts: stm32: add dummy vdd_adc regulator on stm32mp135f-dk Date: Wed, 5 Oct 2022 15:31:19 +0200 Message-ID: <20221005133120.50483-8-olivier.moysan@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221005133120.50483-1-olivier.moysan@foss.st.com> References: <20221005133120.50483-1-olivier.moysan@foss.st.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.75.127.119] X-ClientProxiedBy: GPXDAG2NODE4.st.com (10.75.127.68) 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-10-05_03,2022-10-05_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