svn commit: r324118 - head/sys/arm/allwinner

2017-09-30 Thread Jared McNeill
Author: jmcneill Date: Sat Sep 30 10:35:44 2017 New Revision: 324118 URL: https://svnweb.freebsd.org/changeset/base/324118 Log: Disable/enable CSUM_UDP and CSUM_TCP along with CSUM_IP Submitted by: guy...@gmail.com Differential Revision:https://reviews.freebsd.org/D12536

svn commit: r324117 - head/sys/arm/allwinner

2017-09-30 Thread Jared McNeill
Author: jmcneill Date: Sat Sep 30 10:34:07 2017 New Revision: 324117 URL: https://svnweb.freebsd.org/changeset/base/324117 Log: Fix if_awg tx dma status reg offsets. Submitted by: guy...@gmail.com Differential Revision:https://reviews.freebsd.org/D12535 Modified: head/s

svn commit: r313014 - head/sys/boot/fdt/dts/arm

2017-01-31 Thread Jared McNeill
Author: jmcneill Date: Tue Jan 31 14:36:06 2017 New Revision: 313014 URL: https://svnweb.freebsd.org/changeset/base/313014 Log: Add missing ephy bus gates and resets. Modified: head/sys/boot/fdt/dts/arm/h3.dtsi Modified: head/sys/boot/fdt/dts/arm/h3.dtsi =

svn commit: r310972 - head/sys/boot/fdt/dts/arm

2016-12-31 Thread Jared McNeill
Author: jmcneill Date: Sat Dec 31 13:10:06 2016 New Revision: 310972 URL: https://svnweb.freebsd.org/changeset/base/310972 Log: Fix a typo in the third address of the reg property for the usbphy node. MFC after:1 week Modified: head/sys/boot/fdt/dts/arm/a83t.dtsi Modified: head/sys/

svn commit: r310854 - head/sys/boot/fdt/dts/arm

2016-12-30 Thread Jared McNeill
Author: jmcneill Date: Fri Dec 30 20:16:09 2016 New Revision: 310854 URL: https://svnweb.freebsd.org/changeset/base/310854 Log: Add missing reg property to usbphy node. MFC after:1 week Modified: head/sys/boot/fdt/dts/arm/a83t.dtsi Modified: head/sys/boot/fdt/dts/arm/a83t.dtsi =

svn commit: r310777 - in head/sys: arm/freescale/imx dev/hdmi

2016-12-29 Thread Jared McNeill
Author: jmcneill Date: Thu Dec 29 14:08:24 2016 New Revision: 310777 URL: https://svnweb.freebsd.org/changeset/base/310777 Log: Add support for audio on I2S based DesignWare HDMI controllers. Relnotes: yes Modified: head/sys/arm/freescale/imx/imx6_hdmi.c head/sys/dev/hdmi/dwc_hdmi.

svn commit: r310776 - head/sys/mips/ingenic

2016-12-29 Thread Jared McNeill
Author: jmcneill Date: Thu Dec 29 14:00:10 2016 New Revision: 310776 URL: https://svnweb.freebsd.org/changeset/base/310776 Log: The JZ4780 I2S can feed either the internal audio codec or the HDMI transmitter, but not both at the same time. This patch: - Adds a dev.pcm.0.internal_codec sy

svn commit: r310308 - in head/sys/mips: conf ingenic

