From patchwork Wed Nov 8 13:44:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13450116 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 69163C4332F for ; Wed, 8 Nov 2023 13:45:14 +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=l4hkTfWzVSy1Ae6kXNXheXk8kz9bo0uXKpzqaoqPYMc=; b=ZrEcgRKnYcpTfx LGBZihWItbxAtkptygK40HxQOMH33Bb4IOBk6MQhOxm7kilMlibJf5AWgAcn1UHDQ0U+ahN9qvnqH 3P7pc7gxo7RowKiTQdKyLQmoAPuLNU4HmdGK8kjSFux27+BKGxzDOOBRYWF52ScDPzAm32tVQDVml YPK9SCgBWOfw+arrBq9E0mk9wQf75KLkrieQ+1DULXtrvWd59NzCoTg2EXiyWeODeHVm73GvlhDK1 GcHU+ciNhylWT/GdlEk/tXlHHjSCFTgNqSBhhsAEReXbZ/CyMVsp0vUiy7Jowz1Sr3S9BoKoEXrN+ 1ny0s5VfAv9skCqynD1Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r0irO-003waW-1m; Wed, 08 Nov 2023 13:44:46 +0000 Received: from mail-ej1-x643.google.com ([2a00:1450:4864:20::643]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r0irL-003wZT-0b for linux-arm-kernel@lists.infradead.org; Wed, 08 Nov 2023 13:44:44 +0000 Received: by mail-ej1-x643.google.com with SMTP id a640c23a62f3a-9db6cf8309cso1031648166b.0 for ; Wed, 08 Nov 2023 05:44:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1699451080; x=1700055880; 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=IVv5mcW5zUgVSiSOauQHcHZhJPg5UCLoWJRDvmkhj7k=; b=NREmb8cPpXGhl6k68zwIdg9GF00xsus5Y9Z3eX1zzO5Y7cgWovoKA7T9SJK7CnxmZC XZRu3enEuMAgbpdwHqFQTLRJNDn/M1aaLLTZQO92339pnMyS1EsON/+T2W6iMJKvv9JZ Bw5lsztyudDWnpSNNIJf205XZ0VCC6AvhJDo4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699451080; x=1700055880; 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=IVv5mcW5zUgVSiSOauQHcHZhJPg5UCLoWJRDvmkhj7k=; b=ZgTbMU7W8HWzU3m5L9uSblhQTzli3jwbG+n5gDQZ+CHuEJCw+GtFin9Lc4Z82Tutcj uPljkCZKeCWC7qGDwtcN3p3Rmc2H53Oc+pFwu9SYuLzbDGy18VqtVYk57fy2Z98Idgft dU4dxpR2TuIaRMbHodynxZmUUqIrpjCPs0QpLxDxzOHH1YV1ey6xGjrmVOmd7QDudBx3 9t20jm3fODf7KQ+2oJ9nzazStQshDEebXJY+qy2PhjzVDPLCjX8e3BwYPEOstIZaE5ir Lq0qqiczIA+9wPXyC9QSpZN7eNz5lD1lMLtd7bcYVm4n3zl3eSq9QMvoLVjxsMpkP9C0 AHyQ== X-Gm-Message-State: AOJu0YzVpKVSxr6j2IL4Gap8frr0toShqUBKlBfTZAcHsu6gsGRVreWg IFpJrlfRHgOEIGDUV/oIEUtWEg== X-Google-Smtp-Source: AGHT+IEn/7ehRYp2n2E4vkCWEuoVxQ7nZKTWTIBc8HV+mV3MsZL6jh3kxXkuRcD9ZyWoygMo5iN7MA== X-Received: by 2002:a17:907:987:b0:9e0:4910:1649 with SMTP id bf7-20020a170907098700b009e049101649mr1775121ejc.8.1699451080611; Wed, 08 Nov 2023 05:44:40 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-20-97-182.retail.telecomitalia.it. [79.20.97.182]) by smtp.gmail.com with ESMTPSA id kj3-20020a170907764300b009bf7a4d591csm1091457ejc.11.2023.11.08.05.44.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Nov 2023 05:44:40 -0800 (PST) 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: [RESEND PATCH] ARM: dts: stm32f469-disco: use the same 3v3 for SD and DSI nodes Date: Wed, 8 Nov 2023 14:44:06 +0100 Message-ID: <20231108134426.4174699-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231108_054443_243718_6401CF31 X-CRM114-Status: GOOD ( 13.31 ) 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";