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

2016-11-14 Thread Emmanuel Vadot
Author: manu Date: Tue Nov 15 07:08:33 2016 New Revision: 308672 URL: https://svnweb.freebsd.org/changeset/base/308672 Log: Upstream DTS provides PLL3 and PLL7 nodes (and their x2 form), so remove them from our DTS and adapt the code to handle them correctly. This fix HDMI video on A20.

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

2016-11-23 Thread Emmanuel Vadot
Author: manu Date: Thu Nov 24 01:24:26 2016 New Revision: 309079 URL: https://svnweb.freebsd.org/changeset/base/309079 Log: Enable the SCL and SDA i2c line for DDC. This is an undocumented register that we need to set if we do not want to rely on u-boot or other bootloader. Modified:

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

2016-11-23 Thread Emmanuel Vadot
Author: manu Date: Thu Nov 24 06:43:11 2016 New Revision: 309084 URL: https://svnweb.freebsd.org/changeset/base/309084 Log: Enable the SPI1 and SPI2 node for Olimex A20 SOM EVB. This was missed in r309079. Modified: head/sys/boot/fdt/dts/arm/olimex-a20-som-evb.dts Modified:

Re: svn commit: r309190 - head/sys/arm/allwinner/clk

2016-11-26 Thread Emmanuel Vadot
the clock weren't called. When booting in non-verbose mode, the current clock wasn't known so the methods were called but they wrongly calculated the best frequency for the dotclock. On Sat, 26 Nov 2016 10:36:48 + (UTC) Emmanuel Vadot <m...@freebsd.org> wrote: > Author: manu > D

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

2016-11-26 Thread Emmanuel Vadot
Author: manu Date: Sat Nov 26 10:36:48 2016 New Revision: 309190 URL: https://svnweb.freebsd.org/changeset/base/309190 Log: PLL3 have a fractional mode where an explicit frequency (297Mhz or 270) can be selected for it. If the desired frequency is one of those two, use this mode instead of

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

2016-11-23 Thread Emmanuel Vadot
Author: manu Date: Wed Nov 23 18:31:34 2016 New Revision: 309064 URL: https://svnweb.freebsd.org/changeset/base/309064 Log: Enable UEXT related nodes for Olimex A20 SOM UEXT are Universal EXTension connector from Olimex. They embed i2c, spi and uart pins along power in one connector and

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

2016-11-23 Thread Emmanuel Vadot
Author: manu Date: Wed Nov 23 18:07:44 2016 New Revision: 309063 URL: https://svnweb.freebsd.org/changeset/base/309063 Log: Test that the emac device is enabled in probe function MFC after:3 days Modified: head/sys/arm/allwinner/if_emac.c Modified: head/sys/arm/allwinner/if_emac.c

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

2016-11-22 Thread Emmanuel Vadot
Author: manu Date: Wed Nov 23 01:44:28 2016 New Revision: 309029 URL: https://svnweb.freebsd.org/changeset/base/309029 Log: Do not attempt to disable/release clock if it had not been enabled. While here fix a style(9) issue. MFC after:1 week Modified:

svn commit: r308895 - head/sys/dev/spibus

2016-11-20 Thread Emmanuel Vadot
Author: manu Date: Sun Nov 20 18:20:28 2016 New Revision: 308895 URL: https://svnweb.freebsd.org/changeset/base/308895 Log: Enable the use of spigen on FDT platform MFC after:2 weeks Modified: head/sys/dev/spibus/spigen.c Modified: head/sys/dev/spibus/spigen.c

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

2016-11-20 Thread Emmanuel Vadot
Author: manu Date: Sun Nov 20 18:21:42 2016 New Revision: 308897 URL: https://svnweb.freebsd.org/changeset/base/308897 Log: Add spigen to the ARMv6 GENERIC kernel Modified: head/sys/arm/conf/GENERIC Modified: head/sys/arm/conf/GENERIC

svn commit: r308271 - stable/11/sys/boot/fdt/dts/arm

2016-11-03 Thread Emmanuel Vadot
Author: manu Date: Fri Nov 4 00:32:25 2016 New Revision: 308271 URL: https://svnweb.freebsd.org/changeset/base/308271 Log: MFC r304291: Remove pullup settings for MMC pins, this is not needed since r304290 Modified: stable/11/sys/boot/fdt/dts/arm/bananapi.dts Directory Properties:

svn commit: r308272 - stable/11/sys/modules/dtb/allwinner

2016-11-03 Thread Emmanuel Vadot
Author: manu Date: Fri Nov 4 00:34:12 2016 New Revision: 308272 URL: https://svnweb.freebsd.org/changeset/base/308272 Log: MFC r304297: Add sun5i-a13-olinuxino to the build. Modified: stable/11/sys/modules/dtb/allwinner/Makefile Directory Properties: stable/11/ (props changed)

svn commit: r308273 - in stable/11/sys/arm: allwinner allwinner/a10 conf

2016-11-03 Thread Emmanuel Vadot
Author: manu Date: Fri Nov 4 00:43:12 2016 New Revision: 308273 URL: https://svnweb.freebsd.org/changeset/base/308273 Log: MFC r304316: Rename kernel config A10 into ALLWINNER_UP as it is intend to work with all Allwinner Uniprocessor SoC. As of now it works with A10 and A13 (and

svn commit: r308274 - in stable/11/sys/arm/allwinner: . a10 clk

2016-11-03 Thread Emmanuel Vadot
Emmanuel Vadot <m...@bidouilliste.com> + * 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 cop

svn commit: r308275 - stable/11/sys/arm/allwinner

