History log of /netbsd-current/sys/arch/arm/nvidia/files.tegra
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.52 29-Aug-2020 jakllsch

tegra_xusb: fix xusb static firmware build

To work around objcopy and ld now being unable to create a EABI5 object
from a binary, use the assembler directive .incbin in inline assembly
to pull in the firmware blob.

This also probably makes TEGRA210_XUSB_BIN_STATIC actually work.


# 1.51 08-Jul-2020 uwe

tegra_xusb depends on firmload.

Make the dependency explicit, do not rely on some random USB device to
pull it in.


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base
# 1.50 27-Jul-2019 skrll

Remove unused needs-flag


Revision tags: phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728
# 1.49 08-Jul-2018 jmcneill

Use psci_fdt_bootstrap for MP spinup on Tegra210.


Revision tags: phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407
# 1.48 01-Apr-2018 ryo

branches: 1.48.2;
Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)

- sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@)
- add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)


Revision tags: pgoyette-compat-0330 pgoyette-compat-0322
# 1.47 17-Mar-2018 ryo

move from sys/arch/arm/arm32/armv7_generic_dma.c to sys/arch/arm/arm/arm_generic_dma.c,
and change variable name from armv7_generic_dma_tag to arm_generic_dma_tag

no functional change. (preliminary changes for merging aarch64)


Revision tags: pgoyette-compat-0315 pgoyette-compat-base
# 1.46 26-Dec-2017 jmcneill

branches: 1.46.2;
Use DRM GEM/CMA helper.


Revision tags: tls-maxphys-base-20171202
# 1.45 26-Sep-2017 jmcneill

branches: 1.45.2;
More PCIe / XUSBPAD initialization goo for Tegra210.


# 1.44 22-Sep-2017 jmcneill

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


# 1.43 19-Sep-2017 jmcneill

Add basic tegra210 xusbpad driver, shorten tegra*xusbpad driver names to
tegra*xpad to fit in dv_xname


# 1.42 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.41 21-Jul-2017 jmcneill

Add support for NVIDIA Tegra X1.


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

Attach Tegra124 DVFS to /cpus/cpu0 now that another driver is claiming the
/cpus node.


# 1.39 30-May-2017 jmcneill

Fix VERBOSE_INIT_ARM build with TEGRA kernel.


# 1.38 28-May-2017 jmcneill

Add a facility for platform-specific callbacks and use it to remove most
of the Tegra-specific code from tegra_machdep.c.

Platform code matches on the compatible property of the root ("/") DT node
and allows for chip-specific implementations of the following:

- devmap: Return a 0-terminated list of static device map entries.
- bootstrap: Early initialization of platform-specific facilities.
- early_putchar: Provides an implementation of putchar for use in early
debug messages.
- device_register: Platform-specific device register callback.
- reset: Platform-specific CPU reset implementation.
- consinit: Platform-specific console init implementation.


# 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 25-May-2017 jmcneill

Chip detection and MP spinup code for Tegra210


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1
# 1.35 29-Apr-2017 jmcneill

Add Tegra124 APB-DMA controller driver.


# 1.34 28-Apr-2017 jmcneill

Hide the debug output unless either TEGRA_XUSB_DEBUG is defined or
tegra_xusb_debug is set to 1.


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

branches: 1.33.2;
Split cpufreq driver out into a separate module.


# 1.32 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.31 21-Apr-2017 jmcneill

Fix defparam name (CONADDR -> CONSADDR)


Revision tags: bouyer-socketcan-base1
# 1.30 11-Apr-2017 jmcneill

Hide debug messages with TEGRA_XUSBPAD_DEBUG


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
# 1.29 26-Sep-2016 jakllsch

branches: 1.29.2;
Add xhci(4) attachment glue and firmware handler for Tegra K1 "XUSB"
xHCI controller. Adjustments to tegraxusbpad(4) will be needed
to connect the controller to actual USB ports.


Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
# 1.28 22-Dec-2015 jmcneill

branches: 1.28.2;
Switch Tegra over to fdt based clocks and reset controls.


# 1.27 13-Dec-2015 jmcneill

Get rid of board-specific options.


# 1.26 13-Dec-2015 jmcneill

remove tegraio


# 1.25 13-Dec-2015 jmcneill

Use fdt for device enumeration.


# 1.24 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.23 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.22 19-Nov-2015 jmcneill

Remove HOST1X and AHB_A2 from pmap_devmap


# 1.21 12-Nov-2015 jmcneill

Use GEM for memory management. Fixes a couple issues while here:
- No longer needs to allocate 35MB (!) for framebuffer console.
- Allows xrandr to switch to modes larger than the framebuffer console.
- Removes hack that redirected mmap calls to wsdisplay0


# 1.20 09-Nov-2015 jmcneill

Port the Tegra (2D) display drivers to the DRM framework.

tegradrm0 at tegraio0
tegrafb0 at tegradrm0
tegrafb0: framebuffer at 0x9b000000, size 1280x720, depth 32, stride 5120
wsdisplay0 at tegrafb0 kbdmux 1
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 0-3 added (default, vt100 emulation)
tegradrm0: info: registered panic notifier
tegradrm0: initialized tegra 0.1.0 20151108 on minor 0

Same features as before (fb console, X wsfb driver works) with the addition
of being able to use xf86-video-modesetting and xrandr to switch video
modes at runtime.


# 1.19 21-Oct-2015 jmcneill

Split out USB PHY support out of the ehci glue and into a separate driver.


# 1.18 19-Oct-2015 jmcneill

defflag TEGRA_HDMI_DEBUG


# 1.17 17-Oct-2015 jmcneill

Add bus glue for attaching nouveau DRM


Revision tags: nick-nhusb-base-20150921
# 1.16 22-Aug-2015 jmcneill

Add kernel config for Tegra K1 "Nyan Big" board, as found in the Acer
Chromebook 13 (CB5-311).


# 1.15 01-Aug-2015 jmcneill

Add driver for Tegra HDMI CEC controller.


Revision tags: nick-nhusb-base-20150606
# 1.14 30-May-2015 jmcneill

Tegra K1 Watchdog support.


# 1.13 18-May-2015 jmcneill

Power-on Host1x subsystem


# 1.12 18-May-2015 jmcneill

Work in progress HDMI / framebuffer support for Tegra K1.


# 1.11 15-May-2015 jmcneill

Tegra XUSB PADCTL driver


# 1.10 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.9 10-May-2015 jmcneill

Tegra I2C driver


# 1.8 07-May-2015 jmcneill

add Tegra MPIO / Pinmux driver


# 1.7 05-May-2015 jmcneill

Tegra K1 RTC driver.


# 1.6 03-May-2015 jmcneill

Add Tegra K1 PCIE support.


# 1.5 02-May-2015 jmcneill

jetsontk1 specific gpio setup for sdhc


# 1.4 02-May-2015 jmcneill

hook in gpio driver


# 1.3 28-Apr-2015 jmcneill

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


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.51 08-Jul-2020 uwe

tegra_xusb depends on firmload.

Make the dependency explicit, do not rely on some random USB device to
pull it in.


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base
# 1.50 27-Jul-2019 skrll

Remove unused needs-flag


Revision tags: phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728
# 1.49 08-Jul-2018 jmcneill

Use psci_fdt_bootstrap for MP spinup on Tegra210.


Revision tags: phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407
# 1.48 01-Apr-2018 ryo

branches: 1.48.2;
Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)

- sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@)
- add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)


Revision tags: pgoyette-compat-0330 pgoyette-compat-0322
# 1.47 17-Mar-2018 ryo

move from sys/arch/arm/arm32/armv7_generic_dma.c to sys/arch/arm/arm/arm_generic_dma.c,
and change variable name from armv7_generic_dma_tag to arm_generic_dma_tag

no functional change. (preliminary changes for merging aarch64)


Revision tags: pgoyette-compat-0315 pgoyette-compat-base
# 1.46 26-Dec-2017 jmcneill

branches: 1.46.2;
Use DRM GEM/CMA helper.


Revision tags: tls-maxphys-base-20171202
# 1.45 26-Sep-2017 jmcneill

branches: 1.45.2;
More PCIe / XUSBPAD initialization goo for Tegra210.


# 1.44 22-Sep-2017 jmcneill

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


# 1.43 19-Sep-2017 jmcneill

Add basic tegra210 xusbpad driver, shorten tegra*xusbpad driver names to
tegra*xpad to fit in dv_xname


# 1.42 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.41 21-Jul-2017 jmcneill

Add support for NVIDIA Tegra X1.


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

Attach Tegra124 DVFS to /cpus/cpu0 now that another driver is claiming the
/cpus node.


# 1.39 30-May-2017 jmcneill

Fix VERBOSE_INIT_ARM build with TEGRA kernel.


# 1.38 28-May-2017 jmcneill

Add a facility for platform-specific callbacks and use it to remove most
of the Tegra-specific code from tegra_machdep.c.

Platform code matches on the compatible property of the root ("/") DT node
and allows for chip-specific implementations of the following:

- devmap: Return a 0-terminated list of static device map entries.
- bootstrap: Early initialization of platform-specific facilities.
- early_putchar: Provides an implementation of putchar for use in early
debug messages.
- device_register: Platform-specific device register callback.
- reset: Platform-specific CPU reset implementation.
- consinit: Platform-specific console init implementation.


# 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 25-May-2017 jmcneill

Chip detection and MP spinup code for Tegra210


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1
# 1.35 29-Apr-2017 jmcneill

Add Tegra124 APB-DMA controller driver.


# 1.34 28-Apr-2017 jmcneill

Hide the debug output unless either TEGRA_XUSB_DEBUG is defined or
tegra_xusb_debug is set to 1.


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

branches: 1.33.2;
Split cpufreq driver out into a separate module.


# 1.32 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.31 21-Apr-2017 jmcneill

Fix defparam name (CONADDR -> CONSADDR)


