mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Maud Spierings <maudspierings@gocontroll.com>
To: Matti Vaittinen <mazziesaccount@gmail.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Shawn Guo <shawnguo@kernel.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Fabio Estevam <festevam@gmail.com>
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v2 3/5] arm64: dts: freescale: add Ka-Ro Electronics tx8m-1610 COM
Date: Tue, 28 Oct 2025 13:42:17 +0100	[thread overview]
Message-ID: <65202d1f-6c4f-4d4e-9fef-85cfb74ec768@gocontroll.com> (raw)
In-Reply-To: <a7012995-c2a8-48a3-abe1-5c227272f21c@gmail.com>

On 10/28/25 13:15, Matti Vaittinen wrote:
> Hi Maud,
> 
> Thanks for the upstreaming work! :)
> 
> On 22/10/2025 10:22, Maud Spierings via B4 Relay wrote:
>> From: Maud Spierings <maudspierings@gocontroll.com>
>>
>> The Ka-Ro Electronics tx8m-1610 is a COM based on the imx8mm SOC. It has
>> 1 GB of ram and 4 GB of eMMC storage on board.
>>
>> Add it to enable boards based on this module
>>
>> Signed-off-by: Maud Spierings <maudspierings@gocontroll.com>
>> ---
>>   .../arm64/boot/dts/freescale/imx8mm-tx8m-1610.dtsi | 439 +++++++++++ 
>> ++++++++++
>>   1 file changed, 439 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/freescale/imx8mm-tx8m-1610.dtsi b/ 
>> arch/arm64/boot/dts/freescale/imx8mm-tx8m-1610.dtsi
>> new file mode 100644
>> index 0000000000000..46d3ad80942cc
>> --- /dev/null
>> +++ b/arch/arm64/boot/dts/freescale/imx8mm-tx8m-1610.dtsi
>> @@ -0,0 +1,439 @@
>> +// SPDX-License-Identifier: (GPL-2.0 OR MIT)
>> +/*
>> + * Copyright (C) 2021 Lothar Waßmann <LW@KARO-electronics.de>
>> + * 2025 Maud Spierings <maudspierings@gocontroll.com>
>> + */
>> +
>> +#include "imx8mm.dtsi"
>> +
> 
> // snip
> 
>> +    pmic: pmic@4b {
>> +        compatible = "rohm,bd71847";
>> +        reg = <0x4b>;
>> +        interrupt-parent = <&gpio1>;
>> +        interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
>> +        pinctrl-0 = <&pinctrl_pmic>;
>> +        pinctrl-names = "default";
>> +        rohm,reset-snvs-powered;
>> +
>> +        regulators {
>> +            reg_vdd_soc: BUCK1 {
>> +                regulator-always-on;
>> +                regulator-boot-on;
>> +                regulator-max-microvolt = <900000>;
>> +                regulator-min-microvolt = <780000>;
>> +                regulator-name = "buck1";
>> +                regulator-ramp-delay = <1250>;
>> +            };
>> +
>> +            reg_vdd_arm: BUCK2 {
>> +                regulator-always-on;
>> +                regulator-boot-on;
>> +                regulator-max-microvolt = <950000>;
>> +                regulator-min-microvolt = <805000>;
>> +                regulator-name = "buck2";
>> +                regulator-ramp-delay = <1250>;
>> +                rohm,dvs-run-voltage = <950000>;
>> +                rohm,dvs-idle-voltage = <810000>;
>> +            };
>> +
>> +            reg_vdd_dram: BUCK3 {
>> +                regulator-always-on;
>> +                regulator-boot-on;
>> +                regulator-max-microvolt = <900000>;
>> +                regulator-min-microvolt = <805000>;
>> +                regulator-name = "buck3";
>> +            };
>> +
>> +            reg_vdd_3v3: BUCK4 {
>> +                regulator-always-on;
>> +                regulator-boot-on;
>> +                regulator-max-microvolt = <3300000>;
>> +                regulator-min-microvolt = <3300000>;
>> +                regulator-name = "buck4";
>> +            };
>> +
>> +            reg_vdd_1v8: BUCK5 {
>> +                regulator-always-on;
>> +                regulator-boot-on;
>> +                regulator-max-microvolt = <1950000>;
>> +                regulator-min-microvolt = <1700000>;
>> +                regulator-name = "buck5";
>> +            };
>> +
>> +            BUCK6 {
>> +                regulator-always-on;
>> +                regulator-boot-on;
>> +                /*
>> +                 * The default output voltage is 1.1V, bumped
>> +                 * to 1.35V in HW by a 499R/2.2K voltage divider in the
>> +                 * feedback path.
>> +                 */
> 
> Could/Should this be described using the:
> 'rohm,feedback-pull-up-r1-ohms' and
> 'rohm,feedback-pull-up-r2-ohms'? If I understand the comment correctly, 
> that might allow the driver to be able to use correctly scaled voltages.
> 
> https://elixir.bootlin.com/linux/v6.18-rc1/source/Documentation/ 
> devicetree/bindings/regulator/rohm,bd71837-regulator.yaml#L108
> 

Ah I didn't know those existed, should've checked the bindings in more 
detail, thanks for the hint!

I will have to investigate this carefully, since I don't have access to 
the actual design of the COM, so I don't know exactly what is there.

Kind regards,
Maud

  reply	other threads:[~2025-10-28 12:43 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-22  7:22 [PATCH v2 0/5] arm64: dts: freescale: add support for the GOcontroll Moduline IV/Mini Maud Spierings via B4 Relay
2025-10-22  7:22 ` [PATCH v2 1/5] dt-bindings: arm: fsl: Add " Maud Spierings via B4 Relay
2025-10-22  7:22 ` [PATCH v2 2/5] arm64: dts: imx8mm: Add pinctrl config definitions Maud Spierings via B4 Relay
2025-10-22  7:22 ` [PATCH v2 3/5] arm64: dts: freescale: add Ka-Ro Electronics tx8m-1610 COM Maud Spierings via B4 Relay
2025-10-28 12:15   ` Matti Vaittinen
2025-10-28 12:42     ` Maud Spierings [this message]
2025-10-28 13:10       ` Maud Spierings
2025-10-29  7:11         ` Lothar Waßmann
2025-10-29  8:42           ` Matti Vaittinen
2025-10-29  9:00             ` Maud Spierings
2025-10-29  9:33               ` Matti Vaittinen
2025-10-29  9:48             ` Lothar Waßmann
2025-10-29 10:05               ` Matti Vaittinen
2025-10-29 15:35                 ` Maud Spierings
2025-10-29 15:51                   ` Maud Spierings
2025-10-29 19:04                     ` Matti Vaittinen
2025-10-30  8:54                   ` Lothar Waßmann
2025-10-30 11:01                     ` Matti Vaittinen
2025-10-30 12:00                       ` Lothar Waßmann
2025-10-31 12:07                         ` Matti Vaittinen
2025-10-30 14:45                     ` Maud Spierings
2025-10-31  5:36                       ` Lothar Waßmann
2025-10-31  7:26                         ` Maud Spierings
2025-10-22  7:22 ` [PATCH v2 4/5] arm64: dts: freescale: Add the GOcontroll Moduline IV Maud Spierings via B4 Relay
2025-10-22  7:57   ` Marc Kleine-Budde
2025-10-22  8:23     ` Maud Spierings
2025-10-22 10:18   ` Maud Spierings
2025-10-22  7:22 ` [PATCH v2 5/5] arm64: dts: freescale: Add the GOcontroll Moduline Mini Maud Spierings via B4 Relay

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=65202d1f-6c4f-4d4e-9fef-85cfb74ec768@gocontroll.com \
    --to=maudspierings@gocontroll.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=imx@lists.linux.dev \
    --cc=kernel@pengutronix.de \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mazziesaccount@gmail.com \
    --cc=robh@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®