2016-11-03 Thread Emmanuel Vadot
Author: manu Date: Fri Nov 4 00:58:37 2016 New Revision: 308275 URL: https://svnweb.freebsd.org/changeset/base/308275 Log: MFC r304566: allwinner: Remove a20/a20_cpu_cfg.c from the build. This was needed when we used the SoC specific timer and not the generic-timer. Modified:

svn commit: r308276 - stable/11/sys/arm/allwinner

2016-11-03 Thread Emmanuel Vadot
(r308276, copy of r304710, head/sys/arm/allwinner/aw_ts.c) @@ -0,0 +1,230 @@ +/*- + * Copyright (c) 2016 Emmanuel Vadot <m...@freebsd.org> + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the fol

svn commit: r308277 - in stable/11: release/arm sys/arm/conf

2016-11-03 Thread Emmanuel Vadot
Author: manu Date: Fri Nov 4 01:12:32 2016 New Revision: 308277 URL: https://svnweb.freebsd.org/changeset/base/308277 Log: MFC r305739-r305740 r305739: Use "generic" ALLWINNER_UP kernel config for Cubieboard release. Reviewed by: gjb MFC after:2 week r305740: Remove

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

2016-10-26 Thread Emmanuel Vadot
Author: manu Date: Wed Oct 26 08:47:35 2016 New Revision: 307959 URL: https://svnweb.freebsd.org/changeset/base/307959 Log: The only consumer of pll1 is the CPU clock, we don't need to set it glitch free. Reported by: jmcneill MFC after:1 week Modified:

svn commit: r308125 - head/sys/boot/efi/loader

2016-10-31 Thread Emmanuel Vadot
Author: manu Date: Mon Oct 31 11:30:01 2016 New Revision: 308125 URL: https://svnweb.freebsd.org/changeset/base/308125 Log: In loader.efi, instead of exiting directly, try to fallback on the first EFI device if we can't find the one from which the image was loaded. Reviewed by:

svn commit: r308280 - stable/11/sys/arm/allwinner

2016-11-03 Thread Emmanuel Vadot
Author: manu Date: Fri Nov 4 01:56:29 2016 New Revision: 308280 URL: https://svnweb.freebsd.org/changeset/base/308280 Log: MFC r305689: a10_mmc: Remove completly the PIO code now all access is done by DMA. Rename registers as in the manual. Do a hard reset of the controller before a

svn commit: r308279 - stable/11/sys/arm/allwinner

2016-11-03 Thread Emmanuel Vadot
Author: manu Date: Fri Nov 4 01:50:59 2016 New Revision: 308279 URL: https://svnweb.freebsd.org/changeset/base/308279 Log: MFC r302522, r302591-r302592 (by jmcneill) r302522: Align descriptors and data buffers to 32 bits. This restriction is described in the A20 (and later) user

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

2016-11-03 Thread Emmanuel Vadot
Author: manu Date: Fri Nov 4 04:47:08 2016 New Revision: 308285 URL: https://svnweb.freebsd.org/changeset/base/308285 Log: Add Allwinner UP SoC support to GENERIC on armv6 Relnotes: yes Modified: head/sys/arm/conf/GENERIC Modified: head/sys/arm/conf/GENERIC

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

2016-11-04 Thread Emmanuel Vadot
Author: manu Date: Fri Nov 4 17:04:45 2016 New Revision: 308298 URL: https://svnweb.freebsd.org/changeset/base/308298 Log: Add clk_set_assigned assigned-clock-parents are DT properties used to configure some default parent clocks on one node. Reviewed by: mmel MFC after:2

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

2016-11-04 Thread Emmanuel Vadot
Author: manu Date: Fri Nov 4 17:13:47 2016 New Revision: 308300 URL: https://svnweb.freebsd.org/changeset/base/308300 Log: For AHB clock we need to set the assigned parents for cpufreq(4) to work. MFC after:2 weeks Modified: head/sys/arm/allwinner/clk/aw_ahbclk.c Modified:

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

2016-10-15 Thread Emmanuel Vadot
Author: manu Date: Sat Oct 15 17:49:41 2016 New Revision: 307379 URL: https://svnweb.freebsd.org/changeset/base/307379 Log: axp209: Add support for regulators Except for LDO4, all regulators are supported. MFC after:1 week Modified: head/sys/arm/allwinner/axp209.c

svn commit: r310117 - in head/sys/arm/allwinner: . a10 a13 a20 a31 a64 h3

2016-12-15 Thread Emmanuel Vadot
== --- head/sys/arm/allwinner/a10/a10_padconf.cThu Dec 15 15:45:11 2016 (r310116) +++ head/sys/arm/allwinner/a10/a10_padconf.cThu Dec 15 15:52:13 2016 (r310117) @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2016 Emmanuel Vadot &l

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

2016-12-15 Thread Emmanuel Vadot
Author: manu Date: Thu Dec 15 17:26:16 2016 New Revision: 310122 URL: https://svnweb.freebsd.org/changeset/base/310122 Log: Fix building arm64 kernel after r310117 Pointy hat: me MFC after:3 days Modified: head/sys/arm/allwinner/a64/a64_padconf.c

svn commit: r310156 - in stable/11/sys/arm: at91 broadcom/bcm2835 ti

2016-12-16 Thread Emmanuel Vadot
Author: manu Date: Fri Dec 16 15:33:21 2016 New Revision: 310156 URL: https://svnweb.freebsd.org/changeset/base/310156 Log: MFC r309912: CS ivar is uint32_t, not int. Modified: stable/11/sys/arm/at91/at91_spi.c stable/11/sys/arm/broadcom/bcm2835/bcm2835_spi.c

svn commit: r310158 - in stable/11/sys: arm/lpc mips/atheros mips/mediatek mips/rt305x

2016-12-16 Thread Emmanuel Vadot
Author: manu Date: Fri Dec 16 15:45:09 2016 New Revision: 310158 URL: https://svnweb.freebsd.org/changeset/base/310158 Log: MFC r309935: Use the spibus accessor when applicable. Modified: stable/11/sys/arm/lpc/lpc_spi.c stable/11/sys/mips/atheros/ar71xx_spi.c

svn commit: r310157 - stable/11/sys/arm/allwinner

2016-12-16 Thread Emmanuel Vadot
Author: manu Date: Fri Dec 16 15:37:18 2016 New Revision: 310157 URL: https://svnweb.freebsd.org/changeset/base/310157 Log: MFC r309063: Test that the emac device is enabled in probe function Modified: stable/11/sys/arm/allwinner/if_emac.c Directory Properties: stable/11/ (props

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

2016-12-14 Thread Emmanuel Vadot
Author: manu Date: Wed Dec 14 15:00:24 2016 New Revision: 310061 URL: https://svnweb.freebsd.org/changeset/base/310061 Log: Add new compatible string "allwinner,sun7i-a20-mmc". New upstream DTS is using this now for A20 SoC. MFC after:3 days Modified:

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

2016-12-16 Thread Emmanuel Vadot
Author: manu Date: Fri Dec 16 21:58:48 2016 New Revision: 310178 URL: https://svnweb.freebsd.org/changeset/base/310178 Log: Honor the CLK_SET_DRYRUN for the *set_freq function for allwinner clocks. Reviewed by: jmcneill MFC after:1 month Differential Revision:

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

2016-12-12 Thread Emmanuel Vadot
Author: manu Date: Mon Dec 12 16:43:31 2016 New Revision: 309894 URL: https://svnweb.freebsd.org/changeset/base/309894 Log: clk_div: Add a div lookup table Some clocks on SoC have a diff between the value written in the register and the real divider. Add a table that where we can

svn commit: r309912 - in head/sys/arm: at91 broadcom/bcm2835 ti

2016-12-12 Thread Emmanuel Vadot
Author: manu Date: Mon Dec 12 18:36:46 2016 New Revision: 309912 URL: https://svnweb.freebsd.org/changeset/base/309912 Log: CS ivar is uint32_t, not int. MFC after:3 days Modified: head/sys/arm/at91/at91_spi.c head/sys/arm/broadcom/bcm2835/bcm2835_spi.c head/sys/arm/ti/ti_spi.c

svn commit: r309935 - in head/sys: arm/lpc mips/atheros mips/atheros/ar531x mips/mediatek mips/rt305x

2016-12-12 Thread Emmanuel Vadot
Author: manu Date: Mon Dec 12 20:04:31 2016 New Revision: 309935 URL: https://svnweb.freebsd.org/changeset/base/309935 Log: Use the spibus accessor when applicable. MFC after:3 days Modified: head/sys/arm/lpc/lpc_spi.c head/sys/mips/atheros/ar531x/ar5315_spi.c

svn commit: r309754 - stable/11/sys/arm/allwinner

2016-12-09 Thread Emmanuel Vadot
Author: manu Date: Fri Dec 9 19:40:33 2016 New Revision: 309754 URL: https://svnweb.freebsd.org/changeset/base/309754 Log: MFC r304793 (jmcneill): Remove dependency on allwinner_soc_family() as it is not available on arm64. Modified: stable/11/sys/arm/allwinner/aw_rtc.c Directory

svn commit: r309755 - stable/11/sys/arm/allwinner

2016-12-09 Thread Emmanuel Vadot
Author: manu Date: Fri Dec 9 20:03:49 2016 New Revision: 309755 URL: https://svnweb.freebsd.org/changeset/base/309755 Log: MFC r309029: Do not attempt to disable/release clock if it had not been enabled. While here fix a style(9) issue. Modified:

svn commit: r309756 - in stable/11/sys/arm/allwinner: . clk

2016-12-09 Thread Emmanuel Vadot
Author: manu Date: Fri Dec 9 20:07:01 2016 New Revision: 309756 URL: https://svnweb.freebsd.org/changeset/base/309756 Log: MFC r308704-r308705 (jmcneill) r308704: Allow the MMC frequency to be set up to 52MHz for MMC high speed timings. r308705: On command error, reset only DMA

svn commit: r309757 - stable/11/sys/arm/allwinner

2016-12-09 Thread Emmanuel Vadot
Author: manu Date: Fri Dec 9 20:13:31 2016 New Revision: 309757 URL: https://svnweb.freebsd.org/changeset/base/309757 Log: MFC r305349 (jmcneill): Add support for reading root key on A83T/A64. Modified: stable/11/sys/arm/allwinner/aw_sid.c Directory Properties: stable/11/ (props

svn commit: r309758 - stable/11/sys/arm/allwinner

2016-12-09 Thread Emmanuel Vadot
Author: manu Date: Fri Dec 9 20:17:07 2016 New Revision: 309758 URL: https://svnweb.freebsd.org/changeset/base/309758 Log: MFC r308309: Add support for AXP221 Power Management Unit. AXP221 is used on board with A31/A31S and is mostly compatible with AXP209. Regulators, GPIO and

svn commit: r309753 - stable/11/sys/arm/allwinner

2016-12-09 Thread Emmanuel Vadot
Author: manu Date: Fri Dec 9 19:36:13 2016 New Revision: 309753 URL: https://svnweb.freebsd.org/changeset/base/309753 Log: MFC r306479 (mmel): ALLWINNER: ahci_devclass is local variable, don't export it. Modified: stable/11/sys/arm/allwinner/a10_ahci.c Directory Properties:

svn commit: r309760 - stable/11/sys/arm/allwinner

2016-12-09 Thread Emmanuel Vadot
Author: manu Date: Fri Dec 9 20:25:59 2016 New Revision: 309760 URL: https://svnweb.freebsd.org/changeset/base/309760 Log: MFC r302585 (jmcneill): Build fix for arm64. The phy interface uses intptr_t for the "phy" parameter, not int. Modified: stable/11/sys/arm/allwinner/aw_usbphy.c

svn commit: r309762 - stable/11/sys/arm/allwinner/clk

2016-12-09 Thread Emmanuel Vadot
Author: manu Date: Fri Dec 9 20:35:01 2016 New Revision: 309762 URL: https://svnweb.freebsd.org/changeset/base/309762 Log: MFC r304795, r307366 (jmcneill): r304795: Add support for Allwinner multi-parent bus gates. Reviewed by: andrew, manu r307366: Match

svn commit: r309763 - stable/11/sys/arm/allwinner

2016-12-09 Thread Emmanuel Vadot
Author: manu Date: Fri Dec 9 20:37:34 2016 New Revision: 309763 URL: https://svnweb.freebsd.org/changeset/base/309763 Log: MFC r302586 (jmcneill): Attach RSB early. Children of RSB may provide resources necessary for other devices such as interrupts, GPIOs, and regulators. Modified:

svn commit: r309764 - stable/11/sys/arm/allwinner

2016-12-09 Thread Emmanuel Vadot
Author: manu Date: Fri Dec 9 20:45:11 2016 New Revision: 309764 URL: https://svnweb.freebsd.org/changeset/base/309764 Log: MFC r302584 (jmcneill): Remove unused bus_space prototypes. Modified: stable/11/sys/arm/allwinner/a10_ehci.c Directory Properties: stable/11/ (props changed)

svn commit: r309765 - stable/11/sys/arm/allwinner

2016-12-09 Thread Emmanuel Vadot
Author: manu Date: Fri Dec 9 20:48:47 2016 New Revision: 309765 URL: https://svnweb.freebsd.org/changeset/base/309765 Log: MFC r302587 (jmcneill): Include sys/rman.h to fix build on arm64. Modified: stable/11/sys/arm/allwinner/aw_nmi.c Directory Properties: stable/11/ (props

svn commit: r309769 - stable/11/sys/dev/extres/clk

2016-12-09 Thread Emmanuel Vadot
Author: manu Date: Fri Dec 9 21:00:16 2016 New Revision: 309769 URL: https://svnweb.freebsd.org/changeset/base/309769 Log: MFC r308298, r308440 r308298: Add clk_set_assigned assigned-clock-parents are DT properties used to configure some default parent clocks on one node.

svn commit: r309771 - stable/11/sys/arm/allwinner/clk

2016-12-09 Thread Emmanuel Vadot
Author: manu Date: Fri Dec 9 21:17:40 2016 New Revision: 309771 URL: https://svnweb.freebsd.org/changeset/base/309771 Log: MFC r302785, r308300, r308441 r302785 (jmcneill): H3/A83T: Use PLL_PERIPH/2 for AHB2 parent clock. Reviewed by: manu r308300: For AHB clock we need to

svn commit: r309759 - stable/11/sys/arm/allwinner

2016-12-09 Thread Emmanuel Vadot
Author: manu Date: Fri Dec 9 20:21:48 2016 New Revision: 309759 URL: https://svnweb.freebsd.org/changeset/base/309759 Log: MFC r308235 (jmcneill): Register the device's xref handle at attach time. Modified: stable/11/sys/arm/allwinner/a10_dmac.c Directory Properties: stable/11/

svn commit: r309761 - stable/11/sys/arm/allwinner

2016-12-09 Thread Emmanuel Vadot
Author: manu Date: Fri Dec 9 20:28:28 2016 New Revision: 309761 URL: https://svnweb.freebsd.org/changeset/base/309761 Log: MFC r305058 (jmcneill): Add support for Allwinner A64 watchdog timer. Modified: stable/11/sys/arm/allwinner/aw_wdog.c Directory Properties: stable/11/ (props

svn commit: r309767 - stable/11/sys/arm/allwinner/clk

2016-12-09 Thread Emmanuel Vadot
Author: manu Date: Fri Dec 9 20:52:48 2016 New Revision: 309767 URL: https://svnweb.freebsd.org/changeset/base/309767 Log: MFC r304796, r308233 (jmcneill) r304796: Switch parent clock when setting frequency if a new parent is a better candidate for the target rate. Reviewed by:

Re: svn commit: r311455 - head/sys/boot/fdt/dts/arm

2017-01-14 Thread Emmanuel Vadot
-PCIe slots on the board. > + */ > + pcie@1,0 { > + /* Port 0, Lane 0 */ > + status = "okay"; > + }; > + > + pcie@2,0 { > +

svn commit: r311237 - in head/sys: arm/allwinner arm/allwinner/a33 arm/allwinner/clk conf

2017-01-03 Thread Emmanuel Vadot
se file is newly added) +++ head/sys/arm/allwinner/a33/a33_padconf.cWed Jan 4 03:35:39 2017 (r311237) @@ -0,0 +1,149 @@ +/*- + * Copyright (c) 2016 Emmanuel Vadot <m...@freebsd.org> + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or wi

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

2017-01-03 Thread Emmanuel Vadot
Author: manu Date: Wed Jan 4 03:37:00 2017 New Revision: 311238 URL: https://svnweb.freebsd.org/changeset/base/311238 Log: ARM GENERIC: Add support for Allwinner A33 SoC Modified: head/sys/arm/conf/GENERIC Modified: head/sys/arm/conf/GENERIC

svn commit: r310229 - in head/sys: arm/at91 arm/broadcom/bcm2835 arm/freescale/vybrid arm/lpc arm/samsung/exynos arm/ti dev/spibus dev/xilinx mips/atheros mips/atheros/ar531x mips/mediatek mips/rt305x

2016-12-18 Thread Emmanuel Vadot
Author: manu Date: Sun Dec 18 14:54:20 2016 New Revision: 310229 URL: https://svnweb.freebsd.org/changeset/base/310229 Log: ofw_spi: Parse property for the SPI mode and CS polarity. As cs is stored in a uint32_t, use the last bit to store the active high flag as it's unlikely that we will

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

2016-12-22 Thread Emmanuel Vadot
Author: manu Date: Thu Dec 22 15:01:06 2016 New Revision: 310414 URL: https://svnweb.freebsd.org/changeset/base/310414 Log: Allwinner clk: factor M for mod clock is 4 bits, not 5 MFC after:1 week Modified: head/sys/arm/allwinner/clk/aw_modclk.c Modified:

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

2017-04-01 Thread Emmanuel Vadot
Author: manu Date: Sat Apr 1 21:55:09 2017 New Revision: 316376 URL: https://svnweb.freebsd.org/changeset/base/316376 Log: Reduce the diff on beaglebone-black DTS. The HDMI TX (tda19988) is already enabled in upstream DTS so use it directly instead. Modified:

Re: svn commit: r316376 - head/sys/boot/fdt/dts/arm

2017-04-01 Thread Emmanuel Vadot
On Sat, 1 Apr 2017 15:02:11 -0700 Oleksandr Tymoshenko <go...@bluezbox.com> wrote: > Emmanuel Vadot (m...@freebsd.org) wrote: > > Author: manu > > Date: Sat Apr 1 21:55:09 2017 > > New Revision: 316376 > > URL: https://svnweb.freebsd.org/changeset/base/316376 &g

svn commit: r317165 - head/usr.bin/pom

2017-04-19 Thread Emmanuel Vadot
Author: manu Date: Wed Apr 19 20:27:48 2017 New Revision: 317165 URL: https://svnweb.freebsd.org/changeset/base/317165 Log: Capsicumize pom Since pom is the only binary that can save lives, capsicumize it to be sure that it's safe to run it. Reviewed by: bapt Modified:

svn commit: r317166 - head/usr.bin/pom

2017-04-19 Thread Emmanuel Vadot
Author: manu Date: Wed Apr 19 20:35:04 2017 New Revision: 317166 URL: https://svnweb.freebsd.org/changeset/base/317166 Log: pom: Remove useless cap_rights_init Pointy-Hat: manu Reported by: bapt Modified: head/usr.bin/pom/pom.c Modified: head/usr.bin/pom/pom.c

Re: svn commit: r314599 - head/sys/gnu/dts/arm

2017-03-03 Thread Emmanuel Vadot
clocks { > @@ -70,6 +99,31 @@ > status = "okay"; > }; > > + { > + status = "okay"; > +}; > + > + { > + status = "okay"; > + > + resource-manager@0 { > + compatible = "altr,a10sr"; > + reg = <0>; > + spi-max-frequency = <10>; > + /* low-level active IRQ at GPIO1_5 */ > + interrupt-parent = <>; > + interrupts = <5 IRQ_TYPE_LEVEL_LOW>; > + interrupt-controller; > + #interrupt-cells = <2>; > + > + a10sr_gpio: gpio-controller { > + compatible = "altr,a10sr-gpio"; > + gpio-controller; > + #gpio-cells = <2>; > + }; > + }; > +}; > + > { > speed-mode = <0>; > status = "okay"; > @@ -91,6 +145,11 @@ > compatible = "dallas,ds1339"; > reg = <0x68>; > }; > + > + ltc@5c { > + compatible = "ltc2977"; > + reg = <0x5c>; > + }; > }; > > { > @@ -100,3 +159,7 @@ > { > status = "okay"; > }; > + > + { > + status = "okay"; > +}; > > Modified: head/sys/gnu/dts/arm/socfpga_arria10_socdk_sdmmc.dts > == > --- head/sys/gnu/dts/arm/socfpga_arria10_socdk_sdmmc.dts Fri Mar 3 > 14:06:22 2017(r314598) > +++ head/sys/gnu/dts/arm/socfpga_arria10_socdk_sdmmc.dts Fri Mar 3 > 14:17:07 2017(r314599) > @@ -25,3 +25,15 @@ > broken-cd; > bus-width = <4>; > }; > + > + { > + sdmmca-ecc@ff8c2c00 { > + compatible = "altr,socfpga-sdmmc-ecc"; > + reg = <0xff8c2c00 0x400>; > + altr,ecc-parent = <>; > + interrupts = <15 IRQ_TYPE_LEVEL_HIGH>, > + <47 IRQ_TYPE_LEVEL_HIGH>, > + <16 IRQ_TYPE_LEVEL_HIGH>, > + <48 IRQ_TYPE_LEVEL_HIGH>; > + }; > +}; -- Emmanuel Vadot <m...@bidouilliste.com> <m...@freebsd.org> ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