Revision tags: bouyer-socketcan-base1
# 1.30 11-Apr-2017 jmcneill

Hide debug messages with TEGRA_XUSBPAD_DEBUG


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
# 1.29 26-Sep-2016 jakllsch

branches: 1.29.2;
Add xhci(4) attachment glue and firmware handler for Tegra K1 "XUSB"
xHCI controller. Adjustments to tegraxusbpad(4) will be needed
to connect the controller to actual USB ports.


Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
# 1.28 22-Dec-2015 jmcneill

branches: 1.28.2;
Switch Tegra over to fdt based clocks and reset controls.


# 1.27 13-Dec-2015 jmcneill

Get rid of board-specific options.


# 1.26 13-Dec-2015 jmcneill

remove tegraio


# 1.25 13-Dec-2015 jmcneill

Use fdt for device enumeration.


# 1.24 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.23 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.22 19-Nov-2015 jmcneill

Remove HOST1X and AHB_A2 from pmap_devmap


# 1.21 12-Nov-2015 jmcneill

Use GEM for memory management. Fixes a couple issues while here:
- No longer needs to allocate 35MB (!) for framebuffer console.
- Allows xrandr to switch to modes larger than the framebuffer console.
- Removes hack that redirected mmap calls to wsdisplay0


# 1.20 09-Nov-2015 jmcneill

Port the Tegra (2D) display drivers to the DRM framework.

tegradrm0 at tegraio0
tegrafb0 at tegradrm0
tegrafb0: framebuffer at 0x9b000000, size 1280x720, depth 32, stride 5120
wsdisplay0 at tegrafb0 kbdmux 1
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 0-3 added (default, vt100 emulation)
tegradrm0: info: registered panic notifier
tegradrm0: initialized tegra 0.1.0 20151108 on minor 0

Same features as before (fb console, X wsfb driver works) with the addition
of being able to use xf86-video-modesetting and xrandr to switch video
modes at runtime.


# 1.19 21-Oct-2015 jmcneill

Split out USB PHY support out of the ehci glue and into a separate driver.


# 1.18 19-Oct-2015 jmcneill

defflag TEGRA_HDMI_DEBUG


# 1.17 17-Oct-2015 jmcneill

Add bus glue for attaching nouveau DRM


Revision tags: nick-nhusb-base-20150921
# 1.16 22-Aug-2015 jmcneill

Add kernel config for Tegra K1 "Nyan Big" board, as found in the Acer
Chromebook 13 (CB5-311).


# 1.15 01-Aug-2015 jmcneill

Add driver for Tegra HDMI CEC controller.


Revision tags: nick-nhusb-base-20150606
# 1.14 30-May-2015 jmcneill

Tegra K1 Watchdog support.


# 1.13 18-May-2015 jmcneill

Power-on Host1x subsystem


# 1.12 18-May-2015 jmcneill

Work in progress HDMI / framebuffer support for Tegra K1.


# 1.11 15-May-2015 jmcneill

Tegra XUSB PADCTL driver


# 1.10 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.9 10-May-2015 jmcneill

Tegra I2C driver


# 1.8 07-May-2015 jmcneill

add Tegra MPIO / Pinmux driver


# 1.7 05-May-2015 jmcneill

Tegra K1 RTC driver.


# 1.6 03-May-2015 jmcneill

Add Tegra K1 PCIE support.


# 1.5 02-May-2015 jmcneill

jetsontk1 specific gpio setup for sdhc


# 1.4 02-May-2015 jmcneill

hook in gpio driver


# 1.3 28-Apr-2015 jmcneill

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


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.50 27-Jul-2019 skrll

Remove unused needs-flag


Revision tags: phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728
# 1.49 08-Jul-2018 jmcneill

Use psci_fdt_bootstrap for MP spinup on Tegra210.


Revision tags: phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407
# 1.48 01-Apr-2018 ryo

branches: 1.48.2;
Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)

- sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@)
- add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)


Revision tags: pgoyette-compat-0330 pgoyette-compat-0322
# 1.47 17-Mar-2018 ryo

move from sys/arch/arm/arm32/armv7_generic_dma.c to sys/arch/arm/arm/arm_generic_dma.c,
and change variable name from armv7_generic_dma_tag to arm_generic_dma_tag

no functional change. (preliminary changes for merging aarch64)


Revision tags: pgoyette-compat-0315 pgoyette-compat-base
# 1.46 26-Dec-2017 jmcneill

branches: 1.46.2;
Use DRM GEM/CMA helper.


Revision tags: tls-maxphys-base-20171202
# 1.45 26-Sep-2017 jmcneill

branches: 1.45.2;
More PCIe / XUSBPAD initialization goo for Tegra210.


# 1.44 22-Sep-2017 jmcneill

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


# 1.43 19-Sep-2017 jmcneill

Add basic tegra210 xusbpad driver, shorten tegra*xusbpad driver names to
tegra*xpad to fit in dv_xname


# 1.42 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.41 21-Jul-2017 jmcneill

Add support for NVIDIA Tegra X1.


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

Attach Tegra124 DVFS to /cpus/cpu0 now that another driver is claiming the
/cpus node.


# 1.39 30-May-2017 jmcneill

Fix VERBOSE_INIT_ARM build with TEGRA kernel.


# 1.38 28-May-2017 jmcneill

Add a facility for platform-specific callbacks and use it to remove most
of the Tegra-specific code from tegra_machdep.c.

Platform code matches on the compatible property of the root ("/") DT node
and allows for chip-specific implementations of the following:

- devmap: Return a 0-terminated list of static device map entries.
- bootstrap: Early initialization of platform-specific facilities.
- early_putchar: Provides an implementation of putchar for use in early
debug messages.
- device_register: Platform-specific device register callback.
- reset: Platform-specific CPU reset implementation.
- consinit: Platform-specific console init implementation.


# 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 25-May-2017 jmcneill

Chip detection and MP spinup code for Tegra210


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1
# 1.35 29-Apr-2017 jmcneill

Add Tegra124 APB-DMA controller driver.


# 1.34 28-Apr-2017 jmcneill

Hide the debug output unless either TEGRA_XUSB_DEBUG is defined or
tegra_xusb_debug is set to 1.


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

branches: 1.33.2;
Split cpufreq driver out into a separate module.


# 1.32 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.31 21-Apr-2017 jmcneill

Fix defparam name (CONADDR -> CONSADDR)


Revision tags: bouyer-socketcan-base1
# 1.30 11-Apr-2017 jmcneill

Hide debug messages with TEGRA_XUSBPAD_DEBUG


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
# 1.29 26-Sep-2016 jakllsch

branches: 1.29.2;
Add xhci(4) attachment glue and firmware handler for Tegra K1 "XUSB"
xHCI controller. Adjustments to tegraxusbpad(4) will be needed
to connect the controller to actual USB ports.


Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
# 1.28 22-Dec-2015 jmcneill

branches: 1.28.2;
Switch Tegra over to fdt based clocks and reset controls.


# 1.27 13-Dec-2015 jmcneill

Get rid of board-specific options.


# 1.26 13-Dec-2015 jmcneill

remove tegraio


# 1.25 13-Dec-2015 jmcneill

Use fdt for device enumeration.


# 1.24 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.23 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.22 19-Nov-2015 jmcneill

Remove HOST1X and AHB_A2 from pmap_devmap


# 1.21 12-Nov-2015 jmcneill

Use GEM for memory management. Fixes a couple issues while here:
- No longer needs to allocate 35MB (!) for framebuffer console.
- Allows xrandr to switch to modes larger than the framebuffer console.
- Removes hack that redirected mmap calls to wsdisplay0


# 1.20 09-Nov-2015 jmcneill

Port the Tegra (2D) display drivers to the DRM framework.

tegradrm0 at tegraio0
tegrafb0 at tegradrm0
tegrafb0: framebuffer at 0x9b000000, size 1280x720, depth 32, stride 5120
wsdisplay0 at tegrafb0 kbdmux 1
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 0-3 added (default, vt100 emulation)
tegradrm0: info: registered panic notifier
tegradrm0: initialized tegra 0.1.0 20151108 on minor 0

Same features as before (fb console, X wsfb driver works) with the addition
of being able to use xf86-video-modesetting and xrandr to switch video
modes at runtime.


# 1.19 21-Oct-2015 jmcneill

Split out USB PHY support out of the ehci glue and into a separate driver.


# 1.18 19-Oct-2015 jmcneill

defflag TEGRA_HDMI_DEBUG


# 1.17 17-Oct-2015 jmcneill

Add bus glue for attaching nouveau DRM


Revision tags: nick-nhusb-base-20150921
# 1.16 22-Aug-2015 jmcneill

Add kernel config for Tegra K1 "Nyan Big" board, as found in the Acer
Chromebook 13 (CB5-311).


# 1.15 01-Aug-2015 jmcneill

Add driver for Tegra HDMI CEC controller.


Revision tags: nick-nhusb-base-20150606
# 1.14 30-May-2015 jmcneill

Tegra K1 Watchdog support.


# 1.13 18-May-2015 jmcneill

Power-on Host1x subsystem


# 1.12 18-May-2015 jmcneill

Work in progress HDMI / framebuffer support for Tegra K1.


# 1.11 15-May-2015 jmcneill

Tegra XUSB PADCTL driver


# 1.10 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.9 10-May-2015 jmcneill

Tegra I2C driver


# 1.8 07-May-2015 jmcneill

add Tegra MPIO / Pinmux driver


# 1.7 05-May-2015 jmcneill

Tegra K1 RTC driver.


# 1.6 03-May-2015 jmcneill

Add Tegra K1 PCIE support.


# 1.5 02-May-2015 jmcneill

jetsontk1 specific gpio setup for sdhc


# 1.4 02-May-2015 jmcneill

hook in gpio driver


# 1.3 28-Apr-2015 jmcneill

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


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: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728
# 1.49 08-Jul-2018 jmcneill