2016-12-19 Thread Jared McNeill
4780_lcd.c == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/mips/ingenic/jz4780_lcd.c Tue Dec 20 01:51:09 2016 (r310308) @@ -0,0 +1,572 @@ +/*- + * Copyright (c) 2016 Jared McNeill + * All right

svn commit: r310307 - head/sys/mips/ingenic

2016-12-19 Thread Jared McNeill
Author: jmcneill Date: Tue Dec 20 01:37:00 2016 New Revision: 310307 URL: https://svnweb.freebsd.org/changeset/base/310307 Log: Choose the closes matching divider instead of one that results in a frequency >= target. Fix inverted rounding logic for CLK_SET_ROUND_UP/DOWN. Reviewed by:

svn commit: r310306 - in head/sys: arm/allwinner arm/arm arm/freescale/imx conf dev/hdmi

2016-12-19 Thread Jared McNeill
Author: jmcneill Date: Tue Dec 20 01:34:29 2016 New Revision: 310306 URL: https://svnweb.freebsd.org/changeset/base/310306 Log: Split the DesignWare HDMI-specific code from imx6_hdmi.c into a separate file and add a generic DT binding that takes advantage of the extres framework for setting

svn commit: r310172 - in head/sys/mips: conf ingenic

2016-12-16 Thread Jared McNeill
/ingenic/jz4780_smb.c Fri Dec 16 20:04:56 2016 (r310172) @@ -0,0 +1,480 @@ +/*- + * Copyright (c) 2016 Jared McNeill + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions

svn commit: r308903 - head/sys/modules/dtb/allwinner

2016-11-20 Thread Jared McNeill
Author: jmcneill Date: Sun Nov 20 19:39:55 2016 New Revision: 308903 URL: https://svnweb.freebsd.org/changeset/base/308903 Log: Build and install nanopi-neo.dts and orangepi-plus-2e.dts Modified: head/sys/modules/dtb/allwinner/Makefile Modified: head/sys/modules/dtb/allwinner/Makefile ==

svn commit: r308902 - head/sys/boot/fdt/dts/arm

2016-11-20 Thread Jared McNeill
) 2016 Jared McNeill + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + *notice, this list

svn commit: r308901 - head/sys/boot/fdt/dts/arm

2016-11-20 Thread Jared McNeill
(r308901) @@ -0,0 +1,73 @@ +/*- + * Copyright (c) 2016 Jared McNeill + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code

svn commit: r308900 - head/sys/boot/fdt/dts/arm

2016-11-20 Thread Jared McNeill
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/boot/fdt/dts/arm/h3.dtsi Sun Nov 20 19:36:17 2016 (r308900) @@ -0,0 +1,179 @@ +/*- + * Copyright (c) 2016 Jared McNeill + * All

svn commit: r308833 - head/sys/arm/allwinner

2016-11-19 Thread Jared McNeill
Author: jmcneill Date: Sat Nov 19 14:56:22 2016 New Revision: 308833 URL: https://svnweb.freebsd.org/changeset/base/308833 Log: On H3, initialize alarm and shutdown trip points and do temperature conversion as it is done in the BSP. Modified: head/sys/arm/allwinner/aw_thermal.c Modified: h

svn commit: r308705 - head/sys/arm/allwinner

2016-11-15 Thread Jared McNeill
Author: jmcneill Date: Tue Nov 15 23:48:30 2016 New Revision: 308705 URL: https://svnweb.freebsd.org/changeset/base/308705 Log: On command error, reset only DMA and FIFO engines instead of the entire controller. Fixes eMMC device detection on OrangePi Plus 2e (and likely others). Modified:

svn commit: r308704 - head/sys/arm/allwinner/clk

2016-11-15 Thread Jared McNeill
Author: jmcneill Date: Tue Nov 15 23:46:01 2016 New Revision: 308704 URL: https://svnweb.freebsd.org/changeset/base/308704 Log: Allow the MMC frequency to be set up to 52MHz for MMC high speed timings. Modified: head/sys/arm/allwinner/clk/aw_mmcclk.c Modified: head/sys/arm/allwinner/clk/aw_m

Re: svn commit: r308640 - in head/sys/arm: altera/socfpga broadcom/bcm2835 freescale/imx freescale/vybrid lpc mv rockchip ti ti/am335x versatile xilinx

2016-11-14 Thread Jared McNeill
On Nov 14, 2016, at 8:03 AM, Andrew Turner wrote: > > Modified: head/sys/arm/broadcom/bcm2835/bcm2835_fb.c ... > if (sc->height == 0) { > if ((OF_getprop(display, "broadcom,height", > &cell, sizeof(cell))) > 0) > -

svn commit: r308269 - head/sys/arm/allwinner

2016-11-03 Thread Jared McNeill
Author: jmcneill Date: Thu Nov 3 23:22:04 2016 New Revision: 308269 URL: https://svnweb.freebsd.org/changeset/base/308269 Log: Add support for Allwinner H3 audio codec. The audio controller in the H3 is more or less the same as A10/A20 except some registers are shuffled around. The mixer

svn commit: r308236 - head/sys/arm/allwinner

2016-11-02 Thread Jared McNeill
Author: jmcneill Date: Wed Nov 2 23:58:10 2016 New Revision: 308236 URL: https://svnweb.freebsd.org/changeset/base/308236 Log: Add support for the integrated DMA controller found in the Allwinner A31, A64, A83T, and H3 SoCs. Relnotes: yes Added: head/sys/arm/allwinner/a31_dmac.c

svn commit: r308235 - head/sys/arm/allwinner

2016-11-02 Thread Jared McNeill
Author: jmcneill Date: Wed Nov 2 23:53:47 2016 New Revision: 308235 URL: https://svnweb.freebsd.org/changeset/base/308235 Log: Register the device's xref handle at attach time. Modified: head/sys/arm/allwinner/a10_dmac.c Modified: head/sys/arm/allwinner/a10_dmac.c ==

svn commit: r308234 - head/sys/arm/allwinner/clk

2016-11-02 Thread Jared McNeill
Author: jmcneill Date: Wed Nov 2 23:49:57 2016 New Revision: 308234 URL: https://svnweb.freebsd.org/changeset/base/308234 Log: Add support for H3 PLL2 (PLL_Audio). Modified: head/sys/arm/allwinner/clk/aw_pll.c Modified: head/sys/arm/allwinner/clk/aw_pll.c ===

svn commit: r308233 - head/sys/arm/allwinner/clk

2016-11-02 Thread Jared McNeill
Author: jmcneill Date: Wed Nov 2 23:46:23 2016 New Revision: 308233 URL: https://svnweb.freebsd.org/changeset/base/308233 Log: The DTS may report fewer than 4 parents for a module clock. Avoid setting the module clock parent to an out-of-range index in these cases. Modified: head/sys/arm/a

svn commit: r308105 - head/sys/arm/allwinner

2016-10-30 Thread Jared McNeill
Author: jmcneill Date: Sun Oct 30 14:39:33 2016 New Revision: 308105 URL: https://svnweb.freebsd.org/changeset/base/308105 Log: Fix H3 temperature reporting. The formula in for V1.0 of the H3 datasheet seems to be incorrect, so use the same method of conversion as the H3 BSP instead. Modifi

svn commit: r307889 - head/sys/arm/conf

2016-10-24 Thread Jared McNeill
Author: jmcneill Date: Mon Oct 24 22:35:45 2016 New Revision: 307889 URL: https://svnweb.freebsd.org/changeset/base/307889 Log: Enable driver for SY8106A Buck Regulator. Modified: head/sys/arm/conf/GENERIC Modified: head/sys/arm/conf/GENERIC ==

svn commit: r307888 - head/sys/arm/allwinner

2016-10-24 Thread Jared McNeill
Author: jmcneill Date: Mon Oct 24 22:35:12 2016 New Revision: 307888 URL: https://svnweb.freebsd.org/changeset/base/307888 Log: Defer cpufreq updates from intr handler to the taskqueue_thread queue. Modified: head/sys/arm/allwinner/aw_thermal.c Modified: head/sys/arm/allwinner/aw_thermal.c =

svn commit: r307828 - head/sys/arm/conf

2016-10-23 Thread Jared McNeill
Author: jmcneill Date: Sun Oct 23 19:02:19 2016 New Revision: 307828 URL: https://svnweb.freebsd.org/changeset/base/307828 Log: Add device cpufreq. Modified: head/sys/arm/conf/GENERIC Modified: head/sys/arm/conf/GENERIC

svn commit: r307824 - head/sys/arm/allwinner

2016-10-23 Thread Jared McNeill
Author: jmcneill Date: Sun Oct 23 17:48:34 2016 New Revision: 307824 URL: https://svnweb.freebsd.org/changeset/base/307824 Log: Throttle CPU frequency when hot temperature threshold has been reached to prevent overheating. When sensor 0's alarm interrupt is fired, set a throttle flag. Fur

svn commit: r307393 - head/sys/arm/allwinner

2016-10-16 Thread Jared McNeill
Author: jmcneill Date: Sun Oct 16 12:55:31 2016 New Revision: 307393 URL: https://svnweb.freebsd.org/changeset/base/307393 Log: aw_ccu on H3 needs access to PRCM space. The r_pio controller works now. Modified: head/sys/arm/allwinner/aw_ccu.c Modified: head/sys/arm/allwinner/aw_ccu.c ===

svn commit: r307382 - in head/sys: arm/conf conf dev/gpio

2016-10-15 Thread Jared McNeill
(r307382) @@ -0,0 +1,348 @@ +/*- + * Copyright (c) 2016 Jared McNeill + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain

svn commit: r307366 - head/sys/arm/allwinner/clk

2016-10-15 Thread Jared McNeill
Author: jmcneill Date: Sat Oct 15 13:27:01 2016 New Revision: 307366 URL: https://svnweb.freebsd.org/changeset/base/307366 Log: Match "allwinner,sun8i-h3-apb0-gates-clk" compatible string. Modified: head/sys/arm/allwinner/clk/aw_gate.c Modified: head/sys/arm/allwinner/clk/aw_gate.c =

svn commit: r307354 - head/sys/arm/allwinner/clk

2016-10-15 Thread Jared McNeill
Author: jmcneill Date: Sat Oct 15 12:23:54 2016 New Revision: 307354 URL: https://svnweb.freebsd.org/changeset/base/307354 Log: Provide a complete A23 PLL1 factor table, from 60MHz to 1872MHz. Modified: head/sys/arm/allwinner/clk/aw_pll.c Modified: head/sys/arm/allwinner/clk/aw_pll.c ===

Re: svn commit: r306658 - head/sys/arm/arm

2016-10-04 Thread Jared McNeill
On Tue, 4 Oct 2016, Mark Millard wrote: MFC at some point? Good idea, I will do that. Cheers, Jared ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsu

svn commit: r306658 - head/sys/arm/arm

2016-10-03 Thread Jared McNeill
Author: jmcneill Date: Mon Oct 3 21:42:05 2016 New Revision: 306658 URL: https://svnweb.freebsd.org/changeset/base/306658 Log: Clear GT_CTRL_ENABLE to stop the timer. Reviewed by: andrew Modified: head/sys/arm/arm/generic_timer.c Modified: head/sys/arm/arm/generic_timer.c

svn commit: r305512 - in head/sys: arm/allwinner/clk boot/fdt/dts/arm

2016-09-06 Thread Jared McNeill
Author: jmcneill Date: Wed Sep 7 01:10:16 2016 New Revision: 305512 URL: https://svnweb.freebsd.org/changeset/base/305512 Log: Add support for Allwinner A83T CPU frequency scaling. Modified: head/sys/arm/allwinner/clk/aw_cpuclk.c head/sys/arm/allwinner/clk/aw_pll.c head/sys/boot/fdt/dts/

svn commit: r305511 - head/sys/arm/allwinner

2016-09-06 Thread Jared McNeill
Author: jmcneill Date: Wed Sep 7 01:09:25 2016 New Revision: 305511 URL: https://svnweb.freebsd.org/changeset/base/305511 Log: Attach later so axp81x attaches after aw_nmi. Modified: head/sys/arm/allwinner/axp81x.c Modified: head/sys/arm/allwinner/axp81x.c ==

svn commit: r305505 - in head/sys: arm/conf conf

2016-09-06 Thread Jared McNeill
Author: jmcneill Date: Tue Sep 6 21:36:20 2016 New Revision: 305505 URL: https://svnweb.freebsd.org/changeset/base/305505 Log: Add generic device-tree cpufreq driver. Modified: head/sys/arm/conf/ALLWINNER head/sys/conf/files.arm Modified: head/sys/arm/conf/ALLWINNER ==

svn commit: r305503 - in head/sys: arm64/conf conf

2016-09-06 Thread Jared McNeill
Author: jmcneill Date: Tue Sep 6 21:18:14 2016 New Revision: 305503 URL: https://svnweb.freebsd.org/changeset/base/305503 Log: Add generic device-tree cpufreq driver. Modified: head/sys/arm64/conf/GENERIC head/sys/conf/files.arm64 Modified: head/sys/arm64/conf/GENERIC

svn commit: r305501 - head/sys/conf

2016-09-06 Thread Jared McNeill
Author: jmcneill Date: Tue Sep 6 21:01:38 2016 New Revision: 305501 URL: https://svnweb.freebsd.org/changeset/base/305501 Log: Add "pci" as a dependency to ichss. Reviewed by: jhibbits Modified: head/sys/conf/files Modified: head/sys/conf/files

svn commit: r305498 - head/sys/dev/cpufreq

2016-09-06 Thread Jared McNeill
@@ +/*- + * Copyright (c) 2016 Jared McNeill + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + *notice, this

svn commit: r305419 - in head/sys/arm: allwinner conf

2016-09-05 Thread Jared McNeill
Author: jmcneill Date: Mon Sep 5 13:45:45 2016 New Revision: 305419 URL: https://svnweb.freebsd.org/changeset/base/305419 Log: Add sy8106a to Allwinner kernel. This regulator is used to control VDD_CPUX and is connected to R_TWI on some H3-based Orange Pi boards. Modified: head/sys/arm/all

svn commit: r305418 - head/sys/dev/iicbus

2016-09-05 Thread Jared McNeill
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/dev/iicbus/sy8106a.c Mon Sep 5 13:39:54 2016 (r305418) @@ -0,0 +1,302 @@ +/*- + * Copyright (c) 2016 Jared McNeill + * All rights

svn commit: r305417 - head/sys/arm/allwinner/clk

2016-09-05 Thread Jared McNeill
Author: jmcneill Date: Mon Sep 5 12:36:54 2016 New Revision: 305417 URL: https://svnweb.freebsd.org/changeset/base/305417 Log: Add support for Allwinner H3 PLL_CPUX. The H3 PLL_CPUX register looks exactly like the one found in A23, but we need to follow a specific protocol when making ad

svn commit: r305416 - in head/sys/arm/allwinner: . clk

2016-09-05 Thread Jared McNeill
Author: jmcneill Date: Mon Sep 5 11:05:14 2016 New Revision: 305416 URL: https://svnweb.freebsd.org/changeset/base/305416 Log: Add support for the Allwinner H3 Thermal Sensor Controller. The H3 embeds a single thermal sensor located in the CPU. Modified: head/sys/arm/allwinner/aw_thermal.c

svn commit: r305399 - head/sys/boot/fdt/dts/arm64

2016-09-04 Thread Jared McNeill
Author: jmcneill Date: Sun Sep 4 22:30:46 2016 New Revision: 305399 URL: https://svnweb.freebsd.org/changeset/base/305399 Log: A64 thermal sensor IRQ is GIC_SPI 31, not 41. Modified: head/sys/boot/fdt/dts/arm64/a64.dtsi Modified: head/sys/boot/fdt/dts/arm64/a64.dtsi

Re: svn commit: r305354 - head/sys/arm/allwinner

2016-09-03 Thread Jared McNeill
wrote: Hi! On 9/3/16, Jared McNeill wrote: Author: jmcneill Date: Sat Sep 3 15:28:09 2016 New Revision: 305354 URL: https://svnweb.freebsd.org/changeset/base/305354 Log: Use the root key in the Security ID EFUSE (when valid) to generate a MAC address instead of creating a random one each

svn commit: r305354 - head/sys/arm/allwinner

2016-09-03 Thread Jared McNeill
Author: jmcneill Date: Sat Sep 3 15:28:09 2016 New Revision: 305354 URL: https://svnweb.freebsd.org/changeset/base/305354 Log: Use the root key in the Security ID EFUSE (when valid) to generate a MAC address instead of creating a random one each boot. Modified: head/sys/arm/allwinner/if_aw

svn commit: r305352 - in head/sys: arm/allwinner arm/allwinner/clk arm64/conf conf

2016-09-03 Thread Jared McNeill
= NULL) + hwreset_release(rst); + if (clk_ahb != NULL) + clk_release(clk_ahb); + if (clk_ths != NULL) + clk_release(clk_ths); + bus_release_resources(dev, aw_thermal_spec, sc->res); + + return (ENXIO); } static device_method_t aw_thermal_me

svn commit: r305351 - head/sys/boot/fdt/dts/arm64

2016-09-03 Thread Jared McNeill
Author: jmcneill Date: Sat Sep 3 15:24:30 2016 New Revision: 305351 URL: https://svnweb.freebsd.org/changeset/base/305351 Log: Add cpu-supply xref to cpu@0 Modified: head/sys/boot/fdt/dts/arm64/pine64_plus.dts Modified: head/sys/boot/fdt/dts/arm64/pine64_plus.dts ===

svn commit: r305350 - head/sys/boot/fdt/dts/arm64

2016-09-03 Thread Jared McNeill
Author: jmcneill Date: Sat Sep 3 15:23:59 2016 New Revision: 305350 URL: https://svnweb.freebsd.org/changeset/base/305350 Log: Add SID, THS, and CPU operating points. Modified: head/sys/boot/fdt/dts/arm64/a64.dtsi Modified: head/sys/boot/fdt/dts/arm64/a64.dtsi ==

svn commit: r305349 - head/sys/arm/allwinner

2016-09-03 Thread Jared McNeill
Author: jmcneill Date: Sat Sep 3 15:22:50 2016 New Revision: 305349 URL: https://svnweb.freebsd.org/changeset/base/305349 Log: Add support for reading root key on A83T/A64. Modified: head/sys/arm/allwinner/aw_sid.c Modified: head/sys/arm/allwinner/aw_sid.c ==

svn commit: r305247 - head/sys/arm/allwinner/clk

2016-09-01 Thread Jared McNeill
Author: jmcneill Date: Thu Sep 1 21:20:07 2016 New Revision: 305247 URL: https://svnweb.freebsd.org/changeset/base/305247 Log: Add support for changing A23 PLL1 frequency. Modified: head/sys/arm/allwinner/clk/aw_pll.c Modified: head/sys/arm/allwinner/clk/aw_pll.c ===

svn commit: r305246 - head/sys/arm/allwinner

2016-09-01 Thread Jared McNeill
Author: jmcneill Date: Thu Sep 1 21:19:11 2016 New Revision: 305246 URL: https://svnweb.freebsd.org/changeset/base/305246 Log: Add support for setting DCDC2 voltage. Modified: head/sys/arm/allwinner/axp81x.c Modified: head/sys/arm/allwinner/axp81x.c =

svn commit: r305134 - in head/sys/boot/fdt/dts: . arm64

2016-08-31 Thread Jared McNeill
/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/boot/fdt/dts/arm64/a64.dtsiWed Aug 31 16:56:54 2016 (r305134) @@ -0,0 +1,151 @@ +/*- + * Copyright (c) 2016 Jared McNeill + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or

svn commit: r305120 - head/sys/arm/allwinner

2016-08-31 Thread Jared McNeill
Author: jmcneill Date: Wed Aug 31 10:45:53 2016 New Revision: 305120 URL: https://svnweb.freebsd.org/changeset/base/305120 Log: Add support for Allwinner A64 USB PHY. Reviewed by: manu Modified: head/sys/arm/allwinner/aw_usbphy.c Modified: head/sys/arm/allwinner/aw_usbphy.c ===

svn commit: r305058 - head/sys/arm/allwinner

2016-08-30 Thread Jared McNeill
Author: jmcneill Date: Tue Aug 30 10:21:32 2016 New Revision: 305058 URL: https://svnweb.freebsd.org/changeset/base/305058 Log: Add support for Allwinner A64 watchdog timer. Modified: head/sys/arm/allwinner/aw_wdog.c Modified: head/sys/arm/allwinner/aw_wdog.c

svn commit: r305026 - head/sys/boot/efi/libefi

2016-08-29 Thread Jared McNeill
Author: jmcneill Date: Mon Aug 29 20:01:53 2016 New Revision: 305026 URL: https://svnweb.freebsd.org/changeset/base/305026 Log: When the EFI implementation (like U-Boot) does not support WaitForKey, we can emulate efi_cons_poll(0 with a flag and caching the last key read with ReadKeyStroke.

svn commit: r304805 - in head/sys: arm64/conf conf

2016-08-25 Thread Jared McNeill
Author: jmcneill Date: Thu Aug 25 13:59:19 2016 New Revision: 304805 URL: https://svnweb.freebsd.org/changeset/base/304805 Log: Add support for Allwinner A64. Reviewed by: andrew, manu Relnotes: yes Modified: head/sys/arm64/conf/GENERIC head/sys/conf/files.arm64 Modified: head/

svn commit: r304798 - head/sys/arm/allwinner/clk

2016-08-25 Thread Jared McNeill
Author: jmcneill Date: Thu Aug 25 10:29:41 2016 New Revision: 304798 URL: https://svnweb.freebsd.org/changeset/base/304798 Log: Add support for Allwinner A64 PLL_PERIPH0/PLL_PERIPH1 and PLL_HSIC clocks. Reviewed by: andrew, manu Modified: head/sys/arm/allwinner/clk/aw_pll.c Modified: h

svn commit: r304796 - head/sys/arm/allwinner/clk

2016-08-25 Thread Jared McNeill
Author: jmcneill Date: Thu Aug 25 10:27:22 2016 New Revision: 304796 URL: https://svnweb.freebsd.org/changeset/base/304796 Log: Switch parent clock when setting frequency if a new parent is a better candidate for the target rate. Reviewed by: andrew, manu Modified: head/sys/arm/allwin

svn commit: r304795 - head/sys/arm/allwinner/clk

2016-08-25 Thread Jared McNeill
Author: jmcneill Date: Thu Aug 25 10:24:14 2016 New Revision: 304795 URL: https://svnweb.freebsd.org/changeset/base/304795 Log: Add support for Allwinner multi-parent bus gates. Reviewed by: andrew, manu Modified: head/sys/arm/allwinner/clk/aw_gate.c Modified: head/sys/arm/allwinner/cl

svn commit: r304794 - head/sys/arm/allwinner

2016-08-25 Thread Jared McNeill
Author: jmcneill Date: Thu Aug 25 10:20:27 2016 New Revision: 304794 URL: https://svnweb.freebsd.org/changeset/base/304794 Log: Expose DC1SW as a regulator switch. On Pine64 this is used to control EMAC PHY power. Reviewed by: andrew, manu Modified: head/sys/arm/allwinner/axp81x.c Mo

svn commit: r304793 - head/sys/arm/allwinner

2016-08-25 Thread Jared McNeill
Author: jmcneill Date: Thu Aug 25 10:14:56 2016 New Revision: 304793 URL: https://svnweb.freebsd.org/changeset/base/304793 Log: Remove dependency on allwinner_soc_family() as it is not available on arm64. Reviewed by: andrew, manu Modified: head/sys/arm/allwinner/aw_rtc.c Modified: hea

svn commit: r302939 - head/sys/arm/allwinner

2016-07-16 Thread Jared McNeill
Author: jmcneill Date: Sat Jul 16 18:06:41 2016 New Revision: 302939 URL: https://svnweb.freebsd.org/changeset/base/302939 Log: Add support for Allwinner H3 EMAC. H3 EMAC is the same as A83T/A64 except the SoC includes an (optional) internal 10/100 PHY. Both internal and external PHYs are

svn commit: r302786 - head/sys/arm/allwinner

2016-07-13 Thread Jared McNeill
Author: jmcneill Date: Wed Jul 13 20:46:54 2016 New Revision: 302786 URL: https://svnweb.freebsd.org/changeset/base/302786 Log: Allwinner Gigabit EMAC performance improvements. - Support DEVICE_POLLING - Increase TX descriptors to 1024 - Add support for passing a chain of mbufs to if

svn commit: r302785 - head/sys/arm/allwinner/clk

2016-07-13 Thread Jared McNeill
Author: jmcneill Date: Wed Jul 13 20:44:02 2016 New Revision: 302785 URL: https://svnweb.freebsd.org/changeset/base/302785 Log: H3/A83T: Use PLL_PERIPH/2 for AHB2 parent clock. Reviewed by: manu Modified: head/sys/arm/allwinner/clk/aw_ahbclk.c Modified: head/sys/arm/allwinner/clk/aw_ah

svn commit: r302593 - head/sys/arm/allwinner

2016-07-11 Thread Jared McNeill
Author: jmcneill Date: Mon Jul 11 20:15:46 2016 New Revision: 302593 URL: https://svnweb.freebsd.org/changeset/base/302593 Log: Add support for Allwinner A64. Reviewed by: andrew, manu Modified: head/sys/arm/allwinner/aw_ccu.c Modified: head/sys/arm/allwinner/aw_ccu.c =

svn commit: r302592 - head/sys/arm/allwinner

2016-07-11 Thread Jared McNeill
Author: jmcneill Date: Mon Jul 11 20:14:50 2016 New Revision: 302592 URL: https://svnweb.freebsd.org/changeset/base/302592 Log: Return early from bus_dmamap_load callback if the error indicator is set. Reviewed by: andrew, manu Modified: head/sys/arm/allwinner/a10_mmc.c Modified: head/

svn commit: r302591 - head/sys/arm/allwinner

2016-07-11 Thread Jared McNeill
Author: jmcneill Date: Mon Jul 11 20:13:46 2016 New Revision: 302591 URL: https://svnweb.freebsd.org/changeset/base/302591 Log: Add support for arm64. The allwinner_soc_family() function is not available on arm64 and all SoCs using the old FIFO register location are 32-bit only, so unconditi

svn commit: r302590 - head/sys/arm/allwinner

2016-07-11 Thread Jared McNeill
Author: jmcneill Date: Mon Jul 11 20:09:17 2016 New Revision: 302590 URL: https://svnweb.freebsd.org/changeset/base/302590 Log: Add support for Allwinner A64 CPUx-PORT and CPUs-PORT Port Controllers. Reviewed by: andrew, manu Modified: head/sys/arm/allwinner/a10_gpio.c Modified: head/s

svn commit: r302589 - head/sys/arm/allwinner/a64

2016-07-11 Thread Jared McNeill
/allwinner/a64/a64_padconf.cMon Jul 11 20:06:21 2016 (r302589) @@ -0,0 +1,160 @@ +/*- + * Copyright (c) 2016 Jared McNeill + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following

svn commit: r302588 - head/sys/conf

2016-07-11 Thread Jared McNeill
Author: jmcneill Date: Mon Jul 11 20:05:03 2016 New Revision: 302588 URL: https://svnweb.freebsd.org/changeset/base/302588 Log: Add SOC_ALLWINNER_A64 option for Allwinner A64 (sun50i) SoCs. Modified: head/sys/conf/options.arm64 Modified: head/sys/conf/options.arm64 ==

svn commit: r302587 - head/sys/arm/allwinner

2016-07-11 Thread Jared McNeill
Author: jmcneill Date: Mon Jul 11 20:03:31 2016 New Revision: 302587 URL: https://svnweb.freebsd.org/changeset/base/302587 Log: Include sys/rman.h to fix build on arm64. Modified: head/sys/arm/allwinner/aw_nmi.c Modified: head/sys/arm/allwinner/aw_nmi.c ==

svn commit: r302586 - head/sys/arm/allwinner

2016-07-11 Thread Jared McNeill
Author: jmcneill Date: Mon Jul 11 20:02:51 2016 New Revision: 302586 URL: https://svnweb.freebsd.org/changeset/base/302586 Log: Attach RSB early. Children of RSB may provide resources necessary for other devices such as interrupts, GPIOs, and regulators. Modified: head/sys/arm/allwinner/aw_

svn commit: r302585 - head/sys/arm/allwinner

2016-07-11 Thread Jared McNeill
Author: jmcneill Date: Mon Jul 11 20:00:57 2016 New Revision: 302585 URL: https://svnweb.freebsd.org/changeset/base/302585 Log: Build fix for arm64. The phy interface uses intptr_t for the "phy" parameter, not int. Modified: head/sys/arm/allwinner/aw_usbphy.c Modified: head/sys/arm/allwinn

svn commit: r302584 - head/sys/arm/allwinner

2016-07-11 Thread Jared McNeill
Author: jmcneill Date: Mon Jul 11 19:58:00 2016 New Revision: 302584 URL: https://svnweb.freebsd.org/changeset/base/302584 Log: Remove unused bus_space prototypes. Modified: head/sys/arm/allwinner/a10_ehci.c Modified: head/sys/arm/allwinner/a10_ehci.c

svn commit: r302523 - head/sys/dev/extres/clk

2016-07-10 Thread Jared McNeill
Author: jmcneill Date: Sun Jul 10 10:53:50 2016 New Revision: 302523 URL: https://svnweb.freebsd.org/changeset/base/302523 Log: Add clk_get_by_ofw_node_index, which is like clk_get_by_ofw_index but operates on a specific OF node instead of the pass in device's OF node. Reviewed by:

svn commit: r302522 - head/sys/arm/allwinner

2016-07-10 Thread Jared McNeill
Author: jmcneill Date: Sun Jul 10 10:38:28 2016 New Revision: 302522 URL: https://svnweb.freebsd.org/changeset/base/302522 Log: Align descriptors and data buffers to 32 bits. This restriction is described in the A20 (and later) user manuals. Modified: head/sys/arm/allwinner/a10_mmc.c head

svn commit: r302521 - head/sys/arm/allwinner

2016-07-10 Thread Jared McNeill
Author: jmcneill Date: Sun Jul 10 10:21:22 2016 New Revision: 302521 URL: https://svnweb.freebsd.org/changeset/base/302521 Log: In the absence of a bus-width property, default to 4-bit bus width instead of 1-bit. Modified: head/sys/arm/allwinner/a10_mmc.c Modified: head/sys/arm/allwinner/a

svn commit: r301841 - head/sys/dev/dwc

2016-06-12 Thread Jared McNeill
Author: jmcneill Date: Sun Jun 12 22:55:50 2016 New Revision: 301841 URL: https://svnweb.freebsd.org/changeset/base/301841 Log: Fix an issue with multicast hash filters on Amlogic and Allwinner boards. For DWC_GMAC_ALT_DESC implementations, the multicast hash table has only 64 entries. In

svn commit: r301693 - head/sys/dev/dwc

2016-06-08 Thread Jared McNeill
Author: jmcneill Date: Wed Jun 8 20:22:25 2016 New Revision: 301693 URL: https://svnweb.freebsd.org/changeset/base/301693 Log: Multicast filters on DWC_GMAC_ALT_DESC type implementations use a different hash register setup. In addition, strip trailing FCS in receive path. Reviewed by:

svn commit: r301082 - head/sys/arm/allwinner

2016-05-31 Thread Jared McNeill
Author: jmcneill Date: Tue May 31 21:58:09 2016 New Revision: 301082 URL: https://svnweb.freebsd.org/changeset/base/301082 Log: Fix a crash while iterating compat strings when no match is found. Spotted by: ian Modified: head/sys/arm/allwinner/aw_ccu.c Modified: head/sys/arm/allwinner

svn commit: r300728 - in head/sys: arm/allwinner dev/usb/controller

2016-05-26 Thread Jared McNeill
Author: jmcneill Date: Thu May 26 10:50:39 2016 New Revision: 300728 URL: https://svnweb.freebsd.org/changeset/base/300728 Log: Enable USB PHY regulators when requested by the host controller driver. Previously the USB PHY driver would enable all regulators at attach time. This prevented

svn commit: r299871 - in head/sys: arm/allwinner boot/fdt/dts/arm

2016-05-15 Thread Jared McNeill
/aw_sid.c == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm/allwinner/aw_sid.c Sun May 15 22:36:55 2016 (r299871) @@ -0,0 +1,135 @@ +/*- + * Copyright (c) 2016 Jared McNeill

svn commit: r299863 - head/sys/boot/fdt/dts/arm

2016-05-15 Thread Jared McNeill
Author: jmcneill Date: Sun May 15 17:25:31 2016 New Revision: 299863 URL: https://svnweb.freebsd.org/changeset/base/299863 Log: Enable SATA power regulator at boot on Sinovoip BananaPi BPI-M3. Modified: head/sys/boot/fdt/dts/arm/sinovoip-bpi-m3.dts Modified: head/sys/boot/fdt/dts/arm/sinovoi

svn commit: r299862 - head/sys/arm/allwinner

2016-05-15 Thread Jared McNeill
Author: jmcneill Date: Sun May 15 16:43:47 2016 New Revision: 299862 URL: https://svnweb.freebsd.org/changeset/base/299862 Log: Reduce complexity of RSB by always using polling mode. Unfortunately gpiobus methods can be called with non-sleepable locks held. Reviewed by: mmel Modified:

svn commit: r299861 - head/sys/boot/fdt/dts/arm

2016-05-15 Thread Jared McNeill
Author: jmcneill Date: Sun May 15 15:56:48 2016 New Revision: 299861 URL: https://svnweb.freebsd.org/changeset/base/299861 Log: Add gpio-leds for Sinovoip BananaPi BPI-M3. The green LED on the board is wired to AXP813 GPIO0 and the blue LED is wired to AXP813 GPIO1. Modified: head/sys/

svn commit: r299860 - head/sys/arm/allwinner

2016-05-15 Thread Jared McNeill
Author: jmcneill Date: Sun May 15 15:54:41 2016 New Revision: 299860 URL: https://svnweb.freebsd.org/changeset/base/299860 Log: Add support for the AXP813/AXP818 power key and GPIO pins. Modified: head/sys/arm/allwinner/axp81x.c Modified: head/sys/arm/allwinner/axp81x.c =

svn commit: r299859 - head/sys/arm/allwinner

2016-05-15 Thread Jared McNeill
Author: jmcneill Date: Sun May 15 15:52:34 2016 New Revision: 299859 URL: https://svnweb.freebsd.org/changeset/base/299859 Log: Allow RSB to be used from interrupt handlers. The driver uses polling mode if cold or !THREAD_CAN_SLEEP() and now implements the bus_* interface. Modified: he

svn commit: r299789 - head/sys/boot/fdt/dts/arm

2016-05-14 Thread Jared McNeill
Author: jmcneill Date: Sat May 14 23:36:00 2016 New Revision: 299789 URL: https://svnweb.freebsd.org/changeset/base/299789 Log: Add pmic (AXP813) child node to r_rsb for Sinovoip BananaPi BPI-M3. Modified: head/sys/boot/fdt/dts/arm/sinovoip-bpi-m3.dts Modified: head/sys/boot/fdt/dts/arm/sino

svn commit: r299787 - in head/sys/arm: allwinner conf

2016-05-14 Thread Jared McNeill
Author: jmcneill Date: Sat May 14 23:34:57 2016 New Revision: 299787 URL: https://svnweb.freebsd.org/changeset/base/299787 Log: Add and enable Allwinner RSB and AXP81x power management IC drivers. Modified: head/sys/arm/allwinner/files.allwinner head/sys/arm/conf/ALLWINNER Modified: head/s

svn commit: r299786 - head/sys/arm/allwinner

2016-05-14 Thread Jared McNeill
) +++ head/sys/arm/allwinner/axp81x.c Sat May 14 23:33:57 2016 (r299786) @@ -0,0 +1,180 @@ +/*- + * Copyright (c) 2016 Jared McNeill + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the

svn commit: r299781 - head/sys/arm/allwinner

2016-05-14 Thread Jared McNeill
1,506 @@ +/*- + * Copyright (c) 2016 Jared McNeill + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copy

svn commit: r299779 - head/sys/boot/fdt/dts/arm

2016-05-14 Thread Jared McNeill
Author: jmcneill Date: Sat May 14 23:22:52 2016 New Revision: 299779 URL: https://svnweb.freebsd.org/changeset/base/299779 Log: Add node for A83T NMI interrupt controller. Modified: head/sys/boot/fdt/dts/arm/a83t.dtsi Modified: head/sys/boot/fdt/dts/arm/a83t.dtsi

svn commit: r299748 - in head/sys: boot/fdt/dts/arm modules/dtb/allwinner

2016-05-14 Thread Jared McNeill
@@ +/*- + * Copyright (c) 2016 Jared McNeill + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + *notice, this

svn commit: r299745 - head/sys/dev/iicbus/twsi

2016-05-14 Thread Jared McNeill
Author: jmcneill Date: Sat May 14 18:02:47 2016 New Revision: 299745 URL: https://svnweb.freebsd.org/changeset/base/299745 Log: Add allwinner,sun8i-a83t-i2c to the list of compatible devices. Modified: head/sys/dev/iicbus/twsi/a10_twsi.c Modified: head/sys/dev/iicbus/twsi/a10_twsi.c

svn commit: r299743 - head/sys/arm/conf

2016-05-14 Thread Jared McNeill
Author: jmcneill Date: Sat May 14 10:39:57 2016 New Revision: 299743 URL: https://svnweb.freebsd.org/changeset/base/299743 Log: Update comment at top of file to mention all currently supported Allwinner SoCs. Previously mentioned A20 and A31, added A31S, A83T, and H3. Modified: head/sys/arm

svn commit: r299113 - in head/sys: arm/allwinner arm/allwinner/a83t arm/allwinner/clk arm/conf conf

2016-05-05 Thread Jared McNeill
=== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm/allwinner/a83t/a83t_padconf.c Thu May 5 09:41:57 2016 (r299113) @@ -0,0 +1,162 @@ +/*- + * Copyright (c) 2016 Jared McNeill + * All rights reserved. + * + * Redistribution and use in source

svn commit: r299084 - head/sys/arm/allwinner

2016-05-04 Thread Jared McNeill
(c) 2016 Jared McNeill + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + *notice, this

  1   2   >