CVS commit: src/sys/dev/fdt

2019-10-28 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Oct 28 21:13:48 UTC 2019 Modified Files: src/sys/dev/fdt: syscon.c Log Message: enumerate devices under child "clocks" node To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/fdt/syscon.c Please note

CVS commit: src/sys/dev/fdt

2019-10-28 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Oct 28 21:13:48 UTC 2019 Modified Files: src/sys/dev/fdt: syscon.c Log Message: enumerate devices under child "clocks" node To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/fdt/syscon.c Please note

CVS commit: src/sys/dev/fdt

2019-10-28 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Oct 28 10:43:09 UTC 2019 Modified Files: src/sys/dev/fdt: cpufreq_dt.c Log Message: Skip nodes with an "opp-suspend" property and fix tables that have disabled nodes in the middle. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/fdt

2019-10-28 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Oct 28 10:43:09 UTC 2019 Modified Files: src/sys/dev/fdt: cpufreq_dt.c Log Message: Skip nodes with an "opp-suspend" property and fix tables that have disabled nodes in the middle. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/fdt

2019-10-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Oct 27 15:31:15 UTC 2019 Modified Files: src/sys/dev/fdt: files.fdt Added Files: src/sys/dev/fdt: pinctrl_single.c Log Message: Add driver for one-register-per-pin type pinctrl devices. To generate a diff of this

CVS commit: src/sys/dev/fdt

2019-10-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Oct 27 15:31:15 UTC 2019 Modified Files: src/sys/dev/fdt: files.fdt Added Files: src/sys/dev/fdt: pinctrl_single.c Log Message: Add driver for one-register-per-pin type pinctrl devices. To generate a diff of this

CVS commit: src/sys/dev/fdt

2019-10-19 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sat Oct 19 13:08:52 UTC 2019 Modified Files: src/sys/dev/fdt: dwcwdt_fdt.c Log Message: dwcwdt: make this work correctly - sysmon_wdog.smw_period is seconds, not milliseconds - tickle the watchdog before enabling it To generate a

CVS commit: src/sys/dev/fdt

2019-10-19 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sat Oct 19 13:08:52 UTC 2019 Modified Files: src/sys/dev/fdt: dwcwdt_fdt.c Log Message: dwcwdt: make this work correctly - sysmon_wdog.smw_period is seconds, not milliseconds - tickle the watchdog before enabling it To generate a

CVS commit: src/sys/dev/fdt

2019-10-07 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Oct 7 13:54:59 UTC 2019 Modified Files: src/sys/dev/fdt: cpufreq_dt.c Log Message: Fix argument to fdtbus_get_reg, from Jared. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/dev/fdt/cpufreq_dt.c

CVS commit: src/sys/dev/fdt

2019-10-07 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Oct 7 13:54:59 UTC 2019 Modified Files: src/sys/dev/fdt: cpufreq_dt.c Log Message: Fix argument to fdtbus_get_reg, from Jared. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/dev/fdt/cpufreq_dt.c

CVS commit: src/sys/dev/fdt

2019-10-06 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Oct 6 11:28:24 UTC 2019 Modified Files: src/sys/dev/fdt: cpufreq_dt.c Log Message: Change sysctl to be named after the first CPU in the DVFS domain. old: machdep.cpu.frequency.*, machdep.cpufreqdt4.frequency.* new:

CVS commit: src/sys/dev/fdt

2019-10-06 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Oct 6 11:28:24 UTC 2019 Modified Files: src/sys/dev/fdt: cpufreq_dt.c Log Message: Change sysctl to be named after the first CPU in the DVFS domain. old: machdep.cpu.frequency.*, machdep.cpufreqdt4.frequency.* new:

CVS commit: src/sys/dev/fdt

2019-09-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Fri Sep 27 20:05:53 UTC 2019 Modified Files: src/sys/dev/fdt: fdt_pinctrl.c Log Message: Don't assume pinctrl-0 is the default configuration. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/sys/dev/fdt

2019-09-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Fri Sep 27 20:05:53 UTC 2019 Modified Files: src/sys/dev/fdt: fdt_pinctrl.c Log Message: Don't assume pinctrl-0 is the default configuration. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/sys/dev/fdt

2019-09-24 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Tue Sep 24 15:23:34 UTC 2019 Modified Files: src/sys/dev/fdt: fdt_subr.c Log Message: Use correct #cells for parent address when decoding ranges To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31

CVS commit: src/sys/dev/fdt