Use psci_fdt_bootstrap for MP spinup on Tegra210.


Revision tags: phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407
# 1.48 01-Apr-2018 ryo

Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)

- sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@)
- add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)


Revision tags: pgoyette-compat-0330 pgoyette-compat-0322
# 1.47 17-Mar-2018 ryo

move from sys/arch/arm/arm32/armv7_generic_dma.c to sys/arch/arm/arm/arm_generic_dma.c,
and change variable name from armv7_generic_dma_tag to arm_generic_dma_tag

no functional change. (preliminary changes for merging aarch64)


Revision tags: pgoyette-compat-0315 pgoyette-compat-base
# 1.46 26-Dec-2017 jmcneill

branches: 1.46.2;
Use DRM GEM/CMA helper.


Revision tags: tls-maxphys-base-20171202
# 1.45 26-Sep-2017 jmcneill

branches: 1.45.2;
More PCIe / XUSBPAD initialization goo for Tegra210.


# 1.44 22-Sep-2017 jmcneill

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


# 1.43 19-Sep-2017 jmcneill

Add basic tegra210 xusbpad driver, shorten tegra*xusbpad driver names to
tegra*xpad to fit in dv_xname


# 1.42 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.41 21-Jul-2017 jmcneill

Add support for NVIDIA Tegra X1.


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.40 02-Jun-2017 jmcneill

Attach Tegra124 DVFS to /cpus/cpu0 now that another driver is claiming the
/cpus node.


# 1.39 30-May-2017 jmcneill

Fix VERBOSE_INIT_ARM build with TEGRA kernel.


# 1.38 28-May-2017 jmcneill

Add a facility for platform-specific callbacks and use it to remove most
of the Tegra-specific code from tegra_machdep.c.

Platform code matches on the compatible property of the root ("/") DT node
and allows for chip-specific implementations of the following:

- devmap: Return a 0-terminated list of static device map entries.
- bootstrap: Early initialization of platform-specific facilities.
- early_putchar: Provides an implementation of putchar for use in early
debug messages.
- device_register: Platform-specific device register callback.
- reset: Platform-specific CPU reset implementation.
- consinit: Platform-specific console init implementation.


# 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 25-May-2017 jmcneill

Chip detection and MP spinup code for Tegra210


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1
# 1.35 29-Apr-2017 jmcneill

Add Tegra124 APB-DMA controller driver.


# 1.34 28-Apr-2017 jmcneill

Hide the debug output unless either TEGRA_XUSB_DEBUG is defined or
tegra_xusb_debug is set to 1.


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

branches: 1.33.2;
Split cpufreq driver out into a separate module.


# 1.32 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.31 21-Apr-2017 jmcneill

Fix defparam name (CONADDR -> CONSADDR)


Revision tags: bouyer-socketcan-base1
# 1.30 11-Apr-2017 jmcneill

Hide debug messages with TEGRA_XUSBPAD_DEBUG


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
# 1.29 26-Sep-2016 jakllsch

branches: 1.29.2;
Add xhci(4) attachment glue and firmware handler for Tegra K1 "XUSB"
xHCI controller. Adjustments to tegraxusbpad(4) will be needed
to connect the controller to actual USB ports.


Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
# 1.28 22-Dec-2015 jmcneill

branches: 1.28.2;
Switch Tegra over to fdt based clocks and reset controls.


# 1.27 13-Dec-2015 jmcneill

Get rid of board-specific options.


# 1.26 13-Dec-2015 jmcneill

remove tegraio


# 1.25 13-Dec-2015 jmcneill

Use fdt for device enumeration.


# 1.24 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.23 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.22 19-Nov-2015 jmcneill

Remove HOST1X and AHB_A2 from pmap_devmap


# 1.21 12-Nov-2015 jmcneill

Use GEM for memory management. Fixes a couple issues while here:
- No longer needs to allocate 35MB (!) for framebuffer console.
- Allows xrandr to switch to modes larger than the framebuffer console.
- Removes hack that redirected mmap calls to wsdisplay0


# 1.20 09-Nov-2015 jmcneill

Port the Tegra (2D) display drivers to the DRM framework.

tegradrm0 at tegraio0
tegrafb0 at tegradrm0
tegrafb0: framebuffer at 0x9b000000, size 1280x720, depth 32, stride 5120
wsdisplay0 at tegrafb0 kbdmux 1
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 0-3 added (default, vt100 emulation)
tegradrm0: info: registered panic notifier
tegradrm0: initialized tegra 0.1.0 20151108 on minor 0

Same features as before (fb console, X wsfb driver works) with the addition
of being able to use xf86-video-modesetting and xrandr to switch video
modes at runtime.


# 1.19 21-Oct-2015 jmcneill

Split out USB PHY support out of the ehci glue and into a separate driver.


# 1.18 19-Oct-2015 jmcneill

defflag TEGRA_HDMI_DEBUG


# 1.17 17-Oct-2015 jmcneill

Add bus glue for attaching nouveau DRM


Revision tags: nick-nhusb-base-20150921
# 1.16 22-Aug-2015 jmcneill

Add kernel config for Tegra K1 "Nyan Big" board, as found in the Acer
Chromebook 13 (CB5-311).


# 1.15 01-Aug-2015 jmcneill

Add driver for Tegra HDMI CEC controller.


Revision tags: nick-nhusb-base-20150606
# 1.14 30-May-2015 jmcneill

Tegra K1 Watchdog support.


# 1.13 18-May-2015 jmcneill

Power-on Host1x subsystem


# 1.12 18-May-2015 jmcneill

Work in progress HDMI / framebuffer support for Tegra K1.


# 1.11 15-May-2015 jmcneill

Tegra XUSB PADCTL driver


# 1.10 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.9 10-May-2015 jmcneill

Tegra I2C driver


# 1.8 07-May-2015 jmcneill

add Tegra MPIO / Pinmux driver


# 1.7 05-May-2015 jmcneill

Tegra K1 RTC driver.


# 1.6 03-May-2015 jmcneill

Add Tegra K1 PCIE support.


# 1.5 02-May-2015 jmcneill

jetsontk1 specific gpio setup for sdhc


# 1.4 02-May-2015 jmcneill

hook in gpio driver


# 1.3 28-Apr-2015 jmcneill

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


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.46 26-Dec-2017 jmcneill

Use DRM GEM/CMA helper.


Revision tags: tls-maxphys-base-20171202
# 1.45 26-Sep-2017 jmcneill

branches: 1.45.2;
More PCIe / XUSBPAD initialization goo for Tegra210.


# 1.44 22-Sep-2017 jmcneill

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


# 1.43 19-Sep-2017 jmcneill

Add basic tegra210 xusbpad driver, shorten tegra*xusbpad driver names to
tegra*xpad to fit in dv_xname


# 1.42 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.41 21-Jul-2017 jmcneill

Add support for NVIDIA Tegra X1.


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base
# 1.40 02-Jun-2017 jmcneill

Attach Tegra124 DVFS to /cpus/cpu0 now that another driver is claiming the
/cpus node.


# 1.39 30-May-2017 jmcneill

Fix VERBOSE_INIT_ARM build with TEGRA kernel.


# 1.38 28-May-2017 jmcneill

Add a facility for platform-specific callbacks and use it to remove most
of the Tegra-specific code from tegra_machdep.c.

Platform code matches on the compatible property of the root ("/") DT node
and allows for chip-specific implementations of the following:

- devmap: Return a 0-terminated list of static device map entries.
- bootstrap: Early initialization of platform-specific facilities.
- early_putchar: Provides an implementation of putchar for use in early
debug messages.
- device_register: Platform-specific device register callback.
- reset: Platform-specific CPU reset implementation.
- consinit: Platform-specific console init implementation.


# 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 25-May-2017 jmcneill

Chip detection and MP spinup code for Tegra210


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1
# 1.35 29-Apr-2017 jmcneill

Add Tegra124 APB-DMA controller driver.


# 1.34 28-Apr-2017 jmcneill

Hide the debug output unless either TEGRA_XUSB_DEBUG is defined or
tegra_xusb_debug is set to 1.


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

branches: 1.33.2;
Split cpufreq driver out into a separate module.


# 1.32 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.31 21-Apr-2017 jmcneill

Fix defparam name (CONADDR -> CONSADDR)


Revision tags: bouyer-socketcan-base1
# 1.30 11-Apr-2017 jmcneill

Hide debug messages with TEGRA_XUSBPAD_DEBUG


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
# 1.29 26-Sep-2016 jakllsch

branches: 1.29.2;
Add xhci(4) attachment glue and firmware handler for Tegra K1 "XUSB"
xHCI controller. Adjustments to tegraxusbpad(4) will be needed
to connect the controller to actual USB ports.


Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
# 1.28 22-Dec-2015 jmcneill

branches: 1.28.2;
Switch Tegra over to fdt based clocks and reset controls.


# 1.27 13-Dec-2015 jmcneill

Get rid of board-specific options.


# 1.26 13-Dec-2015 jmcneill

remove tegraio


# 1.25 13-Dec-2015 jmcneill

Use fdt for device enumeration.


# 1.24 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.23 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.22 19-Nov-2015 jmcneill

Remove HOST1X and AHB_A2 from pmap_devmap


# 1.21 12-Nov-2015 jmcneill

Use GEM for memory management. Fixes a couple issues while here:
- No longer needs to allocate 35MB (!) for framebuffer console.
- Allows xrandr to switch to modes larger than the framebuffer console.
- Removes hack that redirected mmap calls to wsdisplay0


# 1.20 09-Nov-2015 jmcneill

Port the Tegra (2D) display drivers to the DRM framework.

tegradrm0 at tegraio0
tegrafb0 at tegradrm0
tegrafb0: framebuffer at 0x9b000000, size 1280x720, depth 32, stride 5120
wsdisplay0 at tegrafb0 kbdmux 1
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 0-3 added (default, vt100 emulation)
tegradrm0: info: registered panic notifier
tegradrm0: initialized tegra 0.1.0 20151108 on minor 0