svn commit: r315093 - in head/sys: amd64/conf conf i386/conf

2017-03-11 Thread Emmanuel Vadot
Author: manu Date: Sun Mar 12 00:52:16 2017 New Revision: 315093 URL: https://svnweb.freebsd.org/changeset/base/315093 Log: Remove i915drm and radeondrm from NOTES and conf. This unbreak LINT kernel. Reported by: lwhsu Modified: head/sys/amd64/conf/NOTES head/sys/conf/files

svn commit: r315141 - head/sys/mips/conf

2017-03-11 Thread Emmanuel Vadot
Author: manu Date: Sun Mar 12 07:09:50 2017 New Revision: 315141 URL: https://svnweb.freebsd.org/changeset/base/315141 Log: Use 'options EXT_RESOURCES' instead of 'device ext_resources' for FDT enabled MIPS kernel config. Modified: head/sys/mips/conf/JZ4780 head/sys/mips/conf/MT7620A_FDT

svn commit: r315045 - in head/sys: dev/drm modules/drm modules/drm/i915 modules/drm/radeon

2017-03-10 Thread Emmanuel Vadot
Author: manu Date: Sat Mar 11 03:01:18 2017 New Revision: 315045 URL: https://svnweb.freebsd.org/changeset/base/315045 Log: drm(old): Remove i915 and radeon drivers They cannot be used anymore with the userland bits we provide. Furthermore, their KMS versions support the same hardware.

