| Message ID | 20230904180635.923506-1-dario.binacchi@amarulasolutions.com |
|---|---|
| State | New |
| Headers |
Return-Path: <linux-amarula+bncBCQ4XFG47UFRBM5Z3CTQMGQEYC27CLQ@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lj1-f198.google.com (mail-lj1-f198.google.com [209.85.208.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 25E183FA00 for <linux-amarula@patchwork.amarulasolutions.com>; Mon, 4 Sep 2023 20:06:44 +0200 (CEST) Received: by mail-lj1-f198.google.com with SMTP id 38308e7fff4ca-2b6ff15946fsf19381531fa.2 for <linux-amarula@patchwork.amarulasolutions.com>; Mon, 04 Sep 2023 11:06:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1693850803; cv=pass; d=google.com; s=arc-20160816; b=LeavU0XJImKt61SVHd7iwoAPSmbI3VxTz97j7XvfU/KQ3Eiy5rCzJKu9IwMcYNU1CE O0/N3apyRZrn4BdMs3I0eqzOM5wrYr5egvfLdr3uqt2vNEKpiAMspPyX3Uc5rYiCiO/T iW3jJYyvOwwQwFOnMXGTadZtnAAKefSsk5UHz6HVzi0/jAn48tOv46KhWQePWiIbFDGh Xe+RH7GdmbUgATID0moU7s0yC2TpQwfMq0pq6ulfk+S7y1qCEMqVdPZ30GkfwQfhv9uu eDW2Tn1/eaOAFuCMxS5kSF2kanOjMC8sEtQRQ6MJ+keaUfIFnzZz0MRMiFBFfMsSmaXY hnuA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=DCCpBlS7aSnzS3O6UqobQ0UTXl48cvVRGEm78TN89aM=; fh=Kbuxg2ormYBVzoB4BA6lbX91syZqRfIU2ZcW+Um5/gc=; b=Q/PVwMfKd06ykuHQgH/uLtBIrUenVdxvB/rATO9kn2b8o8ysutS6XDYDECLFhUXGwA uMhwg1AAL7huw/VVi39iQZsGpMikq9OZY0qK9BwuMPl3a1RrrasCoASrV7qNfPSAQ8Op prv09Cl4ZiGMHnADN5bLX6I2GrlHZd9OemaRzwCRVBcKTjy3oaBUfCKZo7Ymlzuq9qgB 2MCepfBv0CcfdcdJIIm9bbHTtXibSHpDhFuYC8/v0GTy5Lp8aacAPptqpqwZNQ13uleP bXiVzejycYbbchD9zyWlWkkWE5gknnDPpOA3m29Y+mmDXGIPlFFgk1+zmRlafJGnTAsc wXKA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hHRqguhe; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1693850803; x=1694455603; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :from:to:cc:subject:date:message-id:reply-to; bh=DCCpBlS7aSnzS3O6UqobQ0UTXl48cvVRGEm78TN89aM=; b=ITZZDlTfPZGlnhT09h7XJiZ3bo8LUv/Y07SEqkk+i3bevyhEYFvuo+Me0UtqjkjGTd QUuuNdAGsh7FsBqHZbHZxabO1kRHJ5ev1guc+5Nj2HeHMvW6dS4wMAZ3OJNqYzkbiv0T 9BtNC9ekRypGWQqzZHOanfVDYiaGU/YF5USsc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693850803; x=1694455603; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=DCCpBlS7aSnzS3O6UqobQ0UTXl48cvVRGEm78TN89aM=; b=ibhXRgZfMO/Z+4O9EN1PDiZVYiWUICvZXQyR+GfhCzrFPeIqVVql2MzZgRUyb1RDbN rki/uO7rF6VEc07PAF40R/kMlL/7PjqHfoRgYmYNlK00ena0UjQlGrxdBPD/yAzdOScC VjGsSf0r82Imb30Yo9iQEE/5E/9zHNmD1gJeXFBlnatvh3WNBDWDs53bsBA7YAzZ/owX O9e4wcaMCuu/+KzUbGpLzK2mQuiYWgrTgHPyZoDy03zCw319wG9uTvxzow3sQxaNBZfq qgvxF1YKoVraI/2kxnutcqM5VXzXR3MNkISZBI75QqGOa9hCtWCl63vofrKn/+3wlLhx r3/A== X-Gm-Message-State: AOJu0YxVtorwLt3rO8b8Cx73Me6H0ooynZRwi6a925qUnmqGMcc11GEd 2kUlcJpdjvXZ4ZmZWMyy8QsgkeoK X-Google-Smtp-Source: AGHT+IFFSfwLLVNPRc451XtDoDJw8HwxvgyI4acVssA4uMKK6RX7vWv/BEkBLtsOmIWYMFGDkNNvTg== X-Received: by 2002:a2e:9c06:0:b0:2b9:eaa7:c23f with SMTP id s6-20020a2e9c06000000b002b9eaa7c23fmr7758182lji.49.1693850803527; Mon, 04 Sep 2023 11:06:43 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a2e:8957:0:b0:2b9:722f:8f69 with SMTP id b23-20020a2e8957000000b002b9722f8f69ls1245764ljk.1.-pod-prod-03-eu; Mon, 04 Sep 2023 11:06:42 -0700 (PDT) X-Received: by 2002:a2e:7209:0:b0:2bc:e961:a383 with SMTP id n9-20020a2e7209000000b002bce961a383mr7280420ljc.52.1693850801705; Mon, 04 Sep 2023 11:06:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693850801; cv=none; d=google.com; s=arc-20160816; b=K01pkGeEd1y+8XxtJzNT8Rmdz6d6JlRvoWNqwc/rkGMZ4rcIH+791s1DhI8EtIznnM 4j+RfYN6eNdSrtu06xq9DaCzm6SHzVEyZ6CDsFAeOZsKIk7DET5hqrLSN4H9w+exYUce TDDHzZISn40gbV8CO5r+HTSCtCzc/wVhrDXEluHDJkZVhzt3rJ6M83EW1b31SwhpnPhR /wIRFeuBeDc7nmsNp0k3ZI8gOgVCtv/qnCyyjPAkagPbnggae05Nj6/ZBpRtaUEfs2IN 5TYqvJE0HG+vZSS3WLKwOynnV0xZ3EsvHO8XW/XANuFS9aXomNmSaGcWZDpPc8B1uPeZ SyBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=UerQu8X0sDSfgf2+CbpRUuHP8N70bRTmPby/bAIFB0Q=; fh=Kbuxg2ormYBVzoB4BA6lbX91syZqRfIU2ZcW+Um5/gc=; b=t2i8ifTHx3YUqgO7EiWmIWmsSMxYEgrZuDO6IJcie8RRHnKRfC7ckMMZKWWNuN3txu PZXXxmegAne+QsE2E5C8NX7Cvv3bMRZZoWFOxLShWjlbhZZoovwnQUYQDOWexnLgeWhr Vdq/Bmt42QZQ4mRD6ryler4oLjumSaHePCxN+cC75rsnUJgC1F7oJKZCv15iLKXL1ItB kqJs3+X6IhwOn7T4Di4ZuYiTJ27nzzvoKy83lDxpk7uxtVIuEip8UZhfxwOUE96OSXvt sSLZ3o+xnL11SF4f2vtXBYlgiQrNGdWPfzWVE4HJRpG9MeVQikQuLthlOEyl/T8xXWvA cXRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hHRqguhe; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id p10-20020a2eb7ca000000b002b9cea6ae60sor4057702ljo.6.2023.09.04.11.06.41 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Mon, 04 Sep 2023 11:06:41 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; 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 <dario.binacchi@amarulasolutions.com> To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Dario Binacchi <dario.binacchi@amarulasolutions.com>, Alexandre Torgue <alexandre.torgue@foss.st.com>, Conor Dooley <conor+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Rob Herring <robh+dt@kernel.org>, 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-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hHRqguhe; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: <linux-amarula.amarulasolutions.com> X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>, <mailto:linux-amarula@amarulasolutions.com> List-Help: <https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>, <mailto:linux-amarula+help@amarulasolutions.com> List-Archive: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/> List-Unsubscribe: <mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>, <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe> |
| Series |
[RFC] ARM: dts: stm32f469-disco: use the same 3v3 for SD and DSI nodes
|
|
Commit Message
Dario Binacchi
Sept. 4, 2023, 6:06 p.m. UTC
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 <dario.binacchi@amarulasolutions.com>
---
arch/arm/boot/dts/st/stm32f469-disco.dts | 15 ++++-----------
1 file changed, 4 insertions(+), 11 deletions(-)
Comments
On 9/4/23 20:06, Dario Binacchi wrote: > 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. > It makes sens as it is the same discret regulator (no pmic involved). regards Alex > Link: https://www.st.com/en/evaluation-tools/32f469idiscovery.html#cad-resources > Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> > > --- > > 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";
Hello Alexandre, On Thu, Sep 14, 2023 at 10:57 AM Alexandre TORGUE <alexandre.torgue@foss.st.com> wrote: > > On 9/4/23 20:06, Dario Binacchi wrote: > > 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. > > > > It makes sens as it is the same discret regulator (no pmic involved). > I don't see it applied to linux-stm32/next. Is something missing? Thanks and regards, Dario > regards > Alex > > > Link: https://www.st.com/en/evaluation-tools/32f469idiscovery.html#cad-resources > > Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> > > > > --- > > > > 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"; >
Hi Dario On 10/23/23 13:00, Dario Binacchi wrote: > Hello Alexandre, > > On Thu, Sep 14, 2023 at 10:57 AM Alexandre TORGUE > <alexandre.torgue@foss.st.com> wrote: >> >> On 9/4/23 20:06, Dario Binacchi wrote: >>> 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. >>> >> >> It makes sens as it is the same discret regulator (no pmic involved). >> > > I don't see it applied to linux-stm32/next. Is something missing? ok, It is because the [RFC..] has been kept. Please resend by dropping it. Cheers Alex > > Thanks and regards, > Dario > >> regards >> Alex >> >>> Link: https://www.st.com/en/evaluation-tools/32f469idiscovery.html#cad-resources >>> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> >>> >>> --- >>> >>> 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"; >> > >
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";