Same features as before (fb console, X wsfb driver works) with the addition
of being able to use xf86-video-modesetting and xrandr to switch video
modes at runtime.


# 1.19 21-Oct-2015 jmcneill

Split out USB PHY support out of the ehci glue and into a separate driver.


# 1.18 19-Oct-2015 jmcneill

defflag TEGRA_HDMI_DEBUG


# 1.17 17-Oct-2015 jmcneill

Add bus glue for attaching nouveau DRM


Revision tags: nick-nhusb-base-20150921
# 1.16 22-Aug-2015 jmcneill

Add kernel config for Tegra K1 "Nyan Big" board, as found in the Acer
Chromebook 13 (CB5-311).


# 1.15 01-Aug-2015 jmcneill

Add driver for Tegra HDMI CEC controller.


Revision tags: nick-nhusb-base-20150606
# 1.14 30-May-2015 jmcneill

Tegra K1 Watchdog support.


# 1.13 18-May-2015 jmcneill

Power-on Host1x subsystem


# 1.12 18-May-2015 jmcneill

Work in progress HDMI / framebuffer support for Tegra K1.


# 1.11 15-May-2015 jmcneill

Tegra XUSB PADCTL driver


# 1.10 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.9 10-May-2015 jmcneill

Tegra I2C driver


# 1.8 07-May-2015 jmcneill

add Tegra MPIO / Pinmux driver


# 1.7 05-May-2015 jmcneill

Tegra K1 RTC driver.


# 1.6 03-May-2015 jmcneill

Add Tegra K1 PCIE support.


# 1.5 02-May-2015 jmcneill

jetsontk1 specific gpio setup for sdhc


# 1.4 02-May-2015 jmcneill

hook in gpio driver


# 1.3 28-Apr-2015 jmcneill

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


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.45 26-Sep-2017 jmcneill

More PCIe / XUSBPAD initialization goo for Tegra210.


# 1.44 22-Sep-2017 jmcneill

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


# 1.43 19-Sep-2017 jmcneill

Add basic tegra210 xusbpad driver, shorten tegra*xusbpad driver names to
tegra*xpad to fit in dv_xname


# 1.42 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.41 21-Jul-2017 jmcneill

Add support for NVIDIA Tegra X1.


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

Attach Tegra124 DVFS to /cpus/cpu0 now that another driver is claiming the
/cpus node.


# 1.39 30-May-2017 jmcneill

Fix VERBOSE_INIT_ARM build with TEGRA kernel.


# 1.38 28-May-2017 jmcneill

Add a facility for platform-specific callbacks and use it to remove most
of the Tegra-specific code from tegra_machdep.c.

Platform code matches on the compatible property of the root ("/") DT node
and allows for chip-specific implementations of the following:

- devmap: Return a 0-terminated list of static device map entries.
- bootstrap: Early initialization of platform-specific facilities.
- early_putchar: Provides an implementation of putchar for use in early
debug messages.
- device_register: Platform-specific device register callback.
- reset: Platform-specific CPU reset implementation.
- consinit: Platform-specific console init implementation.


# 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 25-May-2017 jmcneill

Chip detection and MP spinup code for Tegra210


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1
# 1.35 29-Apr-2017 jmcneill

Add Tegra124 APB-DMA controller driver.


# 1.34 28-Apr-2017 jmcneill

Hide the debug output unless either TEGRA_XUSB_DEBUG is defined or
tegra_xusb_debug is set to 1.


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

branches: 1.33.2;
Split cpufreq driver out into a separate module.


# 1.32 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.31 21-Apr-2017 jmcneill

Fix defparam name (CONADDR -> CONSADDR)


Revision tags: bouyer-socketcan-base1
# 1.30 11-Apr-2017 jmcneill

Hide debug messages with TEGRA_XUSBPAD_DEBUG


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
# 1.29 26-Sep-2016 jakllsch

branches: 1.29.2;
Add xhci(4) attachment glue and firmware handler for Tegra K1 "XUSB"
xHCI controller. Adjustments to tegraxusbpad(4) will be needed
to connect the controller to actual USB ports.


Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
# 1.28 22-Dec-2015 jmcneill

branches: 1.28.2;
Switch Tegra over to fdt based clocks and reset controls.


# 1.27 13-Dec-2015 jmcneill

Get rid of board-specific options.


# 1.26 13-Dec-2015 jmcneill

remove tegraio


# 1.25 13-Dec-2015 jmcneill

Use fdt for device enumeration.


# 1.24 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.23 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.22 19-Nov-2015 jmcneill

Remove HOST1X and AHB_A2 from pmap_devmap


# 1.21 12-Nov-2015 jmcneill

Use GEM for memory management. Fixes a couple issues while here:
- No longer needs to allocate 35MB (!) for framebuffer console.
- Allows xrandr to switch to modes larger than the framebuffer console.
- Removes hack that redirected mmap calls to wsdisplay0


# 1.20 09-Nov-2015 jmcneill

Port the Tegra (2D) display drivers to the DRM framework.

tegradrm0 at tegraio0
tegrafb0 at tegradrm0
tegrafb0: framebuffer at 0x9b000000, size 1280x720, depth 32, stride 5120
wsdisplay0 at tegrafb0 kbdmux 1
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 0-3 added (default, vt100 emulation)
tegradrm0: info: registered panic notifier
tegradrm0: initialized tegra 0.1.0 20151108 on minor 0

Same features as before (fb console, X wsfb driver works) with the addition
of being able to use xf86-video-modesetting and xrandr to switch video
modes at runtime.


# 1.19 21-Oct-2015 jmcneill

Split out USB PHY support out of the ehci glue and into a separate driver.


# 1.18 19-Oct-2015 jmcneill

defflag TEGRA_HDMI_DEBUG


# 1.17 17-Oct-2015 jmcneill

Add bus glue for attaching nouveau DRM


Revision tags: nick-nhusb-base-20150921
# 1.16 22-Aug-2015 jmcneill

Add kernel config for Tegra K1 "Nyan Big" board, as found in the Acer
Chromebook 13 (CB5-311).


# 1.15 01-Aug-2015 jmcneill

Add driver for Tegra HDMI CEC controller.


Revision tags: nick-nhusb-base-20150606
# 1.14 30-May-2015 jmcneill

Tegra K1 Watchdog support.


# 1.13 18-May-2015 jmcneill

Power-on Host1x subsystem


# 1.12 18-May-2015 jmcneill

Work in progress HDMI / framebuffer support for Tegra K1.


# 1.11 15-May-2015 jmcneill

Tegra XUSB PADCTL driver


# 1.10 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.9 10-May-2015 jmcneill

Tegra I2C driver


# 1.8 07-May-2015 jmcneill

add Tegra MPIO / Pinmux driver


# 1.7 05-May-2015 jmcneill

Tegra K1 RTC driver.


# 1.6 03-May-2015 jmcneill

Add Tegra K1 PCIE support.


# 1.5 02-May-2015 jmcneill

jetsontk1 specific gpio setup for sdhc


# 1.4 02-May-2015 jmcneill

hook in gpio driver


# 1.3 28-Apr-2015 jmcneill

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


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.41 21-Jul-2017 jmcneill

Add support for NVIDIA Tegra X1.


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

Attach Tegra124 DVFS to /cpus/cpu0 now that another driver is claiming the
/cpus node.


# 1.39 30-May-2017 jmcneill

Fix VERBOSE_INIT_ARM build with TEGRA kernel.


# 1.38 28-May-2017 jmcneill

Add a facility for platform-specific callbacks and use it to remove most
of the Tegra-specific code from tegra_machdep.c.

Platform code matches on the compatible property of the root ("/") DT node
and allows for chip-specific implementations of the following:

- devmap: Return a 0-terminated list of static device map entries.
- bootstrap: Early initialization of platform-specific facilities.
- early_putchar: Provides an implementation of putchar for use in early
debug messages.
- device_register: Platform-specific device register callback.
- reset: Platform-specific CPU reset implementation.
- consinit: Platform-specific console init implementation.


# 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 25-May-2017 jmcneill

Chip detection and MP spinup code for Tegra210


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1
# 1.35 29-Apr-2017 jmcneill

Add Tegra124 APB-DMA controller driver.


# 1.34 28-Apr-2017 jmcneill

Hide the debug output unless either TEGRA_XUSB_DEBUG is defined or
tegra_xusb_debug is set to 1.


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

branches: 1.33.2;
Split cpufreq driver out into a separate module.


# 1.32 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.31 21-Apr-2017 jmcneill

Fix defparam name (CONADDR -> CONSADDR)


Revision tags: bouyer-socketcan-base1
# 1.30 11-Apr-2017 jmcneill

Hide debug messages with TEGRA_XUSBPAD_DEBUG


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
# 1.29 26-Sep-2016 jakllsch

branches: 1.29.2;
Add xhci(4) attachment glue and firmware handler for Tegra K1 "XUSB"
xHCI controller. Adjustments to tegraxusbpad(4) will be needed
to connect the controller to actual USB ports.


Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
# 1.28 22-Dec-2015 jmcneill

branches: 1.28.2;
Switch Tegra over to fdt based clocks and reset controls.


# 1.27 13-Dec-2015 jmcneill

Get rid of board-specific options.


# 1.26 13-Dec-2015 jmcneill

remove tegraio


# 1.25 13-Dec-2015 jmcneill

Use fdt for device enumeration.


# 1.24 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.23 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.22 19-Nov-2015 jmcneill

Remove HOST1X and AHB_A2 from pmap_devmap


# 1.21 12-Nov-2015 jmcneill

Use GEM for memory management. Fixes a couple issues while here:
- No longer needs to allocate 35MB (!) for framebuffer console.
- Allows xrandr to switch to modes larger than the framebuffer console.
- Removes hack that redirected mmap calls to wsdisplay0


