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


Default branch: MAIN


Revision 1.20 / (download) - annotate - [select for diffs], Sun Feb 6 15:52:20 2022 UTC (2 years, 2 months ago) by jmcneill
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, 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
Changes since 1.19: +2 -3 lines
Diff to previous 1.19 (colored) to selected 1.9.2.1 (colored)

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) - annotate - [select for diffs], Sat Jan 15 18:02:33 2022 UTC (2 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.18: +4 -4 lines
Diff to previous 1.18 (colored) to selected 1.9.2.1 (colored)

32-bit build fix

Revision 1.18 / (download) - annotate - [select for diffs], Sat Jan 15 15:54:40 2022 UTC (2 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.17: +6 -8 lines
Diff to previous 1.17 (colored) to selected 1.9.2.1 (colored)

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) - annotate - [select for diffs], Sat Jan 15 14:49:43 2022 UTC (2 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.16: +62 -2 lines
Diff to previous 1.16 (colored) to selected 1.9.2.1 (colored)

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) - annotate - [select for diffs], Tue Jan 11 22:32:44 2022 UTC (2 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.15: +21 -2 lines
Diff to previous 1.15 (colored) to selected 1.9.2.1 (colored)

acpi: sdhc: Support sdhci-caps and sdhci-caps-mask properties.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Dec 28 13:41:12 2021 UTC (2 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.14: +5 -3 lines
Diff to previous 1.14 (colored) to selected 1.9.2.1 (colored)

acpi: sdhc: Ignore clkbase register if clock-frequency property is present

Revision 1.5.2.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:18 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.5.2.2: +3 -6 lines
Diff to previous 1.5.2.2 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored) to selected 1.9.2.1 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:02 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.5.2.1: +37 -16 lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored) to selected 1.9.2.1 (colored)

Merge changes from current as of 20200406

Revision 1.9.2.1 / (download) - annotate - [selected], Sat Feb 29 20:19:07 2020 UTC (4 years, 1 month ago) by ad
Branch: ad-namecache
Changes since 1.9: +30 -16 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Sync with head.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Feb 1 20:11:24 2020 UTC (4 years, 2 months ago) by tnn
Branch: 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
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored) to selected 1.9.2.1 (colored)

fix build

Revision 1.13 / (download) - annotate - [select for diffs], Sat Feb 1 19:11:59 2020 UTC (4 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.12: +20 -17 lines
Diff to previous 1.12 (colored) to selected 1.9.2.1 (colored)

use designated initializers

Revision 1.12 / (download) - annotate - [select for diffs], Sat Feb 1 18:24:24 2020 UTC (4 years, 2 months ago) by jmcneill
Branch: MAIN
Changes since 1.11: +15 -15 lines
Diff to previous 1.11 (colored) to selected 1.9.2.1 (colored)

appease -Werror=missing-field-initializers

Revision 1.11 / (download) - annotate - [select for diffs], Sat Feb 1 13:40:55 2020 UTC (4 years, 2 months ago) by jmcneill
Branch: MAIN
Changes since 1.10: +12 -2 lines
Diff to previous 1.10 (colored) to selected 1.9.2.1 (colored)

Add NXP/Freescale ESDHC specific support

Revision 1.10 / (download) - annotate - [select for diffs], Sat Feb 1 13:09:08 2020 UTC (4 years, 2 months ago) by jmcneill
Branch: MAIN
Changes since 1.9: +4 -3 lines
Diff to previous 1.9 (colored) to selected 1.9.2.1 (colored)

Use acpi_match_hid to match both _HID and _CID

Revision 1.9 / (download) - annotate - [select for diffs], Sun Dec 29 12:46:43 2019 UTC (4 years, 3 months ago) by jmcneill
Branch: MAIN
CVS Tags: ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.8: +9 -2 lines
Diff to previous 1.8 (colored) to selected 1.9.2.1 (colored)

Read clock frequency from device properties

Revision 1.8 / (download) - annotate - [select for diffs], Tue Oct 15 00:13:52 2019 UTC (4 years, 6 months ago) by chs
Branch: MAIN
CVS Tags: phil-wifi-20191119
Changes since 1.7: +3 -8 lines
Diff to previous 1.7 (colored) to selected 1.9.2.1 (colored)

convert more KM_NOSLEEP to KM_SLEEP and remove code to handle failures.

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:05 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.5: +13 -26 lines
Diff to previous 1.5 (colored) to selected 1.9.2.1 (colored)

Sync with HEAD

Revision 1.4.14.2 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:30 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.4.14.1: +13 -26 lines
Diff to previous 1.4.14.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored) to selected 1.9.2.1 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.7 / (download) - annotate - [select for diffs], Sat Nov 17 07:06:25 2018 UTC (5 years, 5 months ago) by kre
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, 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, isaki-audio2-base, isaki-audio2
Changes since 1.6: +4 -3 lines
Diff to previous 1.6 (colored) to selected 1.9.2.1 (colored)

