History log of /netbsd-current/sys/arch/arm/nvidia/tegra_var.h
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: isaki-audio2-base
# 1.46 31-Jan-2019 skrll

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


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.45 14-Dec-2018 skrll

Support SATA on TEGRA210

Thanks to jmcneill for help with this.


Revision tags: pgoyette-compat-1126 pgoyette-compat-1020
# 1.44 18-Oct-2018 skrll

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 tags: pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728
# 1.43 07-Jul-2018 jmcneill

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 tags: phil-wifi-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 pgoyette-compat-base tls-maxphys-base-20171202
# 1.42 24-Sep-2017 jmcneill

branches: 1.42.2; 1.42.4;
More XUSB init. A USB3 memory stick seems to work now.


# 1.41 22-Sep-2017 jmcneill

Replace unused mpio driver with a more generic interface for pinmux, and
add Tegra210 pinmux support.


# 1.40 19-Sep-2017 jmcneill

The xusbpad driver is tegra 124 specific so split it out into a separate
driver. Add (not yet working) tegra 210 support to the xusb driver.


Revision tags: nick-nhusb-base-20170825
# 1.39 20-Jul-2017 jmcneill

Get rid of tegra_chip_id/tegra_chip_name and rely on FDT for this info.


Revision tags: netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base
# 1.38 02-Jun-2017 jmcneill

FDT-ize "delay" by having fdt_machdep provide the delay() function and
move the implementations into the platform code.


# 1.37 28-May-2017 jmcneill

Enumerate CPUs, GIC, and generic timer using FDT data instead of relying
on hard-coded tables in mainbus.


# 1.36 27-May-2017 jmcneill

tegra_dma_bootstrap is no more


# 1.35 25-May-2017 jmcneill

Chip detection and MP spinup code for Tegra210


# 1.34 25-May-2017 jmcneill

Add Tegra210 chip ID.


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426
# 1.33 22-Apr-2017 jmcneill

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.


# 1.32 21-Apr-2017 jmcneill

Get the physical memory layout from the /memory node instead of reading
from the memory controller registers.


Revision tags: bouyer-socketcan-base1
# 1.31 14-Apr-2017 jmcneill

Only route USB ports to XHCI controller after the firmware is loaded
successfully. This gives us working USB (via USB2 controllers) until the
tegra-firmware package is installed.


Revision tags: jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422
# 1.30 26-Mar-2016 skrll

branches: 1.30.2; 1.30.4;
G/C old structs


Revision tags: nick-nhusb-base-20160319 nick-nhusb-base-20151226
# 1.29 22-Dec-2015 jmcneill

tegra_car_* and tegra_i2c_dvc_write are no more


# 1.28 21-Nov-2015 jmcneill

Add SOC_THERM temperature sensor driver:

# envstat -d tegrasoctherm0
Current CritMax WarnMax WarnMin CritMin Unit
CPU0: 27.500 degC
CPU1: 27.500 degC
CPU2: 29.500 degC
CPU3: 29.000 degC
MEM0: 26.500 degC
MEM1: 27.000 degC
GPU: 27.000 degC
PLLX: 28.000 degC


# 1.27 21-Nov-2015 jmcneill

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


# 1.26 19-Nov-2015 jmcneill

Remove HOST1X and AHB_A2 from pmap_devmap


# 1.25 17-Oct-2015 jmcneill

add support for enabling the GPU


Revision tags: nick-nhusb-base-20150921
# 1.24 01-Aug-2015 jmcneill

Add driver for Tegra HDMI CEC controller.


# 1.23 23-Jul-2015 jmcneill

Support fractional dividers. This lets us use 48MHz for SDMMC HS mode
instead of 45.333MHz.


# 1.22 08-Jul-2015 jmcneill

expose EDID to userland


Revision tags: nick-nhusb-base-20150606
# 1.21 31-May-2015 jmcneill

add external function for writing to dvc (I2C5) devices


# 1.20 30-May-2015 jmcneill

Tegra K1 Watchdog support.


# 1.19 18-May-2015 jmcneill

Make sure HDMI I/O is not in deep power down mode


# 1.18 18-May-2015 jmcneill

Power-on Host1x subsystem


# 1.17 18-May-2015 jmcneill

Work in progress HDMI / framebuffer support for Tegra K1.


# 1.16 15-May-2015 jmcneill

more Tegra SATA init


# 1.15 13-May-2015 jmcneill

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


