public inbox for linux-rockchip@lists.infradead.org
 help / color / mirror / Atom feed
From: m.plak@icloud.com
To: Sergey Bostandzhyan <jin@mediatomb.cc>
Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
	heiko@sntech.de, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
	cnsztl@gmail.com
Subject: Re: [PATCH v3 0/3] Add DTS for NanoPi R2S Plus
Date: Sun, 25 Aug 2024 18:28:44 +0200	[thread overview]
Message-ID: <39753BDF-DC8C-4AA7-8BBC-621324BF75F3@icloud.com> (raw)
In-Reply-To: <20240814170048.23816-1-jin@mediatomb.cc>

Hello Sergey,

On 14 Aug 2024, at 19:00, Sergey Bostandzhyan <jin@mediatomb.cc> wrote:
> here is version 3 of the NanoPi R2S Plus patchset.


Thanks! I was just experimenting with a patch for that board.


eMMC:

A close cousin of that board, the NanoPi R2C Plus, similarly adds eMMC to 
its base version, R2C.

R2C Plus is already supported by rk3328-nanopi-r2c-plus.dts.

The r2c-plus DTS file differs slightly from your patch.
Would it not be better to use the same fragment for both r2s-plus and r2c-plus? 
Or even place the eMMC activation in a shared dtsi file?


I’ve compared the two and the friendlyelec kernel (not u-boot) sources.
 your patch does not contain these lines from r2c-plus:
    vmmc-supply = <&vcc_io_33>;
    vqmmc-supply = <&vcc18_emmc>;
    mmc-ddr-1_8v;

your patch adds these lines that are not in r2c-plus:
    supports-emmc;
    disable-wp;
    num-slots = <1>;

r2c-plus has a line that is in rk3328.dtsi already:
    max-frequency = <150000000>; 

the friendlyelec kernel sources also add:
    no-sd;


From the description in the mmc-controller binding documentation, I believe
disable-wp should not be used. The description for no-sd  I find confusing.
Can't find num-slots and supports-emmc there.

The RK3288 datasheet does not mention support for DDR mode, so mmc-ddr-1_8v 
surprises me a bit. The datasheet does explicitly mention that HS400 is _not_ 
supported.


USB:

Another change with the Plus version of the R2S is that the USB 2.0 port that 
used to be wired to the ethernet chip now is used for an external USB port. 
I don’t have the hardware here (yet), so can't test if that USB 2.0 and the 
USB 3.0 work independently or need to be explicitly separated.


refs:
Documentation/devicetree/bindings/mmc/mmc-controller.yaml


_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

  parent reply	other threads:[~2024-08-25 16:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-14 17:00 [PATCH v3 0/3] Add DTS for NanoPi R2S Plus Sergey Bostandzhyan
2024-08-14 17:00 ` [PATCH v3 1/3] arm64: dts: rockchip: Add DTS for FriendlyARM " Sergey Bostandzhyan
2024-08-14 17:00 ` [PATCH v3 2/3] dt-bindings: arm: rockchip: Add " Sergey Bostandzhyan
2024-08-14 17:00 ` [PATCH v3 3/3] arm64: dts: rockchip: improve eMMC speed on " Sergey Bostandzhyan
2024-08-16  6:51   ` Dragan Simic
2024-08-16 10:10     ` Sergey 'Jin' Bostandzhyan
2024-08-16 10:16     ` Heiko Stübner
2024-08-15 18:28 ` [PATCH v3 0/3] Add DTS for " Rob Herring (Arm)
2024-08-15 20:18 ` Heiko Stuebner
2024-08-15 23:26   ` Sergey 'Jin' Bostandzhyan
2024-08-25 16:28 ` m.plak [this message]
2024-08-26  9:12   ` Sergey 'Jin' Bostandzhyan

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=39753BDF-DC8C-4AA7-8BBC-621324BF75F3@icloud.com \
    --to=m.plak@icloud.com \
    --cc=cnsztl@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=heiko@sntech.de \
    --cc=jin@mediatomb.cc \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=robh@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