The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.24 / (download) - annotate - [select for diffs], Sat Mar 19 11:37:17 2022 UTC (2 years ago) by riastradh
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.23: +3 -3 lines
Diff to previous 1.23 (colored)

tegra124_car(4): Attach rndsource synchronously.

It looks like the original motivation for deferring to
config_interrupts was to wait until softint_establish worked.  But
this no longer needs to use softints to deliver the entropy, so
that's moot.

Doing this synchronously gives us a better chance for more entropy
earlier.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Mar 19 11:36:53 2022 UTC (2 years ago) by riastradh
Branch: MAIN
Changes since 1.22: +2 -6 lines
Diff to previous 1.22 (colored)

tegra124_car(4): No need for rnd lock -- delete it.

This only ever reads from a single device register, so no need to
serialize access.

XXX This should really have a hardware-specific health test, but I
can't find any documentation on the underlying physical entropy
source.

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:17 2021 UTC (3 years ago) by thorpej
Branch: thorpej-futex
Changes since 1.21: +9 -8 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Sync with HEAD.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Jan 27 03:10:19 2021 UTC (3 years, 2 months ago) by thorpej
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-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
Changes since 1.21: +9 -8 lines
Diff to previous 1.21 (colored)

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.21 / (download) - annotate - [select for diffs], Wed Aug 12 10:21:00 2020 UTC (3 years, 8 months ago) by jmcneill
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.20: +4 -2 lines
Diff to previous 1.20 (colored)

Add CEC clock

Revision 1.20 / (download) - annotate - [select for diffs], Thu Apr 30 03:40:52 2020 UTC (3 years, 11 months ago) by riastradh
Branch: MAIN
Changes since 1.19: +2 -4 lines
Diff to previous 1.19 (colored)

rnd_attach_source calls the callback itself now.

No need for every driver to explicitly call it to prime the pool.

Eliminate now-unused <sys/rndpool.h>.

