[Letux-kernel] replacement for omap_hsmmc: hackish try to enable sdio interrupts
Andreas Kemnade
andreas at kemnade.info
Mon Sep 3 12:35:01 CEST 2018
On Mon, 3 Sep 2018 11:00:41 +0200
"H. Nikolaus Schaller" <hns at goldelico.com> wrote:
> Hi,
>
> > Am 01.09.2018 um 08:21 schrieb Andreas Kemnade <andreas at kemnade.info>:
> >
> > Hi,
> >
> > On Fri, 31 Aug 2018 19:51:48 +0200
> > "H. Nikolaus Schaller" <hns at goldelico.com> wrote:
> >
> > [...]
> >>
> >> Ah, ok!
> >>
> >> Hm. Well...
> >>
> >> Then we should carefully study schematics + required pinmux settings.
> >>
> >>
> >>
> >> So this means
> >> * AF4, AG4, AH4, AH5 are mmc2 bidirectional
> >> * AG5 is cmda
> >> * AE2 is clka
> >> * AE3 is clkf
> >> * AF3 is cmddir
> >> * AH3 is dat123dir
> >> * AE4 is dat0dir
> >>
> >> now we have to look up the pinmux mode for these pads in the dm3730 data sheet...
> >> * AF4 mmc2_dat3 = mode 0 gpio 135 I/O
> >> * AG4 mmc2_dat2 = mode 0 gpio 134 I/O
> >> * AH4 mmc2_dat1 = mode 0 gpio 133 I/O
> >> * AH5 mmc2_dat0 = mode 0 gpio 132 I/O
> >> * AG5 mmc2_cmd = mode 0 gpio 131 O
> >> * AE2 mmc2_clk = mode 0 gpio 130 I/O
> >> * AE3 mmc2_clkin = mode 1 gpio 139 I
> >> * AF3 mmc2_dir_cmd = mode 1 gpio 138 O
> >> * AH3 mmc2_dir_dat1 = mode 1 gpio 137 O
> >> * AE4 mmc2_dir_dat0 = mode 1 gpio 136 O
> >>
> >> in other words: all mmc2 pads are mode 0 and the 4 pads (re)used from mmc3 are to be mode 1.
> >>
> > well, ok, that is the theory.
>
> Yes, that above is "normal" operation excluding suspend...
>
well, in normal operation, the mmc (not necessarily the card behind it)
is turned off after 100ms (if I remeber correctly) of inactivity (runtime autosuspend).
So it is a part of the normal operation. If I cannot fix it quickly,
I will add my old patch back.
Regards,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20180903/7cecb53b/attachment.asc>
More information about the Letux-kernel
mailing list