svn commit: r315052 - head

2017-03-10 Thread Emmanuel Vadot
Author: manu Date: Sat Mar 11 05:12:39 2017 New Revision: 315052 URL: https://svnweb.freebsd.org/changeset/base/315052 Log: Document the removal of radeon and i915 old drm driver done in r315045. Reported by: linimon Modified: head/UPDATING Modified: head/UPDATING

svn commit: r314846 - svnadmin/conf

2017-03-07 Thread Emmanuel Vadot
Author: manu Date: Tue Mar 7 12:39:41 2017 New Revision: 314846 URL: https://svnweb.freebsd.org/changeset/base/314846 Log: Add myself for DTS import Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf

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

2017-03-07 Thread Emmanuel Vadot
Author: manu Date: Tue Mar 7 13:59:30 2017 New Revision: 314855 URL: https://svnweb.freebsd.org/changeset/base/314855 Log: Update our Allwinner DTS to latest DTS changes in Linux 4.10 Modified: head/sys/boot/fdt/dts/arm/h3.dtsi head/sys/boot/fdt/dts/arm/orangepi-plus-2e.dts Modified:

svn commit: r314854 - in head/sys/gnu/dts: arm include/dt-bindings/clock include/dt-bindings/display include/dt-bindings/gpio include/dt-bindings/input include/dt-bindings/leds include/dt-bindings/...