# 1.14 10-May-2015 jmcneill

Tegra I2C driver


# 1.13 10-May-2015 jmcneill

Tegra SATA ungating support


# 1.12 10-May-2015 jmcneill

Tegra HD audio support (untested as it is for HDMI output)


# 1.11 09-May-2015 jmcneill

Tegra USB PHY support


# 1.10 09-May-2015 jmcneill

add tegra_car_pllu_rate


# 1.9 07-May-2015 jmcneill

add Tegra MPIO / Pinmux driver


# 1.8 03-May-2015 jmcneill

add pllc and uart rate funcs


# 1.7 03-May-2015 jmcneill

Add Tegra K1 PCIE support.


# 1.6 02-May-2015 jmcneill

simplify gpio kpi


# 1.5 02-May-2015 jmcneill

add GPIO support


# 1.4 28-Apr-2015 jmcneill

Add a basic driver for the Clock and Reset controller, use it to determine
CPU frequency.


# 1.3 26-Apr-2015 jmcneill

add Tegra124 MP support


Revision tags: nick-nhusb-base-20150406
# 1.2 29-Mar-2015 jmcneill

branches: 1.2.2;
Use shared armv7_generic_space


# 1.1 29-Mar-2015 jmcneill

NVIDIA Tegra K1 support, work in progress.


# 1.42 24-Sep-2017 jmcneill

More XUSB init. A USB3 memory stick seems to work now.


# 1.41 22-Sep-2017 jmcneill

Replace unused mpio driver with a more generic interface for pinmux, and
add Tegra210 pinmux support.


# 1.40 19-Sep-2017 jmcneill

The xusbpad driver is tegra 124 specific so split it out into a separate
driver. Add (not yet working) tegra 210 support to the xusb driver.


Revision tags: nick-nhusb-base-20170825
# 1.39 20-Jul-2017 jmcneill

Get rid of tegra_chip_id/tegra_chip_name and rely on FDT for this info.


Revision tags: perseant-stdc-iso10646-base netbsd-8-base
# 1.38 02-Jun-2017 jmcneill

FDT-ize "delay" by having fdt_machdep provide the delay() function and
move the implementations into the platform code.


# 1.37 28-May-2017 jmcneill

Enumerate CPUs, GIC, and generic timer using FDT data instead of relying
on hard-coded tables in mainbus.


# 1.36 27-May-2017 jmcneill

tegra_dma_bootstrap is no more


# 1.35 25-May-2017 jmcneill

Chip detection and MP spinup code for Tegra210


# 1.34 25-May-2017 jmcneill

Add Tegra210 chip ID.


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426
# 1.33 22-Apr-2017 jmcneill

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.


# 1.32 21-Apr-2017 jmcneill

Get the physical memory layout from the /memory node instead of reading
from the memory controller registers.


Revision tags: bouyer-socketcan-base1
# 1.31 14-Apr-2017 jmcneill

Only route USB ports to XHCI controller after the firmware is loaded
successfully. This gives us working USB (via USB2 controllers) until the
tegra-firmware package is installed.


Revision tags: jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422
# 1.30 26-Mar-2016 skrll

branches: 1.30.2; 1.30.4;
G/C old structs


Revision tags: nick-nhusb-base-20160319 nick-nhusb-base-20151226
# 1.29 22-Dec-2015 jmcneill

tegra_car_* and tegra_i2c_dvc_write are no more


# 1.28 21-Nov-2015 jmcneill

Add SOC_THERM temperature sensor driver:

# envstat -d tegrasoctherm0
Current CritMax WarnMax WarnMin CritMin Unit
CPU0: 27.500 degC
CPU1: 27.500 degC
CPU2: 29.500 degC
CPU3: 29.000 degC
MEM0: 26.500 degC
MEM1: 27.000 degC
GPU: 27.000 degC
PLLX: 28.000 degC


# 1.27 21-Nov-2015 jmcneill

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


# 1.26 19-Nov-2015 jmcneill

Remove HOST1X and AHB_A2 from pmap_devmap


# 1.25 17-Oct-2015 jmcneill

add support for enabling the GPU


Revision tags: nick-nhusb-base-20150921
# 1.24 01-Aug-2015 jmcneill

Add driver for Tegra HDMI CEC controller.


# 1.23 23-Jul-2015 jmcneill

Support fractional dividers. This lets us use 48MHz for SDMMC HS mode
instead of 45.333MHz.


# 1.22 08-Jul-2015 jmcneill

