The NetBSD Project

CVS log for src/sys/dev/sdmmc/sdmmcreg.h

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / sdmmc

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.34 / (download) - annotate - [select for diffs], Thu Apr 19 21:50:09 2018 UTC (5 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: triaxx-drm, thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, thorpej-altq-separation-base, thorpej-altq-separation, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-10-base, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, jdolecek-ncqfixes-base, jdolecek-ncqfixes, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache, HEAD
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

s/static inline/static __inline/g for consistency.

Revision 1.33 / (download) - annotate - [select for diffs], Tue Sep 12 13:43:37 2017 UTC (6 years, 6 months ago) by jmcneill
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, pgoyette-compat-base, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.32: +2 -1 lines
Diff to previous 1.32 (colored)

For SD cards, send the SET_WR_BLK_ERASE_COUNT app command before a
multi-block write to improve write performance.

Revision 1.32 / (download) - annotate - [select for diffs], Sun Jul 16 17:11:46 2017 UTC (6 years, 8 months ago) by jmcneill
Branch: MAIN
CVS Tags: perseant-stdc-iso10646-base, nick-nhusb-base-20170825
Branch point for: perseant-stdc-iso10646
Changes since 1.31: +11 -1 lines
Diff to previous 1.31 (colored)

Add support for eMMC 4.5's optional cache feature. If a cache is present,
and the host controller reports the SMC_CAPS_POLLING capability (needed
to flush cache at shutdown), it will be automatically enabled and used.

Revision 1.31 / (download) - annotate - [select for diffs], Sat Jun 24 23:07:35 2017 UTC (6 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.30: +41 -1 lines
Diff to previous 1.30 (colored)

Read SD status register and print card status when a new SD card is found:

  sdmmc0: SD card status: 4-bit, C10, U1, V10

If the SD status register reports discard support, set the DISCARD arg to
the ERASE operation to let the card know that the host doesn't care if the
erase is performed.

Revision 1.30 / (download) - annotate - [select for diffs], Sat Jun 24 11:27:33 2017 UTC (6 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.29: +3 -1 lines
Diff to previous 1.29 (colored)

Add discard support to ld@sdmmc using the ERASE (CMD38) command.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Feb 17 10:51:48 2017 UTC (7 years, 1 month ago) by nonaka
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, netbsd-8-base, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Branch point for: netbsd-8
Changes since 1.28: +8 -1 lines
Diff to previous 1.28 (colored)

sdhc(4): hardware reset support for Intel eMMC controller

Revision 1.28 / (download) - annotate - [select for diffs], Fri Feb 17 10:47:09 2017 UTC (7 years, 1 month ago) by nonaka
Branch: MAIN
Changes since 1.27: +7 -1 lines
Diff to previous 1.27 (colored)

sdmmc(4): Added EXT_CSD[HS_TIMING] definitions.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Feb 17 10:46:20 2017 UTC (7 years, 1 month ago) by nonaka
Branch: MAIN
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

sdmmc(4): Change EXT_CSD[CARD_TYPE] HS DDR 52 MHz definition.

Because it has been difficult to understand from the definition is DDR.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Feb 17 10:45:23 2017 UTC (7 years, 1 month ago) by nonaka
Branch: MAIN
Changes since 1.25: +1 -6 lines
Diff to previous 1.25 (colored)

sdmmc(4): Remove unused EXT_CSD[CARD_TYPE] definitions.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Feb 17 10:44:31 2017 UTC (7 years, 1 month ago) by nonaka
Branch: MAIN
Changes since 1.24: +9 -9 lines
Diff to previous 1.24 (colored)

sdmmc(4): Added comments at EXT_CSD[CARD_TYPE] definitions.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Feb 17 10:43:47 2017 UTC (7 years, 1 month ago) by nonaka
Branch: MAIN
Changes since 1.23: +3 -1 lines
Diff to previous 1.23 (colored)

sdmmc(4): Added 4 and 8 bit mode DDR definitions at EXT_CSD[BUS_WIDTH].

Revision 1.23 / (download) - annotate - [select for diffs], Fri Feb 17 10:43:03 2017 UTC (7 years, 1 month ago) by nonaka
Branch: MAIN
Changes since 1.22: +7 -7 lines
Diff to previous 1.22 (colored)

sdmmc(4): Fix cell type in comments.

From JEDEC Standard No.84-B51, 7.4. Extended CSD register.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Aug 10 04:24:17 2016 UTC (7 years, 7 months ago) by nonaka
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107, pgoyette-localcount-20161104, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, localcount-20160914, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.21: +2 -5 lines
Diff to previous 1.21 (colored)

Use 1.65-1.95 voltage window for 1.8V support.

Revision 1.21 / (download) - annotate - [select for diffs], Thu Oct 29 22:37:15 2015 UTC (8 years, 4 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226
Branch point for: pgoyette-localcount
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored)

After setting HS_TIMING value for HS200 or later, send repeated SEND_STATUS
command until the device is no longer busy or the SWITCH_ERROR bit is set.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Aug 8 10:50:55 2015 UTC (8 years, 7 months ago) by jmcneill
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921
Changes since 1.19: +5 -2 lines
Diff to previous 1.19 (colored)

eMMC fixes

Revision 1.19 / (download) - annotate - [select for diffs], Wed Aug 5 10:29:37 2015 UTC (8 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.18: +3 -1 lines
Diff to previous 1.18 (colored)

Add support for sampling clock tuning, required for some UHS modes and
MMC HS200.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Aug 3 10:08:51 2015 UTC (8 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.17: +7 -1 lines
Diff to previous 1.17 (colored)

Add support for DDR50 transfer modes.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Aug 2 22:47:05 2015 UTC (8 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.16: +5 -3 lines
Diff to previous 1.16 (colored)

Add support for eMMC 5.0 HS200 timings.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Aug 2 21:44:36 2015 UTC (8 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.15: +3 -1 lines
Diff to previous 1.15 (colored)

Add basic UHS-I support. SDR50 and SDR104 are supported, but not DDR50.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Dec 7 20:07:25 2014 UTC (9 years, 3 months ago) by jmcneill
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606, nick-nhusb-base-20150406
Changes since 1.14: +2 -1 lines
Diff to previous 1.14 (colored)

Fix high capacity (> 2GB) eMMC support, from OpenBSD.

Revision 1.14 / (download) - annotate - [select for diffs], Fri May 3 16:38:35 2013 UTC (10 years, 10 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, khorben-n900
Branch point for: nick-nhusb
Changes since 1.13: +12 -3 lines
Diff to previous 1.13 (colored)

Add support for the valid card types in eMMC v4.4 (needed by beaglebone
black).

Revision 1.13 / (download) - annotate - [select for diffs], Sat Dec 15 00:03:00 2012 UTC (11 years, 3 months ago) by jakllsch
Branch: MAIN
CVS Tags: yamt-pagecache-base8, agc-symver-base, agc-symver
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

Correctly read the 512-bit-wide big-endian Switch Function Status register.
Some of this could/will also be useful for the SD Status register.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Jul 28 18:38:03 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6
Branch point for: tls-maxphys
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Fix comments about __bitfield.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jul 23 13:32:19 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Responses are actually in host order (except SCR which is return in
big endian so that's convert to host order).

Revision 1.10 / (download) - annotate - [select for diffs], Fri Jul 20 02:04:13 2012 UTC (11 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.9: +18 -26 lines
Diff to previous 1.9 (colored)

Add use of watermark register when PIO to an ESDHC.  After every kill or
drain of watermask words, pause a bit to give time for the fifo to recover.
Always the command response in BE byteorder.  Rewrite __bitfield to deal
with this.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Jul 12 16:03:13 2012 UTC (11 years, 8 months ago) by jakllsch
Branch: MAIN
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 (colored)

Add SD_STATUS (ACMD13) opcode.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Jan 27 03:07:21 2012 UTC (12 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10
Branch point for: netbsd-6
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Remove suplurfious ++

Revision 1.7 / (download) - annotate - [select for diffs], Sun Feb 13 07:25:56 2011 UTC (13 years, 1 month ago) by nonaka
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored)

use MMC_CSD_CSDVER_EXT_CSD.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Feb 13 06:43:52 2011 UTC (13 years, 1 month ago) by nonaka
Branch: MAIN
Changes since 1.5: +5 -4 lines
Diff to previous 1.5 (colored)

- Don't switch MMC high-speed timing, if host controller isn't supported.
- Only check EXT_CSD STRUCTURE version when CSD version is 3.
- initialize width at sdmmc_function_alloc().

Revision 1.5 / (download) - annotate - [select for diffs], Thu Oct 7 12:24:23 2010 UTC (13 years, 5 months ago) by kiyohara
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, uebayasi-xip-base4, uebayasi-xip-base3, matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.4: +32 -4 lines
Diff to previous 1.4 (colored)

Support High-Speed mode.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Apr 6 15:10:09 2010 UTC (13 years, 11 months ago) by nonaka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base10, uebayasi-xip-base2, uebayasi-xip-base1
Branch point for: matt-nb5-mips64
Changes since 1.3: +42 -1 lines
Diff to previous 1.3 (colored)

- mention MMC SPI mode.
- support SD 4bit bus width mode.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Apr 26 13:05:55 2009 UTC (14 years, 10 months ago) by nonaka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, uebayasi-xip-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Branch point for: yamt-nfs-mp, uebayasi-xip, rmind-uvmplock, nick-hppapmap, netbsd-5, jym-xensuspend
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

fix build broken.
Pointed by Takeshi Nakayama.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Apr 26 07:21:13 2009 UTC (14 years, 10 months ago) by nonaka
Branch: MAIN
Changes since 1.1: +36 -32 lines
Diff to previous 1.1 (colored)

Added some command definitions.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Apr 21 03:00:31 2009 UTC (14 years, 11 months ago) by nonaka
Branch: MAIN

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>