2017-03-07 Thread Emmanuel Vadot
Author: manu Date: Tue Mar 7 13:56:49 2017 New Revision: 314854 URL: https://svnweb.freebsd.org/changeset/base/314854 Log: Update our device tree files to a Linux 4.10 Added: head/sys/gnu/dts/arm/am571x-idk.dts - copied unchanged from r314847,

svn commit: r314848 - vendor/device-tree/4.10

2017-03-07 Thread Emmanuel Vadot
Author: manu Date: Tue Mar 7 12:43:37 2017 New Revision: 314848 URL: https://svnweb.freebsd.org/changeset/base/314848 Log: Tag update of DTS to Linux 4.10 Added: vendor/device-tree/4.10/ - copied from r314847, vendor/device-tree/dist/ ___

svn commit: r314856 - svnadmin/conf

2017-03-07 Thread Emmanuel Vadot
Author: manu Date: Tue Mar 7 14:01:33 2017 New Revision: 314856 URL: https://svnweb.freebsd.org/changeset/base/314856 Log: Remove myself after DTS import Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf

svn commit: r314699 - in head/sys: dev/extres/clk kern sys

2017-03-04 Thread Emmanuel Vadot
Author: manu Date: Sun Mar 5 07:13:29 2017 New Revision: 314699 URL: https://svnweb.freebsd.org/changeset/base/314699 Log: Export a sysctl dev...clocks for each clock domain containing all the clocks that they provide. Each clocks are exported under the node 'clock.' and have the

