mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Stefan Kerkmann <s.kerkmann@pengutronix.de>
To: Ahmad Fatoum <a.fatoum@pengutronix.de>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	BAREBOX <barebox@lists.infradead.org>
Subject: Re: [PATCH 4/6] arm: dts: karo: import dts for karo-qsxp-ml81
Date: Mon, 11 Mar 2024 15:48:18 +0100	[thread overview]
Message-ID: <e8909e72-1aef-47c8-bc69-942664f6c340@pengutronix.de> (raw)
In-Reply-To: <591d7ddb-2b92-4241-9a74-41af3566241a@pengutronix.de>

Hello Ahmad,

On 11.03.24 15:33, Ahmad Fatoum wrote:
> Hello Stefan,
> 
> On 11.03.24 15:23, Stefan Kerkmann wrote:
>> Hello Ahmad,
>>
>> On 11.03.24 11:02, Ahmad Fatoum wrote:
>>> Hello Stefan,
>>>
>>> On 11.03.24 10:10, Stefan Kerkmann wrote:
>>>> From: Marc Kleine-Budde <mkl@pengutronix.de>
>>>>
>>>> This imports the device tree for the Ka-Ro QSXP, which is a i.MX8M Plus
>>>> solder down system on module. The sources have been adapted from the
>>>> offical Ka-Ro github[1], commit a49b38ec97854c0cd9cd83a9f4ae3b56e99a58b6.
>>>>
>>>> [1]: https://github.com/karo-electronics/meta-karo-nxp.git
>>>
>>> To make it easier to sync with Linux, once the device tree goes upstream,
>>> could you separate the barebox-specific changes into a separate file?
>>>
>>
>> Ack.
>>
>>>> +	model = "Ka-Ro electronics QSXP-ML81 (NXP i.MX8MP) module";
>>>> +	compatible = "karo,imx8mp-qsxp-ml81", "fsl,imx8mp";
>>>
>>> Add a compatible for the SoM here: "karo,imx8mp-qsxp".
> 
> Then, why is it a DTS and not a DTSI?
> 

AFAIK, this was a request from Marc to keep it as a DTS. I have no
strong opinion here.

> 
>> You're right, AFAIK the eMMC JEDEC standard mandates 1.8V IOs for HS200
>> mode. For DDR mode the IO voltage can be 3.3V or 1.8V, according to the
>> datasheet of the used THGBMNG5D1LBAIL eMMC (if the product pictures are
>> anything to go by). So the correct voltage ranges property would be
>> `voltage-ranges = <1800 1800 3300 3300>`?
> 
> Your I/O Voltage (vccq) is fixed at 1.8V, so 3300 sounds wrong.
> 

Alright, but what if it wasn't and was adjustable? Just asking out of
curiosity.

>> The line itself was copied verbatim from
>> https://github.com/karo-electronics/meta-karo-nxp/blob/mickledore/recipes-kernel/linux/linux-karo-6.1/mx8-nxp-bsp/dts/freescale/imx8mp-karo.dtsi#L263
>>
>>
>>> Either way, it doesn't matter to barebox.
>> So in the end we just delete it?
> 
> Just delete it.
> 

Ack.

> Cheers,
> Ahmad
> 
>>
>>>> +	non-removable;
>>>> +	status = "okay";
>>>> +};
>>>> +
>>>> +&wdog1 {
>>>> +	pinctrl-names = "default";
>>>> +	pinctrl-0 = <&pinctrl_wdog>;
>>>> +	fsl,ext-reset-output;
>>>> +	status = "okay";
>>>> +};
>>>> +
>>>> +&iomuxc {
>>>> +	pinctrl_i2c1: i2c1grp {
>>>> +		fsl,pins = <
>>>> +			MX8MP_IOMUXC_I2C1_SCL__I2C1_SCL			0x400001c2
>>>> +			MX8MP_IOMUXC_I2C1_SDA__I2C1_SDA			0x400001c2
>>>> +		>;
>>>> +	};
> 
> 

Cheers,
Stefan

-- 
Pengutronix e.K.                       | Stefan Kerkmann             |
Steuerwalder Str. 21                   | https://www.pengutronix.de/ |
31137 Hildesheim, Germany              | Phone: +49-5121-206917-128  |
Amtsgericht Hildesheim, HRA 2686       | Fax:   +49-5121-206917-9    |



  reply	other threads:[~2024-03-11 14:48 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-11  9:10 [PATCH 0/6] arm: imx8mp: add karo electronics qsxp imx8mp som support Stefan Kerkmann
2024-03-11  9:10 ` [PATCH 1/6] of: introduce of_property_read_s32 Stefan Kerkmann
2024-03-11  9:10 ` [PATCH 2/6] net: phy: micrel: update id table from Linux kernel Stefan Kerkmann
2024-03-11  9:10 ` [PATCH 3/6] net: phy: micrel: add support for ksz9131 phy Stefan Kerkmann
2024-03-11  9:10 ` [PATCH 4/6] arm: dts: karo: import dts for karo-qsxp-ml81 Stefan Kerkmann
2024-03-11 10:02   ` Ahmad Fatoum
2024-03-11 14:23     ` Stefan Kerkmann
2024-03-11 14:33       ` Ahmad Fatoum
2024-03-11 14:48         ` Stefan Kerkmann [this message]
2024-03-11  9:10 ` [PATCH 5/6] arm: dts: karo: add karo imx8mp-karo-qsxp-qsbase4 Stefan Kerkmann
2024-03-11 10:05   ` Ahmad Fatoum
2024-03-11 13:25     ` Stefan Kerkmann
2024-03-11  9:10 ` [PATCH 6/6] arm: imx8mp: add karo electronics qsxp imx8mp som support Stefan Kerkmann
2024-03-11 10:13   ` Ahmad Fatoum
2024-03-11 13:32     ` Stefan Kerkmann
2024-03-11 13:58       ` Ahmad Fatoum
2024-03-11 14:01         ` Stefan Kerkmann

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=e8909e72-1aef-47c8-bc69-942664f6c340@pengutronix.de \
    --to=s.kerkmann@pengutronix.de \
    --cc=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    /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