Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1670659
| From | Richard Leitner <richard.leitner@skidata.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [EXT] Re: [PATCH v2] mmc: core: add mmc-card hardware reset enable support |
| Date | 2017-06-20 12:40 +0200 |
| Message-ID | <tUoJJ-7ry-39@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <tuZbQ-4s3-15@gated-at.bofh.it> <tv1x0-5Qj-29@gated-at.bofh.it> <tSb4f-2hd-35@gated-at.bofh.it> <tSjl7-7u8-5@gated-at.bofh.it> <tUnXj-6TG-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 06/20/2017 11:45 AM, Linus Walleij wrote: >> IMHO mmc-util is where the patch really stands: the enabling is OTP, >> the programmer have to use mmc-util only once and the kernel >> will behave accordingly. > > So we should not add it to the device tree. > >> Any platform vendor must check that the HW Reset pin is actually >> Connected BEFORE enabling this feature otherwise the system may be >> unstable. A DT Binding may be dangerous if this condition is not met >> as well as the code execution at each MMC init is honestly redundant >> for an OTP location of the extCSD. > > I agree. So the device should be configured during production, or > a user who know exactly what they are doing may reconfigure it > using the mmc-utils. > > Thus the kernel should just read what the device says and stay with > that, no DT props or anything. Ok. Thanks for that clarification to everybody involved! Should we then add a warning/info message to the kernel if we have a reset gpio configured in the DT, but the eMMC hasn't this OTP bit set? Or should we just leave it as it is? (Due to the fact the reset-gpio could be connected to an external reset chip?) kind regards, Richard.L
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [EXT] Re: [PATCH v2] mmc: core: add mmc-card hardware reset enable support Linus Walleij <linus.walleij@linaro.org> - 2017-06-20 11:50 +0200
Re: [EXT] Re: [PATCH v2] mmc: core: add mmc-card hardware reset enable support Richard Leitner <richard.leitner@skidata.com> - 2017-06-20 12:40 +0200
Re: [EXT] Re: [PATCH v2] mmc: core: add mmc-card hardware reset enable support Linus Walleij <linus.walleij@linaro.org> - 2017-06-20 18:20 +0200
csiph-web