svn commit: r324818 - in vendor/device-tree/dist: . Bindings Bindings/arm Bindings/arm/bcm Bindings/arm/hisilicon Bindings/arm/keystone Bindings/arm/marvell Bindings/ata Bindings/bus Bindings/clock...

2017-10-21 Thread Emmanuel Vadot
Author: manu Date: Sat Oct 21 15:18:20 2017 New Revision: 324818 URL: https://svnweb.freebsd.org/changeset/base/324818 Log: dts: Update the Device Tree Sources to Linux 4.13 Added: vendor/device-tree/dist/Bindings/arm/actions.txt (contents, props changed)

svn commit: r324819 - vendor/device-tree/4.13

2017-10-21 Thread Emmanuel Vadot
Author: manu Date: Sat Oct 21 15:19:00 2017 New Revision: 324819 URL: https://svnweb.freebsd.org/changeset/base/324819 Log: Tag device-tree to 4.13 Added: vendor/device-tree/4.13/ - copied from r324818, vendor/device-tree/dist/ ___

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

2017-10-21 Thread Emmanuel Vadot
Author: manu Date: Sat Oct 21 16:12:00 2017 New Revision: 324822 URL: https://svnweb.freebsd.org/changeset/base/324822 Log: dtb/allwinner: Disconnect sinovoip-bpi-m3.dts from the build No active commiter have this board and we diverged too much from the upstream DTS. Modified:

svn commit: r324820 - in head/sys/gnu/dts: arm include/dt-bindings/clock include/dt-bindings/gpio include/dt-bindings/input include/dt-bindings/interrupt-controller include/dt-bindings/mux include/...

2017-10-21 Thread Emmanuel Vadot
Author: manu Date: Sat Oct 21 15:47:40 2017 New Revision: 324820 URL: https://svnweb.freebsd.org/changeset/base/324820 Log: dts: Update our device tree sources file fomr Linux 4.13 Added: - copied unchanged from r324818, vendor/device-tree/dist/src/arm/am335x-boneblue.dts - copied

svn commit: r333305 - head/sys/arm/ti/am335x

2018-05-06 Thread Emmanuel Vadot
Author: manu Date: Sun May 6 14:37:11 2018 New Revision: 05 URL: https://svnweb.freebsd.org/changeset/base/05 Log: am335x_prcm: Delay the frequencies read check With Linux 4.17 dts the compatible for the prcm added 'simplebus' we mean that the simplebus driver will attach to it

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

2018-05-07 Thread Emmanuel Vadot
Author: manu Date: Mon May 7 07:30:40 2018 New Revision: 18 URL: https://svnweb.freebsd.org/changeset/base/18 Log: clk: Add support for assigned-clock-rates The properties 'assigned-clocks', 'assigned-clock-parents' and 'assigned-clock-rates' all work together.

svn commit: r333319 - head/sys/arm64/rockchip/clk

2018-05-07 Thread Emmanuel Vadot
Author: manu Date: Mon May 7 07:31:25 2018 New Revision: 19 URL: https://svnweb.freebsd.org/changeset/base/19 Log: arm64: rockchip: cru: Call clk_set_assigned We need to call clk_set_assigned after all the clock have been registered to set the parents/rates described in the dtb.

svn commit: r333314 - head/sys/arm64/rockchip/clk

2018-05-07 Thread Emmanuel Vadot
Author: manu Date: Mon May 7 07:26:48 2018 New Revision: 14 URL: https://svnweb.freebsd.org/changeset/base/14 Log: arm64: rockchip: rk3328: Add armclk clock Add the clock definition for the arm clock. While here remove the indexes in the clock table as we will need clock with

svn commit: r333317 - head/sys/arm64/rockchip/clk

2018-05-07 Thread Emmanuel Vadot
Author: manu Date: Mon May 7 07:29:48 2018 New Revision: 17 URL: https://svnweb.freebsd.org/changeset/base/17 Log: arm64: rockchip: clk: Add support to reparent to clk_composite All clk_composite type have the possibility to reparent (choosing another parent to find a better

svn commit: r333315 - head/sys/arm64/rockchip/clk

2018-05-07 Thread Emmanuel Vadot
Author: manu Date: Mon May 7 07:28:10 2018 New Revision: 15 URL: https://svnweb.freebsd.org/changeset/base/15 Log: arm64: rk: Add support for setting pll rate Add support for setting pll rate. On RockChip SoC two kind of plls are supported, integer mode and fractional mode.

svn commit: r333316 - head/sys/arm64/rockchip/clk

2018-05-07 Thread Emmanuel Vadot
Author: manu Date: Mon May 7 07:28:47 2018 New Revision: 16 URL: https://svnweb.freebsd.org/changeset/base/16 Log: arm64: rk3328: Add pll rates tables Add the known value to be safe for the rk3328 PLLs Modified: head/sys/arm64/rockchip/clk/rk3328_cru.c Modified:

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

2018-05-07 Thread Emmanuel Vadot
Author: manu Date: Mon May 7 09:42:35 2018 New Revision: 20 URL: https://svnweb.freebsd.org/changeset/base/20 Log: clk: clk_set_assigned: Skip frequency of value 0 A frequency of value 0 mean that we don't want to change the frequency so skip it. Modified:

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