Revision 1.14.6.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:36 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.14.6.1: +3 -3 lines
Diff to previous 1.14.6.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.19 / (download) - annotate - [select for diffs], Sun Oct 13 06:11:31 2019 UTC (4 years, 6 months ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

Restore %# for PRIxBUSADDR

Revision 1.18 / (download) - annotate - [select for diffs], Sun Oct 13 05:57:14 2019 UTC (4 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

Use PRIxBUSADDR

Revision 1.14.6.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:55 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.14: +21 -5 lines
Diff to previous 1.14 (colored)

Sync with HEAD

Revision 1.17 / (download) - annotate - [select for diffs], Sat Mar 9 19:41:26 2019 UTC (5 years, 1 month ago) by jakllsch
Branch: MAIN
CVS Tags: phil-wifi-20190609, 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.16: +13 -2 lines
Diff to previous 1.16 (colored)

Add Tegra124 "mselect" clock and two PCIe-related clocks it sources.

With mainline u-boot (not starting the pci subsystem in the firmware):
Gets to a root prompt instead of hanging during tegrapcie attach, but
PCIe remains non-functional without a modern "xusbpad" phy driver for
Tegra124 (needed to configure the lane map).

Revision 1.14.4.1 / (download) - annotate - [select for diffs], Sun Sep 30 01:45:38 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.14: +10 -5 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Ssync with HEAD

Revision 1.16 / (download) - annotate - [select for diffs], Wed Sep 26 22:32:46 2018 UTC (5 years, 6 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930
Changes since 1.15: +6 -3 lines
Diff to previous 1.15 (colored)

Register clocks with clk_attach

Revision 1.15 / (download) - annotate - [select for diffs], Sun Sep 9 07:21:17 2018 UTC (5 years, 7 months ago) by aymeric
Branch: MAIN
Changes since 1.14: +6 -4 lines
Diff to previous 1.14 (colored)

Pass clock provider's phandle to fdtbus_clock_controller_func.decode()
and update callers.

This allows to accomodate clock managers whose clocks are identified
directly by a clock instead of a pair (clock provider, index).

ok jmcneill@ on port-arm

Revision 1.14.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:35:54 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.14.2.1: +1567 -0 lines
Diff to previous 1.14.2.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

update from HEAD

Revision 1.2.2.5 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:31 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.2.2.4: +99 -9 lines
Diff to previous 1.2.2.4 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with HEAD

Revision 1.14.2.1, Fri Jul 21 01:01:22 2017 UTC (6 years, 8 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.14: +0 -1567 lines
FILE REMOVED

file tegra124_car.c was added on branch tls-maxphys on 2017-12-03 11:35:54 +0000

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jul 21 01:01:22 2017 UTC (6 years, 8 months ago) by jmcneill
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, phil-wifi-base, pgoyette-compat-base, pgoyette-compat-0906, pgoyette-compat-0728, 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
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

Add support for NVIDIA Tegra X1.

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Tue May 2 03:19:16 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: prg-localcount2
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Sync with HEAD - tag prg-localcount2-base1

Revision 1.13 / (download) - annotate - [select for diffs], Sat Apr 29 11:00:17 2017 UTC (6 years, 11 months ago) by jmcneill
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, perseant-stdc-iso10646-base, perseant-stdc-iso10646, 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
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored)

add APB-DMA clock gate

Revision 1.2.4.3 / (download) - annotate - [select for diffs], Wed Apr 26 02:53:00 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.2.4.2: +158 -14 lines
Diff to previous 1.2.4.2 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with HEAD

Revision 1.12 / (download) - annotate - [select for diffs], Wed Apr 26 01:43:00 2017 UTC (6 years, 11 months ago) by jmcneill
Branch: MAIN
CVS Tags: prg-localcount2-base
Branch point for: prg-localcount2
Changes since 1.11: +3 -2 lines
Diff to previous 1.11 (colored)

Set host1x parent to pll_p_out0

Revision 1.11 / (download) - annotate - [select for diffs], Sat Apr 22 17:40:47 2017 UTC (6 years, 11 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-localcount-20170426
Changes since 1.10: +32 -4 lines
Diff to previous 1.10 (colored)

Fix fractional divider calculations and round down for sdmmc clocks.

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:23 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.8: +66 -6 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync with HEAD

Revision 1.10 / (download) - annotate - [select for diffs], Sun Apr 16 12:28:21 2017 UTC (7 years ago) by jmcneill
Branch: MAIN
CVS Tags: bouyer-socketcan-base1
Changes since 1.9: +65 -6 lines
Diff to previous 1.9 (colored)

Add support for multiple clock domains in clk API.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Apr 14 09:50:56 2017 UTC (7 years ago) by jmcneill
Branch: MAIN
Changes since 1.8: +3 -2 lines
Diff to previous 1.8 (colored)

Add GPU gating clock

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:11 2017 UTC (7 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.2.4.1: +3 -3 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored)

Sync with HEAD

Revision 1.2.2.4 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:04 2017 UTC (7 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.2.2.3: +15 -47 lines
Diff to previous 1.2.2.3 (colored) to branchpoint 1.2 (colored)

Sync with HEAD

Revision 1.8 / (download) - annotate - [select for diffs], Thu Jan 12 01:12:08 2017 UTC (7 years, 3 months ago) by maya
Branch: MAIN
CVS Tags: pgoyette-localcount-20170320, nick-nhusb-base-20170204, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

fix off by one.

ok riastradh

Revision 1.2.4.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:11 2017 UTC (7 years, 3 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.2: +14 -46 lines
Diff to previous 1.2 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.7 / (download) - annotate - [select for diffs], Sat Dec 17 15:24:35 2016 UTC (7 years, 4 months ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107
Changes since 1.6: +14 -46 lines
Diff to previous 1.6 (colored)

Simplify bcm2835, tegra, and am335x hardware RNG drivers.

Tested by nick@.

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

Sync with HEAD

Revision 1.6 / (download) - annotate - [select for diffs], Thu Sep 8 00:38:23 2016 UTC (7 years, 7 months ago) by jakllsch
Branch: MAIN
CVS Tags: pgoyette-localcount-20161104, nick-nhusb-base-20161204, nick-nhusb-base-20161004, localcount-20160914
Changes since 1.5: +82 -2 lines
Diff to previous 1.5 (colored)

Add Tegra124 CAR bits to support the XUSB xHCI core.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Sep 2 19:06:58 2016 UTC (7 years, 7 months ago) by jakllsch
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

Source of pll_p_out5 is not div_pllp_out5 but div_pll_p_out5.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Aug 17 19:08:18 2016 UTC (7 years, 8 months ago) by jakllsch
Branch: MAIN
Changes since 1.3: +35 -8 lines
Diff to previous 1.3 (colored)

Complete implementation of clocks for SPI controllers in tegra124_car.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Aug 17 00:09:19 2016 UTC (7 years, 8 months ago) by jakllsch
Branch: MAIN
Changes since 1.2: +32 -13 lines
Diff to previous 1.2 (colored)

Fix I2C clock calculations.  Previously I2C clocks were half what was
requested.  The I2C clock registers have a LSB of one-half rather than
one-whole like the rest of them.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:31 2015 UTC (8 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.2.2.1: +1383 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.2.2.1, Wed Dec 23 12:43:25 2015 UTC (8 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.2: +0 -1383 lines
FILE REMOVED

file tegra124_car.c was added on branch nick-nhusb on 2015-12-27 12:09:31 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Wed Dec 23 12:43:25 2015 UTC (8 years, 3 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, nick-nhusb
Changes since 1.1: +9 -8 lines
Diff to previous 1.1 (colored)

fix divider calculations for hdmi, and treat clock ID 211 as pll_p_out0 instead of directly pll_p

Revision 1.1 / (download) - annotate - [select for diffs], Tue Dec 22 22:10:36 2015 UTC (8 years, 3 months ago) by jmcneill
Branch: MAIN

Switch Tegra over to fdt based clocks and reset controls.

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>