From patchwork Mon Sep 4 18:06:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13374256 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 20858C83F33 for ; Mon, 4 Sep 2023 18:07:16 +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:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=v6+SN2prGTy+VQczI1oJXTUTEVdlhUEC0RASpG1T/nQ=; b=rQXIhkH8hVw0bE vRgq2QYGZmEksqjQXeJ3KDaPToDXt92nuVDZQxTsMOYLglg30stAu9BLOfrxh69ATFB/4ebakx5V2 bNz2B62yCBcmw/sAfZ2N1Pg8srzOBqUJJMOk9HSh1akGcmwqUt7jZ7zl/OOV161sCxTsx67L2nHpB OMB0wSHGXHtbFgynjYWGnIZCLrNvF7Sc0QIidXbLBysCUhQqq9UGQkLeS+b1tnF8klMAuWz+zcNqS aWCdOaInSVg4S98wX1lXpD/zfrasLF8GTKKGUUhYyk2shpkkGLikhgZZOFQX77fCPlwEWhkDep3qC /ozMoL4aDo0cyHsF7JpQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qdDyN-004YxI-00; Mon, 04 Sep 2023 18:06:51 +0000 Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qdDyJ-004Ywf-2S for linux-arm-kernel@lists.infradead.org; Mon, 04 Sep 2023 18:06:49 +0000 Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2bcc4347d2dso24800681fa.0 for ; Mon, 04 Sep 2023 11:06:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1693850801; x=1694455601; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=UerQu8X0sDSfgf2+CbpRUuHP8N70bRTmPby/bAIFB0Q=; b=GoMcoIOipEFg2b65+9tUBtqn3jWGVViX4jbn/OGfPSQqOrfPJNiVaJAuRSw5ph8r8d sTliivs0lM1371ttwCnQ0ryvfSPgbq57xEG2IjWMU3rgm0fswHk00SnphcjUngJPEadd EzuFLumXNIGrCoh90x4Ae0hOP/6Jje25ndfc8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693850801; x=1694455601; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=UerQu8X0sDSfgf2+CbpRUuHP8N70bRTmPby/bAIFB0Q=; b=KXuPfbi+0kUgpbuEbJbmFMRE0LsYha63mg2QA5RXz5OnmDGlIUn9hu0C+2n72FOJSY z6DvDYHe2Cw74Ki4N21/oGCoXg1xENQcMc9ApI6ePwQosX7sZvBr7X2/zzJQyzpIvURp 8QX4FIr4la+V3RZsjfCtf7qea+Xw0Q5TdiUy3yECfQFZPCWD1wn6geki7VF1pvegl94U hZ46FRNmp5mosxstlsmG8/hglj9Xn6+sqp5OE6l6dfVl6YpBJkwAYsfV9iyTsgZOHoV7 hufPExr+VqxvR75wi4H7e94wX82tlLiv0+WkvtIOF9cDbtYCpAC+y7Is4n9ITEWp7m0x fOZg== X-Gm-Message-State: AOJu0Yy+tM5Su9UYhesfxWoBzJ/UIWEOC8/iXqPjrkKkUrB+89WH3f0v I70ya+wWAZTv5X4Jo1rRKRhGTQ== X-Google-Smtp-Source: AGHT+IE/yOwJTB71sCvOOHxNASxN/IQyYmWk7RSn4j6RvAtd5i/3U4nhAxCAXlqEBo6qGeVdzmGmfw== X-Received: by 2002:a2e:b6c2:0:b0:2bc:da3e:3bda with SMTP id m2-20020a2eb6c2000000b002bcda3e3bdamr6653000ljo.2.1693850801146; Mon, 04 Sep 2023 11:06:41 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-54-71-141.retail.telecomitalia.it. [79.54.71.141]) by smtp.gmail.com with ESMTPSA id l13-20020a170906a40d00b0099bc0daf3d7sm6534375ejz.182.2023.09.04.11.06.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Sep 2023 11:06:40 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Alexandre Torgue , Conor Dooley , Krzysztof Kozlowski , Maxime Coquelin , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [RFC PATCH] ARM: dts: stm32f469-disco: use the same 3v3 for SD and DSI nodes Date: Mon, 4 Sep 2023 20:06:35 +0200 Message-Id: <20230904180635.923506-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230904_110647_804699_8FE7D1A0 X-CRM114-Status: GOOD ( 13.91 ) 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 In the board schematic, the power supply for the SD card is the same 3.3 volts used to power the LCD panel and other peripherals. By generalizing the name of the voltage regulator, it simplifies the device tree and makes it more readable. Link: https://www.st.com/en/evaluation-tools/32f469idiscovery.html#cad-resources Signed-off-by: Dario Binacchi --- arch/arm/boot/dts/st/stm32f469-disco.dts | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/arch/arm/boot/dts/st/stm32f469-disco.dts b/arch/arm/boot/dts/st/stm32f469-disco.dts index cbbd521bf010..8a4f8ddd083d 100644 --- a/arch/arm/boot/dts/st/stm32f469-disco.dts +++ b/arch/arm/boot/dts/st/stm32f469-disco.dts @@ -69,16 +69,9 @@ aliases { serial0 = &usart3; }; - mmc_vcard: mmc_vcard { + vcc_3v3: vcc-3v3 { compatible = "regulator-fixed"; - regulator-name = "mmc_vcard"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - }; - - vdd_dsi: vdd-dsi { - compatible = "regulator-fixed"; - regulator-name = "vdd_dsi"; + regulator-name = "vcc_3v3"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; }; @@ -164,7 +157,7 @@ panel@0 { compatible = "orisetech,otm8009a"; reg = <0>; /* dsi virtual channel (0..3) */ reset-gpios = <&gpioh 7 GPIO_ACTIVE_LOW>; - power-supply = <&vdd_dsi>; + power-supply = <&vcc_3v3>; status = "okay"; port { @@ -219,7 +212,7 @@ timer@2 { &sdio { status = "okay"; - vmmc-supply = <&mmc_vcard>; + vmmc-supply = <&vcc_3v3>; cd-gpios = <&gpiog 2 GPIO_ACTIVE_LOW>; broken-cd; pinctrl-names = "default", "opendrain";