2019-08-13 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Tue Aug 13 16:46:49 UTC 2019 Modified Files: src/sys/dev/fdt: fdtvar.h files.fdt Added Files: src/sys/dev/fdt: fdt_spi.c Log Message: fdt: add SPI controller frontend To generate a diff of this commit: cvs rdiff -u -r0

CVS commit: src/sys/dev/fdt

2019-08-13 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Tue Aug 13 16:46:49 UTC 2019 Modified Files: src/sys/dev/fdt: fdtvar.h files.fdt Added Files: src/sys/dev/fdt: fdt_spi.c Log Message: fdt: add SPI controller frontend To generate a diff of this commit: cvs rdiff -u -r0

CVS commit: src/sys/dev/fdt

2019-07-21 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Jul 21 15:57:24 UTC 2019 Modified Files: src/sys/dev/fdt: dw_apb_uart.c Log Message: The device cannot recognize break signal. Use + (five plus signs) as cnmagic in the same manner with bcm2835_com.c. To generate a diff of

CVS commit: src/sys/dev/fdt

2019-07-21 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Jul 21 15:57:24 UTC 2019 Modified Files: src/sys/dev/fdt: dw_apb_uart.c Log Message: The device cannot recognize break signal. Use + (five plus signs) as cnmagic in the same manner with bcm2835_com.c. To generate a diff of

CVS commit: src/sys/dev/fdt

2019-07-03 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Wed Jul 3 23:10:43 UTC 2019 Modified Files: src/sys/dev/fdt: arasan_sdhc_fdt.c Log Message: Add SDHC_FLAG_SINGLE_POWER_WRITE and SDHC_FLAG_32BIT_ACCESS flags To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/sys/dev/fdt

2019-07-03 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Wed Jul 3 23:10:43 UTC 2019 Modified Files: src/sys/dev/fdt: arasan_sdhc_fdt.c Log Message: Add SDHC_FLAG_SINGLE_POWER_WRITE and SDHC_FLAG_32BIT_ACCESS flags To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/sys/dev/fdt

2019-07-03 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Wed Jul 3 19:46:02 UTC 2019 Modified Files: src/sys/dev/fdt: arasan_sdhc_fdt.c Log Message: Enforce 32-bit limits on ADMA2 capable controllers that do not support 64-bit descriptors To generate a diff of this commit: cvs

CVS commit: src/sys/dev/fdt

2019-07-03 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Wed Jul 3 19:46:02 UTC 2019 Modified Files: src/sys/dev/fdt: arasan_sdhc_fdt.c Log Message: Enforce 32-bit limits on ADMA2 capable controllers that do not support 64-bit descriptors To generate a diff of this commit: cvs

CVS commit: src/sys/dev/fdt

2019-06-14 Thread Kenichi Hashimoto
Module Name:src Committed By: hkenken Date: Fri Jun 14 11:08:18 UTC 2019 Modified Files: src/sys/dev/fdt: fdt_intr.c fdt_subr.c fdtvar.h Log Message: Add support "interrupts-extended". * fdtbus_get_phandle_with_data(). Add utility subroutine to get phandle with data.

CVS commit: src/sys/dev/fdt

2019-06-14 Thread Kenichi Hashimoto
Module Name:src Committed By: hkenken Date: Fri Jun 14 11:08:18 UTC 2019 Modified Files: src/sys/dev/fdt: fdt_intr.c fdt_subr.c fdtvar.h Log Message: Add support "interrupts-extended". * fdtbus_get_phandle_with_data(). Add utility subroutine to get phandle with data.

CVS commit: src/sys/dev/fdt

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 23:18:33 UTC 2019 Modified Files: src/sys/dev/fdt: fdt_regulator.c Log Message: Honour regulator-enable-ramp-delay To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/dev/fdt/fdt_regulator.c Please

CVS commit: src/sys/dev/fdt

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 23:18:33 UTC 2019 Modified Files: src/sys/dev/fdt: fdt_regulator.c Log Message: Honour regulator-enable-ramp-delay To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/dev/fdt/fdt_regulator.c Please

CVS commit: src/sys/dev/fdt

2019-05-25 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat May 25 19:21:34 UTC 2019 Modified Files: src/sys/dev/fdt: fdtbus.c Log Message: Restore "not configured" autoconfiguration prints by using config_found_sm_loc on the default pass To generate a diff of this commit: cvs

CVS commit: src/sys/dev/fdt

2019-05-25 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat May 25 19:21:34 UTC 2019 Modified Files: src/sys/dev/fdt: fdtbus.c Log Message: Restore "not configured" autoconfiguration prints by using config_found_sm_loc on the default pass To generate a diff of this commit: cvs

CVS commit: src/sys/dev/fdt