2018-04-27 Thread Emmanuel Vadot
Author: manu Date: Fri Apr 27 09:25:27 2018 New Revision: 333055 URL: https://svnweb.freebsd.org/changeset/base/333055 Log: allwinner: clk: Add gate_shift to the clock definition WHile gate_shift was present in the NM_CLK macro it wasn't set into the clock definition structure resulting

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

2018-04-27 Thread Emmanuel Vadot
Author: manu Date: Fri Apr 27 09:23:07 2018 New Revision: 333054 URL: https://svnweb.freebsd.org/changeset/base/333054 Log: allwinner: clk: Correct aw_clk_get_factor Switch test between zero based factor and power of two one. This resulted in a miscalculation of the factor if it was a

svn commit: r333074 - in head/sys/arm: allwinner cavium/cns11xx freescale/vybrid samsung/exynos ti/usb xilinx

2018-04-27 Thread Emmanuel Vadot
Author: manu Date: Fri Apr 27 21:05:58 2018 New Revision: 333074 URL: https://svnweb.freebsd.org/changeset/base/333074 Log: arm: Fix duplicate ehci DRIVER_MODULE Name each ehci driver uniquely. This remove the warning printed at each arm boot : module_register: cannot register

svn commit: r333075 - in head/sys: arm/conf modules/dtb/allwinner modules/dtb/overlays

2018-04-27 Thread Emmanuel Vadot
Author: manu Date: Fri Apr 27 21:15:51 2018 New Revision: 333075 URL: https://svnweb.freebsd.org/changeset/base/333075 Log: arm: dts: overlays: Remove the overlay module Move the DTSO variables in the main SoC dtb file Discussed with: ian Deleted:

svn commit: r333073 - in head/sys/arm: allwinner freescale/imx

2018-04-27 Thread Emmanuel Vadot
Author: manu Date: Fri Apr 27 21:05:18 2018 New Revision: 333073 URL: https://svnweb.freebsd.org/changeset/base/333073 Log: arm: Fix duplicate ahci DRIVER_MODULE Name each ahci driver uniquely. This remove the warning printed at each arm boot : module_register: cannot register

svn commit: r333455 - head/sys/arm64/conf

2018-05-10 Thread Emmanuel Vadot
Author: manu Date: Thu May 10 09:37:50 2018 New Revision: 333455 URL: https://svnweb.freebsd.org/changeset/base/333455 Log: arm64: Add ALT_BREAK_TO_DEBUGGER to GENERIC It is useful to enter kdb with an escape sequence. While here move the USB_DEBUG with the others debug options and

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

2018-05-12 Thread Emmanuel Vadot
Author: manu Date: Sat May 12 13:14:01 2018 New Revision: 333556 URL: https://svnweb.freebsd.org/changeset/base/333556 Log: aw_mmc: Rework regulator handling Don't enable regulator on attach but dealt with them on power_up/power_off Only set the voltage for the signaling regulator since

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

2018-05-12 Thread Emmanuel Vadot
Author: manu Date: Sat May 12 13:12:59 2018 New Revision: 333554 URL: https://svnweb.freebsd.org/changeset/base/333554 Log: aw_mmc: Remove hardware reset From all the BSP (Board Source Package) source that I've looked at it seems that it's never done, remove it. Tested On: A31, A64

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

2018-05-12 Thread Emmanuel Vadot
Author: manu Date: Sat May 12 13:13:34 2018 New Revision: 333555 URL: https://svnweb.freebsd.org/changeset/base/333555 Log: aw_mmc: Do not fully init the controller in attach Only do a reset of the controller at attach and init it at power_up. We use to enable some interrupts in reset,

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

2018-05-12 Thread Emmanuel Vadot
Author: manu Date: Sat May 12 13:12:26 2018 New Revision: 333553 URL: https://svnweb.freebsd.org/changeset/base/333553 Log: aw_mmc: Read interrupt register value before writing to it Reported by: jmcneill Modified: head/sys/arm/allwinner/aw_mmc.c Modified:

svn commit: r333710 - head/share/man/man4

2018-05-17 Thread Emmanuel Vadot
+1,116 @@ +.\"- +.\" Copyright (c) 2018 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 following conditions +.\" are me

svn commit: r333706 - head/sys/dev/flash

2018-05-17 Thread Emmanuel Vadot
Author: manu Date: Thu May 17 10:13:18 2018 New Revision: 333706 URL: https://svnweb.freebsd.org/changeset/base/333706 Log: mx25l: Add mx25l1606e This is a 16Mbits spi flash arranged in 32x64k blocks or 512x4k sectors. Modified: head/sys/dev/flash/mx25l.c Modified:

svn commit: r333709 - in head/sys: arm/allwinner modules/allwinner modules/allwinner/aw_spi