expose EDID to userland


Revision tags: nick-nhusb-base-20150606
# 1.21 31-May-2015 jmcneill

add external function for writing to dvc (I2C5) devices


# 1.20 30-May-2015 jmcneill

Tegra K1 Watchdog support.


# 1.19 18-May-2015 jmcneill

Make sure HDMI I/O is not in deep power down mode


# 1.18 18-May-2015 jmcneill

Power-on Host1x subsystem


# 1.17 18-May-2015 jmcneill

Work in progress HDMI / framebuffer support for Tegra K1.


# 1.16 15-May-2015 jmcneill

more Tegra SATA init


# 1.15 13-May-2015 jmcneill

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


# 1.14 10-May-2015 jmcneill

Tegra I2C driver


# 1.13 10-May-2015 jmcneill

Tegra SATA ungating support


# 1.12 10-May-2015 jmcneill

Tegra HD audio support (untested as it is for HDMI output)


# 1.11 09-May-2015 jmcneill

Tegra USB PHY support


# 1.10 09-May-2015 jmcneill

add tegra_car_pllu_rate


# 1.9 07-May-2015 jmcneill

add Tegra MPIO / Pinmux driver


# 1.8 03-May-2015 jmcneill

add pllc and uart rate funcs


# 1.7 03-May-2015 jmcneill

Add Tegra K1 PCIE support.


# 1.6 02-May-2015 jmcneill

simplify gpio kpi


# 1.5 02-May-2015 jmcneill

add GPIO support


# 1.4 28-Apr-2015 jmcneill

Add a basic driver for the Clock and Reset controller, use it to determine
CPU frequency.


# 1.3 26-Apr-2015 jmcneill

add Tegra124 MP support


Revision tags: nick-nhusb-base-20150406
# 1.2 29-Mar-2015 jmcneill

branches: 1.2.2;
Use shared armv7_generic_space


# 1.1 29-Mar-2015 jmcneill

NVIDIA Tegra K1 support, work in progress.


# 1.39 20-Jul-2017 jmcneill

Get rid of tegra_chip_id/tegra_chip_name and rely on FDT for this info.


Revision tags: perseant-stdc-iso10646-base netbsd-8-base
# 1.38 02-Jun-2017 jmcneill

FDT-ize "delay" by having fdt_machdep provide the delay() function and
move the implementations into the platform code.


# 1.37 28-May-2017 jmcneill

Enumerate CPUs, GIC, and generic timer using FDT data instead of relying
on hard-coded tables in mainbus.


# 1.36 27-May-2017 jmcneill

tegra_dma_bootstrap is no more


# 1.35 25-May-2017 jmcneill

Chip detection and MP spinup code for Tegra210


# 1.34 25-May-2017 jmcneill

Add Tegra210 chip ID.


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426
# 1.33 22-Apr-2017 jmcneill

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.


# 1.32 21-Apr-2017 jmcneill

Get the physical memory layout from the /memory node instead of reading
from the memory controller registers.


Revision tags: bouyer-socketcan-base1
# 1.31 14-Apr-2017 jmcneill

Only route USB ports to XHCI controller after the firmware is loaded
successfully. This gives us working USB (via USB2 controllers) until the
tegra-firmware package is installed.


Revision tags: jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422
# 1.30 26-Mar-2016 skrll

branches: 1.30.2; 1.30.4;
G/C old structs


Revision tags: nick-nhusb-base-20160319 nick-nhusb-base-20151226
# 1.29 22-Dec-2015 jmcneill

tegra_car_* and tegra_i2c_dvc_write are no more


# 1.28 21-Nov-2015 jmcneill

Add SOC_THERM temperature sensor driver:

# envstat -d tegrasoctherm0
Current CritMax WarnMax WarnMin CritMin Unit
CPU0: 27.500 degC
CPU1: 27.500 degC
CPU2: 29.500 degC
CPU3: 29.000 degC
MEM0: 26.500 degC
MEM1: 27.000 degC
GPU: 27.000 degC
PLLX: 28.000 degC


# 1.27 21-Nov-2015 jmcneill

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


# 1.26 19-Nov-2015 jmcneill

Remove HOST1X and AHB_A2 from pmap_devmap


# 1.25 17-Oct-2015 jmcneill

add support for enabling the GPU


Revision tags: nick-nhusb-base-20150921
# 1.24 01-Aug-2015 jmcneill

Add driver for Tegra HDMI CEC controller.