# 1.20 09-Nov-2015 jmcneill

Port the Tegra (2D) display drivers to the DRM framework.

tegradrm0 at tegraio0
tegrafb0 at tegradrm0
tegrafb0: framebuffer at 0x9b000000, size 1280x720, depth 32, stride 5120
wsdisplay0 at tegrafb0 kbdmux 1
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 0-3 added (default, vt100 emulation)
tegradrm0: info: registered panic notifier
tegradrm0: initialized tegra 0.1.0 20151108 on minor 0

Same features as before (fb console, X wsfb driver works) with the addition
of being able to use xf86-video-modesetting and xrandr to switch video
modes at runtime.


# 1.19 21-Oct-2015 jmcneill

Split out USB PHY support out of the ehci glue and into a separate driver.


# 1.18 19-Oct-2015 jmcneill

defflag TEGRA_HDMI_DEBUG


# 1.17 17-Oct-2015 jmcneill

Add bus glue for attaching nouveau DRM


Revision tags: nick-nhusb-base-20150921
# 1.16 22-Aug-2015 jmcneill

Add kernel config for Tegra K1 "Nyan Big" board, as found in the Acer
Chromebook 13 (CB5-311).


# 1.15 01-Aug-2015 jmcneill

Add driver for Tegra HDMI CEC controller.


Revision tags: nick-nhusb-base-20150606
# 1.14 30-May-2015 jmcneill

Tegra K1 Watchdog support.


# 1.13 18-May-2015 jmcneill

Power-on Host1x subsystem


# 1.12 18-May-2015 jmcneill

Work in progress HDMI / framebuffer support for Tegra K1.


# 1.11 15-May-2015 jmcneill

Tegra XUSB PADCTL driver


# 1.10 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.9 10-May-2015 jmcneill

Tegra I2C driver


# 1.8 07-May-2015 jmcneill

add Tegra MPIO / Pinmux driver


# 1.7 05-May-2015 jmcneill

Tegra K1 RTC driver.


# 1.6 03-May-2015 jmcneill

Add Tegra K1 PCIE support.


# 1.5 02-May-2015 jmcneill

jetsontk1 specific gpio setup for sdhc


# 1.4 02-May-2015 jmcneill

hook in gpio driver


# 1.3 28-Apr-2015 jmcneill

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


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.40 02-Jun-2017 jmcneill

Attach Tegra124 DVFS to /cpus/cpu0 now that another driver is claiming the
/cpus node.


# 1.39 30-May-2017 jmcneill

Fix VERBOSE_INIT_ARM build with TEGRA kernel.


# 1.38 28-May-2017 jmcneill

Add a facility for platform-specific callbacks and use it to remove most
of the Tegra-specific code from tegra_machdep.c.

Platform code matches on the compatible property of the root ("/") DT node
and allows for chip-specific implementations of the following:

- devmap: Return a 0-terminated list of static device map entries.
- bootstrap: Early initialization of platform-specific facilities.
- early_putchar: Provides an implementation of putchar for use in early
debug messages.
- device_register: Platform-specific device register callback.
- reset: Platform-specific CPU reset implementation.
- consinit: Platform-specific console init implementation.


# 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 25-May-2017 jmcneill

Chip detection and MP spinup code for Tegra210


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1
# 1.35 29-Apr-2017 jmcneill

Add Tegra124 APB-DMA controller driver.


# 1.34 28-Apr-2017 jmcneill

Hide the debug output unless either TEGRA_XUSB_DEBUG is defined or
tegra_xusb_debug is set to 1.


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

branches: 1.33.2;
Split cpufreq driver out into a separate module.


# 1.32 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.31 21-Apr-2017 jmcneill

Fix defparam name (CONADDR -> CONSADDR)


Revision tags: bouyer-socketcan-base1
# 1.30 11-Apr-2017 jmcneill

Hide debug messages with TEGRA_XUSBPAD_DEBUG


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
# 1.29 26-Sep-2016 jakllsch

branches: 1.29.2;
Add xhci(4) attachment glue and firmware handler for Tegra K1 "XUSB"
xHCI controller. Adjustments to tegraxusbpad(4) will be needed
to connect the controller to actual USB ports.


Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
# 1.28 22-Dec-2015 jmcneill

branches: 1.28.2;
Switch Tegra over to fdt based clocks and reset controls.


# 1.27 13-Dec-2015 jmcneill

Get rid of board-specific options.


# 1.26 13-Dec-2015 jmcneill

remove tegraio


# 1.25 13-Dec-2015 jmcneill

Use fdt for device enumeration.


# 1.24 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.23 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.22 19-Nov-2015 jmcneill

Remove HOST1X and AHB_A2 from pmap_devmap


# 1.21 12-Nov-2015 jmcneill

Use GEM for memory management. Fixes a couple issues while here:
- No longer needs to allocate 35MB (!) for framebuffer console.
- Allows xrandr to switch to modes larger than the framebuffer console.
- Removes hack that redirected mmap calls to wsdisplay0


# 1.20 09-Nov-2015 jmcneill

Port the Tegra (2D) display drivers to the DRM framework.

tegradrm0 at tegraio0
tegrafb0 at tegradrm0
tegrafb0: framebuffer at 0x9b000000, size 1280x720, depth 32, stride 5120
wsdisplay0 at tegrafb0 kbdmux 1
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 0-3 added (default, vt100 emulation)
tegradrm0: info: registered panic notifier
tegradrm0: initialized tegra 0.1.0 20151108 on minor 0

Same features as before (fb console, X wsfb driver works) with the addition
of being able to use xf86-video-modesetting and xrandr to switch video
modes at runtime.


# 1.19 21-Oct-2015 jmcneill

Split out USB PHY support out of the ehci glue and into a separate driver.


# 1.18 19-Oct-2015 jmcneill

defflag TEGRA_HDMI_DEBUG


# 1.17 17-Oct-2015 jmcneill

Add bus glue for attaching nouveau DRM


Revision tags: nick-nhusb-base-20150921
# 1.16 22-Aug-2015 jmcneill

Add kernel config for Tegra K1 "Nyan Big" board, as found in the Acer
Chromebook 13 (CB5-311).


# 1.15 01-Aug-2015 jmcneill

Add driver for Tegra HDMI CEC controller.


Revision tags: nick-nhusb-base-20150606
# 1.14 30-May-2015 jmcneill

Tegra K1 Watchdog support.


# 1.13 18-May-2015 jmcneill

Power-on Host1x subsystem


# 1.12 18-May-2015 jmcneill

Work in progress HDMI / framebuffer support for Tegra K1.


# 1.11 15-May-2015 jmcneill

Tegra XUSB PADCTL driver


# 1.10 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.9 10-May-2015 jmcneill

Tegra I2C driver


# 1.8 07-May-2015 jmcneill

add Tegra MPIO / Pinmux driver


# 1.7 05-May-2015 jmcneill

Tegra K1 RTC driver.


# 1.6 03-May-2015 jmcneill

Add Tegra K1 PCIE support.


# 1.5 02-May-2015 jmcneill

jetsontk1 specific gpio setup for sdhc


# 1.4 02-May-2015 jmcneill

hook in gpio driver


# 1.3 28-Apr-2015 jmcneill

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


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 30-May-2017 jmcneill

Fix VERBOSE_INIT_ARM build with TEGRA kernel.


# 1.38 28-May-2017 jmcneill

Add a facility for platform-specific callbacks and use it to remove most
of the Tegra-specific code from tegra_machdep.c.

Platform code matches on the compatible property of the root ("/") DT node
and allows for chip-specific implementations of the following:

- devmap: Return a 0-terminated list of static device map entries.
- bootstrap: Early initialization of platform-specific facilities.
- early_putchar: Provides an implementation of putchar for use in early
debug messages.
- device_register: Platform-specific device register callback.
- reset: Platform-specific CPU reset implementation.
- consinit: Platform-specific console init implementation.


# 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 25-May-2017 jmcneill

Chip detection and MP spinup code for Tegra210


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1
# 1.35 29-Apr-2017 jmcneill

Add Tegra124 APB-DMA controller driver.


# 1.34 28-Apr-2017 jmcneill

Hide the debug output unless either TEGRA_XUSB_DEBUG is defined or
tegra_xusb_debug is set to 1.


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

branches: 1.33.2;
Split cpufreq driver out into a separate module.


# 1.32 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.31 21-Apr-2017 jmcneill

Fix defparam name (CONADDR -> CONSADDR)


Revision tags: bouyer-socketcan-base1
# 1.30 11-Apr-2017 jmcneill

Hide debug messages with TEGRA_XUSBPAD_DEBUG


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
# 1.29 26-Sep-2016 jakllsch

branches: 1.29.2;
Add xhci(4) attachment glue and firmware handler for Tegra K1 "XUSB"
xHCI controller. Adjustments to tegraxusbpad(4) will be needed
to connect the controller to actual USB ports.


Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
# 1.28 22-Dec-2015 jmcneill

branches: 1.28.2;
Switch Tegra over to fdt based clocks and reset controls.


# 1.27 13-Dec-2015 jmcneill

Get rid of board-specific options.


# 1.26 13-Dec-2015 jmcneill

remove tegraio


# 1.25 13-Dec-2015 jmcneill

Use fdt for device enumeration.


# 1.24 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.23 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.22 19-Nov-2015 jmcneill

Remove HOST1X and AHB_A2 from pmap_devmap


# 1.21 12-Nov-2015 jmcneill

Use GEM for memory management. Fixes a couple issues while here:
- No longer needs to allocate 35MB (!) for framebuffer console.
- Allows xrandr to switch to modes larger than the framebuffer console.
- Removes hack that redirected mmap calls to wsdisplay0


# 1.20 09-Nov-2015 jmcneill

Port the Tegra (2D) display drivers to the DRM framework.