svn commit: r321764 - head/usr.bin/calendar/calendars

2017-07-31 Thread Emmanuel Vadot
@@ 12/18 Muhammad Moinur Rahman <b...@freebsd.org> born in Dhaka, Bangladesh, 1983 12/18 Semen Ustimenko <sem...@freebsd.org> born in Novosibirsk, Russian Federation, 1979 12/19 Stephen Hurd <sh...@freebsd.org> born in Estevan, Saskatchewan, Canada, 1975 +12/19 Emmanuel Vadot

svn commit: r321942 - in head/sys: arm/allwinner arm/allwinner/clkng arm64/conf conf

2017-08-02 Thread Emmanuel Vadot
Author: manu Date: Wed Aug 2 20:19:19 2017 New Revision: 321942 URL: https://svnweb.freebsd.org/changeset/base/321942 Log: arm64: Add Allwinner H5 SoC Allwinner H5 is an H3 (arm32) with Cortex A53 cores. Add support for it and enable it in GENERIC kernel config Tested on: OrangePi

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

2017-08-02 Thread Emmanuel Vadot
Author: manu Date: Wed Aug 2 20:17:04 2017 New Revision: 321941 URL: https://svnweb.freebsd.org/changeset/base/321941 Log: allwiner: modclk: Do not try to enable parent clock if it doesn't exist Modified: head/sys/arm/allwinner/clk/aw_modclk.c Modified:

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

2017-08-01 Thread Emmanuel Vadot
Author: manu Date: Tue Aug 1 20:28:11 2017 New Revision: 321894 URL: https://svnweb.freebsd.org/changeset/base/321894 Log: Allwinner dtb: Add NanoPi M1 to the build It was tested on NanoPi M1 Plus. Modified: head/sys/modules/dtb/allwinner/Makefile Modified:

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

