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:
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.
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:
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
Author: jmcneill
Date: Sat Feb 27 22:26:05 2016
New Revision: 296149
URL: https://svnweb.freebsd.org/changeset/base/296149
Log:
Fix PIO mode on A31 and later SoCs.
Newer Allwinner MMC implementations use a different FIFO register offset
(0x200 instead of 0x100). Since the FDT uses the
Author: jmcneill
Date: Fri Feb 26 20:33:32 2016
New Revision: 296112
URL: https://svnweb.freebsd.org/changeset/base/296112
Log:
Fix inverted test for lock status while waiting for PLL to become stable.
Reviewed by: andrew
Approved by: adrian (mentor)
Modified:
Author: jmcneill
Date: Sun Feb 28 17:42:27 2016
New Revision: 296161
URL: https://svnweb.freebsd.org/changeset/base/296161
Log:
Add Allwinner A10/A20 RTC driver.
Submitted by: Vladimir Belian
Reviewed by: andrew, imp, jmcneill
Approved by:
Author: jmcneill
Date: Thu Feb 25 01:24:02 2016
New Revision: 296019
URL: https://svnweb.freebsd.org/changeset/base/296019
Log:
Fix dedicated DMA transfers.
For sources and destinations marked "noincr", the previous code was
incorrectly programming the dedicated DMA channel control
BSD.o
jkoshy [label="A. Joseph Koshy\njko...@freebsd.org\n1998/05/13"]
jlh [label="Jeremie Le Hen\n...@freebsd.org\n2012/04/22"]
jls [label="Jordan Sissel\n...@freebsd.org\n2006/12/06"]
+jmcneill [label="Jared McNeill\njmcne...@freebsd.org\n2016/02/24"]
jmg [l
);
#endif /* _A10_CLK_H_ */
Added: head/sys/arm/allwinner/a10_fb.c
==========
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/arm/allwinner/a10_fb.c Thu Feb 25 20:17:18 2016
(r296064
(1 << 2)
+#defineA31_CCM_USBPHY_CLK_USBPHY1_RST (1 << 1)
+#defineA31_CCM_USBPHY_CLK_USBPHY0_RST (1 << 0)
+
#defineA31_CCM_CLK_REF_FREQ2400U
int a31_clk_gmac_activate(phandle_t);
int a31_clk_mmc_activate(int);
Author: jmcneill
Date: Sun Mar 13 01:47:42 2016
New Revision: 296789
URL: https://svnweb.freebsd.org/changeset/base/296789
Log:
Fix display output for non-HDMI display devices.
Only set the display to HDMI mode if a CEA-861 extension block was found
on the connected display.
PR:
Author: jmcneill
Date: Sun Mar 13 01:49:36 2016
New Revision: 296790
URL: https://svnweb.freebsd.org/changeset/base/296790
Log:
Add HDMI device nodes to Banana Pi dts.
PR: 207912
Approved by: gonzo (mentor)
Modified:
head/sys/boot/fdt/dts/arm/bananapi.dts
Modified:
char *tx_parent_name;
+ char *phy_type;
+ clk_t clk_tx, clk_tx_parent;
+ phandle_t node;
+ int error;
+
+ node = ofw_bus_get_node(dev);
+
+ /* Configure PHY for MII or RGMII mode */
+ if (OF_getprop_alloc(node, "phy-mode", 1, (void **)_type)) {
+ error = clk_get_by_ofw_na
Author: jmcneill
Date: Fri Apr 8 23:07:16 2016
New Revision: 297725
URL: https://svnweb.freebsd.org/changeset/base/297725
Log:
Attach hwreset resources at the same time as clock resources.
Modified:
head/sys/arm/allwinner/aw_reset.c
Modified: head/sys/arm/allwinner/aw_reset.c
Author: jmcneill
Date: Fri Apr 8 10:54:59 2016
New Revision: 297703
URL: https://svnweb.freebsd.org/changeset/base/297703
Log:
Add function for mapping SRAM-D area to USB0 (OTG) controller. Use a lower
pass number to ensure that this driver is loaded before EMAC or OTG,
regardless of the
Author: jmcneill
Date: Sat Apr 9 11:23:46 2016
New Revision: 297739
URL: https://svnweb.freebsd.org/changeset/base/297739
Log:
Enable PHY regulator when the optional "phy-supply" property is present.
Submitted by: Emmanuel Vadot
Modified:
Author: jmcneill
Date: Fri Apr 8 23:11:00 2016
New Revision: 297726
URL: https://svnweb.freebsd.org/changeset/base/297726
Log:
Fix incorrect pin definitions for Allwinner A31.
Modified:
head/sys/arm/allwinner/a31/a31_padconf.c
Modified: head/sys/arm/allwinner/a31/a31_padconf.c
Author: jmcneill
Date: Fri Apr 8 00:01:19 2016
New Revision: 297689
URL: https://svnweb.freebsd.org/changeset/base/297689
Log:
Match on compatible string "allwinner,sun4i-a10-sram-controller" instead of
"allwinner,sun4i-sramc", to match upstream DTS.
Modified:
Author: jmcneill
Date: Wed Mar 23 19:24:09 2016
New Revision: 297214
URL: https://svnweb.freebsd.org/changeset/base/297214
Log:
clk_parse_ofw_out_names is supposed to return a list of indices when the
clock-indices property is present, so change the "uint32_t *indices" parameter
to
Author: jmcneill
Date: Wed Mar 23 19:21:21 2016
New Revision: 297213
URL: https://svnweb.freebsd.org/changeset/base/297213
Log:
Return BUS_PROBE_GENERIC instead of 0 from ofw_clkbus_probe, giving
platform specific drivers a chance to override the generic driver.
Reviewed by:
Author: jmcneill
Date: Wed Mar 23 19:26:53 2016
New Revision: 297215
URL: https://svnweb.freebsd.org/changeset/base/297215
Log:
Fix support for fixed factor clocks.
- Use a different device description for fixed and fixed factor clocks.
- Fix a bug where the "clock-div" property was
Author: jmcneill
Date: Thu Mar 3 22:26:36 2016
New Revision: 296365
URL: https://svnweb.freebsd.org/changeset/base/296365
Log:
Add support for resetting the PHY via GPIO.
Submitted by: Emmanuel Vadot
Reviewed by: andrew, jmcneill
Approved by:
Author: jmcneill
Date: Thu Mar 3 22:19:39 2016
New Revision: 296357
URL: https://svnweb.freebsd.org/changeset/base/296357
Log:
Add support for Allwinner A31 RTC controller.
Very similar to the A10 RTC controller with a few register offsets changed
and a different location for the LOSC
broken_txfifo = cell ? 1 : 0;
#endif
Added: head/sys/dev/uart/uart_dev_snps.c
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/dev/uart/uart_dev_snps.c Fri Apr 1 20:26:45 2016
(r297496)
@@ -0,0 +1,283 @@
+/*-
+ * Copyright (c) 2016 Jared Mc
Author: jmcneill
Date: Mon Mar 28 11:51:35 2016
New Revision: 297350
URL: https://svnweb.freebsd.org/changeset/base/297350
Log:
Pass clkdev_if methods through to parent device by default.
Reviewed by: mmel, adrian (mentor)
Approved by: adrian (mentor)
Differential
Author: jmcneill
Date: Sat Apr 2 16:53:12 2016
New Revision: 297514
URL: https://svnweb.freebsd.org/changeset/base/297514
Log:
Improve HDMI display detection by searching the CEA-861 extension block for
an HDMI vendor-specific data block (VSDB) containing the HDMI 24-bit IEEE
registration
Author: jmcneill
Date: Thu Apr 21 16:49:04 2016
New Revision: 298422
URL: https://svnweb.freebsd.org/changeset/base/298422
Log:
Replace the A20 kernel config with a generic ALLWINNER kernel config that
supports A20, A31, and A31S. Adds support for the BananaPi M2 (A31S) board.
Submitted
Author: jmcneill
Date: Tue Apr 26 12:02:36 2016
New Revision: 298630
URL: https://svnweb.freebsd.org/changeset/base/298630
Log:
Add support for 8-bit eMMC.
Set MMC_CAP_4_BIT_DATA and MMC_CAP_8_BIT_DATA based on the "bus-width"
DT property and reduce maximum bus frequency from 52MHz to
Author: jmcneill
Date: Tue Apr 26 12:36:12 2016
New Revision: 298634
URL: https://svnweb.freebsd.org/changeset/base/298634
Log:
Fix calculation of LCD CH1 SCLK1 output frequency when SCLK2 /2 is used
as source.
PR: 208680
Reported by: David Binderman
Author: jmcneill
Date: Sat Apr 23 13:59:18 2016
New Revision: 298513
URL: https://svnweb.freebsd.org/changeset/base/298513
Log:
Add support for Allwinner A31/A31S R-GPIO (CPUs-PORT) controller.
Submitted by: Emmanuel Vadot
Reviewed by: jmcneill
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
@@
+/*-
+ * Copyright (c) 2016 Jared McNeill <jmcne...@invisible.ca>
+ * 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
/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
)
+++ head/sys/arm/allwinner/axp81x.c Sat May 14 23:33:57 2016
(r299786)
@@ -0,0 +1,180 @@
+/*-
+ * Copyright (c) 2016 Jared McNeill <jmcne...@invisible.ca>
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are per
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:
@@
+/*-
+ * Copyright (c) 2016 Jared McNeill <jmcne...@invisible.ca>
+ * 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 cod
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
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:
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:
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:
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
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:
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:
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:
Author: jmcneill
Date: Fri Apr 29 21:46:43 2016
New Revision: 298816
URL: https://svnweb.freebsd.org/changeset/base/298816
Log:
Set txbuf_map array size to TX_DESC_COUNT instead of RX_DESC_COUNT.
Modified:
head/sys/dev/dwc/if_dwcvar.h
Modified: head/sys/dev/dwc/if_dwcvar.h
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 <jmcne...@invisible.ca>
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ *
(c) 2016 Jared McNeill <jmcne...@invisible.ca>
+ * 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
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:
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
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
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:
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:
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
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:
/allwinner/a64/a64_padconf.cMon Jul 11 20:06:21 2016
(r302589)
@@ -0,0 +1,160 @@
+/*-
+ * Copyright (c) 2016 Jared McNeill <jmcne...@invisible.ca>
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted pr
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
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:
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
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
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
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:
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
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:
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
Author: jmcneill
Date: Sun Jan 22 13:21:19 2017
New Revision: 312620
URL: https://svnweb.freebsd.org/changeset/base/312620
Log:
MFC r310854, r310972
r310854:
Add missing reg property to usbphy node.
r310972:
Fix a typo in the third address of the reg property for the usbphy node.
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:
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
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:
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:
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:
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:
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:
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
:
Hi!
On 9/3/16, Jared McNeill <jmcne...@freebsd.org> 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 cr
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_methods[] = {
Added: head/sys/arm/allwinner/clk/aw_thsclk.c
==
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
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
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
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:
==
--- /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 <jm
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:
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
@@
+/*-
+ * Copyright (c) 2016 Jared McNeill <jmcne...@invisible.ca>
+ * 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
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
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
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
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
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
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
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
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.
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
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
/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 <jmcne...@invisible.ca>
+ * All rights reserved.
+ *
+ * Redistribution and use in
Author: jmcneill
Date: Sun Oct 9 13:59:38 2016
New Revision: 306907
URL: https://svnweb.freebsd.org/changeset/base/306907
Log:
MFC r306658: Clear GT_CTRL_ENABLE to stop the timer.
Modified:
stable/11/sys/arm/arm/generic_timer.c
Directory Properties:
stable/11/ (props changed)
Modified:
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
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
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.
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
1 - 100 of 129 matches
Mail list logo