2018-05-17 Thread Emmanuel Vadot
(empty, because file is newly added) +++ head/sys/arm/allwinner/aw_spi.c Thu May 17 10:25:01 2018 (r333709) @@ -0,0 +1,603 @@ +/*- + * Copyright (c) 2018 Emmanuel Vadot <m...@freebsd.org> + * + * Redistribution and use in source and binary forms, with or without + * modifi

svn commit: r333708 - in head/sys: conf modules

2018-05-17 Thread Emmanuel Vadot
Author: manu Date: Thu May 17 10:19:52 2018 New Revision: 333708 URL: https://svnweb.freebsd.org/changeset/base/333708 Log: allwinner: Add h3 spi driver This driver is compatible with H3/H5/A64. Test was done on the OrangePi-PC2 board (H5 based), which have a mx25l1606e spi flash on

Re: svn commit: r333822 - head/sys/kern

2018-05-19 Thread Emmanuel Vadot
this? + * Copyright (c) 2018 Matthew Macy * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions ... That also seems a small patch to add your name in the copyright. -- Emmanuel Vadot <m...@bidouilliste.com&

Re: svn commit: r333822 - head/sys/kern

2018-05-19 Thread Emmanuel Vadot
On 2018-05-19 17:39, Matthew Macy wrote: On Sat, May 19, 2018 at 07:17 Emmanuel Vadot <m...@bidouilliste.com> wrote: On 2018-05-19 15:35, Rodney W. Grimes wrote: [ Charset UTF-8 unsupported, converting... ] Author: mmacy Date: Sat May 19 02:15:40 2018 New Revision: 333822 URL:

svn commit: r333711 - head/share/man/man4

2018-05-17 Thread Emmanuel Vadot
-.It -allwinner,sun8i-h3-spi -.El -.Sh HISTORY -The -.Nm -device driver first appeared in -.Fx 12.0 . -.Sh AUTHORS -The -.Nm -device driver was written by -.An Emmanuel Vadot Aq Mt m...@freebsd.org . -.\"- -.\" Copyright (c) 2018 Emmanuel Vadot <m...@freebsd.org> -.\"

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

2018-05-17 Thread Emmanuel Vadot
Author: manu Date: Thu May 17 14:51:22 2018 New Revision: 333716 URL: https://svnweb.freebsd.org/changeset/base/333716 Log: aw_spi: Fix some silly clock mistake The module uses the mod clock and not the ahb one. We need to set the mod clock to twice the speed requested as the smallest

svn commit: r333737 - head/release/arm

2018-05-17 Thread Emmanuel Vadot
Author: manu Date: Thu May 17 16:21:12 2018 New Revision: 333737 URL: https://svnweb.freebsd.org/changeset/base/333737 Log: release: arm: Format FAT partition as FAT16 r332674 raised the size of the FAT partition from 2MB to 41MB for some boards. But we format them in FAT12 and this size

svn commit: r333739 - stable/11/release/arm

2018-05-17 Thread Emmanuel Vadot
Author: manu Date: Thu May 17 17:00:07 2018 New Revision: 333739 URL: https://svnweb.freebsd.org/changeset/base/333739 Log: MFC r333737: release: arm: Format FAT partition as FAT16 r332674 raised the size of the FAT partition from 2MB to 41MB for some boards. But we format them in

svn commit: r333976 - head/release/arm64

2018-05-21 Thread Emmanuel Vadot
Author: manu Date: Mon May 21 11:58:02 2018 New Revision: 333976 URL: https://svnweb.freebsd.org/changeset/base/333976 Log: release: arm64: Use loader.efi as bootaa64.efi for RPI3 and PINE64 boot1.efi have some trouble to read MBR partitions, it needs them to be aligned a certain way

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

2018-05-21 Thread Emmanuel Vadot
/allwinner/aw_mmc.c Mon May 21 21:08:19 2018 (r334005) +++ head/sys/arm/allwinner/aw_mmc.c Mon May 21 21:15:46 2018 (r334006) @@ -1,4 +1,7 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * + * Copyright (c) 2018 Emmanuel Vadot <m...@freebsd.org> * Copyright (c

svn commit: r334007 - head/etc/devd

2018-05-21 Thread Emmanuel Vadot
Author: manu Date: Mon May 21 21:44:47 2018 New Revision: 334007 URL: https://svnweb.freebsd.org/changeset/base/334007 Log: devd: Always install devmatch.conf It allows devd to run devmatch to find the correct driver based on pnp info. No Objection from:imp Modified:

svn commit: r334034 - head/share/man/man9

2018-05-22 Thread Emmanuel Vadot
Author: manu Date: Tue May 22 11:17:45 2018 New Revision: 334034 URL: https://svnweb.freebsd.org/changeset/base/334034 Log: bus_dma(9): arm64 implementation notes Indicate that BUS_DMA_COHERENT is supported for bus_dmamem_alloc and bus_dmamem_create in the arm64 implementation.

svn commit: r334041 - head/share/man/man9

2018-05-22 Thread Emmanuel Vadot
Author: manu Date: Tue May 22 13:45:24 2018 New Revision: 334041 URL: https://svnweb.freebsd.org/changeset/base/334041 Log: bus_dma(9): Correct arm64 BUS_DMA_COHERENT implementation note BUS_DMA_COHERENT isn't supported in bus_dmamap_create but bus_dma_tag_create. Document it properly.

Re: svn commit: r333745 - in head/sys/contrib/ck: include src

2018-05-17 Thread Emmanuel Vadot
On Thu, 17 May 2018 14:20:05 -0500 Pedro Giffuni <p...@freebsd.org> wrote: > > On 17/05/2018 14:12, Matthew Macy wrote: > > How do I avoid problems while allowing timely updates? > > > > -M > > > > On Thu, May 17, 2018 at 11:38 AM, Emmanuel Vadot <

svn commit: r333756 - head/release/arm64

2018-05-17 Thread Emmanuel Vadot
Author: manu Date: Thu May 17 19:10:13 2018 New Revision: 333756 URL: https://svnweb.freebsd.org/changeset/base/333756 Log: release: rpi3: Copy the special rpi3 config.txt RPI* 32bits and RPI* 64bits have a different config.txt Copy to correct config.txt to the fat partition of the

Re: svn commit: r333745 - in head/sys/contrib/ck: include src

2018-05-17 Thread Emmanuel Vadot
ures). > | > > Approved by:sbruno > > Modified: > head/sys/contrib/ck/include/ck_epoch.h > head/sys/contrib/ck/src/ck_epoch.c > CK was imported in vendor-sys/ck, commiting directly into head will cause some problems in t

svn commit: r334112 - in head/sys: arm64/rockchip/clk conf

2018-05-23 Thread Emmanuel Vadot
ewly added) +++ head/sys/arm64/rockchip/clk/rk_clk_armclk.c Wed May 23 19:07:03 2018 (r334112) @@ -0,0 +1,237 @@ +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * + * Copyright (c) 2018 Emmanuel Vadot <m...@freebsd.org> + * All rights reserved. + * + * Redistribution and us

svn commit: r334996 - head/sys/arm64/rockchip/clk

2018-06-12 Thread Emmanuel Vadot
Author: manu Date: Tue Jun 12 11:47:21 2018 New Revision: 334996 URL: https://svnweb.freebsd.org/changeset/base/334996 Log: arm64: rockchip: Correctly set armclk Parent needs to be the same frequency as the armclk, not twice the freq. The real divider is incremented by one so write it

Re: svn commit: r334617 - in head: . etc

2018-06-07 Thread Emmanuel Vadot
entire hier(7) like butter on bread. > > ./danfe Our huge selling point is startup scripts in /etc/rc.d ? Damn, we sucks at marketing ... -- Emmanuel Vadot ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/

Re: svn commit: r335346 - head/sys/modules

2018-06-18 Thread Emmanuel Vadot
} \ ${_ep} \ ${_epic} \ - epoch_test \ esp \ ${_et} \ evdev \ -- Emmanuel Vadot ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to &quo

svn commit: r335014 - head/sys/dev/ofw

2018-06-12 Thread Emmanuel Vadot
Author: manu Date: Tue Jun 12 20:03:00 2018 New Revision: 335014 URL: https://svnweb.freebsd.org/changeset/base/335014 Log: simplebus pnp: Do not generate pnp info is the bus status is not okay Generating the pnp info have the side effect to include all nodes even if the status isn't

Re: svn commit: r335004 - head/release/tools

2018-06-13 Thread Emmanuel Vadot
always enabling this functionality. Do you have a board that have no uart but an otg port ? +} + arm_install_base() { chroot ${CHROOTDIR} mount /dev/${mddev}s2a ${DESTDIR} eval chroot ${CHROOTDIR} make -C ${WORLDDIR} \ @@ -102,6 +137,7 @@ arm_install_base() { chroot ${CHRO

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

2018-06-14 Thread Emmanuel Vadot
Author: manu Date: Thu Jun 14 17:18:15 2018 New Revision: 335156 URL: https://svnweb.freebsd.org/changeset/base/335156 Log: arm timer: Add workaround for Allwinner A64 timer The timer present in allwinner A64 SoC is unstable, value can jump backward or forward. It was found that when

svn commit: r335159 - head/sys/dev/flash

2018-06-14 Thread Emmanuel Vadot
Author: manu Date: Thu Jun 14 17:21:09 2018 New Revision: 335159 URL: https://svnweb.freebsd.org/changeset/base/335159 Log: mx25l: Add pnp info Modified: head/sys/dev/flash/mx25l.c Modified: head/sys/dev/flash/mx25l.c

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

2018-06-14 Thread Emmanuel Vadot
Author: manu Date: Thu Jun 14 17:20:47 2018 New Revision: 335158 URL: https://svnweb.freebsd.org/changeset/base/335158 Log: spi: Add SPIBUS_PNP_INFO macro The PNP info string is the same as the SIMPLEBUS one but driver should depend on spibus and not simplebus Modified:

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

2018-06-14 Thread Emmanuel Vadot
On Thu, 14 Jun 2018 12:26:38 -0500 Kyle Evans wrote: > On Thu, Jun 14, 2018 at 12:18 PM, Emmanuel Vadot wrote: > > Author: manu > > Date: Thu Jun 14 17:18:15 2018 > > New Revision: 335156 > > URL: https://svnweb.freebsd.org/changeset/base/335156 > > > &g

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

2018-06-14 Thread Emmanuel Vadot
Author: manu Date: Thu Jun 14 17:19:44 2018 New Revision: 335157 URL: https://svnweb.freebsd.org/changeset/base/335157 Log: aw_spi: Add pnp info Modified: head/sys/arm/allwinner/aw_spi.c Modified: head/sys/arm/allwinner/aw_spi.c

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

2018-06-14 Thread Emmanuel Vadot
Author: manu Date: Thu Jun 14 17:32:23 2018 New Revision: 335161 URL: https://svnweb.freebsd.org/changeset/base/335161 Log: arm timer: Use the default get_cntxct by default Reported by: kevans Modified: head/sys/arm/arm/generic_timer.c Modified: head/sys/arm/arm/generic_timer.c

Re: svn commit: r335159 - head/sys/dev/flash

2018-06-14 Thread Emmanuel Vadot
On Thu, 14 Jun 2018 20:40:14 +0200 "O. Hartmann" wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > Am Thu, 14 Jun 2018 17:21:09 + (UTC) > Emmanuel Vadot schrieb: > > > Author: manu > > Date: Thu Jun 14 17:21:09 2018 > > New Revisi

svn commit: r335170 - head/sys/dev/flash

2018-06-14 Thread Emmanuel Vadot
Author: manu Date: Thu Jun 14 19:01:40 2018 New Revision: 335170 URL: https://svnweb.freebsd.org/changeset/base/335170 Log: mx25l: compat_data is only defined when FDT is Reported by: O. Hartmann Modified: head/sys/dev/flash/mx25l.c Modified: head/sys/dev/flash/mx25l.c

svn commit: r335120 - svnadmin/conf

2018-06-14 Thread Emmanuel Vadot
Author: manu Date: Thu Jun 14 07:09:50 2018 New Revision: 335120 URL: https://svnweb.freebsd.org/changeset/base/335120 Log: raise my limit for dts import Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf

svn commit: r335121 - in head/sys/gnu/dts: arm include/dt-bindings/clock include/dt-bindings/gpio include/dt-bindings/input include/dt-bindings/media include/dt-bindings/mfd include/dt-bindings/net...

2018-06-14 Thread Emmanuel Vadot
Author: manu Date: Thu Jun 14 07:12:10 2018 New Revision: 335121 URL: https://svnweb.freebsd.org/changeset/base/335121 Log: dts: Update our copy to Linux 4.17 Added: - copied unchanged from r335118, vendor/device-tree/dist/src/arm/am335x-pdu001.dts - copied unchanged from r335118,

svn commit: r335122 - svnadmin/conf

2018-06-14 Thread Emmanuel Vadot
Author: manu Date: Thu Jun 14 07:12:30 2018 New Revision: 335122 URL: https://svnweb.freebsd.org/changeset/base/335122 Log: Remove myself Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf

svn commit: r335124 - head/share/man/man4

2018-06-14 Thread Emmanuel Vadot
(r335124) @@ -0,0 +1,64 @@ +.\"- +.\" SPDX-License-Identifier: BSD-2-Clause-FreeBSD +.\" +.\" Copyright (c) 2018 Emmanuel Vadot +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the follow

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

2018-06-15 Thread Emmanuel Vadot
== --- head/sys/arm/allwinner/clkng/aw_ccung.c Fri Jun 15 06:03:40 2018 (r335189) +++ head/sys/arm/allwinner/clkng/aw_ccung.c Fri Jun 15 08:36:21 2018 (r335190) @@ -1,7 +1,8 @@ /*- - * Copyright (c) 2017 Emmanuel Vadot - * All rights reserved. + * SPDX-License

svn commit: r335107 - head/sys/arm64/rockchip

2018-06-13 Thread Emmanuel Vadot
Author: manu Date: Thu Jun 14 05:41:16 2018 New Revision: 335107 URL: https://svnweb.freebsd.org/changeset/base/335107 Log: rk_pinctrl: Only add gpio subnode This is the only node we are interested in so do not waste time to test creating device that will be either unused or fail as most

svn commit: r335108 - head/sys/arm64/rockchip/clk

2018-06-13 Thread Emmanuel Vadot
Author: manu Date: Thu Jun 14 05:43:45 2018 New Revision: 335108 URL: https://svnweb.freebsd.org/changeset/base/335108 Log: rk_pll: Add support for mode RockChip PLL have two modes controlled by a register, a "slow mode" (the default one) where the frequency is derived from the 24Mhz

svn commit: r335113 - head/sys/arm64/rockchip/clk

2018-06-14 Thread Emmanuel Vadot
Author: manu Date: Thu Jun 14 06:34:27 2018 New Revision: 335113 URL: https://svnweb.freebsd.org/changeset/base/335113 Log: rk3328: Add support for the i2c clocks Modified: head/sys/arm64/rockchip/clk/rk3328_cru.c Modified: head/sys/arm64/rockchip/clk/rk3328_cru.c

svn commit: r335114 - in head/sys: arm64/rockchip conf

2018-06-14 Thread Emmanuel Vadot
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm64/rockchip/rk_i2c.cThu Jun 14 06:39:33 2018 (r335114) @@ -0,0 +1,607 @@ +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * + * Copyright (c) 2018 Emmanuel Vadot

svn commit: r335115 - in head/sys/modules: . rockchip rockchip/rk_i2c

2018-06-14 Thread Emmanuel Vadot
Author: manu Date: Thu Jun 14 06:40:59 2018 New Revision: 335115 URL: https://svnweb.freebsd.org/changeset/base/335115 Log: Add modules/rockchip Build rockchip modules as part of buildkernel. Add the i2c controller module. Added: head/sys/modules/rockchip/

svn commit: r335118 - in vendor/device-tree/dist: . Bindings Bindings/arm Bindings/arm/cpu-enable-method Bindings/arm/hisilicon Bindings/arm/mediatek Bindings/arm/npcm Bindings/arm/omap Bindings/ar...

2018-06-14 Thread Emmanuel Vadot
Author: manu Date: Thu Jun 14 06:56:07 2018 New Revision: 335118 URL: https://svnweb.freebsd.org/changeset/base/335118 Log: dts: Import files from Linux 4.17 Added: vendor/device-tree/dist/Bindings/arm/arm,scmi.txt (contents, props changed)

svn commit: r335109 - head/sys/arm64/rockchip/clk

2018-06-13 Thread Emmanuel Vadot
Author: manu Date: Thu Jun 14 05:46:57 2018 New Revision: 335109 URL: https://svnweb.freebsd.org/changeset/base/335109 Log: rk_armclk: Add the write mask to the register mux value This was omitted in r334112 and r334996 which cause the PLL to not correctly reparent, leaving the armclk to

Re: svn commit: r335108 - head/sys/arm64/rockchip/clk

2018-06-13 Thread Emmanuel Vadot
On Thu, 14 Jun 2018 05:43:45 + (UTC) Emmanuel Vadot wrote: > Author: manu > Date: Thu Jun 14 05:43:45 2018 > New Revision: 335108 > URL: https://svnweb.freebsd.org/changeset/base/335108 > > Log: > rk_pll: Add support for mode > > RockChip PLL have two mod

svn commit: r335112 - in head/sys: arm64/conf arm64/rockchip conf

2018-06-14 Thread Emmanuel Vadot
/if_dwc_rk.c Thu Jun 14 06:28:09 2018 (r335112) @@ -0,0 +1,151 @@ +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * + * Copyright (c) 2018 Emmanuel Vadot + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted

svn commit: r335119 - vendor/device-tree/4.17

2018-06-14 Thread Emmanuel Vadot
Author: manu Date: Thu Jun 14 06:57:08 2018 New Revision: 335119 URL: https://svnweb.freebsd.org/changeset/base/335119 Log: dts: Tag import Added: vendor/device-tree/4.17/ - copied from r335118, vendor/device-tree/dist/ ___

Re: svn commit: r335068 - in head: share/man/man9 sys/amd64/amd64 sys/i386/i386 sys/kern sys/net sys/sys sys/vm

2018-06-15 Thread Emmanuel Vadot
On 2018-06-15 04:04, Jonathan T. Looney wrote: On Thu, Jun 14, 2018 at 7:12 PM Olivier Houchard wrote: On Fri, Jun 15, 2018 at 12:23:36AM +0200, Emmanuel Vadot wrote: This brake module loading on armv7 and arm64 I think I fixed it with r335182. Jonathan probably missed it because modules

Re: svn commit: r335068 - in head: share/man/man9 sys/amd64/amd64 sys/i386/i386 sys/kern sys/net sys/sys sys/vm

2018-06-14 Thread Emmanuel Vadot
kj, jhb (previous version) > Sponsored by: Netflix > Differential Revision: https://reviews.freebsd.org/D15691 This brake module loading on armv7 and arm64 kevans log on armv7 : https://gist.github.com/kevans91/d0ffcd6c94a0e4cdfdc5433612fce2e8 mine on arm64 : http://dpaste.com

svn commit: r334386 - head/sys/dev/extres/regulator

2018-05-30 Thread Emmanuel Vadot
Author: manu Date: Wed May 30 15:32:31 2018 New Revision: 334386 URL: https://svnweb.freebsd.org/changeset/base/334386 Log: regulator: Fix typo (shuting/shutting) Submitted by: Jose Luis Duran (github pull #151) Modified: head/sys/dev/extres/regulator/regulator.c Modified:

svn commit: r334297 - head/sys/arm64/include

2018-05-28 Thread Emmanuel Vadot
Author: manu Date: Mon May 28 21:05:00 2018 New Revision: 334297 URL: https://svnweb.freebsd.org/changeset/base/334297 Log: arm64: fix atomic_fcmpset_16 newval needs to be uint16_t Reported by: andrew Modified: head/sys/arm64/include/atomic.h Modified:

svn commit: r334295 - head/sys/arm64/include

2018-05-28 Thread Emmanuel Vadot
Author: manu Date: Mon May 28 20:29:03 2018 New Revision: 334295 URL: https://svnweb.freebsd.org/changeset/base/334295 Log: arm64: Add atomic_fcmpset_8 and atomic_fcmpset_16 Reviewed by: cognet Modified: head/sys/arm64/include/atomic.h Modified: head/sys/arm64/include/atomic.h

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

2018-05-31 Thread Emmanuel Vadot
Author: manu Date: Thu May 31 15:36:26 2018 New Revision: 334433 URL: https://svnweb.freebsd.org/changeset/base/334433 Log: aw_mmc: Rename clock register defines consistently Modified: head/sys/arm/allwinner/aw_mmc.c head/sys/arm/allwinner/aw_mmc.h Modified:

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

2018-05-31 Thread Emmanuel Vadot
Author: manu Date: Thu May 31 15:39:39 2018 New Revision: 334434 URL: https://svnweb.freebsd.org/changeset/base/334434 Log: aw_mmc: Rework DMA - Calculate the number of segments based on the page size - Add some comments on dma function so it's easier to read - Only enable

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

2018-05-31 Thread Emmanuel Vadot
Author: manu Date: Thu May 31 15:41:00 2018 New Revision: 334435 URL: https://svnweb.freebsd.org/changeset/base/334435 Log: aw_mmc: Use the DEVMETHOD vccq for the IO line voltage MMC controller should use this and not set the voltage during update_ios. Modified:

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

2018-05-31 Thread Emmanuel Vadot
Author: manu Date: Thu May 31 15:41:56 2018 New Revision: 334436 URL: https://svnweb.freebsd.org/changeset/base/334436 Log: aw_mmc: Get max-frequency from the dtb If a max-frequency is supplied in the dtb use it, otherwise fallback to a default one of 52Mhz. Modified:

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

2018-06-23 Thread Emmanuel Vadot
Author: manu Date: Sat Jun 23 15:05:21 2018 New Revision: 335582 URL: https://svnweb.freebsd.org/changeset/base/335582 Log: aw_mmc: Fix style(9) after r335476 Modified: head/sys/arm/allwinner/aw_mmc.c Modified: head/sys/arm/allwinner/aw_mmc.c

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

2018-06-23 Thread Emmanuel Vadot
Author: manu Date: Sat Jun 23 15:03:54 2018 New Revision: 335581 URL: https://svnweb.freebsd.org/changeset/base/335581 Log: allwinner: clkng: Correct mux width and flags The test for checking if the clock have a mux was inverted and the mask to calculate the parent index was wrong was

svn commit: r335869 - head/stand/uboot/common

2018-07-02 Thread Emmanuel Vadot
Author: manu Date: Mon Jul 2 18:23:43 2018 New Revision: 335869 URL: https://svnweb.freebsd.org/changeset/base/335869 Log: stand: uboot: Do not panic if we can't find a boot device It is really anoying to panic when there is no boot device as you cannot see the availables ones.

svn commit: r333037 - in head: share/man/man4 sys/arm64/rockchip sys/conf

2018-04-26 Thread Emmanuel Vadot
--- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/man/man4/rk_grf.4Thu Apr 26 21:35:04 2018 (r333037) @@ -0,0 +1,60 @@ +.\"- +.\" Copyright (c) 2018 Emmanuel Vadot <m...@freebsd.org> +.\" All rights reserved. +.\"

svn commit: r333039 - head/sys/arm64/rockchip/clk

2018-04-26 Thread Emmanuel Vadot
Author: manu Date: Thu Apr 26 21:38:59 2018 New Revision: 333039 URL: https://svnweb.freebsd.org/changeset/base/333039 Log: arm64: rockchip: Rk3328 CRU Fix some offset for gates Some offset of some clock gates where wrong, correct them so we can use thoses clocks. Pointy Hat to:

svn commit: r333040 - head/sys/arm64/rockchip/clk

2018-04-26 Thread Emmanuel Vadot
Author: manu Date: Thu Apr 26 21:40:05 2018 New Revision: 333040 URL: https://svnweb.freebsd.org/changeset/base/333040 Log: arm64: rockchip: RK3328 CRU Add gpio gates Add the gates for the gpio controller in order to properly support them. Modified:

svn commit: r333038 - in head: share/man/man4 sys/arm64/rockchip sys/conf

2018-04-26 Thread Emmanuel Vadot
ad/share/man/man4/rk_pinctrl.4 == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/man/man4/rk_pinctrl.4Thu Apr 26 21:37:38 2018 (r333038) @@ -0,0 +1,62 @@ +.\"- +.\" Copyright (c) 2018 Emmanuel Vadot <m...@freebsd.org> +.\" All rights r

svn commit: r333042 - in head: share/man/man4 sys/arm64/rockchip sys/conf

2018-04-26 Thread Emmanuel Vadot
e is newly added) +++ head/share/man/man4/rk_gpio.4 Thu Apr 26 21:44:00 2018 (r333042) @@ -0,0 +1,63 @@ +.\"- +.\" Copyright (c) 2018 Emmanuel Vadot <m...@freebsd.org> +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary

svn commit: r333045 - head/sys/arm64/rockchip

2018-04-26 Thread Emmanuel Vadot
Author: manu Date: Thu Apr 26 22:15:09 2018 New Revision: 333045 URL: https://svnweb.freebsd.org/changeset/base/333045 Log: arm64: rockchip: rk_gpio fix rk_gpio_pin_config32 Pointy Hat to: me Modified: head/sys/arm64/rockchip/rk_gpio.c Modified:

Re: svn commit: r333035 - head/sys/arm/conf

2018-04-26 Thread Emmanuel Vadot
t; Sponsored by: Stormshield > Differential Revision: https://reviews.freebsd.org/D14747 > > Modified: > head/sys/arm/conf/GENERIC This break GENERIC when running on !marvell. The code in sys/arm/mv/mv_common.c tries to read a register in a memory region that doesn't exist in !marvell

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

2018-04-26 Thread Emmanuel Vadot
Author: manu Date: Fri Apr 27 00:12:00 2018 New Revision: 333047 URL: https://svnweb.freebsd.org/changeset/base/333047 Log: clk: Put the sysctls under hw.clock instead of clock This is more consistant with hw.regulator and other hardware related sysctls. Modified:

svn commit: r333138 - in head/sys: arm/allwinner dev/uart

2018-05-01 Thread Emmanuel Vadot
Author: manu Date: Tue May 1 13:57:08 2018 New Revision: 333138 URL: https://svnweb.freebsd.org/changeset/base/333138 Log: uart_snps: Add early printf support Move the allwinner early printf support to the snps driver as it should work with all implementation. While here add

svn commit: r327392 - in head/sys: arm/altera/socfpga arm/rockchip arm/samsung/exynos dev/mmc/host

2017-12-30 Thread Emmanuel Vadot
ftc)); Copied and modified: head/sys/dev/mmc/host/dwmmc_altera.c (from r327391, head/sys/dev/mmc/host/dwmmc_hisi.c) == --- head/sys/dev/mmc/host/dwmmc_hisi.c Sat Dec 30 20:28:29 2017 (r327391, copy source) +++ h

svn commit: r327239 - head/sys/cam/ctl

2017-12-27 Thread Emmanuel Vadot
Author: manu Date: Wed Dec 27 15:39:31 2017 New Revision: 327239 URL: https://svnweb.freebsd.org/changeset/base/327239 Log: ctl: Correct comment in ctl_worker_thread The incoming queue is handled before the RtR one. No functional change. MFC after:3 days Modified:

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

2017-12-25 Thread Emmanuel Vadot
Author: manu Date: Mon Dec 25 16:27:36 2017 New Revision: 327175 URL: https://svnweb.freebsd.org/changeset/base/327175 Log: Allwinner: Remove unused aw_console driver. Deleted: head/sys/arm/allwinner/aw_console.c Modified: head/sys/arm/allwinner/files.allwinner Modified:

svn commit: r327636 - head/sys/conf

2018-01-06 Thread Emmanuel Vadot
Author: manu Date: Sat Jan 6 20:32:14 2018 New Revision: 327636 URL: https://svnweb.freebsd.org/changeset/base/327636 Log: arm64: Remove old clock driver for Allwinner 64bit SoC All the clocks are now handled by the clkng driver. Tested On: Pine64-LTS (A64) Tested On: OrangePi PC2

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

2017-12-25 Thread Emmanuel Vadot
Author: manu Date: Mon Dec 25 16:40:09 2017 New Revision: 327176 URL: https://svnweb.freebsd.org/changeset/base/327176 Log: allwinner: aw_usbphy is also needed for ohci Modified: head/sys/arm/allwinner/files.allwinner Modified: head/sys/arm/allwinner/files.allwinner

Re: svn commit: r327665 - head/sys/dev/extres/syscon

2018-01-07 Thread Emmanuel Vadot
to "syscon". EARLY_DRIVER_MODULE(syscon_generic, simplebus, syscon_generic_driver, -syscon_generic_devclass, 0, 0, BUS_PASS_DEFAULT + BUS_PASS_ORDER_FIRST); +syscon_generic_devclass, 0, 0, BUS_PASS_DEFAULT - 1000); MODULE_VERSION(syscon_generic, 1); -- Emmanuel Vadot <m...@bidouilliste

svn commit: r328129 - head/sys/fs/nfsserver

2018-01-18 Thread Emmanuel Vadot
Author: manu Date: Thu Jan 18 15:28:49 2018 New Revision: 328129 URL: https://svnweb.freebsd.org/changeset/base/328129 Log: nfs: Do not printf each time a lock structure is freed during module unload There can be a lot of those structures and printing a line each time we free one on

Re: svn commit: r328129 - head/sys/fs/nfsserver

2018-01-18 Thread Emmanuel Vadot
On Thu, 18 Jan 2018 15:28:49 + (UTC) Emmanuel Vadot <m...@freebsd.org> wrote: > Author: manu > Date: Thu Jan 18 15:28:49 2018 > New Revision: 328129 > URL: https://svnweb.freebsd.org/changeset/base/328129 > > Log: > nfs: Do not printf each time a lock struc

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

2018-01-14 Thread Emmanuel Vadot
Author: manu Date: Sun Jan 14 22:05:29 2018 New Revision: 327979 URL: https://svnweb.freebsd.org/changeset/base/327979 Log: allwinner: mmc: Multiple improvement - Add a per compatible configuration struct - Not all SoC uses the same size for DMA transfert, add this into the

Re: svn commit: r328129 - head/sys/fs/nfsserver

2018-01-19 Thread Emmanuel Vadot
On Thu, 18 Jan 2018 22:15:16 + Rick Macklem <rmack...@uoguelph.ca> wrote: > Emmanuel Vadot wrote: > >> Author: manu > >> Date: Thu Jan 18 15:28:49 2018 > >> New Revision: 328129 > >> URL: https://svnweb.freebsd.org/changeset/base/328129 >

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