The NetBSD Project

CVS log for src/sys/arch/arm/nvidia/tegra_sdhc.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.32: download - view: text, markup, annotated - select for diffs
Sun Feb 6 15:52:20 2022 UTC (3 years ago) by jmcneill
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, 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, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -3 lines
sdhc: Retire SDHC_FLAG_USE_ADMA2 flag.

ADMA2 support in sdhc is mature now, so no need for it to be opt-in.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Feb 6 15:40:55 2022 UTC (3 years ago) by jmcneill
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +4 -3 lines
sdhc: tegra: Set SDHC_FLAG_BROKEN_ADMA2_ZEROLEN quirk flag.

The Tegra SDHCI implementation apparently treats ADMA2 descriptors with
length of 0 incorrectly.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Jan 22 15:10:30 2022 UTC (3 years ago) by skrll
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3 lines
Ensure bus_dmatag_subregion is called with an inclusive max_addr
everywhere.

Revision 1.27.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:17 2021 UTC (3 years, 10 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27: +11 -10 lines
Sync with HEAD.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Jan 27 03:10:19 2021 UTC (4 years ago) by thorpej
Branches: MAIN
CVS tags: 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-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +9 -8 lines
Rename of_match_compat_data() to of_compatible_match().  Similarly,
rename of_search_compatible() to of_compatible_lookup().

Standardize on of_compatible_match() for driver matching, and adapt
all call sites.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Jan 15 23:11:59 2021 UTC (4 years ago) by jmcneill
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -4 lines
use fdtbus_intr_establish_xname

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Sep 14 07:27:19 2020 UTC (4 years, 4 months ago) by skrll
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -3 lines
Trailing whitespace.

Revision 1.21.6.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:03:36 2020 UTC (4 years, 10 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.21.6.2: preferred, colored; branchpoint 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.6.2: +1 -2 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.21.6.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:30 2020 UTC (4 years, 10 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.21.6.1: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.6.1: +12 -2 lines
Merge changes from current as of 20200406

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Mar 1 16:38:59 2020 UTC (4 years, 11 months ago) by skrll
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +5 -2 lines
bus_dmatag_subregion isn't supported on (compiled into) arm so ifdef its
use in previous.

Revision 1.24.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:18:19 2020 UTC (4 years, 11 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +10 -3 lines
Sync with head.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Feb 15 12:45:05 2020 UTC (4 years, 11 months ago) by skrll
Branches: MAIN
CVS tags: ad-namecache-base3
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +10 -3 lines
Need to limit the DMA range for tx1.  Assume 32bit DMA everywhere for now.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Oct 13 06:11:31 2019 UTC (5 years, 4 months ago) by skrll
Branches: MAIN
CVS tags: phil-wifi-20191119, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3 lines
Restore %# for PRIxBUSADDR

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Oct 13 05:57:14 2019 UTC (5 years, 4 months ago) by skrll
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -4 lines
Use PRIxBUSADDR

Revision 1.21.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:55 2019 UTC (5 years, 8 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -3 lines
Sync with HEAD

Revision 1.21.4.1: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:37:28 2018 UTC (6 years, 6 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +4 -3 lines
Sync with HEAD

Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Jul 16 23:11:47 2018 UTC (6 years, 6 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, netbsd-9-base, netbsd-9-4-RELEASE, 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, isaki-audio2-base, isaki-audio2
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -3 lines
Add missing pointer <-> integer casts
Use PRI?64 to print uint64_t instead 'll?'

Revision 1.21.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:35:54 2017 UTC (7 years, 2 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.21.2.1: preferred, colored; branchpoint 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.2.1: +285 -0 lines
update from HEAD

Revision 1.1.2.6: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:31 2017 UTC (7 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.1.2.5: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.5: +69 -4 lines
Sync with HEAD

Revision 1.21.2.1
Fri Jul 21 01:00:58 2017 UTC (7 years, 6 months ago) by jdolecek
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.21: +0 -285 lines
file tegra_sdhc.c was added on branch tls-maxphys on 2017-12-03 11:35:54 +0000

Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Jul 21 01:00:58 2017 UTC (7 years, 6 months ago) by jmcneill
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, phil-wifi-base, pgoyette-compat-base, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, nick-nhusb-base-20170825
Branch point for: tls-maxphys, phil-wifi, pgoyette-compat
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +10 -2 lines
Disable UHS modes if signaling voltage regulator is unavailable.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu May 25 23:53:50 2017 UTC (7 years, 8 months ago) by jmcneill
Branches: MAIN
CVS tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646, 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
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +7 -3 lines
Match nvidia,tegra210-sdhci compat string.

Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 26 02:53:01 2017 UTC (7 years, 9 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +56 -3 lines
Sync with HEAD

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Apr 22 21:50:49 2017 UTC (7 years, 9 months ago) by jmcneill
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +38 -2 lines
If the "vqmmc-supply" regulator is present, use it to set signal voltage.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Apr 22 17:41:20 2017 UTC (7 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +11 -3 lines
Set parent clock rate to 100MHz when SDR104 is disabled

Revision 1.15.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:23 2017 UTC (7 years, 9 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +11 -2 lines
Sync with HEAD

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Apr 16 13:27:19 2017 UTC (7 years, 9 months ago) by jmcneill
Branches: MAIN
CVS tags: bouyer-socketcan-base1
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +10 -2 lines
Disable SDR104 until the Tegra K1 custom tuning method is implemented.
This is required to work around errata that describes periodic data CRC
errors after autotuning has completed.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Apr 11 11:06:02 2017 UTC (7 years, 10 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -2 lines
Set SDHC_FLAG_NO_HS_BIT for Tegra sdhc. No noticeable impact on performance
and it seems to get rid of the spurious data transfer timeouts.

Revision 1.1.2.5: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:09:31 2015 UTC (9 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.1.2.4: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.4: +85 -42 lines
Sync with HEAD (as of 26th Dec)

Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Dec 22 22:10:36 2015 UTC (9 years, 1 month ago) by jmcneill
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, 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, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +30 -25 lines
Switch Tegra over to fdt based clocks and reset controls.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Dec 16 19:46:55 2015 UTC (9 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -7 lines
use of_getprop_uint32

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Dec 15 15:33:19 2015 UTC (9 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3 lines
fdtbus_gpio_read handles pin polarity, so fix inverted test in tegra_sdhc_card_detect

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Dec 13 17:39:19 2015 UTC (9 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +81 -39 lines
Use fdt for device enumeration.

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

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Aug 3 12:11:52 2015 UTC (9 years, 6 months ago) by jmcneill
Branches: MAIN
CVS tags: nick-nhusb-base-20150921
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +5 -3 lines
set SDHC_FLAG_POLL_CARD_DET when we have a card detect pin

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Aug 2 21:45:52 2015 UTC (9 years, 6 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3 lines
set ref clk to 204MHz so we can take advantage of UHS-I modes

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Jul 29 12:11:32 2015 UTC (9 years, 6 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -3 lines
enable ADMA2 data transfer mode

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Jul 23 23:53:14 2015 UTC (9 years, 6 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -2 lines
use SDHC_FLAG_NO_TIMEOUT

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Jul 23 18:22:05 2015 UTC (9 years, 6 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -8 lines
Support fractional dividers. This lets us use 48MHz for SDMMC HS mode
instead of 45.333MHz.

Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:39:56 2015 UTC (9 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.1.2.2: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.2: +57 -14 lines
Sync with HEAD

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat May 30 18:53:39 2015 UTC (9 years, 8 months ago) by jmcneill
Branches: MAIN
CVS tags: nick-nhusb-base-20150606
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -3 lines
dont set SDHC_FLAG_NO_HS_BIT flag

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun May 3 22:40:02 2015 UTC (9 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +7 -7 lines
since we dont support SDR104 yet, dont try to optimize it; instead, optimize for HS mode, which brings us up from 34 MHz to 45.333 MHz

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun May 3 11:46:44 2015 UTC (9 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -2 lines
set SDHC_FLAG_SINGLE_POWER_WRITE

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat May 2 17:07:55 2015 UTC (9 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +47 -2 lines
hook up power, card detect, write protect gpios

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat May 2 14:10:03 2015 UTC (9 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +16 -18 lines
SDMMC clock input is PLLP (408 MHz). Set input divisor to 2 to get a
204 MHz input for the SDHC, which is just below the maximum supported
frequency for SDR104.

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:17:53 2015 UTC (9 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +135 -0 lines
Sync with HEAD

Revision 1.1.2.1
Sun Mar 29 10:41:59 2015 UTC (9 years, 10 months ago) by skrll
Branches: nick-nhusb
FILE REMOVED
Changes since revision 1.1: +0 -135 lines
file tegra_sdhc.c was added on branch nick-nhusb on 2015-04-06 15:17:53 +0000

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Mar 29 10:41:59 2015 UTC (9 years, 10 months ago) by jmcneill
Branches: MAIN
CVS tags: nick-nhusb-base-20150406
Branch point for: nick-nhusb
NVIDIA Tegra K1 support, work in progress.

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>