# 1.23 23-Jul-2015 jmcneill

Support fractional dividers. This lets us use 48MHz for SDMMC HS mode
instead of 45.333MHz.


# 1.22 08-Jul-2015 jmcneill

expose EDID to userland


Revision tags: nick-nhusb-base-20150606
# 1.21 31-May-2015 jmcneill

add external function for writing to dvc (I2C5) devices


# 1.20 30-May-2015 jmcneill

Tegra K1 Watchdog support.


# 1.19 18-May-2015 jmcneill

Make sure HDMI I/O is not in deep power down mode


# 1.18 18-May-2015 jmcneill

Power-on Host1x subsystem


# 1.17 18-May-2015 jmcneill

Work in progress HDMI / framebuffer support for Tegra K1.


# 1.16 15-May-2015 jmcneill

more Tegra SATA init


# 1.15 13-May-2015 jmcneill

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


# 1.14 10-May-2015 jmcneill

Tegra I2C driver


# 1.13 10-May-2015 jmcneill

Tegra SATA ungating support


# 1.12 10-May-2015 jmcneill

Tegra HD audio support (untested as it is for HDMI output)


# 1.11 09-May-2015 jmcneill

Tegra USB PHY support


# 1.10 09-May-2015 jmcneill

add tegra_car_pllu_rate


# 1.9 07-May-2015 jmcneill

add Tegra MPIO / Pinmux driver


# 1.8 03-May-2015 jmcneill

add pllc and uart rate funcs


# 1.7 03-May-2015 jmcneill

Add Tegra K1 PCIE support.


# 1.6 02-May-2015 jmcneill

simplify gpio kpi


# 1.5 02-May-2015 jmcneill

add GPIO support


# 1.4 28-Apr-2015 jmcneill

Add a basic driver for the Clock and Reset controller, use it to determine
CPU frequency.


# 1.3 26-Apr-2015 jmcneill

add Tegra124 MP support


Revision tags: nick-nhusb-base-20150406
# 1.2 29-Mar-2015 jmcneill

branches: 1.2.2;
Use shared armv7_generic_space


# 1.1 29-Mar-2015 jmcneill

NVIDIA Tegra K1 support, work in progress.


# 1.38 02-Jun-2017 jmcneill

FDT-ize "delay" by having fdt_machdep provide the delay() function and
move the implementations into the platform code.


# 1.37 28-May-2017 jmcneill

Enumerate CPUs, GIC, and generic timer using FDT data instead of relying
on hard-coded tables in mainbus.


# 1.36 27-May-2017 jmcneill

tegra_dma_bootstrap is no more


# 1.35 25-May-2017 jmcneill

Chip detection and MP spinup code for Tegra210


# 1.34 25-May-2017 jmcneill

Add Tegra210 chip ID.


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426
# 1.33 22-Apr-2017 jmcneill

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.


# 1.32 21-Apr-2017 jmcneill

Get the physical memory layout from the /memory node instead of reading
from the memory controller registers.


Revision tags: bouyer-socketcan-base1
# 1.31 14-Apr-2017 jmcneill

Only route USB ports to XHCI controller after the firmware is loaded
successfully. This gives us working USB (via USB2 controllers) until the
tegra-firmware package is installed.


Revision tags: jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422
# 1.30 26-Mar-2016 skrll

branches: 1.30.2; 1.30.4;
G/C old structs


Revision tags: nick-nhusb-base-20160319 nick-nhusb-base-20151226
# 1.29 22-Dec-2015 jmcneill

tegra_car_* and tegra_i2c_dvc_write are no more


# 1.28 21-Nov-2015 jmcneill

Add SOC_THERM temperature sensor driver:

# envstat -d tegrasoctherm0
Current CritMax WarnMax WarnMin CritMin Unit
CPU0: 27.500 degC
CPU1: 27.500 degC
CPU2: 29.500 degC
CPU3: 29.000 degC
MEM0: 26.500 degC
MEM1: 27.000 degC
GPU: 27.000 degC
PLLX: 28.000 degC


# 1.27 21-Nov-2015 jmcneill

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


# 1.26 19-Nov-2015 jmcneill

Remove HOST1X and AHB_A2 from pmap_devmap


# 1.25 17-Oct-2015 jmcneill

add support for enabling the GPU


Revision tags: nick-nhusb-base-20150921
# 1.24 01-Aug-2015 jmcneill

Add driver for Tegra HDMI CEC controller.