2017-08-01 Thread Emmanuel Vadot
Author: manu Date: Tue Aug 1 19:22:00 2017 New Revision: 321891 URL: https://svnweb.freebsd.org/changeset/base/321891 Log: Alwinner: nanopi-neo: Remove r_i2c node from DTS as it isn't used on the board Modified: head/sys/boot/fdt/dts/arm/nanopi-neo.dts Modified:

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

2017-08-03 Thread Emmanuel Vadot
Author: manu Date: Thu Aug 3 19:01:46 2017 New Revision: 322027 URL: https://svnweb.freebsd.org/changeset/base/322027 Log: arm: Add a GENERIC-NODEBUG kernel config Like amd64 or arm64 provide a GENERIC-NODEBUG configuration file that remove WITNESS and INVARIANTS etc ... Added:

Re: svn commit: r320944 - head/etc/rc.d

2017-08-16 Thread Emmanuel Vadot
Hi Gleb, On Tue, 15 Aug 2017 15:49:29 -0700 Gleb Smirnoff <gleb...@freebsd.org> wrote: > Emmanuel, > > On Thu, Jul 13, 2017 at 01:40:18PM +, Emmanuel Vadot wrote: > E> Author: manu > E> Date: Thu Jul 13 13:40:18 2017 > E> New Revision: 320944 >

svn commit: r320944 - head/etc/rc.d

2017-07-13 Thread Emmanuel Vadot
Author: manu Date: Thu Jul 13 13:40:18 2017 New Revision: 320944 URL: https://svnweb.freebsd.org/changeset/base/320944 Log: Add an rc.d script to setup a netflow export via ng_netflow The default is to export netflow data on localhost on the netflow port. ngtee is used to have the lowest

svn commit: r320943 - head/etc/rc.d

2017-07-13 Thread Emmanuel Vadot
Author: manu Date: Thu Jul 13 13:32:23 2017 New Revision: 320943 URL: https://svnweb.freebsd.org/changeset/base/320943 Log: Add ipfw_status command to etc/rc.d/ipfw This is helpful when using service/conf management tools. Sonsored-By: Gandi.net Modified: head/etc/rc.d/ipfw

svn commit: r321072 - in head: etc/defaults share/man/man5

2017-07-17 Thread Emmanuel Vadot
Author: manu Date: Mon Jul 17 08:53:51 2017 New Revision: 321072 URL: https://svnweb.freebsd.org/changeset/base/321072 Log: ipfw_netflow: add +ipfw_netflow_enable="NO" to defaults/rc.conf and document usage in rc.conf(5) Reported by: markj Sponsored by: Gandi.net Modified:

svn commit: r320832 - in vendor/device-tree/dist: . Bindings Bindings/arm Bindings/arm/firmware Bindings/arm/hisilicon Bindings/arm/mediatek Bindings/arm/tegra Bindings/ata Bindings/auxdisplay Bind...

2017-07-09 Thread Emmanuel Vadot
Author: manu Date: Sun Jul 9 13:12:48 2017 New Revision: 320832 URL: https://svnweb.freebsd.org/changeset/base/320832 Log: Update the DTS file from Linux 4.12 Added: vendor/device-tree/dist/Bindings/arm/cavium-thunder2.txt (contents, props changed)

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

2017-07-09 Thread Emmanuel Vadot
Author: manu Date: Sun Jul 9 13:56:34 2017 New Revision: 320835 URL: https://svnweb.freebsd.org/changeset/base/320835 Log: dts: arm: Fix our local patches for H3 sun4i-a10.h is not included anymore, define directly the drive strengh of the pins. Modified:

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

2017-07-09 Thread Emmanuel Vadot
Author: manu Date: Sun Jul 9 12:35:19 2017 New Revision: 320830 URL: https://svnweb.freebsd.org/changeset/base/320830 Log: if_awg: Add "allwinner,sun50i-a64-emac" compatible string. This enable ethernet on Pine64 with latest DTS. Modified: head/sys/arm/allwinner/if_awg.c Modified:

svn commit: r320833 - vendor/device-tree/4.12

2017-07-09 Thread Emmanuel Vadot
Author: manu Date: Sun Jul 9 13:13:50 2017 New Revision: 320833 URL: https://svnweb.freebsd.org/changeset/base/320833 Log: Tag import of DTS from Linux 4.12 Added: vendor/device-tree/4.12/ - copied from r320832, vendor/device-tree/dist/ ___

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

2017-07-09 Thread Emmanuel Vadot
Author: manu Date: Sun Jul 9 12:53:02 2017 New Revision: 320831 URL: https://svnweb.freebsd.org/changeset/base/320831 Log: arm64: Add Allwinner I2C controller to GENERIC kernel Modified: head/sys/arm64/conf/GENERIC head/sys/conf/files.arm64 Modified: head/sys/arm64/conf/GENERIC

svn commit: r320834 - in head/sys/gnu/dts: arm include/dt-bindings/clock include/dt-bindings/genpd include/dt-bindings/gpio include/dt-bindings/input include/dt-bindings/mfd include/dt-bindings/pin...

2017-07-09 Thread Emmanuel Vadot
Author: manu Date: Sun Jul 9 13:53:32 2017 New Revision: 320834 URL: https://svnweb.freebsd.org/changeset/base/320834 Log: Update DTS files from Linux 4.12 Notable changes: Allwinner: * H3/H5 were merged into a common dtsi file * include/dt-bindings/sun4i-a10.h is not

svn commit: r321008 - head/etc/rc.d

