The NetBSD Project

CVS log for src/sys/arch/arm/allwinner/Attic/awin_mmc.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / arm / allwinner

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.23.16.1
Mon Apr 16 01:59:52 2018 UTC (6 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
FILE REMOVED
Changes since revision 1.23: +2 -2 lines
Sync with HEAD, resolve some conflicts

Revision 1.24
Sun Apr 8 13:19:17 2018 UTC (6 years, 10 months ago) by jmcneill
Branches: MAIN
CVS tags: thorpej-futex-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, 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, pgoyette-compat-0415, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, isaki-audio2-base, isaki-audio2, 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
FILE REMOVED
Changes since revision 1.23: +2 -2 lines
Remove old Allwinner port.

Revision 1.3.12.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:35:51 2017 UTC (7 years, 2 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.3.12.2: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.12.2: +543 -133 lines
update from HEAD

Revision 1.15.2.3: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:09:29 2015 UTC (9 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.15.2.2: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.2.2: +7 -3 lines
Sync with HEAD (as of 26th Dec)

Revision 1.3.10.5: download - view: text, markup, annotated - select for diffs
Thu Dec 10 23:44:11 2015 UTC (9 years, 2 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, 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
Diff to: previous 1.3.10.4: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.10.4: +3 -2 lines
Pull up following revision(s) (requested by bouyer in ticket #1043):
	sys/arch/arm/allwinner/awin_mmc.c: revision 1.23 via patch
Wait 20ms for the PLL to stabilize after enabling it.
Fixes occasional bogus size report for my SD card.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Nov 14 10:32:40 2015 UTC (9 years, 3 months ago) by bouyer
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: pgoyette-compat
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -2 lines
Wait 20ms for the PLL to stabilize after enabling it.
Fixes occasional bogus size report for my SD card.

Revision 1.3.10.4: download - view: text, markup, annotated - select for diffs
Sat Nov 7 16:15:03 2015 UTC (9 years, 3 months ago) by riz
Branches: netbsd-7
Diff to: previous 1.3.10.3: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.10.3: +6 -3 lines
Pull up following revision(s) (requested by bouyer in ticket #1006):
	sys/arch/arm/allwinner/awin_mmc.c: revision 1.22
Avoid a divide by 0 when unplugging a sd card.

Revision 1.3.10.3.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 7 16:14:37 2015 UTC (9 years, 3 months ago) by riz
Branches: netbsd-7-0
CVS tags: netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE
Diff to: previous 1.3.10.3: preferred, colored; next MAIN 1.3.10.4: preferred, colored
Changes since revision 1.3.10.3: +6 -3 lines
Pull up following revision(s) (requested by bouyer in ticket #1006):
	sys/arch/arm/allwinner/awin_mmc.c: revision 1.22
Avoid a divide by 0 when unplugging a sd card.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri Oct 16 14:22:25 2015 UTC (9 years, 4 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +6 -3 lines
Avoid a divide by 0 when unplugging a sd card.

Revision 1.15.2.2: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:05:36 2015 UTC (9 years, 4 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.15.2.1: preferred, colored; branchpoint 1.15: preferred, colored
Changes since revision 1.15.2.1: +12 -5 lines
Sync with HEAD

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Aug 8 17:21:19 2015 UTC (9 years, 6 months ago) by jmcneill
Branches: MAIN
CVS tags: nick-nhusb-base-20150921
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +10 -3 lines
don't need a full reset to recover from errors, only DMA and FIFO resets

Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:17:51 2015 UTC (9 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +180 -110 lines
Sync with HEAD

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Dec 7 20:10:59 2014 UTC (10 years, 2 months ago) by jmcneill
Branches: MAIN
CVS tags: nick-nhusb-base-20150606, nick-nhusb-base-20150406
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -3 lines
fix typo

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Dec 7 20:09:35 2014 UTC (10 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +18 -24 lines
Initialize AWIN_MMC_TIMEOUT reg, return ETIMEDOUT on cmd timeout, fix SCF_RSP_BSY handling, specify pullup and drv level on A80 pinsets, report MMC_OCR_HSC

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Dec 5 23:22:40 2014 UTC (10 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +67 -64 lines
ensure module clk is initialized before attaching

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Dec 5 14:36:44 2014 UTC (10 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +126 -29 lines
A80 MMC support. Works for SD card slot on Cubie4, but not eMMC yet.

Revision 1.3.10.3: download - view: text, markup, annotated - select for diffs
Thu Dec 4 11:08:38 2014 UTC (10 years, 2 months ago) by martin
Branches: netbsd-7
CVS tags: netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1
Branch point for: netbsd-7-0
Diff to: previous 1.3.10.2: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.10.2: +32 -56 lines
Pull up following revision(s) (requested by jmcneill in ticket #294):
	sys/arch/arm/allwinner/awin_mmc.c: revision 1.16
	sys/arch/arm/allwinner/awin_board.c: revision 1.29
	sys/arch/arm/allwinner/awin_reg.h: revision 1.55,1.57
Add mixer processor regs.
-
Fix some mixer processor definitions, add A31 PLL6 cfg lock bit and
some extra SD CLK bits for A31, when enabling pll, wait for pll to
become stable before returning
-
Clock fixes:
 - Don't rely on U-boot to enable AHB gating
 - Instead of always running at 100MHz (!), calculate proper clk dividers.
 - Replace PLL6 parsing code with a call to awin_pll6_get_rate()

Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Dec 4 03:03:44 2014 UTC (10 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +32 -56 lines
Clock fixes:

 - Don't rely on U-boot to enable AHB gating
 - Instead of always running at 100MHz (!), calculate proper clk dividers.
 - Replace PLL6 parsing code with a call to awin_pll6_get_rate()

Revision 1.3.10.2: download - view: text, markup, annotated - select for diffs
Sun Nov 9 14:42:33 2014 UTC (10 years, 3 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.3.10.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.10.1: +430 -97 lines
Catch up to -current as of ~1 hour ago for sys/arch/arm/allwinner and
sys/arch/evbarm/awin. Requested by skrll in ticket #203.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Oct 20 19:04:22 2014 UTC (10 years, 3 months ago) by jmcneill
Branches: MAIN
CVS tags: nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +8 -2 lines
ensure software reset signal is de-asserted on A31

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Oct 11 17:29:59 2014 UTC (10 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -6 lines
fix AWIN_MMC_FTRGLEVEL for A31

Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Oct 10 17:49:55 2014 UTC (10 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -5 lines
correct a typo in sd clk reg offsets for mmc>0 and dont bother with pll6_enable

Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Oct 10 07:36:11 2014 UTC (10 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +56 -18 lines
Work-in-progress support for the AllWinner A31 SoC.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Oct 3 11:23:29 2014 UTC (10 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +28 -7 lines
Use SDn_CLK_REG instead of MMC_CLKCR to setup bus clock; gives a nearly 2x boost in performance in HS mode. Also, make sure to setup PLL6 before probing clocks.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Sep 11 08:20:52 2014 UTC (10 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +12 -12 lines
Make sure the data in the descritors is little endian.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Sep 9 20:39:52 2014 UTC (10 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +80 -24 lines
if "dma" property is set to false, fallback to pio mode

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Sep 9 19:23:46 2014 UTC (10 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +10 -2 lines
do BUS_DMASYNC_POSTWRITE after transfer completes

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Sep 8 23:51:48 2014 UTC (10 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +101 -59 lines
eliminate most of the polling from awin_mmc_exec_command

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Sep 8 11:06:03 2014 UTC (10 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +204 -43 lines
use dma for mmc data transfers

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Sep 7 15:38:06 2014 UTC (10 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +32 -28 lines
replace mmc magic bits with symbolic names

Revision 1.3.10.1: download - view: text, markup, annotated - select for diffs
Fri Aug 29 11:17:38 2014 UTC (10 years, 5 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +10 -14 lines
Pull up following revision(s) (requested by skrll in ticket #57):
	sys/arch/arm/allwinner/awin_reg.h: revision 1.15
	sys/arch/arm/allwinner/awin_mmc.c: revision 1.4
Correct the mmc clock.  Banana Pi can now find an SD card.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Aug 24 21:42:06 2014 UTC (10 years, 5 months ago) by skrll
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +10 -14 lines
Correct the mmc clock.  Banana Pi can now find an SD card.

Revision 1.3.12.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:02:44 2014 UTC (10 years, 6 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.3.12.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.12.1: +598 -0 lines
Rebase to HEAD as of a few days ago.

Revision 1.3.8.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:39:30 2014 UTC (10 years, 8 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.3.8.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.8.1: +598 -0 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.3.6.2: download - view: text, markup, annotated - select for diffs
Sun May 18 17:44:56 2014 UTC (10 years, 9 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.3.6.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.6.1: +598 -0 lines
sync with head

Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 24 18:43:15 2014 UTC (10 years, 10 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.1: +612 -0 lines
Merge cubie support from HEAD

Revision 1.3.12.1
Wed Feb 26 02:01:02 2014 UTC (10 years, 11 months ago) by tls
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.3: +0 -598 lines
file awin_mmc.c was added on branch tls-maxphys on 2014-08-20 00:02:44 +0000

Revision 1.3.8.1
Wed Feb 26 02:01:02 2014 UTC (10 years, 11 months ago) by yamt
Branches: yamt-pagecache
FILE REMOVED
Changes since revision 1.3: +0 -598 lines
file awin_mmc.c was added on branch yamt-pagecache on 2014-05-22 11:39:30 +0000

Revision 1.3.6.1
Wed Feb 26 02:01:02 2014 UTC (10 years, 11 months ago) by rmind
Branches: rmind-smpnet
FILE REMOVED
Changes since revision 1.3: +0 -598 lines
file awin_mmc.c was added on branch rmind-smpnet on 2014-05-18 17:44:56 +0000

Revision 1.3.2.1
Wed Feb 26 02:01:02 2014 UTC (10 years, 11 months ago) by matt
Branches: matt-nb5-mips64
FILE REMOVED
Changes since revision 1.3: +0 -598 lines
file awin_mmc.c was added on branch matt-nb5-mips64 on 2014-03-24 18:43:15 +0000

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Feb 26 02:01:02 2014 UTC (10 years, 11 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, netbsd-7-base
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet, netbsd-7, matt-nb5-mips64
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +16 -3 lines
implement card detect

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Feb 26 00:39:30 2014 UTC (10 years, 11 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +22 -2 lines
blink status LED during data transfers

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Feb 25 00:08:29 2014 UTC (10 years, 11 months ago) by jmcneill
Branches: MAIN
Add Allwinner SD/MMC driver. No DMA yet.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>