# 1.23 23-Jul-2015 jmcneill

Support fractional dividers. This lets us use 48MHz for SDMMC HS mode
instead of 45.333MHz.


# 1.22 08-Jul-2015 jmcneill

expose EDID to userland


Revision tags: nick-nhusb-base-20150606
# 1.21 31-May-2015 jmcneill

add external function for writing to dvc (I2C5) devices


# 1.20 30-May-2015 jmcneill

Tegra K1 Watchdog support.


# 1.19 18-May-2015 jmcneill

Make sure HDMI I/O is not in deep power down mode


# 1.18 18-May-2015 jmcneill

Power-on Host1x subsystem


# 1.17 18-May-2015 jmcneill

Work in progress HDMI / framebuffer support for Tegra K1.


# 1.16 15-May-2015 jmcneill

more Tegra SATA init


# 1.15 13-May-2015 jmcneill

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


# 1.14 10-May-2015 jmcneill

Tegra I2C driver


# 1.13 10-May-2015 jmcneill

Tegra SATA ungating support


# 1.12 10-May-2015 jmcneill

Tegra HD audio support (untested as it is for HDMI output)


# 1.11 09-May-2015 jmcneill

Tegra USB PHY support


# 1.10 09-May-2015 jmcneill

add tegra_car_pllu_rate


# 1.9 07-May-2015 jmcneill

add Tegra MPIO / Pinmux driver


# 1.8 03-May-2015 jmcneill

add pllc and uart rate funcs


# 1.7 03-May-2015 jmcneill

Add Tegra K1 PCIE support.


# 1.6 02-May-2015 jmcneill

simplify gpio kpi


# 1.5 02-May-2015 jmcneill

add GPIO support


# 1.4 28-Apr-2015 jmcneill

Add a basic driver for the Clock and Reset controller, use it to determine
CPU frequency.


# 1.3 26-Apr-2015 jmcneill

add Tegra124 MP support


Revision tags: nick-nhusb-base-20150406
# 1.2 29-Mar-2015 jmcneill

branches: 1.2.2;
Use shared armv7_generic_space


# 1.1 29-Mar-2015 jmcneill

NVIDIA Tegra K1 support, work in progress.


# 1.37 28-May-2017 jmcneill

Enumerate CPUs, GIC, and generic timer using FDT data instead of relying
on hard-coded tables in mainbus.


# 1.36 27-May-2017 jmcneill

tegra_dma_bootstrap is no more


# 1.35 25-May-2017 jmcneill

Chip detection and MP spinup code for Tegra210


# 1.34 25-May-2017 jmcneill

Add Tegra210 chip ID.


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426
# 1.33 22-Apr-2017 jmcneill

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.


# 1.32 21-Apr-2017 jmcneill

Get the physical memory layout from the /memory node instead of reading
from the memory controller registers.


Revision tags: bouyer-socketcan-base1
# 1.31 14-Apr-2017 jmcneill

Only route USB ports to XHCI controller after the firmware is loaded
successfully. This gives us working USB (via USB2 controllers) until the
tegra-firmware package is installed.


Revision tags: jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422
# 1.30 26-Mar-2016 skrll

branches: 1.30.2; 1.30.4;
G/C old structs


Revision tags: nick-nhusb-base-20160319 nick-nhusb-base-20151226
# 1.29 22-Dec-2015 jmcneill

tegra_car_* and tegra_i2c_dvc_write are no more


# 1.28 21-Nov-2015 jmcneill

Add SOC_THERM temperature sensor driver:

# envstat -d tegrasoctherm0
Current CritMax WarnMax WarnMin CritMin Unit
CPU0: 27.500 degC
CPU1: 27.500 degC
CPU2: 29.500 degC
CPU3: 29.000 degC
MEM0: 26.500 degC
MEM1: 27.000 degC
GPU: 27.000 degC
PLLX: 28.000 degC


# 1.27 21-Nov-2015 jmcneill

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


# 1.26 19-Nov-2015 jmcneill

Remove HOST1X and AHB_A2 from pmap_devmap


# 1.25 17-Oct-2015 jmcneill

add support for enabling the GPU


Revision tags: nick-nhusb-base-20150921
# 1.24 01-Aug-2015 jmcneill

Add driver for Tegra HDMI CEC controller.


# 1.23 23-Jul-2015 jmcneill

Support fractional dividers. This lets us use 48MHz for SDMMC HS mode
instead of 45.333MHz.