Attempt to appease gcc and unbreak i386 build.   Should be NFC.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Nov 16 23:05:50 2018 UTC (5 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.5: +12 -26 lines
Diff to previous 1.5 (colored) to selected 1.9.2.1 (colored)

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) - annotate - [select for diffs], Mon May 21 04:36:05 2018 UTC (5 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.4: +6 -2 lines
Diff to previous 1.4 (colored) to selected 1.9.2.1 (colored)

Sync with HEAD

Revision 1.5 / (download) - annotate - [select for diffs], Tue May 8 03:27:17 2018 UTC (5 years, 11 months ago) by mlelstv
Branch: 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
Changes since 1.4: +6 -2 lines
Diff to previous 1.4 (colored) to selected 1.9.2.1 (colored)

Bail if we have a zero-length memory resource.

Revision 1.4.12.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:58 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.4.12.1: +304 -0 lines
Diff to previous 1.4.12.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored) to selected 1.9.2.1 (colored)

update from HEAD

Revision 1.2.2.4 / (download) - annotate - [select for diffs], Mon Aug 28 17:52:01 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.2.2.3: +112 -25 lines
Diff to previous 1.2.2.3 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.9.2.1 (colored)

Sync with HEAD

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:44 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.3: +112 -25 lines
Diff to previous 1.3 (colored) next main 1.4 (colored) to selected 1.9.2.1 (colored)

Sync with HEAD

Revision 1.2.4.1 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:27 2017 UTC (7 years, 1 month ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.2: +115 -25 lines
Diff to previous 1.2 (colored) next main 1.3 (colored) to selected 1.9.2.1 (colored)

Sync with HEAD

Revision 1.4.12.1, Fri Feb 17 10:51:48 2017 UTC (7 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.4: +0 -304 lines
FILE REMOVED

file sdhc_acpi.c was added on branch tls-maxphys on 2017-12-03 11:36:58 +0000

Revision 1.4 / (download) - annotate - [select for diffs], Fri Feb 17 10:51:48 2017 UTC (7 years, 2 months ago) by nonaka
Branch: 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-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
Changes since 1.3: +112 -25 lines
Diff to previous 1.3 (colored) to selected 1.9.2.1 (colored)

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

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:40 2016 UTC (7 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.2.2.2: +5 -2 lines
Diff to previous 1.2.2.2 (colored) to branchpoint 1.2 (colored) to selected 1.9.2.1 (colored)

Sync with HEAD

Revision 1.3 / (download) - annotate - [select for diffs], Thu Aug 11 01:54:30 2016 UTC (7 years, 8 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.2: +5 -2 lines
Diff to previous 1.2 (colored) to selected 1.9.2.1 (colored)

Enable DMA transfer.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Sat Jul 9 20:25:01 2016 UTC (7 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.2.2.1: +214 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) to selected 1.9.2.1 (colored)

Sync with HEAD

Revision 1.2.2.1, Wed Jun 22 05:39:49 2016 UTC (7 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.2: +0 -214 lines
FILE REMOVED

file sdhc_acpi.c was added on branch nick-nhusb on 2016-07-09 20:25:01 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 22 05:39:49 2016 UTC (7 years, 9 months ago) by nonaka
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20160907
Branch point for: pgoyette-localcount, nick-nhusb
Changes since 1.1: +2 -11 lines
Diff to previous 1.1 (colored) to selected 1.9.2.1 (colored)

remove unused variable.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Jun 21 11:35:47 2016 UTC (7 years, 9 months ago) by nonaka
Branch: MAIN
Diff to selected 1.9.2.1 (colored)

Add sdhc(4) at acpi support

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>