The NetBSD Project

CVS log for src/sys/arch/arm/sunxi/sunxi_platform.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.47: download - view: text, markup, annotated - select for diffs
Fri Apr 7 08:55:30 2023 UTC (19 months ago) by skrll
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +96 -95 lines
Rename ARM_PLATFORM to FDT_PLATFORM and make it available outside arm.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Tue Jun 28 05:19:03 2022 UTC (2 years, 4 months ago) by skrll
Branches: MAIN
CVS tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -2 lines
Add support for Lichee Pi Zero from Rui-Xiang Guo on port-arm

Revision 1.43.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 1 22:42:05 2021 UTC (3 years, 3 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +23 -2 lines
Sync with HEAD.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sat Jul 31 11:34:40 2021 UTC (3 years, 3 months ago) by tnn
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +17 -5 lines
sunxi_platform: declare UART FIFO sizes for SoCs we support

Revision 1.44: download - view: text, markup, annotated - select for diffs
Fri Jul 30 12:46:46 2021 UTC (3 years, 3 months ago) by tnn
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +11 -2 lines
com(4): fix FIFO for DW_APB on Allwinner A20 (got broken by com.c 1.360)

Older DesignWare UARTs do not advertise their FIFO length so we must
provide it via device properties.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Sat Apr 24 23:36:28 2021 UTC (3 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -4 lines
Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
  actually needed.
- Don't be explicit about what interface attribute is attaching if
  the device only has one.  (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
  situations, making is visibly easier to see when indirect config is
  in play, and allowing for future change in semantics.  (As of now,
  this is just a wrapper around config_match(), but that is an
  implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance.  This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).

Revision 1.40.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:19 2021 UTC (3 years, 7 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +14 -12 lines
Sync with HEAD.

Revision 1.42.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 21:21:08 2021 UTC (3 years, 7 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +2 -4 lines
- FDT device enumeration now sets the device handle using CFARG_DEVHANDLE.
- fdtbus_device_register() is now obsolete, so G/C it.
- of_device_register() is now obsolete, so G/C it.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Thu Feb 4 22:36:53 2021 UTC (3 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-futex-base, thorpej-cfargs-base
Branch point for: thorpej-cfargs
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +4 -2 lines
Call acpi_device_register() / fdtbus_device_register() as approrpriate.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Wed Jan 27 03:10:20 2021 UTC (3 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +12 -12 lines
Rename of_match_compat_data() to of_compatible_match().  Similarly,
rename of_search_compatible() to of_compatible_lookup().

Standardize on of_compatible_match() for driver matching, and adapt
all call sites.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Mon Sep 28 11:54:23 2020 UTC (4 years, 1 month ago) by jmcneill
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -5 lines
Get rid of a4x bus_space tag from fdtbus_attach_args. The only consumer
of this was various com(4) glue so modify all of that to use the new
com_init_regs_stride instead.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri Jul 10 12:25:10 2020 UTC (4 years, 3 months ago) by skrll
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -3 lines
Add support for KASAN on ARMv[67]

Thanks to maxv for many pointers and reviews.

Revision 1.23.2.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:03:38 2020 UTC (4 years, 6 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.23.2.2: preferred, colored; branchpoint 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.2.2: +55 -29 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.23.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:31 2020 UTC (4 years, 6 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.23.2.1: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.1: +9 -3 lines
Merge changes from current as of 20200406

Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 25 16:18:40 2019 UTC (4 years, 11 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +9 -3 lines
Pull up following revision(s) (requested by jmcneill in ticket #470):

	sys/arch/arm/sunxi/sunxi_hdmiphy.c: revision 1.4
	sys/arch/arm/sunxi/sun50i_a64_ccu.c: revision 1.16
	sys/dev/ic/dw_hdmi.c: revision 1.5
	sys/arch/arm/sunxi/sunxi_hdmiphy.h: revision 1.2
	sys/arch/arm/sunxi/sun50i_a64_ccu.c: revision 1.17
	sys/dev/ic/dw_hdmi.c: revision 1.6
	sys/arch/arm/sunxi/sun50i_a64_ccu.c: revision 1.18
	sys/arch/arm/sunxi/sun50i_a64_ccu.c: revision 1.19
	sys/dev/ic/dw_hdmi.h: revision 1.5
	sys/arch/arm/sunxi/sunxi_mixer.c: revision 1.8
	sys/arch/arm/sunxi/sunxi_mixer.c: revision 1.9
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.22
	sys/arch/arm/sunxi/sunxi_dwhdmi.c: revision 1.5
	sys/arch/arm/sunxi/sunxi_dwhdmi.c: revision 1.6
	sys/arch/arm/sunxi/sunxi_dwhdmi.c: revision 1.7
	sys/arch/arm/sunxi/sunxi_dwhdmi.c: revision 1.8
	sys/arch/arm/sunxi/sun50i_a64_ccu.c: revision 1.20
	sys/arch/arm/sunxi/sunxi_mixer.c: revision 1.10
	sys/arch/arm/dts/sun50i-a64-pinebook.dts: revision 1.17
	sys/arch/arm/sunxi/sunxi_platform.c: revision 1.38
	sys/dev/fdt/fdt_port.c: revision 1.3
	sys/dev/fdt/fdt_port.c: revision 1.4
	sys/arch/arm/sunxi/sunxi_ccu_fractional.c: revision 1.5
	sys/arch/arm/sunxi/sunxi_lcdc.c: revision 1.7
	sys/arch/arm/sunxi/sunxi_ccu_fractional.c: revision 1.6
	sys/arch/arm/sunxi/sunxi_hdmiphy.c: revision 1.3

Fix CLK_BUS_HDMI bit

Enable TMDS clock

Store the flags passed to SUNXI_CCU_FRACTIONAL macro.
Previously the macro dropped the flags argument entirely, and did not
initialize the structure with it.

Allow bus glue to setup DDC clocks

Add TCON0 clock

HDMI PHY and TX share the same clocks. Do not enable clocks until both
reset resources have been deasserted. Explicitly set DDC clock dividers.
Honour SUNXI_CCU_FRACTIONAL_SET_ENABLE in fractional mode

Use fdtbus_get_reg to read "reg" property

Need to initialize the PHY before HPD sense and DDC will work

Set pixel clock on mode set

Set TCON1 parent to PLL_VIDEO1(1X)

Do not assume that an fb's pitch is width * 4 bytes.

Use actual hw mode, not proposed mode.

Set pre-divider M to 0 in fractional mode, as noted in user manual. Spotted by jak.

Support non-zero fb start pixels.

Set video PLLs to 297MHz

Do not assume the cursor pitch is the same as the primary fb

Enable HDMI and HDMI audio

Try to avoid changing hardware settings when the "nomodeset" kernel arg
is present.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sun Nov 24 10:27:37 2019 UTC (4 years, 11 months ago) by jmcneill
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +9 -3 lines
Try to avoid changing hardware settings when the "nomodeset" kernel arg
is present.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Jun 17 05:27:01 2019 UTC (5 years, 4 months ago) by mrg
Branches: MAIN
CVS tags: phil-wifi-20191119, netbsd-9-base
Branch point for: netbsd-9
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +57 -31 lines
avoid allocations in the reboot (maybe crash) path and map the
reset registers in new *platform_bootstrap() functions that
merely move the bus_space_map() here, and then call the
original sunxi_platform_bootstrap().

tested on cubietruck and cubietruck plus.

Revision 1.23.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:57 2019 UTC (5 years, 4 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +170 -73 lines
Sync with HEAD

Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Apr 30 10:10:45 2019 UTC (5 years, 6 months ago) by mrg
Branches: MAIN
CVS tags: phil-wifi-20190609
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +4 -2 lines
turn on the "sun50i-a64-unstable-timer" workaround on "allwinner,sun8i-a83t"
compatible CPUs.  avoids triggering the KASSERT() on cubietruck plus.

idea from jmcneill.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Feb 3 15:43:57 2019 UTC (5 years, 9 months ago) by jmcneill
Branches: MAIN
CVS tags: isaki-audio2-base, isaki-audio2
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +9 -2 lines
Support "nomodeset" kernel cmdline flag to disable sunxidrm

Revision 1.20.2.9: download - view: text, markup, annotated - select for diffs
Fri Jan 18 08:50:15 2019 UTC (5 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.20.2.8: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.2.8: +87 -4 lines
Synch with HEAD

Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Jan 3 14:44:21 2019 UTC (5 years, 10 months ago) by jmcneill
Branches: MAIN
CVS tags: pgoyette-compat-20190127, pgoyette-compat-20190118
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +47 -12 lines
Add Allwinner A80 SMP support.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Jan 3 12:52:40 2019 UTC (5 years, 10 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +11 -48 lines
Add a link set for cpu enable methods.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Thu Jan 3 11:01:59 2019 UTC (5 years, 10 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +88 -3 lines
Add Allwinner A83T SMP support.

Revision 1.20.2.8: download - view: text, markup, annotated - select for diffs
Mon Nov 26 01:52:20 2018 UTC (5 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.20.2.7: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.2.7: +4 -12 lines
Sync with HEAD, resolve a couple of conflicts

Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Oct 30 16:41:52 2018 UTC (6 years ago) by skrll
Branches: MAIN
CVS tags: pgoyette-compat-1226, pgoyette-compat-1126
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -10 lines
Retire fdt_putchar and ap_early_put_char in favour of uartputc.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Oct 28 13:56:21 2018 UTC (6 years ago) by skrll
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +4 -4 lines
Restore pre-generic arm commit bootstrap behaviour.

Always call arm_fdt_cpu_bootstrap, i.e. don't depend on "/chosen" existing
in the FDT

Revision 1.20.2.7: download - view: text, markup, annotated - select for diffs
Sat Oct 20 06:58:26 2018 UTC (6 years ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.20.2.6: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.2.6: +14 -12 lines
Sync with head

Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu Oct 18 09:01:53 2018 UTC (6 years ago) by skrll
Branches: MAIN
CVS tags: pgoyette-compat-1020
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +14 -12 lines
Provide generic start code that assumes the MMU is off and caches are
disabled as per the linux booting protocol for ARMv6 and ARMv7 boards.
u-boot image type should be changed to 'linux' for correct behaviour.

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

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

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

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

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

Revision 1.20.2.6: download - view: text, markup, annotated - select for diffs
Sun Sep 30 01:45:39 2018 UTC (6 years, 1 month ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.20.2.5: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.2.5: +16 -5 lines
Ssync with HEAD

Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Sep 21 12:04:07 2018 UTC (6 years, 1 month ago) by skrll
Branches: MAIN
CVS tags: pgoyette-compat-0930
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3 lines
Centralise defparam CONSADDR, CONSPEED, CONMODE and CONADDR into
opt_console.h and adjust.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Sep 16 13:21:36 2018 UTC (6 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +13 -2 lines
port-evbarm/53308: evbarm-earmv7hf performance regression under qemu

Revert gtmr.c r1.27 and apply a workaround for Allwinner A64 SoCs based
on analysis of the issue from LKML: https://lkml.org/lkml/2018/5/10/774

Since this bug is specific to the Allwinner A64 SoC, only apply the
workaround when the root ("/") node of the device tree is compatible
with "allwinner,sun50i-a64".

Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon Sep 10 11:05:12 2018 UTC (6 years, 1 month ago) by ryo
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +4 -4 lines
cleanup aarch64 mpstart and fdt bootstrap
 * arm_cpu_hatch_arg is a bad idea. avoid serializing CPU startup, and eliminate arm_cpu_hatch_arg.
   in mpstart, resolve own cpu index using array of cpu_mpidr[] (aarch64)
 * add support fdt enable-method "spin-table"
 * add support fdt enable-method "brcm,bcm2836-smp" (for 32bit RaspberryPi)
 * use arm_fdt_cpu_bootstrap() instead of psci_fdt_bootstrap()
 * rename "arm/fdt/psci_fdt.h" to "arm/fdt/psci_fdtvar.h" because of conflict of include file for needs-flag
 * add devmap for cpu spin-table of raspberrypi3/aarch64
 * no need to force hatch APs for raspberrypi3/arm32 ifndef MULTIPROCESSOR.
 * fix to work pmap_extract(kerneltext/data/bss) even if before calling pmap_bootstrap

idea to use cpu_mpidr[] by jmcneill@. reviewd by skrll@. thanks.

Revision 1.20.2.5: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:55:27 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.20.2.4: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.2.4: +66 -66 lines
Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Aug 5 14:02:35 2018 UTC (6 years, 3 months ago) by skrll
Branches: MAIN
CVS tags: pgoyette-compat-0906
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +66 -66 lines
Add prefixes to struct arm_platform{,_info} members.

No functional change.

Revision 1.20.2.4: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:37:29 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.20.2.3: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.2.3: +4 -4 lines
Sync with HEAD

Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Jul 9 09:11:21 2018 UTC (6 years, 3 months ago) by jmcneill
Branches: MAIN
CVS tags: pgoyette-compat-0728
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +4 -4 lines
Use PSCI to spinup secondary CPUs on sun50i family SoCs.

Revision 1.20.2.3: download - view: text, markup, annotated - select for diffs
Mon Apr 16 01:59:53 2018 UTC (6 years, 6 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.20.2.2: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.2.2: +11 -5 lines
Sync with HEAD, resolve some conflicts

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Apr 7 18:06:27 2018 UTC (6 years, 7 months ago) by bouyer
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415
Branch point for: phil-wifi
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +11 -5 lines
Handle 'console=serial' passed from the bootargs. ok jmcneill@

Revision 1.20.2.2: download - view: text, markup, annotated - select for diffs
Sat Apr 7 04:12:12 2018 UTC (6 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.20.2.1: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.2.1: +31 -18 lines
Sync with HEAD.  77 conflicts resolved - all of them $NetBSD$

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun Apr 1 04:35:04 2018 UTC (6 years, 7 months ago) by ryo
Branches: MAIN
CVS tags: pgoyette-compat-0407
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +31 -18 lines
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 1.20.2.1: download - view: text, markup, annotated - select for diffs
Thu Mar 22 01:44:43 2018 UTC (6 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -4 lines
Synch with HEAD, resolve conflicts

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Mar 17 18:34:09 2018 UTC (6 years, 7 months ago) by ryo
Branches: MAIN
CVS tags: pgoyette-compat-0330, pgoyette-compat-0322
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -4 lines
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 1.20: download - view: text, markup, annotated - select for diffs
Sat Mar 3 01:19:46 2018 UTC (6 years, 8 months ago) by jmcneill
Branches: MAIN
CVS tags: pgoyette-compat-base, pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +34 -2 lines
Add H6 support

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Jan 27 14:17:45 2018 UTC (6 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +8 -4 lines
Apply RTL8211E "no-tx-delay" workaround to NanoPi NEO Plus2 boards as well.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Dec 23 12:50:55 2017 UTC (6 years, 10 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +11 -2 lines
Apply RTL8211E 'no-rx-delay' workaround on Pine64+ boards

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Dec 19 09:04:19 2017 UTC (6 years, 10 months ago) by skrll
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
Trailing whitespace

Revision 1.16.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:35:56 2017 UTC (6 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.16.2.1: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.2.1: +334 -0 lines
update from HEAD

Revision 1.16.2.1
Mon Nov 6 21:03:58 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.16: +0 -334 lines
file sunxi_platform.c was added on branch tls-maxphys on 2017-12-03 11:35:56 +0000

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Nov 6 21:03:58 2017 UTC (7 years ago) by jmcneill
Branches: MAIN
CVS tags: tls-maxphys-base-20171202
Branch point for: tls-maxphys
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -2 lines
Add support for NextThing GR8.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Oct 24 15:06:23 2017 UTC (7 years ago) by jmcneill
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +21 -6 lines
sun4i: use Timer 1 instead of Timer 0 for delay, and explicitly enable it

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Oct 23 19:36:01 2017 UTC (7 years ago) by jakllsch
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -4 lines
A couple small adjustments to make big endian (BE8) SUNXI work.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Oct 22 20:35:32 2017 UTC (7 years ago) by skrll
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -15 lines
Centralise defines for DEVMAP_{ALIGN,SIZE,ENTRY,ENTRY_END}

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Oct 21 02:21:30 2017 UTC (7 years ago) by jmcneill
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -3 lines
Fix sun4i platform delay to sleep the requested number of microseconds
instead of the requested number of clock ticks.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Oct 11 10:52:54 2017 UTC (7 years ago) by jmcneill
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -2 lines
Add H5 (sun50i) support.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Oct 8 18:00:36 2017 UTC (7 years ago) by jmcneill
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +34 -2 lines
Add Allwinner A80 (sun9i) support.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Oct 6 21:12:23 2017 UTC (7 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +28 -2 lines
add platform support for allwinner,sun4i-a10 and allwinner,sun7i-a20

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Sep 3 13:59:17 2017 UTC (7 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +25 -7 lines
Add 'console=fb' cmdline support.

Revision 1.7.2.2: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:32 2017 UTC (7 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.7.2.1: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.2.1: +253 -0 lines
Sync with HEAD

Revision 1.7.2.1
Fri Aug 25 00:07:03 2017 UTC (7 years, 2 months ago) by skrll
Branches: nick-nhusb
FILE REMOVED
Changes since revision 1.7: +0 -253 lines
file sunxi_platform.c was added on branch nick-nhusb on 2017-08-28 17:51:32 +0000

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Aug 25 00:07:03 2017 UTC (7 years, 2 months ago) by jmcneill
Branches: MAIN
CVS tags: nick-nhusb-base-20170825
Branch point for: nick-nhusb
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +73 -13 lines
Add initial support for Allwinner A13 and R8 SoCs.

Revision 1.5.4.3: download - view: text, markup, annotated - select for diffs
Tue Jul 25 01:35:53 2017 UTC (7 years, 3 months ago) by snj
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE, 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, matt-nb8-mediatek
Diff to: previous 1.5.4.2: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.4.2: +3 -2 lines
Pull up following revision(s) (requested by jmcneill in ticket #132):
	sys/arch/arm/sunxi/sunxi_platform.c: revision 1.5
	sys/arch/evbarm/conf/SUNXI: revision 1.17
Add support for Allwinner H2+ as found in the Orange Pi Zero.
--
Build sun8i-h2-plus-orangepi-zero.dts

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Jul 23 10:16:08 2017 UTC (7 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +27 -5 lines
Add sun50i gpio and platform support.

Revision 1.5.4.2: download - view: text, markup, annotated - select for diffs
Tue Jul 18 19:13:08 2017 UTC (7 years, 3 months ago) by snj
Branches: netbsd-8
Diff to: previous 1.5.4.1: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.4.1: +170 -0 lines
Pull up following revision(s) (requested by jmcneill in ticket #114):
	sys/arch/arm/samsung/exynos_intr.h: revision 1.3
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.1
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.2
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.3
	sys/arch/arm/sunxi/sunxi_gates.c: revision 1.1
	distrib/utils/embedded/mkimage: revision 1.66
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.4
	sys/arch/arm/sunxi/sunxi_rsb.c: revision 1.1
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.5
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.6
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.7
	sys/dev/gpio/gpio.c: revision 1.59
	sys/arch/arm/sunxi/sunxi_ccu_prediv.c: revision 1.1
	sys/conf/Makefile.kern.inc: revision 1.257
	sys/arch/evbarm/conf/ODROID-XU_INSTALL: file removal
	sys/arch/arm/sunxi/sunxi_ccu_prediv.c: revision 1.2
	sys/conf/Makefile.kern.inc: revision 1.258
	sys/arch/arm/fdt/psci_fdt.h: revision 1.1
	sys/arch/arm/sunxi/sunxi_resets.c: revision 1.1
	sys/arch/evbarm/conf/files.sunxi: revision 1.1
	sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.8
	sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.9
	sys/arch/arm/samsung/files.exynos: revision 1.22
	distrib/utils/embedded/conf/armv7.conf: revision 1.13
	sys/arch/arm/samsung/files.exynos: revision 1.23
	sys/arch/evbarm/conf/std.tegra: revision 1.15
	distrib/utils/embedded/conf/armv7.conf: revision 1.14
	sys/arch/arm/samsung/files.exynos: revision 1.24
	distrib/utils/embedded/conf/armv7.conf: revision 1.15
	sys/arch/evbarm/sunxi/genassym.cf: revision 1.1
	sys/arch/arm/samsung/exynos_fdt.c: file removal
	sys/dev/fdt/fdt_pinctrl.c: revision 1.4
	sys/arch/arm/samsung/exynos_sysmmu.c: revision 1.2
	sys/arch/arm/sunxi/sun8i_h3_gpio.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_twi.c: revision 1.1
	sys/dev/usb/ehci.c: revision 1.255
	sys/arch/arm/sunxi/sunxi_twi.c: revision 1.2
	sys/arch/arm/sunxi/sun8i_a83t_ccu.h: revision 1.1
	sys/dev/ic/dwc_mmc.c: revision 1.11
	sys/arch/arm/cortex/gic.c: revision 1.24
	distrib/evbarm/instkernel/ramdisk/Makefile: revision 1.17
	etc/etc.evbarm/Makefile.inc: revision 1.87
	etc/etc.evbarm/Makefile.inc: revision 1.88
	sys/arch/arm/fdt/gic_fdt.c: revision 1.5
	etc/Makefile: revision 1.429
	sys/arch/arm/fdt/gic_fdt.c: revision 1.6
	sys/arch/arm/fdt/gic_fdt.c: revision 1.7
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.2
	sys/arch/evbarm/conf/std.sunxi: revision 1.1
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.3
	sys/arch/evbarm/conf/std.sunxi: revision 1.2
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.4
	sys/arch/evbarm/conf/std.sunxi: revision 1.3
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.5
	sys/arch/arm/sunxi/sunxi_ccu_div.c: revision 1.1
	sys/dev/gpio/gpiovar.h: revision 1.17
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.6
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.7
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.8
	sys/arch/arm/sunxi/sunxi_rsb.h: revision 1.1
	sys/arch/arm/samsung/exynos_i2c.c: revision 1.12
	sys/dev/fdt/fdtvar.h: revision 1.21
	sys/arch/evbarm/sunxi/sunxi_start.S: revision 1.1
	sys/arch/arm/samsung/exynos_i2c.c: revision 1.13
	sys/dev/fdt/fdtvar.h: revision 1.22
	sys/arch/evbarm/conf/SUNXI: revision 1.10
	sys/dev/fdt/fdtvar.h: revision 1.23
	sys/arch/evbarm/conf/SUNXI: revision 1.11
	sys/dev/fdt/gpioleds.c: revision 1.1
	sys/dev/fdt/fdtvar.h: revision 1.24
	sys/arch/evbarm/conf/SUNXI: revision 1.12
	sys/arch/evbarm/conf/SUNXI: revision 1.13
	sys/arch/arm/cortex/gic.c: revision 1.30
	sys/arch/evbarm/conf/SUNXI: revision 1.14
	sys/arch/evbarm/conf/SUNXI: revision 1.15
	sys/arch/evbarm/conf/SUNXI: revision 1.16
	sys/arch/arm/sunxi/sunxi_emac.c: revision 1.1
	etc/Makefile: revision 1.430
	sys/arch/arm/sunxi/sunxi_emac.c: revision 1.2
	etc/Makefile: revision 1.431
	sys/arch/evbarm/conf/VEXPRESS_A15: revision 1.17
	sys/arch/arm/sunxi/sunxi_emac.c: revision 1.3
	sys/arch/arm/sunxi/sunxi_emac.c: revision 1.4
	sys/arch/arm/samsung/exynos5422_clock.c: revision 1.6
	sys/arch/arm/samsung/exynos_platform.c: revision 1.1
	sys/dev/ofw/ofw_subr.c: revision 1.29
	sys/arch/arm/samsung/exynos_platform.c: revision 1.2
	sys/arch/evbarm/conf/mk.vexpress: revision 1.3
	sys/arch/arm/samsung/exynos_platform.c: revision 1.3
	sys/arch/evbarm/conf/mk.vexpress: revision 1.4
	sys/arch/arm/samsung/exynos_platform.c: revision 1.4
	sys/arch/arm/arm/psci.h: revision 1.1
	sys/arch/arm/samsung/exynos_platform.c: revision 1.5
	sys/arch/arm/samsung/exynos_platform.c: revision 1.6
	sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.10
	external/bsd/mdocml/bin/mandoc/Makefile: revision 1.12
	sys/dev/fdt/files.fdt: revision 1.17
	sys/dev/fdt/files.fdt: revision 1.18
	sys/dev/fdt/files.fdt: revision 1.19
	sys/arch/arm/samsung/exynos_sscom.c: revision 1.8
	sys/arch/arm/sunxi/sun8i_a83t_ccu.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_mmc.c: revision 1.1
	sys/arch/arm/samsung/exynos_sscom.c: revision 1.9
	sys/arch/arm/conf/files.arm: revision 1.133
	sys/arch/arm/samsung/mct_var.h: revision 1.5
	sys/arch/arm/sunxi/sunxi_platform.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_platform.c: revision 1.2
	sys/arch/evbarm/conf/std.vexpress: revision 1.6
	sys/arch/arm/sunxi/sunxi_platform.c: revision 1.3
	sys/arch/arm/sunxi/sun6i_a31_gpio.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_platform.c: revision 1.4
	sys/arch/arm/sunxi/sun6i_a31_gpio.c: revision 1.2
	sys/arch/arm/sunxi/files.sunxi: revision 1.1
	sys/dev/ofw/ofw_subr.c: revision 1.30
	sys/arch/arm/sunxi/files.sunxi: revision 1.2
	sys/dev/ofw/openfirm.h: revision 1.35
	sys/arch/arm/sunxi/files.sunxi: revision 1.3
	sys/dev/ofw/openfirm.h: revision 1.36
	sys/arch/arm/sunxi/files.sunxi: revision 1.4
	sys/arch/arm/sunxi/files.sunxi: revision 1.5
	sys/arch/evbarm/exynos/exynos_machdep.c: file removal
	sys/arch/arm/sunxi/sunxi_gpio.h: revision 1.1
	sys/arch/arm/samsung/sscom.c: revision 1.9
	sys/arch/arm/sunxi/files.sunxi: revision 1.6
	sys/dev/fdt/ohci_fdt.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_usbphy.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_gpio.h: revision 1.2
	sys/arch/arm/sunxi/files.sunxi: revision 1.7
	sys/arch/arm/sunxi/sunxi_usbphy.c: revision 1.2
	sys/arch/arm/sunxi/sunxi_gpio.h: revision 1.3
	sys/arch/arm/sunxi/files.sunxi: revision 1.8
	sys/arch/arm/sunxi/sunxi_usbphy.c: revision 1.3
	sys/arch/arm/sunxi/files.sunxi: revision 1.9
	sys/arch/arm/samsung/exynos_sscom.c: revision 1.10
	sys/arch/evbarm/conf/mk.tegra: revision 1.5
	sys/arch/arm/samsung/exynos_dwcmmc.c: revision 1.4
	sys/arch/evbarm/conf/mk.tegra: revision 1.6
	sys/arch/evbarm/conf/EXYNOS: revision 1.15
	sys/arch/evbarm/conf/EXYNOS: revision 1.16
	sys/arch/evbarm/conf/EXYNOS: revision 1.17
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.1
	sys/arch/evbarm/conf/EXYNOS: revision 1.19
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.2
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.3
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.4
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.5
	sys/arch/arm/sunxi/sunxi_emac.h: revision 1.1
	sys/arch/evbarm/conf/mk.sunxi: revision 1.1
	sys/arch/evbarm/include/bootconfig.h: revision 1.7
	sys/arch/evbarm/conf/TEGRA: revision 1.24
	sys/arch/arm/arm/psci.c: revision 1.1
	sys/dev/led.c: revision 1.1
	sys/dev/led.c: revision 1.2
	sys/arch/arm/arm/psci_arm.S: revision 1.1
	sys/arch/arm/sunxi/sunxi_ccu_gate.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_ccu_gate.c: revision 1.2
	sys/dev/fdt/ehci_fdt.c: revision 1.1
	sys/dev/fdt/ehci_fdt.c: revision 1.2
	sys/arch/arm/sunxi/sun6i_a31_ccu.h: revision 1.1
	sys/arch/evbarm/conf/EXYNOS: revision 1.21
	sys/arch/arm/sunxi/files.sunxi: revision 1.10
	sys/arch/arm/sunxi/files.sunxi: revision 1.11
	sys/dev/fdt/fdtbus.c: revision 1.14
	sys/arch/arm/sunxi/sunxi_mmc.h: revision 1.1
	sys/arch/arm/samsung/exynos5422_dma.c: file removal
	usr.bin/config/mkmakefile.c: revision 1.69
	sys/conf/files: revision 1.1178
	sys/arch/arm/sunxi/sunxi_platform.h: revision 1.1
	sys/arch/evbarm/exynos/exynos_start.S: revision 1.4
	sys/arch/arm/samsung/exynos_pinctrl.c: revision 1.11
	sys/arch/arm/samsung/exynos_pinctrl.c: revision 1.12
	sys/arch/arm/sunxi/sunxi_rtc.c: revision 1.1
	sys/arch/arm/sunxi/sun8i_h3_ccu.h: revision 1.1
	sys/arch/arm/samsung/exynos5410_clock.c: revision 1.1
	sys/arch/arm/samsung/exynos5410_clock.c: revision 1.2
	sys/arch/evbarm/conf/SUNXI: revision 1.1
	external/bsd/elftosb/usr.sbin/elftosb/Makefile: revision 1.5
	sys/arch/evbarm/conf/SUNXI: revision 1.2
	sys/arch/arm/fdt/psci_fdt.c: revision 1.1
	sys/arch/evbarm/conf/SUNXI: revision 1.3
	sys/arch/evbarm/conf/SUNXI: revision 1.4
	sys/arch/evbarm/conf/files.exynos: revision 1.3
	sys/arch/evbarm/conf/SUNXI: revision 1.5
	sys/arch/evbarm/conf/SUNXI: revision 1.6
	sys/arch/arm/sunxi/sunxi_ccu_nm.c: revision 1.1
	sys/dev/fdt/fixedfactorclock.c: revision 1.1
	sys/dev/fdt/fdt_subr.c: revision 1.14
	sys/arch/evbarm/conf/SUNXI: revision 1.7
	sys/arch/arm/sunxi/sunxi_ccu_nm.c: revision 1.2
	sys/arch/arm/sunxi/sun8i_a83t_gpio.c: revision 1.1
	sys/dev/fdt/fdt_subr.c: revision 1.15
	sys/arch/evbarm/conf/SUNXI: revision 1.8
	sys/arch/arm/sunxi/sunxi_ccu_nm.c: revision 1.3
	sys/dev/ic/dwc_mmc_reg.h: revision 1.6
	sys/dev/fdt/fdt_subr.c: revision 1.16
	sys/arch/evbarm/conf/SUNXI: revision 1.9
	usr.bin/config/mkmakefile.c: revision 1.70
	sys/dev/fdt/fdt_phy.c: revision 1.1
	sys/arch/evbarm/conf/ODROID-XU: file removal
	sys/arch/arm/fdt/arm_fdt.c: revision 1.4
	sys/arch/arm/samsung/exynos_reg.h: revision 1.14
	sys/conf/files: revision 1.1180
	sys/arch/arm/samsung/exynos_reg.h: revision 1.15
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.1
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.2
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.3
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.4
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.5
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.6
	sys/dev/ic/dwc_mmc_var.h: revision 1.6
	sys/arch/arm/samsung/exynos_combiner.c: revision 1.7
	sys/arch/evbarm/exynos/platform.h: revision 1.2
	sys/arch/arm/fdt/files.fdt: revision 1.12
	sys/arch/evbarm/conf/std.exynos: revision 1.2
	sys/arch/evbarm/conf/std.exynos: revision 1.3
	sys/arch/arm/rockchip/rockchip_dwcmmc.c: revision 1.6
	sys/arch/arm/sunxi/sunxi_com.c: revision 1.1
	sys/dev/led.h: revision 1.1
	sys/arch/evbarm/conf/std.exynos: revision 1.5
	sys/arch/arm/sunxi/sunxi_com.c: revision 1.2
	sys/arch/evbarm/conf/files.evbarm: revision 1.26
	usr.bin/config/defs.h: revision 1.99
	sys/arch/arm/fdt/arm_fdtvar.h: revision 1.6
	sys/arch/arm/samsung/exynos_soc.c: revision 1.32
	sys/arch/arm/sunxi/sun6i_a31_ccu.c: revision 1.1
	sys/arch/arm/sunxi/sun6i_a31_ccu.c: revision 1.2
	sys/arch/arm/samsung/mct.c: revision 1.11
	sys/arch/evbarm/conf/ODROID-U: file removal
	sys/arch/arm/samsung/mct.c: revision 1.12
	sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.2
	sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.3
	sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.4
Get the EXYNOS kernel building again with recent FDT changes. Untested.
Use arm_fdt_cpu_hatch and add mmu entry for DTB
Fix exynos5 devmap, bootstrap, and implement early_putchar.
Calculate UART frequency based on bootloader config.
Fix KERNEL_BASE_PHYS (how did this ever work?)
Avoid divide-by-zero for unconfigured PLLs
Correctly initialize i2cbus attach args.
Add delay and enable mct timecounter.
Fix build w/o VERBOSE_INIT_ARM
Remove ODROID-U and ODROID-XU kernel configs as they no longer work.
- Replace CONSADDR with SSCOM2CONSOLE in example
- Remove gtmr (Exynos5422 uses mct)
- cinclude EXYNOS.local instead of TEGRA.local
Use fdtbus_intr_establish to hook in block interrupts instead of
intr_establish.
Simplify MCT; just enable it and then attach an ARMv7 generic timer.
Add support for building DTB files during kernel build, from christos.
build vexpress-v2p-ca15-tc1.dtb with the kernel
build tegra124-apalis-eval.dtb, tegra124-jetson-tk1.dtb, tegra124-nyan-big.dtb, tegra124-nyan-blaze.dtb, and tegra124-venice2.dtb with the kernel
Allow multiline makeoptions to work by quoting the newline..
Bump for quoting makeoptions with multiple lines.
un-c99
bump required config version for multiline makeoptions feature
Set DTS makeoption in kernel config
Assign DTB files to a variable so we can make -V DTB
put the dtb files with their kernels.
no need for debug printing.
Don't assume that CPU index = GIC CPU interface number. We can determine
the current CPU interface number by reading from the read-only
GICD_ITARGETSR0 through GICD_ITARGETSR7 registers.
This gets interrupts working on Exynos 5422, where the boot processor has
GIC CPU interface #4.
use -v to get the expanded variable.
Use -v to get the expanded variables.
Get baud rate from sclk_uartN instead of uartN. Print IRQ number at attach.
Fix PLL con0 register locations and add uart clocks
Disable exyortc for now, it doesn't work.
More or less a rewrite of dwc_mmc, based on awin_mmc, adding DMA support.
Update for new dwc_mmc driver
Fix dmesg
Add Exynos 5410 clock controller driver.
Fix a few typos in clock parent names for mmc clocks.
From jmcneill@
Update for new dwc_mmc driver
Implement platform reset for exynos5
Attach fdtbus to a /clocks node with no compatible string.
Add support for ARM Power State Coordination Interface (PSCI).
Support interrupt sharing.
Add initial support for Allwinner H3 SoC.
ARM Trusted Firmware reserves SGIs 8-15 for secure use. Even without ATF,
U-Boot on some platforms may use SGIs in this range for the PSCI
implementation.
Change ARMGIC_IPI_BASE to 0 from (16 - NIPI) and add a compile-time assert
to ensure that we don't end up with a conflict.
Add H3 MMC support
SD/MMC clock fixes
Add FDT PHY interface.
Add glue for generic ehci/ohci bindings.
Rename a variable, NFC.
Support parents in different clock domains.
Add USB stuff. Doesn't quite work yet.
Synopsys DesignWare APB UART needs "options COM_AWIN" for now.
Add i2c glue.
Add RTC driver.
PHY registers start at index 1. Now USB works.
Don't allow sharing edge and level triggered interrupts.
Add arm_fdt_memory_dump helper for dumping physical addresses from ddb
Print clocks with aprint_debug
Remove unused defines
Add fdtbus_get_string helper
Add of_search_compatible, which searches an array of compat_data structures
for a matching "compatible" entry matching the supplied OFW node. This
allows us to associate data with compatible strings.
Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.
This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.
Fix dmesg
Add basic support for Allwinner A31.
Add basic FDT GPIO support.
Fix the pinctrl api to match the spec. A pinctrl config can have more
than one xref, and an xref may have specifier data associated with it.
Enable sunxi pinctrl support
Adjust to new pinctrl API
Add P2WI/RSB driver, based on awin_p2wi.c.
Fix typo in a compat string.
Configure pin defaults at attach
No need to explicitly set pinctrl config 0 now
Fix some register definitions.
Disallow sharing between MPSAFE and non-MPSAFE handlers.
Add of_match_compat_data.
This routine searches an array of compat_data structures for a
matching "compatible" entry matching the supplied OFW node.
Add options __HAVE_CPU_UAREA_ALLOC_IDLELWP
Add support for reserved memory and MEMORY_DISK_DYNAMIC for FDT-based
kernels.
the extent code cannot use the full range of u_long,
so ignore the last page before 4GB too.  ok jmcneill@
Copy install ramdisk to releasedir. Provide both a raw ffs and
Legacy U-Boot version of it.
Replace HUMMINGBIRD_A31 with SUNXI kernel on armv7.img and include .dtb
files for SUNXI and TEGRA kernels on the MSDOS partition.
Let the controller provide a default name for pins. This makes pins easier
to locate when we have multiple banks and a variable number of pins per
bank.
Attach gpio(4) to sunxigpio
Test for kernel build directory before reading DTB list
Add support for Allwinner A83T SoC.
Add A83T files
Fixup busdma sync and locking in the RX path. Disable batch RX/TX ints.
Fix AHB2 register definition and explicitly set AHB2 parent to PLL_PERIPH0/2 -- this gives us 50% more bus bandwidth for emac
Restore TX_INTERVAL_DEFAULT to 64
Drop the sunxi_emac_rx_batch feature. It was originally designed to
reduce the amount of mutex unlock/lock cycles during the RX path on
FreeBSD and if_input, but it is not required to drop the lock before
calling if_percpuq_enqueue on NetBSD.
Write back the data value instead of mask in sunxi_gpio_write
Add a helper for exposing LED controls via sysctl.
Add GPIO LED driver.
add gpioleds
Add misc. gates and resets driver, and explicitly enable PIO clocks
at attach.
Add fdtbus_get_string_index helper.
Add driver for fixed-factor clocks.
Add ffclock
Remove the requirement for ehci to attach after companion devices.
"go for it" - skrll@
Remove the hack to find companion devices and just assume 1 companion if
ETTF flag is not set.
Remove pass numbers for ehci/ohci now that the attach order no longer matters
Use unsigned char for ctype functions, suggested by christos
Add : to body of populate_sunxi to appease bash.
port-evbarm/52388: Fix number of args to a debug printf.

Revision 1.5.4.1
Thu Jul 13 09:04:28 2017 UTC (7 years, 3 months ago) by snj
Branches: netbsd-8
FILE REMOVED
Changes since revision 1.5: +0 -171 lines
file sunxi_platform.c was added on branch netbsd-8 on 2017-07-18 19:13:08 +0000

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Jul 13 09:04:28 2017 UTC (7 years, 3 months ago) by jmcneill
Branches: MAIN
CVS tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646
Branch point for: netbsd-8
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -2 lines
Add support for Allwinner H2+ as found in the Orange Pi Zero.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Jul 6 22:10:14 2017 UTC (7 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -2 lines
Add support for Allwinner A83T SoC.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Jul 2 00:14:09 2017 UTC (7 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +33 -20 lines
Add basic support for Allwinner A31.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Jun 30 09:05:52 2017 UTC (7 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -6 lines
Remove unused defines

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Jun 28 23:51:29 2017 UTC (7 years, 4 months ago) by jmcneill
Branches: MAIN
Add initial support for Allwinner H3 SoC.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>