# 1.22 08-Jul-2015 jmcneill

expose EDID to userland


Revision tags: nick-nhusb-base-20150606
# 1.21 31-May-2015 jmcneill

add external function for writing to dvc (I2C5) devices


# 1.20 30-May-2015 jmcneill

Tegra K1 Watchdog support.


# 1.19 18-May-2015 jmcneill

Make sure HDMI I/O is not in deep power down mode


# 1.18 18-May-2015 jmcneill

Power-on Host1x subsystem


# 1.17 18-May-2015 jmcneill

Work in progress HDMI / framebuffer support for Tegra K1.


# 1.16 15-May-2015 jmcneill

more Tegra SATA init


# 1.15 13-May-2015 jmcneill

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


# 1.14 10-May-2015 jmcneill

Tegra I2C driver


# 1.13 10-May-2015 jmcneill

Tegra SATA ungating support


# 1.12 10-May-2015 jmcneill

Tegra HD audio support (untested as it is for HDMI output)


# 1.11 09-May-2015 jmcneill

Tegra USB PHY support


# 1.10 09-May-2015 jmcneill

add tegra_car_pllu_rate


# 1.9 07-May-2015 jmcneill

add Tegra MPIO / Pinmux driver


# 1.8 03-May-2015 jmcneill

add pllc and uart rate funcs


# 1.7 03-May-2015 jmcneill

Add Tegra K1 PCIE support.


# 1.6 02-May-2015 jmcneill

simplify gpio kpi


# 1.5 02-May-2015 jmcneill

add GPIO support


# 1.4 28-Apr-2015 jmcneill

Add a basic driver for the Clock and Reset controller, use it to determine
CPU frequency.


# 1.3 26-Apr-2015 jmcneill

add Tegra124 MP support


Revision tags: nick-nhusb-base-20150406
# 1.2 29-Mar-2015 jmcneill

branches: 1.2.2;
Use shared armv7_generic_space


# 1.1 29-Mar-2015 jmcneill

NVIDIA Tegra K1 support, work in progress.


# 1.35 25-May-2017 jmcneill

Chip detection and MP spinup code for Tegra210


# 1.34 25-May-2017 jmcneill

Add Tegra210 chip ID.


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426
# 1.33 22-Apr-2017 jmcneill

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.


# 1.32 21-Apr-2017 jmcneill

Get the physical memory layout from the /memory node instead of reading
from the memory controller registers.


Revision tags: bouyer-socketcan-base1
# 1.31 14-Apr-2017 jmcneill

Only route USB ports to XHCI controller after the firmware is loaded
successfully. This gives us working USB (via USB2 controllers) until the
tegra-firmware package is installed.


Revision tags: jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422
# 1.30 26-Mar-2016 skrll

branches: 1.30.2; 1.30.4;
G/C old structs


Revision tags: nick-nhusb-base-20160319 nick-nhusb-base-20151226
# 1.29 22-Dec-2015 jmcneill

tegra_car_* and tegra_i2c_dvc_write are no more


# 1.28 21-Nov-2015 jmcneill

Add SOC_THERM temperature sensor driver:

# envstat -d tegrasoctherm0
Current CritMax WarnMax WarnMin CritMin Unit
CPU0: 27.500 degC
CPU1: 27.500 degC
CPU2: 29.500 degC
CPU3: 29.000 degC
MEM0: 26.500 degC
MEM1: 27.000 degC
GPU: 27.000 degC
PLLX: 28.000 degC


# 1.27 21-Nov-2015 jmcneill

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


# 1.26 19-Nov-2015 jmcneill

Remove HOST1X and AHB_A2 from pmap_devmap


# 1.25 17-Oct-2015 jmcneill

add support for enabling the GPU


Revision tags: nick-nhusb-base-20150921
# 1.24 01-Aug-2015 jmcneill

Add driver for Tegra HDMI CEC controller.


# 1.23 23-Jul-2015 jmcneill

Support fractional dividers. This lets us use 48MHz for SDMMC HS mode
instead of 45.333MHz.


# 1.22 08-Jul-2015 jmcneill

expose EDID to userland


Revision tags: nick-nhusb-base-20150606
# 1.21 31-May-2015 jmcneill

add external function for writing to dvc (I2C5) devices


# 1.20 30-May-2015 jmcneill

Tegra K1 Watchdog support.


# 1.19 18-May-2015 jmcneill

Make sure HDMI I/O is not in deep power down mode


