Up to [cvs.NetBSD.org] / src / sys / dev / fdt
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.39 / (download) - annotate - [select for diffs], Sun Jan 24 15:43:22 2021 UTC (3 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
thorpej-altq-separation-base,
thorpej-altq-separation,
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,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Changes since 1.38: +11 -22
lines
Diff to previous 1.38 (colored)
Use strlist(9).
Revision 1.38 / (download) - annotate - [select for diffs], Thu Jul 16 16:39:18 2020 UTC (3 years, 8 months ago) by jmcneill
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.37: +18 -13
lines
Diff to previous 1.37 (colored)
Add kernel option FDT_DEFAULT_STDOUT_PATH to set default (fallback) stdout-path
Revision 1.37 / (download) - annotate - [select for diffs], Thu Jul 16 11:42:17 2020 UTC (3 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.36: +5 -2
lines
Diff to previous 1.36 (colored)
Allow kernels to link with no console drivers
Revision 1.36 / (download) - annotate - [select for diffs], Sun Mar 8 08:26:54 2020 UTC (4 years ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh
Changes since 1.35: +2 -5
lines
Diff to previous 1.35 (colored)
Fix LOCKDEBUG by calling fdtbus_intr_init as part of cpu_startup_hook, i.e. later.
Revision 1.35 / (download) - annotate - [select for diffs], Mon Feb 24 12:38:57 2020 UTC (4 years, 1 month ago) by rin
Branch: MAIN
CVS Tags: is-mlppp-base,
is-mlppp,
ad-namecache-base3
Changes since 1.34: +3 -3
lines
Diff to previous 1.34 (colored)
0x%#x --> %#x for non-external codes. Also, stop mixing up 0x%x and %#x in single files as far as possible.
Revision 1.34 / (download) - annotate - [select for diffs], Thu Feb 20 01:35:55 2020 UTC (4 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.33: +5 -5
lines
Diff to previous 1.33 (colored)
Add dma-ranges support.
Revision 1.33 / (download) - annotate - [select for diffs], Sun Feb 16 20:28:18 2020 UTC (4 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.32: +7 -2
lines
Diff to previous 1.32 (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.32 / (download) - annotate - [select for diffs], Sun Feb 16 14:56:52 2020 UTC (4 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.31: +3 -3
lines
Diff to previous 1.31 (colored)
Rename fdtbus_set_data() to fdtbus_init(). NFC.
Revision 1.31 / (download) - annotate - [select for diffs], Tue Sep 24 15:23:34 2019 UTC (4 years, 6 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.30: +7 -3
lines
Diff to previous 1.30 (colored)
Use correct #cells for parent address when decoding ranges
Revision 1.30 / (download) - annotate - [select for diffs], Fri Jun 14 11:08:18 2019 UTC (4 years, 9 months ago) by hkenken
Branch: MAIN
CVS Tags: netbsd-9-base,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9
Changes since 1.29: +38 -2
lines
Diff to previous 1.29 (colored)
Add support "interrupts-extended". * fdtbus_get_phandle_with_data(). Add utility subroutine to get phandle with data.
Revision 1.29 / (download) - annotate - [select for diffs], Wed Feb 27 16:56:00 2019 UTC (5 years, 1 month ago) by jakllsch
Branch: MAIN
CVS Tags: phil-wifi-20190609,
isaki-audio2-base,
isaki-audio2
Changes since 1.28: +30 -19
lines
Diff to previous 1.28 (colored)
Consolidate FDT [find "names" index by string] logic.
Revision 1.28 / (download) - annotate - [select for diffs], Wed Feb 27 16:30:40 2019 UTC (5 years, 1 month ago) by jakllsch
Branch: MAIN
Changes since 1.27: +3 -3
lines
Diff to previous 1.27 (colored)
Adjust residual calculation in "find index by name" idioms to take into account the trailing NUL on each name. Some other similar instances of this idiom already account for this. (In preparation to factor out this idiom into its own function.)
Revision 1.27 / (download) - annotate - [select for diffs], Wed Jan 30 00:56:47 2019 UTC (5 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.26: +5 -3
lines
Diff to previous 1.26 (colored)
Hide address decoding debug messages under FDTBUS_DEBUG
Revision 1.26 / (download) - annotate - [select for diffs], Sun Jan 27 09:19:36 2019 UTC (5 years, 2 months ago) by rin
Branch: MAIN
Changes since 1.25: +2 -4
lines
Diff to previous 1.25 (colored)
Fix merge botches. I hope there's no more left...
Revision 1.25 / (download) - annotate - [select for diffs], Sun Jan 27 02:08:41 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: MAIN
Changes since 1.24: +4 -2
lines
Diff to previous 1.24 (colored)
Merge the [pgoyette-compat] branch
Revision 1.24 / (download) - annotate - [select for diffs], Sat Oct 6 16:28:21 2018 UTC (5 years, 5 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020
Changes since 1.23: +6 -2
lines
Diff to previous 1.23 (colored)
Provide an FDTBASE option which allows kernels to access FDT parsing functions without requiring full blown FDTisation. This will be used by ODROID-C1 in move to generic start code.
Revision 1.23 / (download) - annotate - [select for diffs], Tue Jul 17 00:42:06 2018 UTC (5 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
jdolecek-ncqfixes-base,
jdolecek-ncqfixes
Changes since 1.22: +4 -4
lines
Diff to previous 1.22 (colored)
Use PRI?64 instead of ll?
Revision 1.22 / (download) - annotate - [select for diffs], Mon Jun 11 19:54:39 2018 UTC (5 years, 9 months ago) by jakllsch
Branch: MAIN
CVS Tags: phil-wifi-base,
pgoyette-compat-0625
Branch point for: phil-wifi
Changes since 1.21: +3 -3
lines
Diff to previous 1.21 (colored)
Fix fdtbus_get_cells(, 2) when running big endian.
Revision 1.21 / (download) - annotate - [select for diffs], Tue Mar 6 17:40:04 2018 UTC (6 years ago) by bouyer
Branch: MAIN
CVS Tags: pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315
Changes since 1.20: +3 -3
lines
Diff to previous 1.20 (colored)
fdtbus_get_string_index(): decrease len when going to the next string, otherwise we may read past the end of names.
Revision 1.20 / (download) - annotate - [select for diffs], Sun Dec 10 21:38:27 2017 UTC (6 years, 3 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-base
Branch point for: pgoyette-compat
Changes since 1.19: +13 -2
lines
Diff to previous 1.19 (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.19 / (download) - annotate - [select for diffs], Tue Sep 19 22:55:49 2017 UTC (6 years, 6 months ago) by jmcneill
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202
Branch point for: tls-maxphys
Changes since 1.18: +6 -3
lines
Diff to previous 1.18 (colored)
fdtbus_get_string: support special 'name' property
Revision 1.18 / (download) - annotate - [select for diffs], Fri Aug 25 12:28:10 2017 UTC (6 years, 7 months ago) by jmcneill
Branch: MAIN
CVS Tags: nick-nhusb-base-20170825
Changes since 1.17: +28 -2
lines
Diff to previous 1.17 (colored)
Add fdtbus_get_reg_byname
Revision 1.17 / (download) - annotate - [select for diffs], Wed Jul 19 20:18:07 2017 UTC (6 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.16: +7 -15
lines
Diff to previous 1.16 (colored)
Fix a problem with fdtbus_get_phandle where we were passing size -1 to kmem_alloc when the property was not found. This seemed to work with DIAGNOSTIC kernels, but panics in vmem with a non-DIAGNOSTIC kernel.
Revision 1.16 / (download) - annotate - [select for diffs], Sat Jul 8 12:36:51 2017 UTC (6 years, 8 months ago) by jmcneill
Branch: MAIN
CVS Tags: perseant-stdc-iso10646-base,
perseant-stdc-iso10646
Changes since 1.15: +22 -2
lines
Diff to previous 1.15 (colored)
Add fdtbus_get_string_index helper.
Revision 1.15 / (download) - annotate - [select for diffs], Sun Jul 2 15:27:58 2017 UTC (6 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.14: +10 -2
lines
Diff to previous 1.14 (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.14 / (download) - annotate - [select for diffs], Fri Jun 30 09:11:22 2017 UTC (6 years, 9 months ago) by jmcneill
Branch: MAIN
Changes since 1.13: +10 -2
lines
Diff to previous 1.13 (colored)
Add fdtbus_get_string helper
Revision 1.13 / (download) - annotate - [select for diffs], Fri Jun 2 01:07:53 2017 UTC (6 years, 9 months ago) by jmcneill
Branch: MAIN
CVS Tags: netbsd-8-base
Branch point for: netbsd-8
Changes since 1.12: +72 -43
lines
Diff to previous 1.12 (colored)
The "ranges" property provides a means of translating between the address space of a bus and the address space of the bus node's parent. Translate addresses using these rules in fdtbus_get_reg{,64}.
Revision 1.12 / (download) - annotate - [select for diffs], Mon May 29 23:13:03 2017 UTC (6 years, 10 months ago) by jmcneill
Branch: MAIN
Changes since 1.11: +72 -2
lines
Diff to previous 1.11 (colored)
Move console initialization out of platform code into the console drivers themselves.
Revision 1.11 / (download) - annotate - [select for diffs], Fri May 26 18:56:27 2017 UTC (6 years, 10 months ago) by jmcneill
Branch: MAIN
Changes since 1.10: +28 -8
lines
Diff to previous 1.10 (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.10 / (download) - annotate - [select for diffs], Sat Apr 29 12:38:26 2017 UTC (6 years, 11 months ago) by jmcneill
Branch: MAIN
CVS Tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1
Changes since 1.9: +14 -2
lines
Diff to previous 1.9 (colored)
Move logic for checking "status" property out of fdtbus into a public fdtbus_status_okay function.
Revision 1.9 / (download) - annotate - [select for diffs], Mon Apr 24 10:56:03 2017 UTC (6 years, 11 months ago) by jmcneill
Branch: MAIN
CVS Tags: prg-localcount2-base,
pgoyette-localcount-20170426
Branch point for: prg-localcount2
Changes since 1.8: +11 -4
lines
Diff to previous 1.8 (colored)
If the stdout-path property is missing on /chosen, assume serial0:115200n8
Revision 1.8 / (download) - annotate - [select for diffs], Fri Apr 21 23:35:01 2017 UTC (6 years, 11 months ago) by jmcneill
Branch: MAIN
Changes since 1.7: +54 -2
lines
Diff to previous 1.7 (colored)
Add some helpers to find the stdout device.
Revision 1.7 / (download) - annotate - [select for diffs], Fri Apr 21 21:08:57 2017 UTC (6 years, 11 months ago) by jmcneill
Branch: MAIN
Changes since 1.6: +9 -18
lines
Diff to previous 1.6 (colored)
Avoid using kmem in fdtbus_get_reg so we can use it early at boot to read the physical memory layout of the system.
Revision 1.6 / (download) - annotate - [select for diffs], Thu Apr 13 22:12:53 2017 UTC (6 years, 11 months ago) by jmcneill
Branch: MAIN
CVS Tags: bouyer-socketcan-base1
Changes since 1.5: +15 -2
lines
Diff to previous 1.5 (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.5 / (download) - annotate - [select for diffs], Tue Dec 22 21:42:11 2015 UTC (8 years, 3 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-localcount-base,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
localcount-20160914,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base
Branch point for: pgoyette-localcount,
nick-nhusb,
bouyer-socketcan
Changes since 1.4: +9 -4
lines
Diff to previous 1.4 (colored)
Add support for fdt clock and reset controllers.
Revision 1.4 / (download) - annotate - [select for diffs], Wed Dec 16 19:33:55 2015 UTC (8 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.3: +6 -14
lines
Diff to previous 1.3 (colored)
Use of_getprop_bool/of_getprop_uint32
Revision 1.3 / (download) - annotate - [select for diffs], Wed Dec 16 12:17:45 2015 UTC (8 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.2: +47 -7
lines
Diff to previous 1.2 (colored)
Only OF_* functions should be in fdt_openfirm.c, move the rest to fdt_subr.c.
Revision 1.2 / (download) - annotate - [select for diffs], Wed Dec 16 12:03:44 2015 UTC (8 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.1: +2 -372
lines
Diff to previous 1.1 (colored)
split gpio, i2c, intr, and regulator helpers into separate files
Revision 1.1 / (download) - annotate - [select for diffs], Sun Dec 13 17:30:40 2015 UTC (8 years, 3 months ago) by jmcneill
Branch: MAIN
Add a framework for enumerating devices using a Flattened Device Tree (FDT).