tegradrm0 at tegraio0
tegrafb0 at tegradrm0
tegrafb0: framebuffer at 0x9b000000, size 1280x720, depth 32, stride 5120
wsdisplay0 at tegrafb0 kbdmux 1
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 0-3 added (default, vt100 emulation)
tegradrm0: info: registered panic notifier
tegradrm0: initialized tegra 0.1.0 20151108 on minor 0

Same features as before (fb console, X wsfb driver works) with the addition
of being able to use xf86-video-modesetting and xrandr to switch video
modes at runtime.


# 1.19 21-Oct-2015 jmcneill

Split out USB PHY support out of the ehci glue and into a separate driver.


# 1.18 19-Oct-2015 jmcneill

defflag TEGRA_HDMI_DEBUG


# 1.17 17-Oct-2015 jmcneill

Add bus glue for attaching nouveau DRM


Revision tags: nick-nhusb-base-20150921
# 1.16 22-Aug-2015 jmcneill

Add kernel config for Tegra K1 "Nyan Big" board, as found in the Acer
Chromebook 13 (CB5-311).


# 1.15 01-Aug-2015 jmcneill

Add driver for Tegra HDMI CEC controller.


Revision tags: nick-nhusb-base-20150606
# 1.14 30-May-2015 jmcneill

Tegra K1 Watchdog support.


# 1.13 18-May-2015 jmcneill

Power-on Host1x subsystem


# 1.12 18-May-2015 jmcneill

Work in progress HDMI / framebuffer support for Tegra K1.


# 1.11 15-May-2015 jmcneill

Tegra XUSB PADCTL driver


# 1.10 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.9 10-May-2015 jmcneill

Tegra I2C driver


# 1.8 07-May-2015 jmcneill

add Tegra MPIO / Pinmux driver


# 1.7 05-May-2015 jmcneill

Tegra K1 RTC driver.


# 1.6 03-May-2015 jmcneill

Add Tegra K1 PCIE support.


# 1.5 02-May-2015 jmcneill

jetsontk1 specific gpio setup for sdhc


# 1.4 02-May-2015 jmcneill

hook in gpio driver


# 1.3 28-Apr-2015 jmcneill

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


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 28-May-2017 jmcneill

Add a facility for platform-specific callbacks and use it to remove most
of the Tegra-specific code from tegra_machdep.c.

Platform code matches on the compatible property of the root ("/") DT node
and allows for chip-specific implementations of the following:

- devmap: Return a 0-terminated list of static device map entries.
- bootstrap: Early initialization of platform-specific facilities.
- early_putchar: Provides an implementation of putchar for use in early
debug messages.
- device_register: Platform-specific device register callback.
- reset: Platform-specific CPU reset implementation.
- consinit: Platform-specific console init implementation.


# 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 25-May-2017 jmcneill

Chip detection and MP spinup code for Tegra210


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1
# 1.35 29-Apr-2017 jmcneill

Add Tegra124 APB-DMA controller driver.


# 1.34 28-Apr-2017 jmcneill

Hide the debug output unless either TEGRA_XUSB_DEBUG is defined or
tegra_xusb_debug is set to 1.


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

branches: 1.33.2;
Split cpufreq driver out into a separate module.


# 1.32 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.31 21-Apr-2017 jmcneill

Fix defparam name (CONADDR -> CONSADDR)


Revision tags: bouyer-socketcan-base1
# 1.30 11-Apr-2017 jmcneill

Hide debug messages with TEGRA_XUSBPAD_DEBUG


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
# 1.29 26-Sep-2016 jakllsch

branches: 1.29.2;
Add xhci(4) attachment glue and firmware handler for Tegra K1 "XUSB"
xHCI controller. Adjustments to tegraxusbpad(4) will be needed
to connect the controller to actual USB ports.


Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
# 1.28 22-Dec-2015 jmcneill

branches: 1.28.2;
Switch Tegra over to fdt based clocks and reset controls.


# 1.27 13-Dec-2015 jmcneill

Get rid of board-specific options.


# 1.26 13-Dec-2015 jmcneill

remove tegraio


# 1.25 13-Dec-2015 jmcneill

Use fdt for device enumeration.


# 1.24 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.23 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.22 19-Nov-2015 jmcneill

Remove HOST1X and AHB_A2 from pmap_devmap


# 1.21 12-Nov-2015 jmcneill

Use GEM for memory management. Fixes a couple issues while here:
- No longer needs to allocate 35MB (!) for framebuffer console.
- Allows xrandr to switch to modes larger than the framebuffer console.
- Removes hack that redirected mmap calls to wsdisplay0


# 1.20 09-Nov-2015 jmcneill

Port the Tegra (2D) display drivers to the DRM framework.

tegradrm0 at tegraio0
tegrafb0 at tegradrm0
tegrafb0: framebuffer at 0x9b000000, size 1280x720, depth 32, stride 5120
wsdisplay0 at tegrafb0 kbdmux 1
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 0-3 added (default, vt100 emulation)
tegradrm0: info: registered panic notifier
tegradrm0: initialized tegra 0.1.0 20151108 on minor 0

Same features as before (fb console, X wsfb driver works) with the addition
of being able to use xf86-video-modesetting and xrandr to switch video
modes at runtime.


# 1.19 21-Oct-2015 jmcneill

Split out USB PHY support out of the ehci glue and into a separate driver.


# 1.18 19-Oct-2015 jmcneill

defflag TEGRA_HDMI_DEBUG


# 1.17 17-Oct-2015 jmcneill

Add bus glue for attaching nouveau DRM


Revision tags: nick-nhusb-base-20150921
# 1.16 22-Aug-2015 jmcneill

Add kernel config for Tegra K1 "Nyan Big" board, as found in the Acer
Chromebook 13 (CB5-311).


# 1.15 01-Aug-2015 jmcneill

Add driver for Tegra HDMI CEC controller.


Revision tags: nick-nhusb-base-20150606
# 1.14 30-May-2015 jmcneill

Tegra K1 Watchdog support.


# 1.13 18-May-2015 jmcneill

Power-on Host1x subsystem


# 1.12 18-May-2015 jmcneill

Work in progress HDMI / framebuffer support for Tegra K1.


# 1.11 15-May-2015 jmcneill

Tegra XUSB PADCTL driver


# 1.10 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.9 10-May-2015 jmcneill

Tegra I2C driver


# 1.8 07-May-2015 jmcneill

add Tegra MPIO / Pinmux driver


# 1.7 05-May-2015 jmcneill

Tegra K1 RTC driver.


# 1.6 03-May-2015 jmcneill

Add Tegra K1 PCIE support.


# 1.5 02-May-2015 jmcneill

jetsontk1 specific gpio setup for sdhc


# 1.4 02-May-2015 jmcneill

hook in gpio driver


# 1.3 28-Apr-2015 jmcneill

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


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 25-May-2017 jmcneill

Chip detection and MP spinup code for Tegra210


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1
# 1.35 29-Apr-2017 jmcneill

Add Tegra124 APB-DMA controller driver.


# 1.34 28-Apr-2017 jmcneill

Hide the debug output unless either TEGRA_XUSB_DEBUG is defined or
tegra_xusb_debug is set to 1.


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

branches: 1.33.2;
Split cpufreq driver out into a separate module.


# 1.32 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.31 21-Apr-2017 jmcneill

Fix defparam name (CONADDR -> CONSADDR)


Revision tags: bouyer-socketcan-base1
# 1.30 11-Apr-2017 jmcneill

Hide debug messages with TEGRA_XUSBPAD_DEBUG


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
# 1.29 26-Sep-2016 jakllsch

branches: 1.29.2;
Add xhci(4) attachment glue and firmware handler for Tegra K1 "XUSB"
xHCI controller. Adjustments to tegraxusbpad(4) will be needed
to connect the controller to actual USB ports.


Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
# 1.28 22-Dec-2015 jmcneill

branches: 1.28.2;
Switch Tegra over to fdt based clocks and reset controls.


# 1.27 13-Dec-2015 jmcneill

Get rid of board-specific options.


# 1.26 13-Dec-2015 jmcneill

remove tegraio


# 1.25 13-Dec-2015 jmcneill

Use fdt for device enumeration.


# 1.24 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.23 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.22 19-Nov-2015 jmcneill

Remove HOST1X and AHB_A2 from pmap_devmap


# 1.21 12-Nov-2015 jmcneill

Use GEM for memory management. Fixes a couple issues while here:
- No longer needs to allocate 35MB (!) for framebuffer console.
- Allows xrandr to switch to modes larger than the framebuffer console.
- Removes hack that redirected mmap calls to wsdisplay0


# 1.20 09-Nov-2015 jmcneill

Port the Tegra (2D) display drivers to the DRM framework.

tegradrm0 at tegraio0
tegrafb0 at tegradrm0
tegrafb0: framebuffer at 0x9b000000, size 1280x720, depth 32, stride 5120
wsdisplay0 at tegrafb0 kbdmux 1
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 0-3 added (default, vt100 emulation)
tegradrm0: info: registered panic notifier
tegradrm0: initialized tegra 0.1.0 20151108 on minor 0

Same features as before (fb console, X wsfb driver works) with the addition
of being able to use xf86-video-modesetting and xrandr to switch video
modes at runtime.


# 1.19 21-Oct-2015 jmcneill

Split out USB PHY support out of the ehci glue and into a separate driver.


# 1.18 19-Oct-2015 jmcneill

defflag TEGRA_HDMI_DEBUG


# 1.17 17-Oct-2015 jmcneill

Add bus glue for attaching nouveau DRM


Revision tags: nick-nhusb-base-20150921
# 1.16 22-Aug-2015 jmcneill

Add kernel config for Tegra K1 "Nyan Big" board, as found in the Acer
Chromebook 13 (CB5-311).


# 1.15 01-Aug-2015 jmcneill

Add driver for Tegra HDMI CEC controller.


Revision tags: nick-nhusb-base-20150606
# 1.14 30-May-2015 jmcneill