# 1.18 18-May-2015 jmcneill

Power-on Host1x subsystem


# 1.17 18-May-2015 jmcneill

Work in progress HDMI / framebuffer support for Tegra K1.


# 1.16 15-May-2015 jmcneill

more Tegra SATA init


# 1.15 13-May-2015 jmcneill

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


# 1.14 10-May-2015 jmcneill

Tegra I2C driver


# 1.13 10-May-2015 jmcneill

Tegra SATA ungating support


# 1.12 10-May-2015 jmcneill

Tegra HD audio support (untested as it is for HDMI output)


# 1.11 09-May-2015 jmcneill

Tegra USB PHY support


# 1.10 09-May-2015 jmcneill

add tegra_car_pllu_rate


# 1.9 07-May-2015 jmcneill

add Tegra MPIO / Pinmux driver


# 1.8 03-May-2015 jmcneill

add pllc and uart rate funcs


# 1.7 03-May-2015 jmcneill

Add Tegra K1 PCIE support.


# 1.6 02-May-2015 jmcneill

simplify gpio kpi


# 1.5 02-May-2015 jmcneill

add GPIO support


# 1.4 28-Apr-2015 jmcneill

Add a basic driver for the Clock and Reset controller, use it to determine
CPU frequency.


# 1.3 26-Apr-2015 jmcneill

add Tegra124 MP support


Revision tags: nick-nhusb-base-20150406
# 1.2 29-Mar-2015 jmcneill

branches: 1.2.2;
Use shared armv7_generic_space


# 1.1 29-Mar-2015 jmcneill

NVIDIA Tegra K1 support, work in progress.


Revision tags: prg-localcount2-base pgoyette-localcount-20170426
# 1.33 22-Apr-2017 jmcneill

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.


# 1.32 21-Apr-2017 jmcneill

Get the physical memory layout from the /memory node instead of reading
from the memory controller registers.


Revision tags: bouyer-socketcan-base1
# 1.31 14-Apr-2017 jmcneill

Only route USB ports to XHCI controller after the firmware is loaded
successfully. This gives us working USB (via USB2 controllers) until the
tegra-firmware package is installed.


Revision tags: jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422
# 1.30 26-Mar-2016 skrll

branches: 1.30.2; 1.30.4;
G/C old structs


Revision tags: nick-nhusb-base-20160319 nick-nhusb-base-20151226
# 1.29 22-Dec-2015 jmcneill

tegra_car_* and tegra_i2c_dvc_write are no more


# 1.28 21-Nov-2015 jmcneill

Add SOC_THERM temperature sensor driver:

# envstat -d tegrasoctherm0
Current CritMax WarnMax WarnMin CritMin Unit
CPU0: 27.500 degC
CPU1: 27.500 degC
CPU2: 29.500 degC
CPU3: 29.000 degC
MEM0: 26.500 degC
MEM1: 27.000 degC
GPU: 27.000 degC
PLLX: 28.000 degC


# 1.27 21-Nov-2015 jmcneill

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


# 1.26 19-Nov-2015 jmcneill

Remove HOST1X and AHB_A2 from pmap_devmap


# 1.25 17-Oct-2015 jmcneill

add support for enabling the GPU


Revision tags: nick-nhusb-base-20150921
# 1.24 01-Aug-2015 jmcneill

Add driver for Tegra HDMI CEC controller.


# 1.23 23-Jul-2015 jmcneill

Support fractional dividers. This lets us use 48MHz for SDMMC HS mode
instead of 45.333MHz.


# 1.22 08-Jul-2015 jmcneill

expose EDID to userland


Revision tags: nick-nhusb-base-20150606
# 1.21 31-May-2015 jmcneill

add external function for writing to dvc (I2C5) devices


# 1.20 30-May-2015 jmcneill

Tegra K1 Watchdog support.


# 1.19 18-May-2015 jmcneill

Make sure HDMI I/O is not in deep power down mode


# 1.18 18-May-2015 jmcneill

Power-on Host1x subsystem


# 1.17 18-May-2015 jmcneill

Work in progress HDMI / framebuffer support for Tegra K1.


# 1.16 15-May-2015 jmcneill

more Tegra SATA init


# 1.15 13-May-2015 jmcneill

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


# 1.14 10-May-2015 jmcneill

Tegra I2C driver


# 1.13 10-May-2015 jmcneill

Tegra SATA ungating support


# 1.12 10-May-2015 jmcneill

