The NetBSD Project

CVS log for src/sys/dev/acpi/sdhc_acpi.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Aug 17 07:00:35 2024 UTC (8 months, 1 week ago) by skrll
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3 lines
Trailing whitespace

Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu May 9 01:33:12 2024 UTC (11 months, 2 weeks ago) by dyoung
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +8 -2 lines
If the ACPI flag "non-removable" is present and true for an SD/MMC
slot, then set a new flag on that slot to indicate that the media
is non-removable.  Make sdhc_card_detect always return true for a
slot if its non-removable media flag is set.

This change lets the kernel automatically configure the
permanently-installed MMC slot on the NXP LX2160-based HoneyComb
LX2 board.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Feb 6 15:52:20 2022 UTC (3 years, 2 months ago) by jmcneill
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, 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
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +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.19: download - view: text, markup, annotated - select for diffs
Sat Jan 15 18:02:33 2022 UTC (3 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -4 lines
32-bit build fix

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Jan 15 15:54:40 2022 UTC (3 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +6 -8 lines
acpi: sdhc: Read caps2 even if sdhci-caps{,-mask} doesn't touch the bits

SDHC_FLAG_HOSTCAPS means that the driver has to supply both caps and caps2
values.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Jan 15 14:49:43 2022 UTC (3 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +62 -2 lines
acpi: sdhc: Add support for RK356x eMMC controller.

RK356x has a DesignWare eMMC controller that is somewhat SDHCI compliant,
with one major problem -- the clock divisor doesn't actually work. To
change the clock card on Rockchip SoCs, the clock frequency needs to be
adjusted in the Clock & Reset Unit (CRU) directly.

The RK356x UEFI implementation introduces a DSM that allows drivers to
request firmware assistance in setting the card clock rate, for instances
like this where the divisor is broken.

From the UEFI README:

  Function 1: Set Card Clock

  The _DSM control method parameters for the Set Card Clock function are
  as follows:

  Arguments

   * Arg0: UUID = 434addb0-8ff3-49d5-a724-95844b79ad1f
   * Arg1: Revision = 0
   * Arg2: Function Index = 1
   * Arg3: Target card clock rate in Hz.

  Return

   The actual card clock rate in Hz. Will be less than or equal to the
   target clock rate. Returns 0 if the target clock rate could not be set.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Jan 11 22:32:44 2022 UTC (3 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +21 -2 lines
acpi: sdhc: Support sdhci-caps and sdhci-caps-mask properties.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Dec 28 13:41:12 2021 UTC (3 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +5 -3 lines
acpi: sdhc: Ignore clkbase register if clock-frequency property is present

Revision 1.5.2.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:18 2020 UTC (5 years ago) by martin
Branches: phil-wifi
Diff to: previous 1.5.2.2: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.2.2: +3 -6 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.5.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:02 2020 UTC (5 years ago) by martin
Branches: phil-wifi
Diff to: previous 1.5.2.1: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.1: +37 -16 lines
Merge changes from current as of 20200406

Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:19:07 2020 UTC (5 years, 1 month ago) by ad
Branches: ad-namecache
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +30 -16 lines
Sync with head.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Feb 1 20:11:24 2020 UTC (5 years, 2 months ago) by tnn
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-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, 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, ad-namecache-base3
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3 lines
fix build

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Feb 1 19:11:59 2020 UTC (5 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +20 -17 lines
use designated initializers

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Feb 1 18:24:24 2020 UTC (5 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +15 -15 lines
appease -Werror=missing-field-initializers

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Feb 1 13:40:55 2020 UTC (5 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +12 -2 lines
Add NXP/Freescale ESDHC specific support

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Feb 1 13:09:08 2020 UTC (5 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -3 lines
Use acpi_match_hid to match both _HID and _CID

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Dec 29 12:46:43 2019 UTC (5 years, 3 months ago) by jmcneill
Branches: MAIN
CVS tags: ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +9 -2 lines
Read clock frequency from device properties

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Oct 15 00:13:52 2019 UTC (5 years, 6 months ago) by chs
Branches: MAIN
CVS tags: phil-wifi-20191119
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -8 lines
convert more KM_NOSLEEP to KM_SLEEP and remove code to handle failures.

Revision 1.5.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:05 2019 UTC (5 years, 10 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +13 -26 lines
Sync with HEAD

Revision 1.4.14.2: download - view: text, markup, annotated - select for diffs
Mon Nov 26 01:52:30 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.4.14.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.14.1: +13 -26 lines
Sync with HEAD, resolve a couple of conflicts

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Nov 17 07:06:25 2018 UTC (6 years, 5 months ago) by kre
Branches: MAIN
CVS tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, 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.6: preferred, colored
Changes since revision 1.6: +4 -3 lines
Attempt to appease gcc and unbreak i386 build.   Should be NFC.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Nov 16 23:05:50 2018 UTC (6 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +12 -26 lines
Use acpi_md_intr_establish/disestablish to handle device IRQs. The existing
code abused AcpiOsInstallInterruptHandler, which is meant for installing
the SCI handler.

Revision 1.4.14.1: download - view: text, markup, annotated - select for diffs
Mon May 21 04:36:05 2018 UTC (6 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +6 -2 lines
Sync with HEAD

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue May 8 03:27:17 2018 UTC (6 years, 11 months ago) by mlelstv
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +6 -2 lines
Bail if we have a zero-length memory resource.

Revision 1.4.12.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:58 2017 UTC (7 years, 4 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.4.12.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.12.1: +304 -0 lines
update from HEAD

Revision 1.2.2.4: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:52:01 2017 UTC (7 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.2.2.3: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.3: +112 -25 lines
Sync with HEAD

Revision 1.3.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:44 2017 UTC (8 years ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +112 -25 lines
Sync with HEAD

Revision 1.2.4.1: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:27 2017 UTC (8 years, 1 month ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +115 -25 lines
Sync with HEAD

Revision 1.4.12.1
Fri Feb 17 10:51:48 2017 UTC (8 years, 2 months ago) by jdolecek
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.4: +0 -304 lines
file sdhc_acpi.c was added on branch tls-maxphys on 2017-12-03 11:36:58 +0000

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Feb 17 10:51:48 2017 UTC (8 years, 2 months ago) by nonaka
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-compat-base, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, 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, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Branch point for: tls-maxphys, pgoyette-compat
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +112 -25 lines
sdhc(4): hardware reset support for Intel eMMC controller

Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:40 2016 UTC (8 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.2.2.2: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.2: +5 -2 lines
Sync with HEAD

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Aug 11 01:54:30 2016 UTC (8 years, 8 months ago) by nonaka
Branches: 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
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -2 lines
Enable DMA transfer.

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:25:01 2016 UTC (8 years, 9 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.1: +214 -0 lines
Sync with HEAD

Revision 1.2.2.1
Wed Jun 22 05:39:49 2016 UTC (8 years, 10 months ago) by skrll
Branches: nick-nhusb
FILE REMOVED
Changes since revision 1.2: +0 -214 lines
file sdhc_acpi.c was added on branch nick-nhusb on 2016-07-09 20:25:01 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Jun 22 05:39:49 2016 UTC (8 years, 10 months ago) by nonaka
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20160907
Branch point for: pgoyette-localcount, nick-nhusb
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -11 lines
remove unused variable.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Jun 21 11:35:47 2016 UTC (8 years, 10 months ago) by nonaka
Branches: MAIN
Add sdhc(4) at acpi support

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>