2017-07-15 Thread Emmanuel Vadot
Author: manu Date: Sat Jul 15 09:04:23 2017 New Revision: 321008 URL: https://svnweb.freebsd.org/changeset/base/321008 Log: etc/rc.d: Only install ipfw_netflow is MK_IPFW and MK_NETGRAPH is defined While here only install ipfw rc script if MK_IPFW is defined. Reported by: ngie

Re: svn commit: r320944 - head/etc/rc.d

2017-07-15 Thread Emmanuel Vadot
On Thu, 13 Jul 2017 08:44:36 -0700 Ngie Cooper <yaneurab...@gmail.com> wrote: > > > On Jul 13, 2017, at 06:40, Emmanuel Vadot <m...@freebsd.org> wrote: > > > > Author: manu > > Date: Thu Jul 13 13:40:18 2017 > > New Revision: 320944 > > UR

svn commit: r321128 - in head: etc/rc.d share/man/man5

2017-07-18 Thread Emmanuel Vadot
Author: manu Date: Tue Jul 18 14:02:02 2017 New Revision: 321128 URL: https://svnweb.freebsd.org/changeset/base/321128 Log: ipfw_netflow: Add support for FIB If ipfw_netflow_fib, the ipfw rule will only match packets in that FIB. While here correct some value in rc.conf(5) to be int

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

2017-07-18 Thread Emmanuel Vadot
Author: manu Date: Tue Jul 18 19:50:02 2017 New Revision: 321172 URL: https://svnweb.freebsd.org/changeset/base/321172 Log: Allwinner EHCI: Do not fail if we cannot get a phy If we cannot get a phy, do not detach the driver, some boards have phy always enabled and not exposed. While

svn commit: r321626 - head/sys/arm/allwinner/clkng

2017-07-27 Thread Emmanuel Vadot
Author: manu Date: Thu Jul 27 17:51:51 2017 New Revision: 321626 URL: https://svnweb.freebsd.org/changeset/base/321626 Log: Allwinner A64: fix typo 'pll_ddr0' is the dram parent, not 'pll_ddr' Modified: head/sys/arm/allwinner/clkng/ccu_a64.c Modified:

svn commit: r320612 - in head/sys: arm/allwinner arm/allwinner/clkng conf

2017-07-03 Thread Emmanuel Vadot
ty, because file is newly added) +++ head/sys/arm/allwinner/clkng/ccu_a64.c Mon Jul 3 19:30:03 2017 (r320612) @@ -0,0 +1,743 @@ +/*- + * Copyright (c) 2017 Emmanuel Vadot <m...@freebsd.org> + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or w

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

2017-07-03 Thread Emmanuel Vadot
Author: manu Date: Mon Jul 3 18:01:58 2017 New Revision: 320606 URL: https://svnweb.freebsd.org/changeset/base/320606 Log: arm: gic: Change GIC_DEBUG_SPURIOUS to TUNABLE On armv6 default to 1 if INVARIANTS is set On arm64 always default to 0 Discussed with: andrew, ian, mmel

Re: svn commit: r322252 - head/usr.bin/vmstat

2017-08-09 Thread Emmanuel Vadot
On Wed, 9 Aug 2017 18:44:19 +1000 (EST) Bruce Evans <b...@optusnet.com.au> wrote: > On Tue, 8 Aug 2017, Emmanuel Vadot wrote: > > > On Tue, 8 Aug 2017 23:55:52 +1000 (EST) > > Bruce Evans <b...@optusnet.com.au> wrote: > > > >> On Tue, 8 A

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

2017-08-01 Thread Emmanuel Vadot
Author: manu Date: Tue Aug 1 18:33:27 2017 New Revision: 321888 URL: https://svnweb.freebsd.org/changeset/base/321888 Log: Allwinner dtb: add link for NanoPi Neo Reported by: Richard Puga Tested by:Richard Puga , myself Modified:

svn commit: r322252 - head/usr.bin/vmstat

2017-08-08 Thread Emmanuel Vadot
Author: manu Date: Tue Aug 8 12:18:11 2017 New Revision: 322252 URL: https://svnweb.freebsd.org/changeset/base/322252 Log: vmstat: Always emit a space after the free-memory column When displaying in non-human form, if the free-memory number is large (more than 7 digits), there is no

Re: svn commit: r322252 - head/usr.bin/vmstat

2017-08-08 Thread Emmanuel Vadot
On Tue, 8 Aug 2017 23:55:52 +1000 (EST) Bruce Evans <b...@optusnet.com.au> wrote: > On Tue, 8 Aug 2017, Emmanuel Vadot wrote: > > > Log: > > vmstat: Always emit a space after the free-memory column > > > > When displaying in non-human form, if the free-memo

svn commit: r322694 - in head/sys: boot/fdt/dts/arm modules/dtb/rpi

2017-08-19 Thread Emmanuel Vadot
Author: manu Date: Sat Aug 19 14:27:11 2017 New Revision: 322694 URL: https://svnweb.freebsd.org/changeset/base/322694 Log: RPI DTS: Add value previously set by VideoCore and DTB links Using latest U-Boot for RPI 1 or 2 the DTB loaded by the firmware is discarded. The DTB was previously

svn commit: r318137 - head/usr.bin/mkimg

2017-05-10 Thread Emmanuel Vadot
Author: manu Date: Wed May 10 09:36:34 2017 New Revision: 318137 URL: https://svnweb.freebsd.org/changeset/base/318137 Log: mkimg: Add -C argument to specify maximum capacity Add a -C option to specify a maximum capacity for the final image file. It is useful to control the size of the

<    1   2   3   4   5   6   7   8   9   10   >