Tegra HD audio support (untested as it is for HDMI output)


# 1.11 09-May-2015 jmcneill

Tegra USB PHY support


# 1.10 09-May-2015 jmcneill

add tegra_car_pllu_rate


# 1.9 07-May-2015 jmcneill

add Tegra MPIO / Pinmux driver


# 1.8 03-May-2015 jmcneill

add pllc and uart rate funcs


# 1.7 03-May-2015 jmcneill

Add Tegra K1 PCIE support.


# 1.6 02-May-2015 jmcneill

simplify gpio kpi


# 1.5 02-May-2015 jmcneill

add GPIO support


# 1.4 28-Apr-2015 jmcneill

Add a basic driver for the Clock and Reset controller, use it to determine
CPU frequency.


# 1.3 26-Apr-2015 jmcneill

add Tegra124 MP support


Revision tags: nick-nhusb-base-20150406
# 1.2 29-Mar-2015 jmcneill

branches: 1.2.2;
Use shared armv7_generic_space


# 1.1 29-Mar-2015 jmcneill

NVIDIA Tegra K1 support, work in progress.


Revision tags: nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422
# 1.30 26-Mar-2016 skrll

G/C old structs


Revision tags: nick-nhusb-base-20160319 nick-nhusb-base-20151226
# 1.29 22-Dec-2015 jmcneill

tegra_car_* and tegra_i2c_dvc_write are no more


# 1.28 21-Nov-2015 jmcneill

Add SOC_THERM temperature sensor driver:

# envstat -d tegrasoctherm0
Current CritMax WarnMax WarnMin CritMin Unit
CPU0: 27.500 degC
CPU1: 27.500 degC
CPU2: 29.500 degC
CPU3: 29.000 degC
MEM0: 26.500 degC
MEM1: 27.000 degC
GPU: 27.000 degC
PLLX: 28.000 degC


# 1.27 21-Nov-2015 jmcneill

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


# 1.26 19-Nov-2015 jmcneill

Remove HOST1X and AHB_A2 from pmap_devmap


# 1.25 17-Oct-2015 jmcneill

add support for enabling the GPU


Revision tags: nick-nhusb-base-20150921
# 1.24 01-Aug-2015 jmcneill

Add driver for Tegra HDMI CEC controller.


# 1.23 23-Jul-2015 jmcneill

Support fractional dividers. This lets us use 48MHz for SDMMC HS mode
instead of 45.333MHz.


# 1.22 08-Jul-2015 jmcneill

expose EDID to userland


Revision tags: nick-nhusb-base-20150606
# 1.21 31-May-2015 jmcneill

add external function for writing to dvc (I2C5) devices


# 1.20 30-May-2015 jmcneill

Tegra K1 Watchdog support.


# 1.19 18-May-2015 jmcneill

Make sure HDMI I/O is not in deep power down mode


# 1.18 18-May-2015 jmcneill

Power-on Host1x subsystem


# 1.17 18-May-2015 jmcneill

Work in progress HDMI / framebuffer support for Tegra K1.


# 1.16 15-May-2015 jmcneill

more Tegra SATA init


# 1.15 13-May-2015 jmcneill

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


# 1.14 10-May-2015 jmcneill

Tegra I2C driver


# 1.13 10-May-2015 jmcneill

Tegra SATA ungating support


# 1.12 10-May-2015 jmcneill

Tegra HD audio support (untested as it is for HDMI output)


# 1.11 09-May-2015 jmcneill

Tegra USB PHY support


# 1.10 09-May-2015 jmcneill

add tegra_car_pllu_rate


# 1.9 07-May-2015 jmcneill

add Tegra MPIO / Pinmux driver


# 1.8 03-May-2015 jmcneill

add pllc and uart rate funcs


# 1.7 03-May-2015 jmcneill

Add Tegra K1 PCIE support.


# 1.6 02-May-2015 jmcneill

simplify gpio kpi


# 1.5 02-May-2015 jmcneill

add GPIO support


# 1.4 28-Apr-2015 jmcneill

Add a basic driver for the Clock and Reset controller, use it to determine
CPU frequency.


# 1.3 26-Apr-2015 jmcneill

add Tegra124 MP support


Revision tags: nick-nhusb-base-20150406
# 1.2 29-Mar-2015 jmcneill

branches: 1.2.2;
Use shared armv7_generic_space


# 1.1 29-Mar-2015 jmcneill

NVIDIA Tegra K1 support, work in progress.