The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.22 / (download) - annotate - [select for diffs], Sat Feb 15 08:16:11 2020 UTC (4 years, 2 months ago) by skrll
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, 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, thorpej-altq-separation-base, thorpej-altq-separation, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, 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, 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, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, HEAD
Changes since 1.21: +23 -16 lines
Diff to previous 1.21 (colored)

Various updates and improvements to cpu start up on arm/aarch64

- start sharing more code around the AP startup messaging.
- call arm_cpu_topology_set early so that ci_core_id is available for
  drivers, e.g. bcm2835_intr.c
- both arm and aarch64 now have
  - a static cpu_info_store array
  - the same arm_cpu_{hatched,mbox}

Revision 1.21 / (download) - annotate - [select for diffs], Thu Jan 31 13:19:19 2019 UTC (5 years, 2 months ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-20191119, 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, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

Fix another build

Revision 1.20 / (download) - annotate - [select for diffs], Thu Jan 31 13:06:10 2019 UTC (5 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.19: +12 -4 lines
Diff to previous 1.19 (colored)

Change ap_mpstart to return non-zero value if any/all APs don't start.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Oct 18 09:01:53 2018 UTC (5 years, 5 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020
Changes since 1.18: +6 -5 lines
Diff to previous 1.18 (colored)

Provide generic start code that assumes the MMU is off and caches are
disabled as per the linux booting protocol for ARMv6 and ARMv7 boards.
u-boot image type should be changed to 'linux' for correct behaviour.

The new start code builds a minimal "bootstrap" L1PT with cached access
disabled and uses the same table for all processors.  AP startup is
performed in less steps and more code is written in C.

The bootstrap tables and stack are placed into an (orphaned) section
"_init_memory" which is given to uvm when it is no longer used.

Various kernels have been converted to use this code and tested.  Some
boards were provided by TNF. Thanks!

The GENERIC kernel now boots on boards using the TEGRA, SUNXI and EXYNOS
kernels. The GENERIC kernel will also work on RPI2 using u-boot.

Thanks to martin@ and aymeric@ for testing on parallella and nanosoc
respectively

Revision 1.18 / (download) - annotate - [select for diffs], Sat Jul 7 20:16:16 2018 UTC (5 years, 9 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

Use arm_generic_bs_tag instead of armv7_generic_bs_tag and conditionally
define SOC platform support (so we don't try to build 32-bit support into
64-bit kernels).

Revision 1.17 / (download) - annotate - [select for diffs], Sun Apr 23 12:31:38 2017 UTC (6 years, 11 months ago) by jmcneill
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-20170426, 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, 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
Branch point for: tls-maxphys, phil-wifi, pgoyette-compat
Changes since 1.16: +4 -255 lines
Diff to previous 1.16 (colored)

Split cpufreq driver out into a separate module.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Apr 22 23:53:24 2017 UTC (6 years, 11 months ago) by jmcneill
Branch: MAIN
Changes since 1.15: +67 -40 lines
Diff to previous 1.15 (colored)

Get rid of tegra_cpuinit after scanning fdt and attach the cpufreq support
to the /cpus node. Use regulator API instead of poking directly at the I2C
controller to set voltages.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Apr 17 00:43:42 2017 UTC (7 years ago) by jmcneill
Branch: MAIN
CVS Tags: bouyer-socketcan-base1
Changes since 1.14: +14 -3 lines
Diff to previous 1.14 (colored)

Set cpu_cc_freq when changing frequencies.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Apr 16 12:26:04 2017 UTC (7 years ago) by jmcneill
Branch: MAIN
Changes since 1.13: +10 -8 lines
Diff to previous 1.13 (colored)

get cpu pll clock from devicetree

Revision 1.13 / (download) - annotate - [select for diffs], Thu Apr 13 21:20:44 2017 UTC (7 years ago) by jmcneill
Branch: MAIN
Changes since 1.12: +6 -4 lines
Diff to previous 1.12 (colored)

DT ode path to i2c controller with ams3722 has changed from /i2c@0,7000d000
to /i2c@7000d000 in newer dts files. Support both paths for cpufreq
scaling.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Dec 22 22:10:36 2015 UTC (8 years, 3 months ago) by jmcneill
Branch: 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
Changes since 1.11: +33 -8 lines
Diff to previous 1.11 (colored)

Switch Tegra over to fdt based clocks and reset controls.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Dec 1 22:08:13 2015 UTC (8 years, 4 months ago) by jmcneill
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

replace 2292MHz entry with 2316MHz

Revision 1.10 / (download) - annotate - [select for diffs], Sat Nov 21 22:52:31 2015 UTC (8 years, 4 months ago) by jmcneill
Branch: MAIN
Changes since 1.9: +13 -13 lines
Diff to previous 1.9 (colored)

Apply initial fuse offset in tegra_fuse_read instead of in each reg def

Revision 1.9 / (download) - annotate - [select for diffs], Sat Nov 21 12:09:39 2015 UTC (8 years, 4 months ago) by jmcneill
Branch: MAIN
Changes since 1.8: +111 -6 lines
Diff to previous 1.8 (colored)

Add FUSE driver, use it to determine maximum CPU frequency for the board.
Retire CPUFREQ_BOOT option and always use highest available CPU frequency.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Nov 12 10:31:29 2015 UTC (8 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Standard mode for I2C needs a source divider of 20, not 2.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Nov 11 12:49:10 2015 UTC (8 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.6: +7 -4 lines
Diff to previous 1.6 (colored)

make VDD_CPU programming a bit easier to understand, and while here, actually program it to 1.4V as intended instead of 1.39V

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jun 3 11:43:18 2015 UTC (8 years, 10 months ago) by skrll
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921, nick-nhusb-base-20150606
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

Use arm_dmb.  No functional change

Revision 1.5 / (download) - annotate - [select for diffs], Sun May 31 14:42:56 2015 UTC (8 years, 10 months ago) by jmcneill
Branch: MAIN
Changes since 1.4: +7 -2 lines
Diff to previous 1.4 (colored)

set VDD_CPU to 1.4V

Revision 1.4 / (download) - annotate - [select for diffs], Sun May 17 06:15:50 2015 UTC (8 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.3: +8 -8 lines
Diff to previous 1.3 (colored)

Restructure a bit to make spinning a subset of cores easier.

Revision 1.3 / (download) - annotate - [select for diffs], Wed May 13 11:06:13 2015 UTC (8 years, 11 months ago) by jmcneill
Branch: MAIN
Changes since 1.2: +76 -2 lines
Diff to previous 1.2 (colored)

Tegra K1 CPU frequency scaling support.

jetsontk1# sysctl machdep.cpu
machdep.cpu.frequency.target = 2292
machdep.cpu.frequency.current = 2292
machdep.cpu.frequency.available = 2292 2100 1896 1692 1500 1296 1092 900 696

Revision 1.2 / (download) - annotate - [select for diffs], Sun Apr 26 22:04:28 2015 UTC (8 years, 11 months ago) by jmcneill
Branch: MAIN
Changes since 1.1: +25 -3 lines
Diff to previous 1.1 (colored)

add Tegra124 MP support

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 29 10:41:59 2015 UTC (9 years ago) by jmcneill
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406
Branch point for: nick-nhusb

NVIDIA Tegra K1 support, work in progress.

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>