2019-05-23 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Thu May 23 21:36:26 UTC 2019 Modified Files: src/sys/dev/fdt: fixedregulator.c Log Message: Revert previous To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/dev/fdt/fixedregulator.c Please note that diffs

CVS commit: src/sys/dev/fdt

2019-05-23 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Thu May 23 21:36:26 UTC 2019 Modified Files: src/sys/dev/fdt: fixedregulator.c Log Message: Revert previous To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/dev/fdt/fixedregulator.c Please note that diffs

CVS commit: src/sys/dev/fdt

2019-05-23 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Thu May 23 20:49:44 UTC 2019 Modified Files: src/sys/dev/fdt: fixedregulator.c Log Message: Honour the polarity of the pin xref To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/dev/fdt/fixedregulator.c

CVS commit: src/sys/dev/fdt

2019-05-23 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Thu May 23 20:49:44 UTC 2019 Modified Files: src/sys/dev/fdt: fixedregulator.c Log Message: Honour the polarity of the pin xref To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/dev/fdt/fixedregulator.c

CVS commit: src/sys/dev/fdt

2019-05-21 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Tue May 21 22:15:26 UTC 2019 Modified Files: src/sys/dev/fdt: cpufreq_dt.c Log Message: opp-v2 table seems to list opps from lowest to highest, so swap the order to ensure the highest frequency is first To generate a diff of

CVS commit: src/sys/dev/fdt

2019-05-21 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Tue May 21 22:15:26 UTC 2019 Modified Files: src/sys/dev/fdt: cpufreq_dt.c Log Message: opp-v2 table seems to list opps from lowest to highest, so swap the order to ensure the highest frequency is first To generate a diff of

CVS commit: src/sys/dev/fdt

2019-05-20 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 20 11:12:11 UTC 2019 Modified Files: src/sys/dev/fdt: fdtbus.c Log Message: Reduce the number of times we need to call driver match functions. Makes a noticeable difference in boot time on an ODROID-XU4. To generate a

CVS commit: src/sys/dev/fdt

2019-05-20 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 20 11:12:11 UTC 2019 Modified Files: src/sys/dev/fdt: fdtbus.c Log Message: Reduce the number of times we need to call driver match functions. Makes a noticeable difference in boot time on an ODROID-XU4. To generate a

Re: CVS commit: src/sys/dev/fdt

2018-06-20 Thread Jason Thorpe
> On Jun 20, 2018, at 12:29 PM, Jared McNeill wrote: >> Sure, but where is the code for the brcm2835 platform that *processes* it? >> I see stuff for parsing console / fb options, but not for standard boot >> flags. > > Firmware puts the string in /chosen/bootargs and we pick it up here: >

Re: CVS commit: src/sys/dev/fdt

2018-06-20 Thread Jared McNeill
> On Jun 20, 2018, at 4:25 PM, Jason Thorpe wrote: > >> On Jun 20, 2018, at 9:56 AM, Jared McNeill wrote: >> >> On Wed, 20 Jun 2018, Jason Thorpe wrote: >> >>> ofctl(8) is pretty useless for this purpose because it doesn't show you >>> which driver instance has attached to a given device

Re: CVS commit: src/sys/dev/fdt

2018-06-20 Thread Jason Thorpe
> On Jun 20, 2018, at 9:56 AM, Jared McNeill wrote: > > On Wed, 20 Jun 2018, Jason Thorpe wrote: > >> ofctl(8) is pretty useless for this purpose because it doesn't show you >> which driver instance has attached to a given device tree node. As for >> passing generic boot args, it's not

Re: CVS commit: src/sys/dev/fdt

2018-06-20 Thread Jared McNeill
On Wed, 20 Jun 2018, Jason Thorpe wrote: ofctl(8) is pretty useless for this purpose because it doesn't show you which driver instance has attached to a given device tree node. As for passing generic boot args, it's not obvious how one does that on the RPI (and I don't even see the hook

Re: CVS commit: src/sys/dev/fdt

2018-06-20 Thread Jason Thorpe
> On Jun 20, 2018, at 2:06 AM, Jared McNeill wrote: > > Not a fan of this, some of these paths can get fairly long (boot the > VEXPRESS_A15 kernel to see for yourself) and the path is only really useful > if you are debugging something. Sigh. > If you want to see the debugging information

Re: CVS commit: src/sys/dev/fdt

2018-06-20 Thread Jared McNeill
Not a fan of this, some of these paths can get fairly long (boot the VEXPRESS_A15 kernel to see for yourself) and the path is only really useful if you are debugging something. If you want to see the debugging information we already have a way to do that with boot -x. You can also inspect the

<    1   2