Tegra K1 Watchdog support.


# 1.13 18-May-2015 jmcneill

Power-on Host1x subsystem


# 1.12 18-May-2015 jmcneill

Work in progress HDMI / framebuffer support for Tegra K1.


# 1.11 15-May-2015 jmcneill

Tegra XUSB PADCTL driver


# 1.10 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.9 10-May-2015 jmcneill

Tegra I2C driver


# 1.8 07-May-2015 jmcneill

add Tegra MPIO / Pinmux driver


# 1.7 05-May-2015 jmcneill

Tegra K1 RTC driver.


# 1.6 03-May-2015 jmcneill

Add Tegra K1 PCIE support.


# 1.5 02-May-2015 jmcneill

jetsontk1 specific gpio setup for sdhc


# 1.4 02-May-2015 jmcneill

hook in gpio driver


# 1.3 28-Apr-2015 jmcneill

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


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.36 25-May-2017 jmcneill

Chip detection and MP spinup code for Tegra210


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1
# 1.35 29-Apr-2017 jmcneill

Add Tegra124 APB-DMA controller driver.


# 1.34 28-Apr-2017 jmcneill

Hide the debug output unless either TEGRA_XUSB_DEBUG is defined or
tegra_xusb_debug is set to 1.


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

branches: 1.33.2;
Split cpufreq driver out into a separate module.


# 1.32 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.31 21-Apr-2017 jmcneill

Fix defparam name (CONADDR -> CONSADDR)


Revision tags: bouyer-socketcan-base1
# 1.30 11-Apr-2017 jmcneill

Hide debug messages with TEGRA_XUSBPAD_DEBUG


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
# 1.29 26-Sep-2016 jakllsch

branches: 1.29.2;
Add xhci(4) attachment glue and firmware handler for Tegra K1 "XUSB"
xHCI controller. Adjustments to tegraxusbpad(4) will be needed
to connect the controller to actual USB ports.


Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
# 1.28 22-Dec-2015 jmcneill

branches: 1.28.2;
Switch Tegra over to fdt based clocks and reset controls.


# 1.27 13-Dec-2015 jmcneill

Get rid of board-specific options.


# 1.26 13-Dec-2015 jmcneill

remove tegraio


# 1.25 13-Dec-2015 jmcneill

Use fdt for device enumeration.


# 1.24 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.23 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.22 19-Nov-2015 jmcneill

Remove HOST1X and AHB_A2 from pmap_devmap


# 1.21 12-Nov-2015 jmcneill

Use GEM for memory management. Fixes a couple issues while here:
- No longer needs to allocate 35MB (!) for framebuffer console.
- Allows xrandr to switch to modes larger than the framebuffer console.
- Removes hack that redirected mmap calls to wsdisplay0


# 1.20 09-Nov-2015 jmcneill

Port the Tegra (2D) display drivers to the DRM framework.

tegradrm0 at tegraio0
tegrafb0 at tegradrm0
tegrafb0: framebuffer at 0x9b000000, size 1280x720, depth 32, stride 5120
wsdisplay0 at tegrafb0 kbdmux 1
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 0-3 added (default, vt100 emulation)
tegradrm0: info: registered panic notifier
tegradrm0: initialized tegra 0.1.0 20151108 on minor 0

Same features as before (fb console, X wsfb driver works) with the addition
of being able to use xf86-video-modesetting and xrandr to switch video
modes at runtime.


# 1.19 21-Oct-2015 jmcneill

Split out USB PHY support out of the ehci glue and into a separate driver.


# 1.18 19-Oct-2015 jmcneill

defflag TEGRA_HDMI_DEBUG


# 1.17 17-Oct-2015 jmcneill

Add bus glue for attaching nouveau DRM


Revision tags: nick-nhusb-base-20150921
# 1.16 22-Aug-2015 jmcneill

Add kernel config for Tegra K1 "Nyan Big" board, as found in the Acer
Chromebook 13 (CB5-311).


# 1.15 01-Aug-2015 jmcneill

Add driver for Tegra HDMI CEC controller.


Revision tags: nick-nhusb-base-20150606
# 1.14 30-May-2015 jmcneill

Tegra K1 Watchdog support.


# 1.13 18-May-2015 jmcneill

Power-on Host1x subsystem


# 1.12 18-May-2015 jmcneill

Work in progress HDMI / framebuffer support for Tegra K1.


# 1.11 15-May-2015 jmcneill

Tegra XUSB PADCTL driver


# 1.10 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.9 10-May-2015 jmcneill

Tegra I2C driver


# 1.8 07-May-2015 jmcneill

add Tegra MPIO / Pinmux driver


# 1.7 05-May-2015 jmcneill

Tegra K1 RTC driver.


# 1.6 03-May-2015 jmcneill

Add Tegra K1 PCIE support.


# 1.5 02-May-2015 jmcneill

jetsontk1 specific gpio setup for sdhc


# 1.4 02-May-2015 jmcneill

hook in gpio driver


# 1.3 28-Apr-2015 jmcneill

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


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 29-Apr-2017 jmcneill

Add Tegra124 APB-DMA controller driver.


# 1.34 28-Apr-2017 jmcneill

Hide the debug output unless either TEGRA_XUSB_DEBUG is defined or
tegra_xusb_debug is set to 1.


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

Split cpufreq driver out into a separate module.


# 1.32 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.31 21-Apr-2017 jmcneill

Fix defparam name (CONADDR -> CONSADDR)


Revision tags: bouyer-socketcan-base1
# 1.30 11-Apr-2017 jmcneill

Hide debug messages with TEGRA_XUSBPAD_DEBUG


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
# 1.29 26-Sep-2016 jakllsch

branches: 1.29.2;
Add xhci(4) attachment glue and firmware handler for Tegra K1 "XUSB"
xHCI controller. Adjustments to tegraxusbpad(4) will be needed
to connect the controller to actual USB ports.


Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
# 1.28 22-Dec-2015 jmcneill

branches: 1.28.2;
Switch Tegra over to fdt based clocks and reset controls.


# 1.27 13-Dec-2015 jmcneill

Get rid of board-specific options.


# 1.26 13-Dec-2015 jmcneill

remove tegraio


# 1.25 13-Dec-2015 jmcneill

Use fdt for device enumeration.


# 1.24 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.23 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.22 19-Nov-2015 jmcneill

Remove HOST1X and AHB_A2 from pmap_devmap


# 1.21 12-Nov-2015 jmcneill

Use GEM for memory management. Fixes a couple issues while here:
- No longer needs to allocate 35MB (!) for framebuffer console.
- Allows xrandr to switch to modes larger than the framebuffer console.
- Removes hack that redirected mmap calls to wsdisplay0


# 1.20 09-Nov-2015 jmcneill

Port the Tegra (2D) display drivers to the DRM framework.

tegradrm0 at tegraio0
tegrafb0 at tegradrm0
tegrafb0: framebuffer at 0x9b000000, size 1280x720, depth 32, stride 5120
wsdisplay0 at tegrafb0 kbdmux 1
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 0-3 added (default, vt100 emulation)
tegradrm0: info: registered panic notifier
tegradrm0: initialized tegra 0.1.0 20151108 on minor 0

Same features as before (fb console, X wsfb driver works) with the addition
of being able to use xf86-video-modesetting and xrandr to switch video
modes at runtime.


# 1.19 21-Oct-2015 jmcneill

Split out USB PHY support out of the ehci glue and into a separate driver.


# 1.18 19-Oct-2015 jmcneill

defflag TEGRA_HDMI_DEBUG


# 1.17 17-Oct-2015 jmcneill

Add bus glue for attaching nouveau DRM


Revision tags: nick-nhusb-base-20150921
# 1.16 22-Aug-2015 jmcneill

Add kernel config for Tegra K1 "Nyan Big" board, as found in the Acer
Chromebook 13 (CB5-311).


# 1.15 01-Aug-2015 jmcneill

Add driver for Tegra HDMI CEC controller.


Revision tags: nick-nhusb-base-20150606
# 1.14 30-May-2015 jmcneill

Tegra K1 Watchdog support.


# 1.13 18-May-2015 jmcneill

Power-on Host1x subsystem


# 1.12 18-May-2015 jmcneill

Work in progress HDMI / framebuffer support for Tegra K1.


# 1.11 15-May-2015 jmcneill

Tegra XUSB PADCTL driver


# 1.10 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.9 10-May-2015 jmcneill

Tegra I2C driver


# 1.8 07-May-2015 jmcneill

add Tegra MPIO / Pinmux driver


# 1.7 05-May-2015 jmcneill

Tegra K1 RTC driver.


# 1.6 03-May-2015 jmcneill

Add Tegra K1 PCIE support.


# 1.5 02-May-2015 jmcneill

jetsontk1 specific gpio setup for sdhc


# 1.4 02-May-2015 jmcneill

hook in gpio driver


# 1.3 28-Apr-2015 jmcneill

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


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.34 28-Apr-2017 jmcneill

Hide the debug output unless either TEGRA_XUSB_DEBUG is defined or
tegra_xusb_debug is set to 1.


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

Split cpufreq driver out into a separate module.


# 1.32 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.31 21-Apr-2017 jmcneill

Fix defparam name (CONADDR -> CONSADDR)


Revision tags: bouyer-socketcan-base1
# 1.30 11-Apr-2017 jmcneill

Hide debug messages with TEGRA_XUSBPAD_DEBUG


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
# 1.29 26-Sep-2016 jakllsch

branches: 1.29.2;
Add xhci(4) attachment glue and firmware handler for Tegra K1 "XUSB"
xHCI controller. Adjustments to tegraxusbpad(4) will be needed
to connect the controller to actual USB ports.


Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
# 1.28 22-Dec-2015 jmcneill

branches: 1.28.2;
Switch Tegra over to fdt based clocks and reset controls.


# 1.27 13-Dec-2015 jmcneill

