From: "Alim Akhtar" <alim.akhtar@samsung.com>
To: "'Henrik Grimler'" <henrik@grimler.se>,
"'Krzysztof Kozlowski'" <krzysztof.kozlowski@canonical.com>
Cc: <semen.protsenko@linaro.org>, <virag.david003@gmail.com>,
<martin.juecker@gmail.com>, <cw00.choi@samsung.com>,
<m.szyprowski@samsung.com>, <robh+dt@kernel.org>,
<devicetree@vger.kernel.org>, <linux-samsung-soc@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>,
<~postmarketos/upstreaming@lists.sr.ht>
Subject: RE: [PATCH v3 3/3] ARM: dts: Add support for Samsung Chagall WiFi
Date: Mon, 17 Jan 2022 11:20:08 +0530 [thread overview]
Message-ID: <001301d80b66$190901a0$4b1b04e0$@samsung.com> (raw)
In-Reply-To: <YeSHNCywXhp8gHC7@L14.lan>
Hi Henrik,
>-----Original Message-----
>From: Henrik Grimler [mailto:henrik@grimler.se]
>Sent: Monday, January 17, 2022 2:30 AM
>To: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
>Cc: semen.protsenko@linaro.org; virag.david003@gmail.com;
>martin.juecker@gmail.com; cw00.choi@samsung.com;
>m.szyprowski@samsung.com; alim.akhtar@samsung.com;
>robh+dt@kernel.org; devicetree@vger.kernel.org; linux-samsung-
>soc@vger.kernel.org; linux-arm-kernel@lists.infradead.org; linux-
>kernel@vger.kernel.org; ~postmarketos/upstreaming@lists.sr.ht
>Subject: Re: [PATCH v3 3/3] ARM: dts: Add support for Samsung Chagall WiFi
>
>Hi Krzysztof,
>
>> > +/* External sdcard */
>> > +&mmc_2 {
>> > + status = "okay";
>> > + bus-width = <4>;
>> > + cap-sd-highspeed;
>> > + card-detect-delay = <200>;
>> > + pinctrl-0 = <&sd2_clk &sd2_cmd &mmc2_cd &sd2_bus1 &sd2_bus4>;
>> > + pinctrl-names = "default";
>> > + samsung,dw-mshc-ciu-div = <3>;
>> > + samsung,dw-mshc-ddr-timing = <0 2>;
>> > + samsung,dw-mshc-sdr-timing = <0 4>;
>> > + sd-uhs-sdr50;
>> > + vmmc-supply = <&ldo19_reg>;
>> > + vqmmc-supply = <&ldo13_reg>;
>> > +};
>> > +
>> > +&pinctrl_0 {
>> > + mmc2_cd: sd2-cd-pins {
>> > + samsung,pins = "gpx2-4";
>>
>> Interesting... I looked at vendor sources to board-chagall and
>> standard pin gpc2-2 is mentioned as PULL down and not-connected
>comment.
>>
>> gpx2-4 seems not mentioned at all, unless other board files are
>> actually used.
>
>Gpio seems to be spread out. GPIO_T_FLASH_DETECT is defined as gpx2-4 in
>board-universal5420-mmc.c, and then used for card detection.
>(Looking at it now again I see that write protection through sd2_wp should
>also be supported for mmc_2, can add that in next patch set.)
>
Card detect pin is generally a special function (dedicated pin) pin,
directly connected from SoC to card external slot.
And for exynos5420 it is gpc2-2 as pointed by Krzysztof.
Also PIN_FUNC_2 for gpx2-4 indicate that it is wakeup_int2 function.
Do you get a card detect interrupt when removing and inserting the card to
the card slot?
Also to avoid confusion, probably you can change the node name as "mmc2_cd:
mmc2-cd-pins"
(as sd2-cd-pins is gpc2-2 for this SoC)
>> Anyway, if it works for you, it's good.
>>
>> Rest looks ok, I'll apply after the merge window.
>
>Thanks!
>
>> Best regards,
>> Krzysztof
>
>Best regards,
>Henrik Grimler
next prev parent reply other threads:[~2022-01-17 5:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-16 16:50 [PATCH v3 0/3] Add initial support for exynos5420-chagall-wifi Henrik Grimler
2022-01-16 16:50 ` [PATCH v3 1/3] dt-bindings: arm: samsung: document Chagall WiFi board binding Henrik Grimler
2022-01-16 16:50 ` [PATCH v3 2/3] ARM: exynos: only do SMC_CMD_CPU1BOOT call on Exynos4 Henrik Grimler
2022-01-16 16:50 ` [PATCH v3 3/3] ARM: dts: Add support for Samsung Chagall WiFi Henrik Grimler
2022-01-16 17:37 ` Krzysztof Kozlowski
2022-01-16 20:59 ` Henrik Grimler
2022-01-17 5:50 ` Alim Akhtar [this message]
2022-01-17 16:58 ` Henrik Grimler
2022-01-18 7:26 ` Alim Akhtar
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='001301d80b66$190901a0$4b1b04e0$@samsung.com' \
--to=alim.akhtar@samsung.com \
--cc=cw00.choi@samsung.com \
--cc=devicetree@vger.kernel.org \
--cc=henrik@grimler.se \
--cc=krzysztof.kozlowski@canonical.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
--cc=martin.juecker@gmail.com \
--cc=robh+dt@kernel.org \
--cc=semen.protsenko@linaro.org \
--cc=virag.david003@gmail.com \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/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;
as well as URLs for NNTP newsgroup(s).