The NetBSD Project

CVS log for src/sys/dev/fdt/fdtvar.h

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / fdt

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.77 / (download) - annotate - [select for diffs], Fri Mar 4 08:19:06 2022 UTC (10 months, 4 weeks ago) by skrll
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.76: +40 -1 lines
Diff to previous 1.76 (colored)

Add mailbox and power-domain support.

power-domain support is very rudimentary.

Revision 1.76 / (download) - annotate - [select for diffs], Wed Feb 23 08:56:11 2022 UTC (11 months, 1 week ago) by skrll
Branch: MAIN
Changes since 1.75: +179 -160 lines
Diff to previous 1.75 (colored)

Sort a bit. NFC

Revision 1.75 / (download) - annotate - [select for diffs], Wed Feb 23 07:55:55 2022 UTC (11 months, 1 week ago) by skrll
Branch: MAIN
Changes since 1.74: +2 -2 lines
Diff to previous 1.74 (colored)

API naming consistency.  NFC.

Revision 1.70.12.2 / (download) - annotate - [select for diffs], Tue Jan 18 00:14:20 2022 UTC (12 months, 1 week ago) by thorpej
Branch: thorpej-i2c-spi-conf2
Changes since 1.70.12.1: +1 -3 lines
Diff to previous 1.70.12.1 (colored) to branchpoint 1.70 (colored) next main 1.71 (colored)

G/C fdtbus_register_spi_controller(); it serves no purpose in the new
universe.

Revision 1.74 / (download) - annotate - [select for diffs], Fri Jan 14 07:40:52 2022 UTC (12 months, 2 weeks ago) by skrll
Branch: MAIN
Changes since 1.73: +34 -14 lines
Diff to previous 1.73 (colored)

Formatting. NFCI.

Revision 1.73 / (download) - annotate - [select for diffs], Sun Nov 7 17:13:53 2021 UTC (14 months, 3 weeks ago) by jmcneill
Branch: MAIN
Changes since 1.72: +2 -1 lines
Diff to previous 1.72 (colored)

fdt: add helper for finding intr parent phandle

Revision 1.72 / (download) - annotate - [select for diffs], Mon Sep 6 14:03:18 2021 UTC (16 months, 3 weeks ago) by jmcneill
Branch: MAIN
Changes since 1.71: +4 -1 lines
Diff to previous 1.71 (colored)

Instead of requiring drivers to be explicit about their device memory
mapping requirements, move this decision into the fdt layer. This
introduces a new MD function, fdtbus_bus_tag_create, which is responsible
for returning per-node bus_space handles.

Revision 1.71 / (download) - annotate - [select for diffs], Sat Sep 4 12:34:39 2021 UTC (16 months, 3 weeks ago) by jmcneill
Branch: MAIN
Changes since 1.70: +9 -1 lines
Diff to previous 1.70 (colored)

Add facility for registering iommus.

Revision 1.70.12.1 / (download) - annotate - [select for diffs], Mon Aug 9 00:30:09 2021 UTC (17 months, 3 weeks ago) by thorpej
Branch: thorpej-i2c-spi-conf2
Changes since 1.70: +3 -10 lines
Diff to previous 1.70 (colored)

Port over the changes from thorpej-i2c-spi-conf to thorpej-i2c-spi-conf2,
which is based on a newer HEAD revision.