Get rid of board-specific options.


# 1.26 13-Dec-2015 jmcneill

remove tegraio


# 1.25 13-Dec-2015 jmcneill

Use fdt for device enumeration.


# 1.24 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.23 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.22 19-Nov-2015 jmcneill

Remove HOST1X and AHB_A2 from pmap_devmap


# 1.21 12-Nov-2015 jmcneill

Use GEM for memory management. Fixes a couple issues while here:
- No longer needs to allocate 35MB (!) for framebuffer console.
- Allows xrandr to switch to modes larger than the framebuffer console.
- Removes hack that redirected mmap calls to wsdisplay0


# 1.20 09-Nov-2015 jmcneill

Port the Tegra (2D) display drivers to the DRM framework.

tegradrm0 at tegraio0
tegrafb0 at tegradrm0
tegrafb0: framebuffer at 0x9b000000, size 1280x720, depth 32, stride 5120
wsdisplay0 at tegrafb0 kbdmux 1
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 0-3 added (default, vt100 emulation)
tegradrm0: info: registered panic notifier
tegradrm0: initialized tegra 0.1.0 20151108 on minor 0

Same features as before (fb console, X wsfb driver works) with the addition
of being able to use xf86-video-modesetting and xrandr to switch video
modes at runtime.


# 1.19 21-Oct-2015 jmcneill

Split out USB PHY support out of the ehci glue and into a separate driver.


# 1.18 19-Oct-2015 jmcneill

defflag TEGRA_HDMI_DEBUG


# 1.17 17-Oct-2015 jmcneill

Add bus glue for attaching nouveau DRM


Revision tags: nick-nhusb-base-20150921
# 1.16 22-Aug-2015 jmcneill

Add kernel config for Tegra K1 "Nyan Big" board, as found in the Acer
Chromebook 13 (CB5-311).


# 1.15 01-Aug-2015 jmcneill

Add driver for Tegra HDMI CEC controller.


Revision tags: nick-nhusb-base-20150606
# 1.14 30-May-2015 jmcneill

Tegra K1 Watchdog support.


# 1.13 18-May-2015 jmcneill

Power-on Host1x subsystem


# 1.12 18-May-2015 jmcneill

Work in progress HDMI / framebuffer support for Tegra K1.


# 1.11 15-May-2015 jmcneill

Tegra XUSB PADCTL driver


# 1.10 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.9 10-May-2015 jmcneill

Tegra I2C driver


# 1.8 07-May-2015 jmcneill

add Tegra MPIO / Pinmux driver


# 1.7 05-May-2015 jmcneill

Tegra K1 RTC driver.


# 1.6 03-May-2015 jmcneill

Add Tegra K1 PCIE support.


# 1.5 02-May-2015 jmcneill

jetsontk1 specific gpio setup for sdhc


# 1.4 02-May-2015 jmcneill

hook in gpio driver


# 1.3 28-Apr-2015 jmcneill

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


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 23-Apr-2017 jmcneill

Split cpufreq driver out into a separate module.


# 1.32 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.31 21-Apr-2017 jmcneill

Fix defparam name (CONADDR -> CONSADDR)


Revision tags: bouyer-socketcan-base1
# 1.30 11-Apr-2017 jmcneill

Hide debug messages with TEGRA_XUSBPAD_DEBUG


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
# 1.29 26-Sep-2016 jakllsch

branches: 1.29.2;
Add xhci(4) attachment glue and firmware handler for Tegra K1 "XUSB"
xHCI controller. Adjustments to tegraxusbpad(4) will be needed
to connect the controller to actual USB ports.


Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
# 1.28 22-Dec-2015 jmcneill

branches: 1.28.2;
Switch Tegra over to fdt based clocks and reset controls.


# 1.27 13-Dec-2015 jmcneill

Get rid of board-specific options.


# 1.26 13-Dec-2015 jmcneill

remove tegraio


# 1.25 13-Dec-2015 jmcneill

Use fdt for device enumeration.


# 1.24 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.23 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.22 19-Nov-2015 jmcneill

Remove HOST1X and AHB_A2 from pmap_devmap


# 1.21 12-Nov-2015 jmcneill

Use GEM for memory management. Fixes a couple issues while here:
- No longer needs to allocate 35MB (!) for framebuffer console.
- Allows xrandr to switch to modes larger than the framebuffer console.
- Removes hack that redirected mmap calls to wsdisplay0


# 1.20 09-Nov-2015 jmcneill

Port the Tegra (2D) display drivers to the DRM framework.

tegradrm0 at tegraio0
tegrafb0 at tegradrm0
tegrafb0: framebuffer at 0x9b000000, size 1280x720, depth 32, stride 5120
wsdisplay0 at tegrafb0 kbdmux 1
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 0-3 added (default, vt100 emulation)
tegradrm0: info: registered panic notifier
tegradrm0: initialized tegra 0.1.0 20151108 on minor 0

Same features as before (fb console, X wsfb driver works) with the addition
of being able to use xf86-video-modesetting and xrandr to switch video
modes at runtime.


# 1.19 21-Oct-2015 jmcneill

Split out USB PHY support out of the ehci glue and into a separate driver.


# 1.18 19-Oct-2015 jmcneill

defflag TEGRA_HDMI_DEBUG


# 1.17 17-Oct-2015 jmcneill

Add bus glue for attaching nouveau DRM


Revision tags: nick-nhusb-base-20150921
# 1.16 22-Aug-2015 jmcneill

Add kernel config for Tegra K1 "Nyan Big" board, as found in the Acer
Chromebook 13 (CB5-311).


# 1.15 01-Aug-2015 jmcneill

Add driver for Tegra HDMI CEC controller.


Revision tags: nick-nhusb-base-20150606
# 1.14 30-May-2015 jmcneill

Tegra K1 Watchdog support.


# 1.13 18-May-2015 jmcneill

Power-on Host1x subsystem


# 1.12 18-May-2015 jmcneill

Work in progress HDMI / framebuffer support for Tegra K1.


# 1.11 15-May-2015 jmcneill

Tegra XUSB PADCTL driver


# 1.10 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.9 10-May-2015 jmcneill

Tegra I2C driver


# 1.8 07-May-2015 jmcneill

add Tegra MPIO / Pinmux driver


# 1.7 05-May-2015 jmcneill

Tegra K1 RTC driver.


# 1.6 03-May-2015 jmcneill

Add Tegra K1 PCIE support.


# 1.5 02-May-2015 jmcneill

jetsontk1 specific gpio setup for sdhc


# 1.4 02-May-2015 jmcneill

hook in gpio driver


# 1.3 28-Apr-2015 jmcneill

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


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
# 1.29 26-Sep-2016 jakllsch

Add xhci(4) attachment glue and firmware handler for Tegra K1 "XUSB"
xHCI controller. Adjustments to tegraxusbpad(4) will be needed
to connect the controller to actual USB ports.


Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
# 1.28 22-Dec-2015 jmcneill

branches: 1.28.2;
Switch Tegra over to fdt based clocks and reset controls.


# 1.27 13-Dec-2015 jmcneill

Get rid of board-specific options.


# 1.26 13-Dec-2015 jmcneill

remove tegraio


# 1.25 13-Dec-2015 jmcneill

Use fdt for device enumeration.


# 1.24 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.23 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.22 19-Nov-2015 jmcneill

Remove HOST1X and AHB_A2 from pmap_devmap


# 1.21 12-Nov-2015 jmcneill

Use GEM for memory management. Fixes a couple issues while here:
- No longer needs to allocate 35MB (!) for framebuffer console.
- Allows xrandr to switch to modes larger than the framebuffer console.
- Removes hack that redirected mmap calls to wsdisplay0


# 1.20 09-Nov-2015 jmcneill

Port the Tegra (2D) display drivers to the DRM framework.

tegradrm0 at tegraio0
tegrafb0 at tegradrm0
tegrafb0: framebuffer at 0x9b000000, size 1280x720, depth 32, stride 5120
wsdisplay0 at tegrafb0 kbdmux 1
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 0-3 added (default, vt100 emulation)
tegradrm0: info: registered panic notifier
tegradrm0: initialized tegra 0.1.0 20151108 on minor 0

Same features as before (fb console, X wsfb driver works) with the addition
of being able to use xf86-video-modesetting and xrandr to switch video
modes at runtime.


# 1.19 21-Oct-2015 jmcneill

Split out USB PHY support out of the ehci glue and into a separate driver.


# 1.18 19-Oct-2015 jmcneill

defflag TEGRA_HDMI_DEBUG


# 1.17 17-Oct-2015 jmcneill

Add bus glue for attaching nouveau DRM


Revision tags: nick-nhusb-base-20150921
# 1.16 22-Aug-2015 jmcneill

Add kernel config for Tegra K1 "Nyan Big" board, as found in the Acer
Chromebook 13 (CB5-311).


# 1.15 01-Aug-2015 jmcneill

Add driver for Tegra HDMI CEC controller.


Revision tags: nick-nhusb-base-20150606
# 1.14 30-May-2015 jmcneill

Tegra K1 Watchdog support.


# 1.13 18-May-2015 jmcneill

Power-on Host1x subsystem


# 1.12 18-May-2015 jmcneill

Work in progress HDMI / framebuffer support for Tegra K1.


# 1.11 15-May-2015 jmcneill

Tegra XUSB PADCTL driver


# 1.10 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.9 10-May-2015 jmcneill

Tegra I2C driver


# 1.8 07-May-2015 jmcneill

add Tegra MPIO / Pinmux driver


# 1.7 05-May-2015 jmcneill

Tegra K1 RTC driver.


# 1.6 03-May-2015 jmcneill

Add Tegra K1 PCIE support.


# 1.5 02-May-2015 jmcneill

jetsontk1 specific gpio setup for sdhc


# 1.4 02-May-2015 jmcneill

hook in gpio driver


# 1.3 28-Apr-2015 jmcneill

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


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.