Revision 1.70.2.2 / (download) - annotate - [select for diffs], Wed May 19 03:14:25 2021 UTC (20 months, 2 weeks ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.70.2.1: +1 -3 lines
Diff to previous 1.70.2.1 (colored) to branchpoint 1.70 (colored) next main 1.71 (colored)

fdtbus_attach_i2cbus() is no longer anything other than a wrapper around
config_found(); just get rid of it and make its callers look like all of
the other I2C controller drivers.

Revision 1.70.2.1 / (download) - annotate - [select for diffs], Wed May 19 02:58:26 2021 UTC (20 months, 2 weeks ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.70: +3 -8 lines
Diff to previous 1.70 (colored)

- As with i2c, just register the spi_controller directly.
- fdtbus_attach_spibus() is no longer anything other than a wrapper
  around config_found(); just get rid of it and make its callers
  look like all of the other SPI controller drivers.

Revision 1.70 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:53 2021 UTC (21 months, 1 week ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, 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-conf2, thorpej-i2c-spi-conf
Changes since 1.69: +1 -2 lines
Diff to previous 1.69 (colored)

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.61.2.3 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:44 2021 UTC (21 months, 4 weeks ago) by thorpej
Branch: thorpej-futex
Changes since 1.61.2.2: +8 -4 lines
Diff to previous 1.61.2.2 (colored) next main 1.62 (colored)

Sync with HEAD.

Revision 1.69.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 21:21:08 2021 UTC (21 months, 4 weeks ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.69: +1 -2 lines
Diff to previous 1.69 (colored) next main 1.70 (colored)

- 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.69 / (download) - annotate - [select for diffs], Thu Feb 4 22:14:08 2021 UTC (23 months, 3 weeks ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base
Branch point for: thorpej-cfargs
Changes since 1.68: +3 -1 lines
Diff to previous 1.68 (colored)

Add fdtbus_device_register().  Just a placeholder for now.

Revision 1.68 / (download) - annotate - [select for diffs], Sat Jan 16 09:09:37 2021 UTC (2 years ago) by ryo
Branch: MAIN
Changes since 1.67: +1 -3 lines
Diff to previous 1.67 (colored)

oops, fix mistake in previous commit. removed unwanted member that had been added.

Revision 1.67 / (download) - annotate - [select for diffs], Fri Jan 15 22:59:49 2021 UTC (2 years ago) by jmcneill
Branch: MAIN
Changes since 1.66: +2 -2 lines
Diff to previous 1.66 (colored)

Add 'const char *xname' param to fdtbus_intr_establish_byname

Revision 1.66 / (download) - annotate - [select for diffs], Fri Jan 15 17:17:04 2021 UTC (2 years ago) by ryo
Branch: MAIN
Changes since 1.65: +6 -2 lines
Diff to previous 1.65 (colored)

add fdtbus_intr_establish_xname() function

Revision 1.65 / (download) - annotate - [select for diffs], Fri Jan 15 00:38:23 2021 UTC (2 years ago) by jmcneill
Branch: MAIN
Changes since 1.64: +2 -2 lines
Diff to previous 1.64 (colored)

Add 'const char *xname' arg to fdtbus_interrupt_controller_func .establish

Revision 1.61.2.2 / (download) - annotate - [select for diffs], Sun Jan 3 16:34:57 2021 UTC (2 years ago) by thorpej
Branch: thorpej-futex
Changes since 1.61.2.1: +3 -7 lines
Diff to previous 1.61.2.1 (colored)

Sync w/ HEAD.

Revision 1.64 / (download) - annotate - [select for diffs], Wed Dec 23 16:02:11 2020 UTC (2 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.63: +2 -7 lines
Diff to previous 1.63 (colored)

Change fdtbus_register_i2c_controller() to directly register the i2c_tag_t,
rather than the device and a set of functions (the only of which was to
return the i2c_tag_t anyway).  Previously, this assumed only a single
i2c controller node per device_t, which is not true with an i2c mux.

Revision 1.63 / (download) - annotate - [select for diffs], Wed Dec 23 04:07:34 2020 UTC (2 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.62: +2 -1 lines
Diff to previous 1.62 (colored)

Add fdtbus_gpio_count(), which counts the number of GPIO entries
in a specified property.

Revision 1.61.2.1 / (download) - annotate - [select for diffs], Mon Dec 14 14:38:05 2020 UTC (2 years, 1 month ago) by thorpej
Branch: thorpej-futex
Changes since 1.61: +4 -4 lines
Diff to previous 1.61 (colored)

Sync w/ HEAD.

Revision 1.62 / (download) - annotate - [select for diffs], Fri Dec 11 09:40:28 2020 UTC (2 years, 1 month ago) by skrll
Branch: MAIN
Changes since 1.61: +4 -4 lines
Diff to previous 1.61 (colored)

Multiple inclusion protection define consistency

Revision 1.61 / (download) - annotate - [select for diffs], Mon Sep 28 11:54:24 2020 UTC (2 years, 4 months ago) by jmcneill
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.60: +1 -2 lines
Diff to previous 1.60 (colored)

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.34.2.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:19 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.34.2.2: +34 -1 lines
Diff to previous 1.34.2.2 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.34.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:04 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.34.2.1: +18 -2 lines
Diff to previous 1.34.2.1 (colored) to branchpoint 1.34 (colored)

Merge changes from current as of 20200406

Revision 1.57.2.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:19:07 2020 UTC (2 years, 11 months ago) by ad
Branch: ad-namecache
Changes since 1.57: +18 -2 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

Sync with head.

Revision 1.60 / (download) - annotate - [select for diffs], Thu Feb 20 01:35:55 2020 UTC (2 years, 11 months ago) by jmcneill
Branch: 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
Changes since 1.59: +13 -1 lines
Diff to previous 1.59 (colored)

Add dma-ranges support.

Revision 1.59 / (download) - annotate - [select for diffs], Sun Feb 16 20:28:18 2020 UTC (2 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.58: +5 -1 lines
Diff to previous 1.58 (colored)

Add fdt_intr_mask() / fdt_intr_unmask() functions, for masking and
unmasking invididual interrupt sources (similar to acpi_intr_mask()
and acpi_intr_unmask()).

Revision 1.58 / (download) - annotate - [select for diffs], Sun Feb 16 14:56:52 2020 UTC (2 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored)

Rename fdtbus_set_data() to fdtbus_init().  NFC.

Revision 1.52.2.3 / (download) - annotate - [select for diffs], Wed Nov 27 13:46:45 2019 UTC (3 years, 2 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Changes since 1.52.2.2: +17 -1 lines
Diff to previous 1.52.2.2 (colored) to branchpoint 1.52 (colored) next main 1.53 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #491):

	sys/arch/evbarm/conf/BEAGLEBOARD_INSTALL: file removal
	sys/arch/arm/ti/ti_dpll_clock.c: revision 1.2
	sys/arch/arm/ti/ti_sysc.c: revision 1.1
	sys/arch/arm/ti/ti_rng.c: revision 1.1
	sys/arch/arm/ti/ti_rng.c: revision 1.2
	sys/dev/i2c/tps65950.c: file removal
	sys/arch/evbarm/conf/std.ti: file removal
	sys/dev/i2c/files.i2c: revision 1.101
	sys/dev/i2c/files.i2c: revision 1.102
	sys/dev/i2c/at24cxx.c: revision 1.32
	sys/dev/i2c/files.i2c: revision 1.103
	sys/dev/i2c/twl4030.c: revision 1.1
	sys/dev/i2c/files.i2c: revision 1.104
	sys/dev/i2c/twl4030.c: revision 1.2
	sys/dev/i2c/twl4030.c: revision 1.3
	sys/arch/arm/ti/ti_com.c: revision 1.6
	sys/arch/arm/ti/ti_com.c: revision 1.7
	sys/arch/arm/ti/ti_com.c: revision 1.8
	sys/dev/fdt/cpufreq_dt.c: revision 1.11
	sys/arch/arm/ti/ti_iic.c: revision 1.1
	sys/dev/fdt/cpufreq_dt.c: revision 1.12
	sys/arch/arm/ti/ti_usb.c: revision 1.1
	sys/arch/arm/ti/ti_iic.c: revision 1.2
	sys/dev/fdt/cpufreq_dt.c: revision 1.13
	sys/arch/arm/ti/ti_iic.c: revision 1.3
	sys/arch/arm/ti/ti_iic.c: revision 1.4
	sys/arch/evbarm/conf/files.ti: file removal
	sys/arch/evbarm/conf/BEAGLEBOARDXM: file removal
	sys/arch/arm/dts/omap3-n900.dts: revision 1.1
	sys/arch/arm/ti/ti_edma.h: revision 1.1
	sys/arch/evbarm/conf/OVERO_INSTALL: file removal
	sys/arch/arm/ti/ti_usbtll.c: revision 1.1
	sys/arch/arm/ti/files.ti: revision 1.5
	etc/etc.evbarm/Makefile.inc: revision 1.108
	sys/arch/arm/ti/files.ti: revision 1.6
	sys/dev/i2c/tps65217pmic.c: revision 1.13
	etc/etc.evbarm/Makefile.inc: revision 1.109
	sys/arch/arm/ti/files.ti: revision 1.7
	sys/dev/i2c/tps65217pmic.c: revision 1.14
	sys/arch/arm/ti/files.ti: revision 1.8
	sys/arch/arm/ti/files.ti: revision 1.9
	sys/dev/fdt/usbnopphy.c: revision 1.1
	sys/arch/evbarm/conf/GENERIC: revision 1.55
	sys/arch/evbarm/conf/GENERIC: revision 1.56
	sys/arch/evbarm/conf/GENERIC: revision 1.57
	sys/arch/evbarm/conf/GENERIC: revision 1.58
	sys/arch/evbarm/conf/GENERIC: revision 1.59
	sys/arch/evbarm/conf/BEAGLEBONE: file removal
	sys/arch/arm/ti/omap2_gpmcreg.h: revision 1.1
	sys/arch/arm/ti/ti_otgreg.h: revision 1.1
	sys/arch/arm/ti/ti_tptc.c: revision 1.1
	sys/arch/evbarm/conf/IGEPV2: file removal
	sys/arch/arm/ti/am3_prcm.c: revision 1.10
	sys/dev/i2c/tda19988.c: revision 1.1
	sys/arch/evbarm/conf/OVERO: file removal
	sys/dev/i2c/tda19988.c: revision 1.2
	sys/dev/i2c/tda19988.c: revision 1.3
	sys/arch/arm/ti/omap3_dss.c: revision 1.1
	sys/arch/evbarm/conf/BEAGLEBONE_INSTALL: file removal
	sys/arch/arm/ti/ti_omapintc.c: revision 1.2
	etc/etc.evbarm/Makefile.inc: revision 1.112
	etc/etc.evbarm/Makefile.inc: revision 1.113
	sys/arch/arm/ti/ti_div_clock.c: revision 1.1
	etc/etc.evbarm/Makefile.inc: revision 1.114
	sys/arch/evbarm/conf/N900: revision 1.32
	sys/arch/evbarm/conf/N900: revision 1.33
	distrib/utils/embedded/conf/armv7.conf: revision 1.36
	sys/arch/evbarm/conf/GENERIC: revision 1.60
	distrib/utils/embedded/conf/armv7.conf: revision 1.37
	sys/arch/arm/ti/omap2_nand.c: revision 1.1
	sys/arch/evbarm/conf/GENERIC: revision 1.61
	sys/arch/arm/ti/omap2_nand.c: revision 1.2
	sys/arch/evbarm/conf/GENERIC: revision 1.62
	distrib/utils/embedded/conf/armv7.conf: revision 1.39
	sys/arch/evbarm/conf/GENERIC: revision 1.63
	sys/arch/arm/ti/ti_fb.c: revision 1.1
	sys/arch/evbarm/conf/GENERIC: revision 1.64
	sys/arch/evbarm/conf/GENERIC: revision 1.65
	sys/arch/evbarm/conf/GENERIC: revision 1.66
	sys/arch/evbarm/conf/GENERIC: revision 1.67
	sys/arch/arm/ti/ti_platform.c: revision 1.7
	sys/arch/arm/ti/ti_platform.c: revision 1.8
	sys/arch/arm/ti/am3_prcm.c: revision 1.2
	sys/arch/arm/ti/ti_platform.c: revision 1.9
	sys/arch/arm/ti/am3_prcm.c: revision 1.3
	sys/arch/arm/ti/am3_prcm.c: revision 1.4
	sys/arch/arm/ti/am3_prcm.c: revision 1.5
	sys/arch/arm/ti/am3_prcm.c: revision 1.6
	sys/arch/arm/ti/am3_prcm.c: revision 1.7
	sys/arch/evbarm/conf/DEVKIT8000: file removal
	sys/arch/arm/ti/am3_prcm.c: revision 1.8
	sys/arch/arm/ti/am3_prcm.c: revision 1.9
	sys/dev/fdt/syscon.c: revision 1.4
	sys/arch/arm/ti/files.ti: revision 1.10
	sys/arch/arm/ti/ti_mux_clock.c: revision 1.1
	sys/arch/arm/ti/ti_sdhc.c: revision 1.1
	sys/arch/arm/ti/files.ti: revision 1.11
	sys/arch/arm/ti/if_cpswreg.h: revision 1.1
	sys/arch/arm/ti/ti_sdhc.c: revision 1.2
	sys/arch/arm/ti/files.ti: revision 1.12
	sys/arch/arm/ti/ti_sdhc.c: revision 1.3
	sys/arch/arm/ti/files.ti: revision 1.13
	sys/arch/arm/ti/files.ti: revision 1.14
	sys/arch/arm/ti/files.ti: revision 1.15
	sys/arch/arm/ti/files.ti: revision 1.16
	sys/arch/arm/ti/omap3_cm.c: revision 1.1
	sys/arch/arm/ti/files.ti: revision 1.17
	sys/arch/arm/ti/omap3_cm.c: revision 1.2
	sys/arch/arm/ti/files.ti: revision 1.18
	sys/arch/arm/ti/omap3_cm.c: revision 1.3
	sys/arch/arm/ti/files.ti: revision 1.19
	sys/arch/arm/ti/omap3_cm.c: revision 1.4
	sys/arch/arm/ti/ti_motg.c: revision 1.1
	sys/arch/arm/ti/ti_rngreg.h: revision 1.1
	sys/arch/arm/ti/ti_sdhcreg.h: revision 1.1
	sys/arch/arm/dts/omap3-beagle-xm.dts: revision 1.1
	sys/arch/arm/ti/am3_platform.c: revision 1.1
	sys/arch/arm/ti/ti_sdhcreg.h: revision 1.2
	sys/arch/arm/ti/ti_lcdc.h: revision 1.1
	sys/arch/evbarm/conf/BEAGLEBOARDXM_INSTALL: file removal
	sys/arch/evbarm/conf/README.evbarm: revision 1.22
	sys/arch/evbarm/conf/README.evbarm: revision 1.23
	sys/arch/arm/ti/ti_platform.c: file removal
	sys/arch/evbarm/conf/README.evbarm: revision 1.24
	sys/arch/arm/ti/ti_omaptimer.c: revision 1.2
	sys/arch/arm/ti/ti_prcm.c: revision 1.2
	sys/arch/evbarm/conf/README.evbarm: revision 1.25
	sys/arch/arm/ti/ti_omaptimer.c: revision 1.3
	sys/arch/arm/ti/ti_prcm.c: revision 1.3
	sys/arch/evbarm/conf/README.evbarm: revision 1.26
	sys/arch/arm/ti/ti_omaptimer.c: revision 1.4
	sys/arch/evbarm/conf/README.evbarm: revision 1.27
	sys/arch/arm/ti/ti_ehci.c: revision 1.1
	sys/arch/arm/ti/files.ti: revision 1.20
	sys/arch/arm/ti/ti_cpufreq.c: revision 1.1
	sys/arch/arm/ti/ti_cpufreq.c: revision 1.2
	sys/arch/arm/fdt/smsh_fdt.c: revision 1.2
	sys/arch/arm/ti/omap3_dssreg.h: revision 1.1
	sys/arch/evbarm/conf/OVERO: revision 1.56
	sys/arch/evbarm/conf/TI: file removal
	sys/arch/arm/dts/omap3-beagle.dts: revision 1.1
	sys/dev/fdt/fdtvar.h: revision 1.55
	sys/dev/fdt/fdtvar.h: revision 1.56
	distrib/utils/embedded/files/armv7_boot_nonefi.cmd: revision 1.2
	sys/dev/fdt/fdt_phy.c: revision 1.6
	sys/arch/arm/ti/ti_iicreg.h: revision 1.1
	sys/arch/arm/ti/ti_lcdc.c: revision 1.1
	sys/arch/arm/ti/ti_gpio.c: revision 1.1
	sys/arch/arm/ti/ti_iicreg.h: revision 1.2
	sys/arch/arm/ti/ti_lcdc.c: revision 1.2
	sys/dev/fdt/files.fdt: revision 1.46
	sys/arch/arm/ti/ti_gpio.c: revision 1.2
	sys/arch/arm/ti/ti_iicreg.h: revision 1.3
	sys/arch/arm/ti/ti_lcdc.c: revision 1.3
	sys/dev/fdt/files.fdt: revision 1.47
	sys/arch/arm/ti/ti_gpio.c: revision 1.3
	sys/dev/fdt/pinctrl_single.c: revision 1.1
	sys/arch/evbarm/conf/files.generic: revision 1.9
	sys/arch/arm/ti/ti_gpmc.c: revision 1.1
	sys/arch/arm/ti/ti_lcdcreg.h: revision 1.1
	sys/arch/evbarm/conf/BEAGLEBOARD: file removal
	sys/arch/arm/ti/omap3_prm.c: revision 1.1
	sys/arch/arm/ti/ti_platform.h: file removal
	sys/arch/arm/ti/omap3_platform.c: revision 1.1
	sys/arch/arm/ti/ti_prcm.h: revision 1.2
	sys/arch/arm/ti/omap3_platform.c: revision 1.2
	sys/arch/arm/ti/ti_prcm.h: revision 1.3
	sys/arch/arm/ti/ti_prcm.h: revision 1.4
	sys/dev/fdt/fdt_clock.c: revision 1.9
	sys/arch/arm/ti/ti_edma.c: revision 1.1
	sys/arch/arm/ti/ti_otg.c: revision 1.1
	distrib/utils/embedded/files/armv7_boot.cmd: revision 1.15
	sys/arch/arm/ti/if_cpsw.c: revision 1.7
	sys/arch/evbarm/conf/std.igepv2: file removal
	sys/arch/arm/ti/if_cpsw.c: revision 1.8
	sys/arch/arm/ti/ti_dpll_clock.c: revision 1.1

Adapt ti fdt glue to support GENERIC kernel.

Do not search 64-bit directories for dts files

Fix am33xx_platform_early_putchar for pre-MMU output

Add bus driver for TI sysc interconncet.

Make com work again

Add EDMA TPCC and TPTC drivers.

Add driver for one-register-per-pin type pinctrl devices.

Add MMCHS support.

Add USB support.

Disable autoidle

Place devmap above KERNEL_IO_VBASE

Use Timer2 for timecounter, and enable hw module.

Add support for TI AM335x

Add atmel,24c256 compat data

Add I2C support.

Add tiiic, tps65217pmic

Add FDT support

Fix early putchar, add reset func

No support for tegra210 in armv7 kernel

Switch to GENERIC kernels only.

Get mac address from DT

Skip nodes with an "opp-suspend" property and fix tables that have disabled
nodes in the middle.

enumerate devices under child "clocks" node

Add support for platform specific opp table filters.

Add fdtbus_clock_count to count the number of clock references on a given node

enumerate devices under child "clocks" node

Add AM335x DVFS support.

Enable TI AM335x DVFS support

Add support for GPIO controller.

Add tigpio

Unhook BEAGLEBONE kernel from the build
Remove BEAGLEBONE kernel config (AM335x SoC is supported by GENERIC now).

Add support for hardware RNG.

Add tirng

Add explicit FDT_OPP for operating-points-v2 so the link set won't be empty

Rename SOC_TI_AM335X to SOC_AM33XX and rename ti_platform.c to
am3_platform.c

Set stdout-path on TI OMAP3 BeagleBoard

Add support for TI OMAP3.

Add OMAP3 support.

Move a lot of *.dtb files to a dtb/ subdirectory on the FAT partition.
Mkimage (eroneously) creates a FAT16 partition (despite the configuration
asking for FAT32), and that has a root directory size limit.
Idea from Jared.

Skip xref if it is 0

Add generic USB PHY driver

Add driver for TI TWL4030 Power Management IC

Use the hwmod clk to get the timer rate and explicitly enable the
timecounter timer.

Add OMAP3 USB support.

Add twl, usbnopphy, tiusb, tiusbtll

Move omap3 dtb files to /boot/dtb

Remove BEAGLEBOARD kernel from list of kernels to build
Remove BEAGLEBOARD kernel (supported by GENERIC now)

Fix PRM_RSTCTRL_RST_DPLL3 definition, now reset works.

Remove DEVKIT8000 kernel (GENERIC should work now)
Remove DPLL5 init ported from old omap code, it is not required

Set the stdout-path on xM like Ti OMAP3 BeagleBoard

Remove BEAGLEBOARDXM from the build
Remove BEAGLEBOARDXM kernel (supported by GENERIC now)

Handle different register layout on OMAP3

Add omapfb to FDT-ized TI port.

Use dss as console on Nokia N900.

Enable IRQ status bits for omap3 type and set speed properly

Add RTC support

Remove tps65950pm (hardware now supported by twl4030.c)

Add NAND flash support.

Add tigpmc, omapnand

Attach tiusb before the default pass since it adds a bus to reduce kernel output
Replace tps65950pm with twl (the former has been removed)

Fix non-FDT build

Cleanup and remove dependency on arch/arm/omap

Add support for GPIO interrupts and fix reading the state of output pins.
Match smsc,lan9115 and honour local-mac-address/mac-address properties

Only one instance of twl(4) is needed
Remove OVERO from build, and commented out N900 kernel config
OMAP3 SoC and all peripherals in the OVERO kernel are now supported by
GENERIC.

Remove commented out IGEPV2 entry

OMAP3 SoC and all peripherals in the IGEPV2 kernel are now supported by
GENERIC.

No longer used.

Also match ti,omap2-onenand

Defer power monitor polling to the sysmon taskq thread to avoid i2c transactions in intr context

Add driver for NXP TDA19988 HDMI encoder

Add support for AM335x display controller (LCDC).

Add tdahdmi, tilcdc, tifb

Test DRM_MODE_* flags, not VID_*

Comment out mode fixup (not needed it seems)

Use 297MHz for display clock

Select closest rate to desired pixel clock

Speed up mode setting a bit and turn off the display while changing modes

Revision 1.52.2.2 / (download) - annotate - [select for diffs], Sat Nov 16 16:48:25 2019 UTC (3 years, 2 months ago) by martin
Branch: netbsd-9
Changes since 1.52.2.1: +3 -1 lines
Diff to previous 1.52.2.1 (colored) to branchpoint 1.52 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #427):

	sys/dev/ic/dw_hdmi_phy.c: revision 1.2
	sys/dev/ic/dw_hdmi.c: revision 1.4
	sys/dev/fdt/ausoc.c: revision 1.5
	sys/dev/ic/dw_hdmi.h: revision 1.2
	sys/dev/ic/dw_hdmi.h: revision 1.3
	sys/dev/ic/dw_hdmi.h: revision 1.4
	sys/conf/files: revision 1.1242
	sys/dev/fdt/fdtvar.h: revision 1.57
	sys/arch/arm/rockchip/rk3399_cru.c: revision 1.11
	sys/arch/arm/rockchip/rk3399_cru.c: revision 1.12
	sys/arch/arm/rockchip/rk3399_cru.c: revision 1.13
	sys/arch/evbarm/conf/GENERIC64: revision 1.110
	sys/arch/arm/rockchip/rk_drm.c: revision 1.1
	sys/arch/arm/rockchip/rk_drm.c: revision 1.2
	sys/arch/evbarm/conf/GENERIC64: revision 1.112
	sys/arch/arm/rockchip/rk_dwhdmi.c: revision 1.1
	sys/dev/fdt/fdt_clock.c: revision 1.10
	sys/arch/evbarm/conf/GENERIC64: revision 1.113
	sys/arch/arm/rockchip/rk_dwhdmi.c: revision 1.2
	sys/arch/arm/rockchip/rk_drm.h: revision 1.1
	sys/arch/arm/rockchip/rk_dwhdmi.c: revision 1.3
	sys/arch/arm/rockchip/rk_fb.c: revision 1.1
	sys/arch/arm/dts/rk3399-rockpro64.dts: revision 1.9
	sys/arch/arm/rockchip/rk_vop.c: revision 1.1
	sys/arch/arm/rockchip/rk_vop.c: revision 1.2
	sys/arch/arm/rockchip/rk_i2c.c: revision 1.6
	sys/arch/arm/rockchip/rk_cru.h: revision 1.6
	sys/arch/arm/rockchip/rk_cru.h: revision 1.7
	sys/arch/arm/rockchip/rk_cru_composite.c: revision 1.4
	sys/arch/arm/rockchip/rk_cru_composite.c: revision 1.5
	sys/arch/arm/rockchip/files.rockchip: revision 1.21
	sys/arch/arm/rockchip/rk_i2s.c: revision 1.1
	sys/arch/arm/rockchip/files.rockchip: revision 1.22
	sys/dev/ic/dw_hdmi.c: revision 1.2
	sys/dev/ic/dw_hdmi_phy.c: revision 1.1
	sys/dev/ic/dw_hdmi.c: revision 1.3

Support reads of more than 32 bytes in a single xfer.

Add support for internal DesignWare HDMI PHYs

Add fdtbus_clock_enable and fdtbus_clock_enable_index shortcuts

Add HDMI and VOP clocks

WIP display driver for Rockchip RK3399

Add (commented out) Rockchip display support

Select the correct MPLL and PHY settings for the requested pixel clock
Force DCLK_VOP0/1 dividers to 1 and select closest match when setting PLL
rates.

Fix typo in phy config table

Fix a few swapped fields

Remove debug output

Enable Rockchip display support

Set sysclk rate at set_format time, so the link set_format callback can read the new sysclk

Add I2S audio input support.
Add software volume controls.
Add support for I2S clocks.
Add driver for Rockchip I2S/PCM controller.
Enable HDMI audio on ROCKPro64
Add rki2s
Add audio support

Revision 1.57 / (download) - annotate - [select for diffs], Sat Nov 9 23:28:26 2019 UTC (3 years, 2 months ago) by jmcneill
Branch: MAIN
CVS Tags: phil-wifi-20191119, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.56: +3 -1 lines
Diff to previous 1.56 (colored)

Add fdtbus_clock_enable and fdtbus_clock_enable_index shortcuts

Revision 1.56 / (download) - annotate - [select for diffs], Mon Oct 28 21:15:34 2019 UTC (3 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.55: +2 -1 lines
Diff to previous 1.55 (colored)

Add fdtbus_clock_count to count the number of clock references on a given node

Revision 1.55 / (download) - annotate - [select for diffs], Mon Oct 28 21:14:58 2019 UTC (3 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.54: +16 -1 lines
Diff to previous 1.54 (colored)

Add support for platform specific opp table filters.

Revision 1.52.2.1 / (download) - annotate - [select for diffs], Thu Oct 3 17:23:11 2019 UTC (3 years, 3 months ago) by martin
Branch: netbsd-9
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #276):

	sys/arch/arm/samsung/exynos_pinctrl.c: revision 1.14
	sys/arch/arm/rockchip/rk3399_iomux.c: revision 1.6
	sys/dev/fdt/fdtvar.h: revision 1.54
	sys/arch/arm/broadcom/bcm2835_gpio.c: revision 1.14
	sys/dev/i2c/axppmic.c: revision 1.26
	sys/arch/arm/nvidia/tegra_pinmux.c: revision 1.4
	sys/arch/arm/rockchip/rk3328_iomux.c: revision 1.3
	sys/dev/fdt/fdt_pinctrl.c: revision 1.10
	sys/arch/arm/amlogic/meson_pinctrl.c: revision 1.6
	sys/dev/fdt/fdtbus.c: revision 1.30
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.27

Add support for devices with separate "init" and "default" pinctrl states.

Revision 1.54 / (download) - annotate - [select for diffs], Tue Oct 1 23:32:52 2019 UTC (3 years, 4 months ago) by jmcneill
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored)

Add support for devices with separate "init" and "default" pinctrl states.

Revision 1.53 / (download) - annotate - [select for diffs], Tue Aug 13 16:46:49 2019 UTC (3 years, 5 months ago) by tnn
Branch: MAIN
Changes since 1.52: +8 -1 lines
Diff to previous 1.52 (colored)

fdt: add SPI controller frontend

Revision 1.52 / (download) - annotate - [select for diffs], Fri Jun 14 11:08:18 2019 UTC (3 years, 7 months ago) by hkenken
Branch: MAIN
CVS Tags: netbsd-9-base
Branch point for: netbsd-9
Changes since 1.51: +9 -1 lines
Diff to previous 1.51 (colored)

Add support "interrupts-extended".

* fdtbus_get_phandle_with_data().
  Add utility subroutine to get phandle with data.

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:08 2019 UTC (3 years, 7 months ago) by christos
Branch: phil-wifi
Changes since 1.34: +45 -3 lines
Diff to previous 1.34 (colored)

Sync with HEAD

Revision 1.51 / (download) - annotate - [select for diffs], Wed May 8 13:40:18 2019 UTC (3 years, 8 months ago) by isaki
Branch: MAIN
CVS Tags: phil-wifi-20190609
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored)

Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly.  Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism.  The encoding/channels/frequency
  conversions are completely handled in the upper layer.  So the hard-
  ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
  - Obsoletes query_encoding and add query_format instead.
  - Obsoletes set_params and add set_format instead.
  - Remove drain, setfd, mappage.
  - The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c         -> dev/audio/audio.c (rewritten)
- dev/audiovar.h      -> dev/audio/audiovar.h
- dev/audio_dai.h     -> dev/audio/audio_dai.h
- dev/audio_if.h      -> dev/audio/audio_if.h
- dev/audiobell.c     -> dev/audio/audiobell.c
- dev/audiobellvar.h  -> dev/audio/audiobellvar.h
- dev/mulaw.[ch]      -> dev/audio/mulaw.[ch] + dev/audio/alaw.c

Revision 1.50.2.1 / (download) - annotate - [select for diffs], Sat May 4 06:35:16 2019 UTC (3 years, 8 months ago) by isaki
Branch: isaki-audio2
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored) next main 1.51 (colored)

Move dev/audio_dai.h -> dev/audio/audio_dai.h

Revision 1.50 / (download) - annotate - [select for diffs], Wed Feb 27 17:01:57 2019 UTC (3 years, 11 months ago) by jakllsch
Branch: MAIN
CVS Tags: isaki-audio2-base
Branch point for: isaki-audio2
Changes since 1.49: +3 -1 lines
Diff to previous 1.49 (colored)

Add fdtbus_intr_establish_byname() helper.

Revision 1.49 / (download) - annotate - [select for diffs], Wed Feb 27 16:56:00 2019 UTC (3 years, 11 months ago) by jakllsch
Branch: MAIN
Changes since 1.48: +2 -1 lines
Diff to previous 1.48 (colored)

Consolidate FDT [find "names" index by string] logic.

Revision 1.48 / (download) - annotate - [select for diffs], Wed Jan 30 01:24:00 2019 UTC (4 years ago) by jmcneill
Branch: MAIN
Changes since 1.47: +3 -1 lines
Diff to previous 1.47 (colored)

Add support for Allwinner A64's display pipeline.

Revision 1.28.2.7 / (download) - annotate - [select for diffs], Sat Jan 26 22:00:06 2019 UTC (4 years ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.28.2.6: +19 -1 lines
Diff to previous 1.28.2.6 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)

Sync with HEAD

Revision 1.47 / (download) - annotate - [select for diffs], Sat Jan 26 14:38:30 2019 UTC (4 years ago) by thorpej
Branch: MAIN
CVS Tags: pgoyette-compat-20190127
Changes since 1.46: +9 -1 lines
Diff to previous 1.46 (colored)

Define constants for representing the standard interrupt types
({pos,neg,double}-edge, {high,low}-level) from the FDT "interrupts"
bindings.  Use these defined constants rather than magic numbers.

Revision 1.46 / (download) - annotate - [select for diffs], Wed Jan 23 04:21:55 2019 UTC (4 years ago) by thorpej
Branch: MAIN
Changes since 1.45: +10 -1 lines
Diff to previous 1.45 (colored)

Implement subroutines for parsing out some of the generic properties
specified in the pinctrl bindings, and adapt Meson, Rockchip, and
Allwinner pinctrl back-ends to use them.

Ok jmcneill@

Revision 1.45 / (download) - annotate - [select for diffs], Sat Jan 19 20:50:48 2019 UTC (4 years ago) by jmcneill
Branch: MAIN
Changes since 1.44: +2 -1 lines
Diff to previous 1.44 (colored)

Add a helper to search the tree for a node with the specified property

Revision 1.28.2.6 / (download) - annotate - [select for diffs], Fri Jan 18 08:50:25 2019 UTC (4 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.28.2.5: +4 -1 lines
Diff to previous 1.28.2.5 (colored) to branchpoint 1.28 (colored)

Synch with HEAD

Revision 1.44 / (download) - annotate - [select for diffs], Wed Jan 2 18:38:43 2019 UTC (4 years ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-20190118
Changes since 1.43: +3 -1 lines
Diff to previous 1.43 (colored)

Add a function to report if a regulator can support the requested voltage range

Revision 1.43 / (download) - annotate - [select for diffs], Wed Jan 2 14:54:54 2019 UTC (4 years ago) by jmcneill
Branch: MAIN
Changes since 1.42: +2 -1 lines
Diff to previous 1.42 (colored)

Do not sort cpu nodes when enumerating so they attach in the order listed
in the devicetree.

Revision 1.28.2.5 / (download) - annotate - [select for diffs], Sun Sep 30 01:45:49 2018 UTC (4 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.28.2.4: +9 -2 lines
Diff to previous 1.28.2.4 (colored) to branchpoint 1.28 (colored)

Ssync with HEAD

Revision 1.42 / (download) - annotate - [select for diffs], Sat Sep 15 13:42:41 2018 UTC (4 years, 4 months ago) by jakllsch
Branch: MAIN
CVS Tags: pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930
Changes since 1.41: +3 -1 lines
Diff to previous 1.41 (colored)

fdtvar.h: Use _KERNEL_OPT wrapper where necessary.

Revision 1.41 / (download) - annotate - [select for diffs], Sun Sep 9 21:14:04 2018 UTC (4 years, 4 months ago) by jmcneill
Branch: MAIN
Changes since 1.40: +3 -1 lines
Diff to previous 1.40 (colored)

Add fdt_add_bus_match, which is like fdt_add_bus but allows for the caller to filter child nodes on their own

Revision 1.40 / (download) - annotate - [select for diffs], Sun Sep 9 07:21:18 2018 UTC (4 years, 4 months ago) by aymeric
Branch: MAIN
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

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

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

ok jmcneill@ on port-arm

Revision 1.39 / (download) - annotate - [select for diffs], Thu Sep 6 22:54:05 2018 UTC (4 years, 4 months ago) by jmcneill
Branch: MAIN
Changes since 1.38: +4 -1 lines
Diff to previous 1.38 (colored)

Add fdtbus_intr_establish_raw and fdtbus_intr_str_raw, for establishing
interrupts directly using an interrupt controller's phandle and specifier.

Revision 1.28.2.4 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:44 2018 UTC (4 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.28.2.3: +10 -1 lines
Diff to previous 1.28.2.3 (colored) to branchpoint 1.28 (colored)

Sync with HEAD

Revision 1.38 / (download) - annotate - [select for diffs], Sun Jul 1 18:16:40 2018 UTC (4 years, 7 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-0906, pgoyette-compat-0728, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Changes since 1.37: +3 -1 lines
Diff to previous 1.37 (colored)

Add fdtbus_attach_i2cbus, used to attach an i2cbus to an fdt device node.

Revision 1.37 / (download) - annotate - [select for diffs], Sat Jun 30 18:07:12 2018 UTC (4 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.36: +2 -1 lines
Diff to previous 1.36 (colored)

Add helper to lookup syscon by phandle

Revision 1.36 / (download) - annotate - [select for diffs], Sat Jun 30 16:22:56 2018 UTC (4 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.35: +3 -1 lines
Diff to previous 1.35 (colored)

Allow nodes to attach child devices using the same sorting rules as used
by the simplebus driver.

Revision 1.35 / (download) - annotate - [select for diffs], Sat Jun 30 12:35:18 2018 UTC (4 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.34: +5 -1 lines
Diff to previous 1.34 (colored)

Add support for system controller nodes.

Revision 1.28.2.3 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:49 2018 UTC (4 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.28.2.2: +3 -1 lines
Diff to previous 1.28.2.2 (colored) to branchpoint 1.28 (colored)

Sync with HEAD

Revision 1.34 / (download) - annotate - [select for diffs], Tue Jun 12 10:28:55 2018 UTC (4 years, 7 months ago) by jmcneill
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0625
Branch point for: phil-wifi
Changes since 1.33: +2 -1 lines
Diff to previous 1.33 (colored)

Process assigned clock parents and rates on clock provider nodes.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Jun 10 13:26:29 2018 UTC (4 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.32: +2 -1 lines
Diff to previous 1.32 (colored)

Add fdtbus_clock_byname, which can be used by clock backends to
lookup clocks in other domains by "clock-output-names" property.
Not intended for ordinary driver use.

Revision 1.28.2.2 / (download) - annotate - [select for diffs], Mon May 21 04:36:05 2018 UTC (4 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.28.2.1: +25 -1 lines
Diff to previous 1.28.2.1 (colored) to branchpoint 1.28 (colored)

Sync with HEAD

Revision 1.32 / (download) - annotate - [select for diffs], Tue May 15 10:17:55 2018 UTC (4 years, 8 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-0521
Changes since 1.31: +7 -1 lines
Diff to previous 1.31 (colored)

Build fix for FDT kernels without audio

Revision 1.31 / (download) - annotate - [select for diffs], Wed May 9 23:59:05 2018 UTC (4 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.30: +10 -1 lines
Diff to previous 1.30 (colored)

Add SoC sound driver based on "simple-audio-card" DT binding spec.

Revision 1.30 / (download) - annotate - [select for diffs], Sun May 6 10:33:21 2018 UTC (4 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.29: +10 -1 lines
Diff to previous 1.29 (colored)

Add support for PWM backlights.

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Mon Apr 16 01:59:57 2018 UTC (4 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.28: +3 -1 lines
Diff to previous 1.28 (colored)

Sync with HEAD, resolve some conflicts

Revision 1.29 / (download) - annotate - [select for diffs], Sat Apr 7 18:05:08 2018 UTC (4 years, 9 months ago) by bouyer
Branch: MAIN
CVS Tags: pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415
Changes since 1.28: +3 -1 lines
Diff to previous 1.28 (colored)

Allow to remove entries from the fdt, either by handle or
by compatible string. Proposed on tech-kern and port-arm, ok jmcneill@

Revision 1.28 / (download) - annotate - [select for diffs], Sun Dec 10 21:38:27 2017 UTC (5 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.27: +3 -1 lines
Diff to previous 1.27 (colored)

FDTise RapberryPI support. Thanks for jmcneill for a lot of help with this.

The kernel image that the RPI firmware boots is now netbsd.img in the
kernel build directory.

XXX fdtbus_get_reg needs reworking

Revision 1.27.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:01 2017 UTC (5 years, 1 month ago) by jdolecek
Branch: tls-maxphys
Changes since 1.27.2.1: +324 -0 lines
Diff to previous 1.27.2.1 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

update from HEAD

Revision 1.27.2.1, Sun Oct 22 13:56:49 2017 UTC (5 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.27: +0 -324 lines
FILE REMOVED

file fdtvar.h was added on branch tls-maxphys on 2017-12-03 11:37:01 +0000

Revision 1.27 / (download) - annotate - [select for diffs], Sun Oct 22 13:56:49 2017 UTC (5 years, 3 months ago) by jmcneill
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202
Branch point for: tls-maxphys
Changes since 1.26: +18 -1 lines
Diff to previous 1.26 (colored)

Add support for simple MMC power sequence provider bindings.

Revision 1.4.2.4 / (download) - annotate - [select for diffs], Mon Aug 28 17:52:02 2017 UTC (5 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.4.2.3: +143 -6 lines
Diff to previous 1.4.2.3 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Sync with HEAD

Revision 1.26 / (download) - annotate - [select for diffs], Fri Aug 25 12:28:10 2017 UTC (5 years, 5 months ago) by jmcneill
Branch: MAIN
CVS Tags: nick-nhusb-base-20170825
Changes since 1.25: +3 -1 lines
Diff to previous 1.25 (colored)

Add fdtbus_get_reg_byname

Revision 1.25 / (download) - annotate - [select for diffs], Sun Aug 13 18:27:11 2017 UTC (5 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.24: +2 -1 lines
Diff to previous 1.24 (colored)

Add fdtbus_gpio_acquire_index for accessing multi-xref gpios properties.

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Tue Jul 18 19:13:09 2017 UTC (5 years, 6 months ago) by snj
Branch: netbsd-8
CVS 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, matt-nb8-mediatek
Changes since 1.20: +28 -3 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

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.24 / (download) - annotate - [select for diffs], Sat Jul 8 12:36:51 2017 UTC (5 years, 6 months ago) by jmcneill
Branch: MAIN
CVS Tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646
Changes since 1.23: +2 -1 lines
Diff to previous 1.23 (colored)

Add fdtbus_get_string_index helper.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Jul 2 15:27:58 2017 UTC (5 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.22: +5 -3 lines
Diff to previous 1.22 (colored)

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.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Jun 30 09:11:22 2017 UTC (5 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.21: +3 -1 lines
Diff to previous 1.21 (colored)

Add fdtbus_get_string helper

Revision 1.21 / (download) - annotate - [select for diffs], Thu Jun 29 17:04:17 2017 UTC (5 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.20: +21 -1 lines
Diff to previous 1.20 (colored)

Add FDT PHY interface.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Jun 2 13:53:29 2017 UTC (5 years, 8 months ago) by jmcneill
Branch: MAIN
CVS Tags: netbsd-8-base
Branch point for: netbsd-8
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

Allow platform code to specify the UART frequency for consinit

Revision 1.19 / (download) - annotate - [select for diffs], Mon May 29 23:13:03 2017 UTC (5 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.18: +25 -1 lines
Diff to previous 1.18 (colored)

Move console initialization out of platform code into the console drivers
themselves.

Revision 1.18 / (download) - annotate - [select for diffs], Sun May 28 15:55:11 2017 UTC (5 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.17: +13 -1 lines
Diff to previous 1.17 (colored)

Add facility for fdt devices to register reset and poweroff handlers.
Use this to remove as3722-specific code in tegra_machdep.c

Revision 1.17 / (download) - annotate - [select for diffs], Fri May 26 18:56:27 2017 UTC (5 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (colored)

Handle reg values beyond 4GB for platforms with 32-bit bus_addr_t.

fdtbus_get_reg will do a range check and return ERANGE if addr+size
exceeds 4GB.

Add fdtbus_get_reg64 to allow for fetching raw values w/o range check.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Tue May 2 03:19:18 2017 UTC (5 years, 9 months ago) by pgoyette
Branch: prg-localcount2
Changes since 1.13: +60 -1 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Sync with HEAD - tag prg-localcount2-base1

Revision 1.16 / (download) - annotate - [select for diffs], Sat Apr 29 12:49:05 2017 UTC (5 years, 9 months ago) by jmcneill
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1
Changes since 1.15: +3 -1 lines
Diff to previous 1.15 (colored)

Rename fdt_print to fdtbus_print and make it public.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Apr 29 12:38:26 2017 UTC (5 years, 9 months ago) by jmcneill
Branch: MAIN
Changes since 1.14: +3 -1 lines
Diff to previous 1.14 (colored)

Move logic for checking "status" property out of fdtbus into a public
fdtbus_status_okay function.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Apr 29 11:00:56 2017 UTC (5 years, 9 months ago) by jmcneill
Branch: MAIN
Changes since 1.13: +56 -1 lines
Diff to previous 1.13 (colored)

Add FDT DMA controller API.

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Wed Apr 26 02:53:11 2017 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.7: +16 -4 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Sync with HEAD

Revision 1.13 / (download) - annotate - [select for diffs], Wed Apr 26 01:51:52 2017 UTC (5 years, 9 months ago) by jmcneill
Branch: MAIN
CVS Tags: prg-localcount2-base
Branch point for: prg-localcount2
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

Allow for specifying (optional) pass number locator for devices at fdt.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Apr 22 21:47:41 2017 UTC (5 years, 9 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-localcount-20170426
Changes since 1.11: +7 -1 lines
Diff to previous 1.11 (colored)

Add regulator APIs for setting and getting voltage.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Apr 22 13:24:20 2017 UTC (5 years, 9 months ago) by jmcneill
Branch: MAIN
Changes since 1.10: +5 -1 lines
Diff to previous 1.10 (colored)

Add fdtbus_todr_attach.

The kernel will only ever use the first RTC driver to call todr_attach.
When drivers use fdtbus_todr_attach, if an "rtc0" alias exists in the
devicetree, ensure that only that device node calls todr_attach.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Apr 21 23:35:01 2017 UTC (5 years, 9 months ago) by jmcneill
Branch: MAIN
Changes since 1.9: +5 -1 lines
Diff to previous 1.9 (colored)

Add some helpers to find the stdout device.

Revision 1.7.4.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:45 2017 UTC (5 years, 9 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.7: +2 -4 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Sync with HEAD

Revision 1.9 / (download) - annotate - [select for diffs], Sun Apr 16 12:24:57 2017 UTC (5 years, 9 months ago) by jmcneill
Branch: MAIN
CVS Tags: bouyer-socketcan-base1
Changes since 1.8: +1 -4 lines
Diff to previous 1.8 (colored)

Attach devices in order of "phandle" property inserted by DTC.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Apr 13 22:12:53 2017 UTC (5 years, 9 months ago) by jmcneill
Branch: MAIN
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

Print the full DT node path in "not configured" autoconf messages.

Before:  clock at fdt2 not configured
After:   /clocks/clock@0 at fdt2 not configured

Revision 1.4.2.3 / (download) - annotate - [select for diffs], Sat Mar 19 11:30:09 2016 UTC (6 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.4.2.2: +18 -3 lines
Diff to previous 1.4.2.2 (colored) to branchpoint 1.4 (colored)

Sync with HEAD

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jan 5 21:53:48 2016 UTC (7 years ago) by marty
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

FDT: Interrupts -- add support for interrupt maps

The mct on exynos uses an interrupt map so we add support now.  Devices
represent their interrupts either through a combination of interrupt-parent
and interrupts properties, where the 'interrupts' property is an array of
one or more interrupt specifiers; or through a combination of an
interrupt-parent that points to an interrupt-map, where the interrupt-map
contains 2 or more entries consisting of an index, a pointer to an
interrupt-controller, and a specifier for that controller.

This code adds the ability to walk the interrupt-map and return a specifier.
Unfortunately, the addition requires changing the interface to the
interrupt-controllers' _establish and _intstr functions, so this check in
contains a rototill of the three existing fdt interrupt controllers to use
the new interface.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jan 1 22:35:44 2016 UTC (7 years, 1 month ago) by marty
Branch: MAIN
Changes since 1.5: +5 -10 lines
Diff to previous 1.5 (colored)

FDT pinctl - review from Jared

These changes reflect a redesign based on a preliminary review by Jared.
Instead of the acquire/release/set/get approach of the original, this uses
a much simpler, and cleaner register/set approach.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Dec 30 04:23:39 2015 UTC (7 years, 1 month ago) by marty
Branch: MAIN
Changes since 1.4: +21 -1 lines
Diff to previous 1.4 (colored)

FDT pinctrl

Add a pinctrl bus to FDT.  This works against exynos, but someone(tm) needs
to think about whether it is general enough or too specific to exynos.

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:49 2015 UTC (7 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.4.2.1: +155 -0 lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.4.2.1, Tue Dec 22 22:19:07 2015 UTC (7 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.4: +0 -155 lines
FILE REMOVED

file fdtvar.h was added on branch nick-nhusb on 2015-12-27 12:09:49 +0000

Revision 1.4 / (download) - annotate - [select for diffs], Tue Dec 22 22:19:07 2015 UTC (7 years, 1 month ago) by jmcneill
Branch: MAIN
CVS Tags: nick-nhusb-base-20151226
Branch point for: nick-nhusb
Changes since 1.3: +5 -3 lines
Diff to previous 1.3 (colored)

Add fdtbus_gpio_{read,write}_raw, which tells the controller not to take
polarity into account. Tegra GPIO pin data includes pin polarity, but so
does a regulator-fixed node, so the end result was that the enable value
was being swapped twice. Change fregulator to use the raw APIs, and adapt
Tegra and Exynos GPIO drivers to support this flag.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Dec 22 21:42:11 2015 UTC (7 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.2: +34 -1 lines
Diff to previous 1.2 (colored)

Add support for fdt clock and reset controllers.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Dec 16 12:17:45 2015 UTC (7 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.1: +26 -21 lines
Diff to previous 1.1 (colored)

Only OF_* functions should be in fdt_openfirm.c, move the rest to fdt_subr.c.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Dec 13 17:30:40 2015 UTC (7 years, 1 month ago) by jmcneill
Branch: MAIN

Add a framework for enumerating devices using a Flattened Device Tree (FDT).

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




CVSweb <webmaster@jp.NetBSD.org>