svn commit: r355175 - in stable/12/sys: dev/iicbus/twsi dts/arm/overlays modules/dtb/allwinner

2019-11-28 Thread Emmanuel Vadot
Author: manu Date: Thu Nov 28 17:34:49 2019 New Revision: 355175 URL: https://svnweb.freebsd.org/changeset/base/355175 Log: MFC r350180, r351100 r350180: dtso: allwinner: Add an overlay for H3 i2c0 Most of the H3 boards don't enable i2c as it is unused. Add an overlay so it's

svn commit: r355176 - in stable/12/sys: arm64/rockchip arm64/rockchip/clk dev/dwc

2019-11-28 Thread Emmanuel Vadot
Author: manu Date: Thu Nov 28 17:42:11 2019 New Revision: 355176 URL: https://svnweb.freebsd.org/changeset/base/355176 Log: MFC r347097, r351187, r351551-r351552, r352849-r352852 r347097 by ganbold: Add emmc clock definitions for Rockchip RK3399 SoC. r351187 by mmel: Improve

svn commit: r355177 - in stable/12/sys: arm64/conf arm64/rockchip arm64/rockchip/clk conf dev/iicbus

2019-11-28 Thread Emmanuel Vadot
/arm64/rockchip/rk_usb2phy.c Thu Nov 28 17:45:57 2019 (r355177, copy of r352853, head/sys/arm64/rockchip/rk_usb2phy.c) @@ -0,0 +1,374 @@ +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * + * Copyright (c) 2019 Emmanuel Vadot + * + * Redistribution and use in source an

svn commit: r355178 - in stable/12/sys: arm/allwinner arm64/conf arm64/rockchip conf dev/usb/controller

2019-11-28 Thread Emmanuel Vadot
Author: manu Date: Thu Nov 28 17:52:25 2019 New Revision: 355178 URL: https://svnweb.freebsd.org/changeset/base/355178 Log: MFC r352940-r352941, r352943-r352944, r353062-r353063, r353125 r352940: generic_ohci: Look for the phy based on the id phy-names was never in the bindings

svn commit: r355179 - in stable/12/sys: arm/allwinner arm/allwinner/clkng conf

2019-11-28 Thread Emmanuel Vadot
(clkdom, clk); + + return (0); +} Copied: stable/12/sys/arm/allwinner/clkng/aw_clk_nmm.h (from r353527, head/sys/arm/allwinner/clkng/aw_clk_nmm.h) == --- /dev/null 00:00:00 1970 (empty, because file is newly added)

svn commit: r355180 - in stable/12/sys/gnu/dts: arm arm64/allwinner arm64/altera arm64/amlogic arm64/apm arm64/arm arm64/bitmain arm64/broadcom arm64/broadcom/stingray arm64/cavium arm64/exynos arm...

2019-11-28 Thread Emmanuel Vadot
Author: manu Date: Thu Nov 28 18:15:05 2019 New Revision: 355180 URL: https://svnweb.freebsd.org/changeset/base/355180 Log: MFC r352858, r352860, r353172 r352858: Import DTS files from Linux 5.2 r352860: Import DTS files from Linux 5.3 r353172: arm: dts: ti: Fix mmc3

svn commit: r355181 - stable/12/sys/dev/mmc/host

2019-11-28 Thread Emmanuel Vadot
Author: manu Date: Thu Nov 28 18:18:10 2019 New Revision: 355181 URL: https://svnweb.freebsd.org/changeset/base/355181 Log: MFC r353354: dwmmc: Reset the dma controller at attach If the bootloader enabled DMA we need to fully reset the DMA controller otherwise we might have some

svn commit: r355183 - in stable/12/sys: arm/allwinner arm64/rockchip dev/extres/regulator

2019-11-28 Thread Emmanuel Vadot
Author: manu Date: Thu Nov 28 18:44:06 2019 New Revision: 355183 URL: https://svnweb.freebsd.org/changeset/base/355183 Log: MFC r353917-r353919, r354396-r354397 r353917: regulator: Add a regnode_method_init This is a default init method for regulator that don't really need one.

svn commit: r355184 - stable/12/lib/libpmc

2019-11-28 Thread Emmanuel Vadot
Author: manu Date: Thu Nov 28 18:50:33 2019 New Revision: 355184 URL: https://svnweb.freebsd.org/changeset/base/355184 Log: MFC r354549-r354550 r354549: libpmc: Match on the cpuid with a regex The CPUID is, or can be, a regex to be matched. Use regex from libc instead of strcmp

svn commit: r355186 - vendor/device-tree/5.4

2019-11-28 Thread Emmanuel Vadot
Author: manu Date: Thu Nov 28 19:05:51 2019 New Revision: 355186 URL: https://svnweb.freebsd.org/changeset/base/355186 Log: Tag import of DTS files from Linux 5.4 Added: vendor/device-tree/5.4/ - copied from r355185, vendor/device-tree/dist/

svn commit: r355185 - in vendor/device-tree/dist: . Bindings Bindings/arm Bindings/arm/amlogic Bindings/arm/freescale Bindings/arm/marvell Bindings/arm/mediatek Bindings/ata Bindings/bus Bindings/c...

2019-11-28 Thread Emmanuel Vadot
Author: manu Date: Thu Nov 28 19:05:03 2019 New Revision: 355185 URL: https://svnweb.freebsd.org/changeset/base/355185 Log: Import devicetree files from Linux 5.4 Added: vendor/device-tree/dist/Bindings/arm/actions.yaml

svn commit: r353172 - head/sys/gnu/dts/arm

2019-10-07 Thread Emmanuel Vadot
Author: manu Date: Mon Oct 7 08:11:49 2019 New Revision: 353172 URL: https://svnweb.freebsd.org/changeset/base/353172 Log: arm: dts: ti: Fix mmc3 instance by setting it to disabled DTS Import of Linux 5.3 added a patch that rework the L3 mmc instance in the AM335x SoC but removed the

Re: svn commit: r352520 - head/usr.sbin/pkg

2019-10-08 Thread Emmanuel Vadot
er 2 (and weird tier1 like aarch64) only have latest for current so this doesn't work. Also this depends on MACHINE and iirc MACHINE is always the host when cross compiling. I think this need to be reverted. Cheers, -- Emmanuel Vadot ___ 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"

Re: svn commit: r352520 - head/usr.sbin/pkg

2019-10-08 Thread Emmanuel Vadot
On Tue, 08 Oct 2019 08:22:33 -0600 Ian Lepore wrote: > On Tue, 2019-10-08 at 12:26 +0200, Emmanuel Vadot wrote: > > Hi Glen, > > > > On Thu, 19 Sep 2019 16:43:12 + (UTC) > > Glen Barber wrote: > > > > > Author: gjb > > > Date: Thu Sep 19

Re: svn commit: r352520 - head/usr.sbin/pkg

2019-10-08 Thread Emmanuel Vadot
On Tue, 8 Oct 2019 15:52:52 + Glen Barber wrote: > On Tue, Oct 08, 2019 at 09:18:40AM -0600, Warner Losh wrote: > > On Tue, Oct 8, 2019 at 8:33 AM Emmanuel Vadot wrote: > > > Anyway it's still need to be reverted as all arches should use latest > > > on CUR

svn commit: r353354 - head/sys/dev/mmc/host

2019-10-09 Thread Emmanuel Vadot
Author: manu Date: Wed Oct 9 16:57:14 2019 New Revision: 353354 URL: https://svnweb.freebsd.org/changeset/base/353354 Log: dwmmc: Reset the dma controller at attach If the bootloader enabled DMA we need to fully reset the DMA controller otherwise we might have some stale data in it that

svn commit: r353062 - in head/sys: conf dev/usb/controller

2019-10-03 Thread Emmanuel Vadot
Author: manu Date: Thu Oct 3 18:53:03 2019 New Revision: 353062 URL: https://svnweb.freebsd.org/changeset/base/353062 Log: Split out the attachment from the generic-ehci driver Create an attachment file for the existing ACPI attachment, and create a new FDT attachment for the

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

2019-10-03 Thread Emmanuel Vadot
Author: manu Date: Thu Oct 3 18:58:15 2019 New Revision: 353063 URL: https://svnweb.freebsd.org/changeset/base/353063 Log: allwinner: Remove a10_ehci driver We have generic-ehci since r353062 so use it. MFC after:1 month X-MFC-With: r353062 Deleted:

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

2019-10-05 Thread Emmanuel Vadot
Author: manu Date: Sat Oct 5 17:36:33 2019 New Revision: 353125 URL: https://svnweb.freebsd.org/changeset/base/353125 Log: arm64: rockchip: usb2phy: Add set/get mode We only support host mode so those functions are just added so we won't panic when generic-{e,o}hci will set the phy to

Re: svn commit: r353493 - head/sys/dev/mmc/host

2019-10-14 Thread Emmanuel Vadot
by_ofw_name(sc->dev, 0, "ciu", >ciu); > - if (error != 0 && error != ENOENT) { > - device_printf(sc->dev, "Cannot get 'ciu'clock\n"); > - goto fail; > - } > + if (error != 0 && error != ENOENT) > + device_printf(sc->dev, "Cannot get 'ciu' clock\n"); > + > if (sc->ciu) { > if (bus_hz != 0) { > error = clk_set_freq(sc->ciu, bus_hz, 0); -- Emmanuel Vadot ___ 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"

Re: svn commit: r353493 - head/sys/dev/mmc/host

2019-10-14 Thread Emmanuel Vadot
On Mon, 14 Oct 2019 17:27:51 +0100 Ruslan Bukin wrote: > On Mon, Oct 14, 2019 at 06:10:51PM +0200, Emmanuel Vadot wrote: > > > > On Mon, 14 Oct 2019 15:53:00 + (UTC) > > Ruslan Bukin wrote: > > > > > Author: br > > > Date: Mon Oct 14 15:52

svn commit: r358450 - head/sys/dev/mmc/host

2020-02-28 Thread Emmanuel Vadot
Author: manu Date: Fri Feb 28 21:31:40 2020 New Revision: 358450 URL: https://svnweb.freebsd.org/changeset/base/358450 Log: mmc: dwmmc: Fix off by one error The IVAR_MAX_DATA is supposed to have the number of descriptor X the mmc block size and desc_count contain all this information +

Re: svn commit: r358363 - head/sys/vm

2020-02-29 Thread Emmanuel Vadot
ile ; do done Reverting this commit on one of my test machine shows that this is the culprit. If you need anymore info/debug let me know. Thanks. -- Emmanuel Vadot ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinf

svn commit: r358635 - head/sys/dev/mmc/host

2020-03-04 Thread Emmanuel Vadot
Author: manu Date: Wed Mar 4 20:01:03 2020 New Revision: 358635 URL: https://svnweb.freebsd.org/changeset/base/358635 Log: dwmmc: Rework the DMA engine Each segment can be up to 4096 bytes in chain structure according to the RK3399 TRM Part 2. Set the buffers in full ring where the

svn commit: r358638 - stable/12/sys/dev/cpufreq

2020-03-04 Thread Emmanuel Vadot
Author: manu Date: Wed Mar 4 20:30:11 2020 New Revision: 358638 URL: https://svnweb.freebsd.org/changeset/base/358638 Log: MFC r355360-r355361 r355360: cpufreq_dt: Do not attach the device if the cpu isn't present If we boot with hw.ncpu=X (available on arm and arm64 at least) we

svn commit: r358646 - stable/12/sys/arm64/rockchip/clk

2020-03-04 Thread Emmanuel Vadot
Author: manu Date: Wed Mar 4 21:06:29 2020 New Revision: 358646 URL: https://svnweb.freebsd.org/changeset/base/358646 Log: MFC r355356: arm64: rockchip: rl3399: Remove the ability to put the PLL in normal mode at boot RK3399 PLLs have three modes : - Normal, where they behave

svn commit: r358649 - stable/12/sys/arm64/rockchip

2020-03-04 Thread Emmanuel Vadot
Author: manu Date: Wed Mar 4 21:25:48 2020 New Revision: 358649 URL: https://svnweb.freebsd.org/changeset/base/358649 Log: MFC r356485-r356486, r356893, r358278-r358279 r356485: rk808: Add min/max for the switch regulators The two switch regulator are always 3.0V. Add a special

svn commit: r358636 - in stable/12/sys/gnu/dts: arm arm64/allwinner arm64/altera arm64/amlogic arm64/arm arm64/bitmain arm64/broadcom/stingray arm64/freescale arm64/intel arm64/marvell arm64/mediat...

2020-03-04 Thread Emmanuel Vadot
Author: manu Date: Wed Mar 4 20:22:02 2020 New Revision: 358636 URL: https://svnweb.freebsd.org/changeset/base/358636 Log: MFC r355187: Import DTS files from Linux 5.4 Added: stable/12/sys/gnu/dts/arm/aspeed-ast2600-evb.dts - copied unchanged from r355187,

svn commit: r358641 - in stable/12/sys: arm64/conf arm64/rockchip arm64/rockchip/clk conf

2020-03-04 Thread Emmanuel Vadot
Author: manu Date: Wed Mar 4 20:48:29 2020 New Revision: 358641 URL: https://svnweb.freebsd.org/changeset/base/358641 Log: MFC r354087, r354089, r354094, r354100, r354103, r354152 r354087: arm64: rk3399: Add clock and gate for usb3 clocks r354089: arm64: rockchip: Add RK3399

svn commit: r358642 - in stable/12/sys: arm64/conf arm64/rockchip conf

2020-03-04 Thread Emmanuel Vadot
3.c) @@ -0,0 +1,201 @@ +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * + * Copyright (c) 2019 Emmanuel Vadot + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributi

svn commit: r358653 - in stable/12: share/man/man9 sys/arm/allwinner sys/arm/broadcom/bcm2835 sys/arm64/rockchip sys/dev/fdt

2020-03-04 Thread Emmanuel Vadot
Author: manu Date: Wed Mar 4 21:53:54 2020 New Revision: 358653 URL: https://svnweb.freebsd.org/changeset/base/358653 Log: MFC r348885, r351543, r356806-r356807 r348885 by bz: A bit of code hygiene (no functional changes). Hide unused code under #ifdef notyet (in one case the only

svn commit: r358644 - in stable/12/sys: arm64/rockchip/clk conf dev/extres/clk

2020-03-04 Thread Emmanuel Vadot
Author: manu Date: Wed Mar 4 21:01:25 2020 New Revision: 358644 URL: https://svnweb.freebsd.org/changeset/base/358644 Log: MFC r354554-r354558, r355115 r354554 by mmel: Implement support for (soft)linked clocks. This kind of clock nodes represent temporary placeholder for clocks

svn commit: r358648 - in stable/12/sys: arm64/conf arm64/rockchip conf modules/rockchip modules/rockchip/rk_spi

2020-03-04 Thread Emmanuel Vadot
4/rockchip/rk_iodomain.c Wed Mar 4 21:20:15 2020 (r358648, copy of r356149, head/sys/arm64/rockchip/rk_iodomain.c) @@ -0,0 +1,207 @@ +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * + * Copyright (c) 2019 Emmanuel Vadot + * + * Redistribution and use in source and binary forms

svn commit: r358651 - in stable/12/sys: arm64/conf arm64/rockchip arm64/rockchip/clk conf

2020-03-04 Thread Emmanuel Vadot
1,403 @@ +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * + * Copyright (c) 2018 Emmanuel Vadot + * Copyright (c) 2019 Brandon Bergren + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * ar

svn commit: r358640 - in stable/12/sys: arm64/conf arm64/rockchip conf

2020-03-04 Thread Emmanuel Vadot
Author: manu Date: Wed Mar 4 20:43:29 2020 New Revision: 358640 URL: https://svnweb.freebsd.org/changeset/base/358640 Log: MFC r349638, r350161, r351186 r349638 by ganbold: Subclass Rockchip's General Register Files driver from Simple MFD driver. r350161 by ganbold: Add driver

svn commit: r358645 - in stable/12/sys: arm64/rockchip arm64/rockchip/clk conf

2020-03-04 Thread Emmanuel Vadot
Author: manu Date: Wed Mar 4 21:04:57 2020 New Revision: 358645 URL: https://svnweb.freebsd.org/changeset/base/358645 Log: MFC r355173, r355190-r355191 r355173 by mmel: Add driver for temperature sensors found in RK32898, RK3328 and RK3399 SoC's. Reviewed by: manu Differential

svn commit: r358647 - in stable/12/sys/arm64/rockchip: . clk

2020-03-04 Thread Emmanuel Vadot
Author: manu Date: Wed Mar 4 21:12:08 2020 New Revision: 358647 URL: https://svnweb.freebsd.org/changeset/base/358647 Log: MFC r355624, r355852-r355853 r355624: arm64: rk3328: Add the *clk_peri_niu clocks Those clocks are always enable by default and are not really explained in

svn commit: r358426 - in head/sys: arm/conf arm/xilinx dts/arm

2020-02-28 Thread Emmanuel Vadot
Author: manu Date: Fri Feb 28 10:57:23 2020 New Revision: 358426 URL: https://svnweb.freebsd.org/changeset/base/358426 Log: arm: zynq: An SPI driver for Zynq platforms Submitted by: Thomas Skibo Differential Revision:https://reviews.freebsd.org/D23319 Added:

svn commit: r358428 - in vendor/device-tree/dist: Bindings Bindings/arm Bindings/arm/amlogic Bindings/arm/bcm Bindings/arm/freescale Bindings/arm/marvell Bindings/arm/mrvl Bindings/arm/msm Bindings...

2020-02-28 Thread Emmanuel Vadot
Author: manu Date: Fri Feb 28 15:14:48 2020 New Revision: 358428 URL: https://svnweb.freebsd.org/changeset/base/358428 Log: DTS: Update the device-tree files to Linux 5.5 Added: vendor/device-tree/dist/Bindings/arm/bcm/bcm2835.yaml

svn commit: r358430 - in head/sys/gnu/dts: arm arm64/actions arm64/allwinner arm64/altera arm64/amlogic arm64/arm arm64/broadcom arm64/exynos arm64/freescale arm64/hisilicon arm64/intel arm64/lg ar...

2020-02-28 Thread Emmanuel Vadot
Author: manu Date: Fri Feb 28 15:42:51 2020 New Revision: 358430 URL: https://svnweb.freebsd.org/changeset/base/358430 Log: dts: Update our copy for arm, arm64 and riscv dts to Linux 5.5 MFC after:2 months Added: - copied unchanged from r358428,

svn commit: r358429 - vendor/device-tree/5.5

2020-02-28 Thread Emmanuel Vadot
Author: manu Date: Fri Feb 28 15:15:31 2020 New Revision: 358429 URL: https://svnweb.freebsd.org/changeset/base/358429 Log: DTS: Tag the 5.5 files Added: vendor/device-tree/5.5/ - copied from r358428, vendor/device-tree/dist/ ___

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

2020-02-24 Thread Emmanuel Vadot
Author: manu Date: Mon Feb 24 10:40:35 2020 New Revision: 358279 URL: https://svnweb.freebsd.org/changeset/base/358279 Log: arm64: rockchip: rk808: Only init regulator not enabled If a regulator is already enabled, do not set its value to the minimum supported on the board. This fixes

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

2020-02-24 Thread Emmanuel Vadot
Author: manu Date: Mon Feb 24 10:38:38 2020 New Revision: 358278 URL: https://svnweb.freebsd.org/changeset/base/358278 Log: arm64: rockchip: rk_i2c: Bump to DELAY to 1000 In polling mode with use DELAY to wait for interrupts. The value was too low for RK3328. MFC after:1 week

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

2020-03-02 Thread Emmanuel Vadot
Author: manu Date: Mon Mar 2 21:19:51 2020 New Revision: 358555 URL: https://svnweb.freebsd.org/changeset/base/358555 Log: cpufreq_dt: Improve multiple opp support When looking for cpu with the same OPP starts from the root /cpus node so each instance of cpufreq_dt will now each cpu

svn commit: r358176 - head/sys/compat/linuxkpi/common/include/linux

2020-02-20 Thread Emmanuel Vadot
Author: manu Date: Thu Feb 20 17:19:16 2020 New Revision: 358176 URL: https://svnweb.freebsd.org/changeset/base/358176 Log: linuxkpi: Add list_is_first function This function just test if the element is the first of the list. Reviewed by: hselasky MFC after:1 week

svn commit: r358177 - head/sys/compat/linuxkpi/common/include/linux

2020-02-20 Thread Emmanuel Vadot
Author: manu Date: Thu Feb 20 17:20:50 2020 New Revision: 358177 URL: https://svnweb.freebsd.org/changeset/base/358177 Log: linuxkpi: Add str_has_prefix This function test if the string str begins with the string pointed at by prefix. Reviewed by: hselasky MFC after:1 week

svn commit: r358218 - head/sys/sys

2020-02-21 Thread Emmanuel Vadot
Author: manu Date: Fri Feb 21 09:29:56 2020 New Revision: 358218 URL: https://svnweb.freebsd.org/changeset/base/358218 Log: Bump _FreeBSD_version after the recent linuxkpi changes Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h

svn commit: r358217 - in head/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src conf modules/linuxkpi

2020-02-21 Thread Emmanuel Vadot
Author: manu Date: Fri Feb 21 09:28:45 2020 New Revision: 358217 URL: https://svnweb.freebsd.org/changeset/base/358217 Log: linuxkpi: Move shmem related functions in it's own file For drmkpi (D23085) we don't want the Linux struct file as we don't emulate everything. Also the prototypes

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

2020-01-10 Thread Emmanuel Vadot
Author: manu Date: Fri Jan 10 18:53:14 2020 New Revision: 356610 URL: https://svnweb.freebsd.org/changeset/base/356610 Log: arm: allwinner: axp209: Add regnode_status method This allow consumers to check if the regulator is enable or not. MFC after:1 week Modified:

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

2020-01-10 Thread Emmanuel Vadot
Author: manu Date: Fri Jan 10 18:52:14 2020 New Revision: 356609 URL: https://svnweb.freebsd.org/changeset/base/356609 Log: twsi: Rework how we handle the i2c messages We use to handle each message separately in i2c_transfer but that cannot work with message with NOSTOP as it confuses

svn commit: r356637 - in head/sys: dts/arm64/overlays modules/dtb/allwinner

2020-01-11 Thread Emmanuel Vadot
Author: manu Date: Sat Jan 11 18:36:10 2020 New Revision: 356637 URL: https://svnweb.freebsd.org/changeset/base/356637 Log: arm64: allwinner: dtso: Add spi0 spigen DTSO This overlays can be used on A64 board to use spigen and spi(8) on the spi0 pins. Tested On: Pine64-LTS,

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

2020-01-19 Thread Emmanuel Vadot
Author: manu Date: Sun Jan 19 19:51:20 2020 New Revision: 356891 URL: https://svnweb.freebsd.org/changeset/base/356891 Log: arm: allwinner: Add GPIO Interrupt support Not all pins in Allwinner have interrupts support so we rely on the padconf data to add the proper caps when pin_getcaps

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

2020-01-19 Thread Emmanuel Vadot
Author: manu Date: Sun Jan 19 19:56:50 2020 New Revision: 356893 URL: https://svnweb.freebsd.org/changeset/base/356893 Log: rk805: Add a regnode_init method This method will set the desired voltaged based on values in the DTS. It will not enable the regulator, this is the job of either a

svn commit: r356895 - in head/sys: arm/conf arm/xilinx dev/flash dts/arm

2020-01-19 Thread Emmanuel Vadot
Author: manu Date: Sun Jan 19 20:04:44 2020 New Revision: 356895 URL: https://svnweb.freebsd.org/changeset/base/356895 Log: zilinx/zy7_qspi: Add a qspi driver for Zynq platforms. This is a qspi driver for the Xilinx Zynq-7000 chip. It could be useful for anyone wanting to boot a system

svn commit: r356888 - in head/sys/arm/allwinner: . a10 a13 a20 a31 a33 a64 a83t h3 h6

2020-01-19 Thread Emmanuel Vadot
Author: manu Date: Sun Jan 19 19:14:49 2020 New Revision: 356888 URL: https://svnweb.freebsd.org/changeset/base/356888 Log: arm: allwinner: Fix padconf for interrupts information Add a eint_bank member to the allwinner_pins structure. On Allwinner SoCs not all pins can do interrupt.

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

2020-01-16 Thread Emmanuel Vadot
Author: manu Date: Thu Jan 16 20:02:41 2020 New Revision: 356800 URL: https://svnweb.freebsd.org/changeset/base/356800 Log: arm: allwinner: Add support for bank supply Each GPIO bank is powered by a different pin and so can be powered at different voltage from different regulators.

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

2020-01-16 Thread Emmanuel Vadot
Author: manu Date: Thu Jan 16 19:59:00 2020 New Revision: 356799 URL: https://svnweb.freebsd.org/changeset/base/356799 Log: axp8xx: Add a regnode_init method This method will set the desired voltaged based on values in the DTS. It will not enable the regulator, this is the job of either

svn commit: r356806 - in head: share/man/man9 sys/dev/fdt

2020-01-16 Thread Emmanuel Vadot
Author: manu Date: Thu Jan 16 21:19:27 2020 New Revision: 356806 URL: https://svnweb.freebsd.org/changeset/base/356806 Log: fdt_pinctrl: Add new methods for gpios Most of the gpio controller cannot configure or get the configuration of the pin muxing as it's usually handled in the

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

2020-01-16 Thread Emmanuel Vadot
Author: manu Date: Thu Jan 16 20:52:26 2020 New Revision: 356803 URL: https://svnweb.freebsd.org/changeset/base/356803 Log: regulator_fixed: Add a get_voltage method Some consumer cannot know the voltage of the regulator without it. While here, refuse to attach is min_voltage !=

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

2020-01-16 Thread Emmanuel Vadot
Author: manu Date: Thu Jan 16 19:57:38 2020 New Revision: 356798 URL: https://svnweb.freebsd.org/changeset/base/356798 Log: axp8xx: Add missing voltage regulators offset This lead to writing the desired voltage value to the wrong register. MFC after:2 weeks Modified:

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

2020-01-16 Thread Emmanuel Vadot
(r356808) @@ -0,0 +1,403 @@ +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * + * Copyright (c) 2018 Emmanuel Vadot + * Copyright (c) 2019 Brandon Bergren + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the fol

svn commit: r356813 - head/sys/dev/mmc/host

2020-01-16 Thread Emmanuel Vadot
Author: manu Date: Thu Jan 16 21:50:53 2020 New Revision: 356813 URL: https://svnweb.freebsd.org/changeset/base/356813 Log: dwmmc: Remove max_hz from the softc We never use it so directly set the value to the mmc host structure. Modified: head/sys/dev/mmc/host/dwmmc.c

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

2020-01-16 Thread Emmanuel Vadot
Author: manu Date: Thu Jan 16 20:19:20 2020 New Revision: 356802 URL: https://svnweb.freebsd.org/changeset/base/356802 Log: arm: allwinner: ahci: target-supply is optional The target-supply regulator is optional so don't fail if it's not present. While here disable the clock on detach.

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

2020-01-16 Thread Emmanuel Vadot
Author: manu Date: Thu Jan 16 21:21:20 2020 New Revision: 356807 URL: https://svnweb.freebsd.org/changeset/base/356807 Log: arm64: rockchip: Add new interface for rk_pinctrl The gpio controller in rockchips SoC in a child of the pinctrl driver and cannot control pullups and pulldowns.

svn commit: r356277 - in head/sys: arm64/rockchip modules/rockchip modules/rockchip/rk_spi

2020-01-02 Thread Emmanuel Vadot
Author: manu Date: Thu Jan 2 17:44:41 2020 New Revision: 356277 URL: https://svnweb.freebsd.org/changeset/base/356277 Log: arm64: rockchip: Add a module for rk_spi The spi node doesn't lives under a simple-bus compatible node so we need OFWBUS_PNP_INFO instead of SIMPLEBUS_PNP_INFO.

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

2020-01-02 Thread Emmanuel Vadot
Author: manu Date: Thu Jan 2 17:39:21 2020 New Revision: 356276 URL: https://svnweb.freebsd.org/changeset/base/356276 Log: arm: allwinner: aw_spi: Call bus_generic_attach This is needed when the driver is compiled into the kernel. When compiled as a module this will be called from

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

2019-12-28 Thread Emmanuel Vadot
Author: manu Date: Sat Dec 28 15:28:39 2019 New Revision: 356148 URL: https://svnweb.freebsd.org/changeset/base/356148 Log: arm64: rockchip: rk808: Add remaining regulators The RK808 driver was missing the LDO and switch regulators. Add support for them. Reviewed by: mmel MFC

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

2019-12-28 Thread Emmanuel Vadot
) 2019 Emmanuel Vadot + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + *notice, this list of conditions

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

2020-01-08 Thread Emmanuel Vadot
Author: manu Date: Wed Jan 8 11:30:03 2020 New Revision: 356486 URL: https://svnweb.freebsd.org/changeset/base/356486 Log: rk805: Add regnode_status method This allow consumers to check if the regulator is enable or not. Reviewed by: mmel Differential Revision:

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

2020-01-08 Thread Emmanuel Vadot
Author: manu Date: Wed Jan 8 11:30:42 2020 New Revision: 356487 URL: https://svnweb.freebsd.org/changeset/base/356487 Log: regulator: fix regnode_method_get_voltage This method is supposed to write the voltage into uvolt and return an errno compatible value. Reviewed by: mmel

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

2020-01-08 Thread Emmanuel Vadot
Author: manu Date: Wed Jan 8 11:29:22 2020 New Revision: 356485 URL: https://svnweb.freebsd.org/changeset/base/356485 Log: rk808: Add min/max for the switch regulators The two switch regulator are always 3.0V. Add a special case in get_voltage that if min=max we directly return the

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

2020-03-08 Thread Emmanuel Vadot
Author: manu Date: Mon Mar 9 03:34:16 2020 New Revision: 358800 URL: https://svnweb.freebsd.org/changeset/base/358800 Log: cpufreq: Unbreak build. Modified: head/sys/dev/cpufreq/cpufreq_dt.c Modified: head/sys/dev/cpufreq/cpufreq_dt.c

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

2020-03-08 Thread Emmanuel Vadot
Author: manu Date: Mon Mar 9 02:30:16 2020 New Revision: 358799 URL: https://svnweb.freebsd.org/changeset/base/358799 Log: cpufreq_dt: Fix r358555 Before skipping the current cpu when trying to find the ones that have the same opp, record that this one have this opp. Reported by:

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

2020-04-14 Thread Emmanuel Vadot
Author: manu Date: Tue Apr 14 20:20:08 2020 New Revision: 359936 URL: https://svnweb.freebsd.org/changeset/base/359936 Log: modules: dtb: allwinner: Remove non existant files Those files have been removed in r359935. MFC after:2 months X-MFC-With: r359935 Modified:

svn commit: r359934 - in head/sys/gnu/dts: arm arm64/allwinner arm64/altera arm64/amlogic arm64/arm arm64/bitmain arm64/exynos arm64/freescale arm64/hisilicon arm64/intel arm64/marvell arm64/mediat...

2020-04-14 Thread Emmanuel Vadot
Author: manu Date: Tue Apr 14 18:57:00 2020 New Revision: 359934 URL: https://svnweb.freebsd.org/changeset/base/359934 Log: dts: Import DTS from Linux 5.6 Added: head/sys/gnu/dts/arm/am3703.dtsi - copied unchanged from r359928, vendor/device-tree/dist/src/arm/am3703.dtsi

svn commit: r359935 - in head: . sys/arm/allwinner sys/dts/arm/overlays sys/dts/arm64/overlays

2020-04-14 Thread Emmanuel Vadot
Author: manu Date: Tue Apr 14 19:05:17 2020 New Revision: 359935 URL: https://svnweb.freebsd.org/changeset/base/359935 Log: allwinner: aw_thermal: Cope with DTS changes The upstream DTS now include the thermal device node and the SID calibration entry. Update our driver to cope with

svn commit: r359932 - head/sys/conf

2020-04-14 Thread Emmanuel Vadot
Author: manu Date: Tue Apr 14 18:11:54 2020 New Revision: 359932 URL: https://svnweb.freebsd.org/changeset/base/359932 Log: files: Add mmc_fdt_helpers for mmccam enabled config MFC after:1 month X-MFC-With: r359924 Modified: head/sys/conf/files Modified: head/sys/conf/files

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

2020-04-11 Thread Emmanuel Vadot
Author: manu Date: Sat Apr 11 15:52:07 2020 New Revision: 359806 URL: https://svnweb.freebsd.org/changeset/base/359806 Log: arm: am335x: Honor pmic option ti,pmic-shutdown-controller Honor ti,pmic-shutdown-controller option in DTS Tested on stable r359316 @ Sleep mode on custom hw,

svn commit: r359805 - head/usr.sbin/gpioctl

2020-04-11 Thread Emmanuel Vadot
Author: manu Date: Sat Apr 11 15:25:40 2020 New Revision: 359805 URL: https://svnweb.freebsd.org/changeset/base/359805 Log: gpioctl: Print interrupts capabilities GPIO drivers who supports interrupts report them in the caps (obtain via the getcaps method) but gpioctl doesn't know how

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

2020-04-14 Thread Emmanuel Vadot
Author: manu Date: Tue Apr 14 22:16:40 2020 New Revision: 359939 URL: https://svnweb.freebsd.org/changeset/base/359939 Log: modules: dtb: allwinner: Remove sun50i-a64-sid.dtso File was removed in r359935 MFC after:2 month X-MFC-With: r359935 Modified:

svn commit: r360011 - in head/sys: arm/allwinner modules/allwinner modules/allwinner/aw_mmc

2020-04-16 Thread Emmanuel Vadot
Author: manu Date: Thu Apr 16 16:00:21 2020 New Revision: 360011 URL: https://svnweb.freebsd.org/changeset/base/360011 Log: arm: allwinner: aw_mmc: Make it possible to unload the module While here, add a makefile in sys/modules/allwinner so it is built. Also add the PNP info so devmatch

svn commit: r360009 - head/sys/dev/mmc

2020-04-16 Thread Emmanuel Vadot
Author: manu Date: Thu Apr 16 15:58:58 2020 New Revision: 360009 URL: https://svnweb.freebsd.org/changeset/base/360009 Log: mmc_fdt_helpers: Drain the cd pin taskqueue in mmc_fdt_gpio_teardown We have no use for it now. MFC after:1 month Modified:

svn commit: r360013 - head/sys/dev/usb/controller

2020-04-16 Thread Emmanuel Vadot
Author: manu Date: Thu Apr 16 16:59:37 2020 New Revision: 360013 URL: https://svnweb.freebsd.org/changeset/base/360013 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: r360018 - in head/sys/arm: mv nvidia

2020-04-16 Thread Emmanuel Vadot
Author: manu Date: Thu Apr 16 18:37:11 2020 New Revision: 360018 URL: https://svnweb.freebsd.org/changeset/base/360018 Log: arm: Fix duplicate pcib DRIVER_MODULE Name each pcib driver uniquely. This remove the warning printed at each arm boot : module_register: cannot register

svn commit: r360008 - head/sys/dev/mmc

2020-04-16 Thread Emmanuel Vadot
Author: manu Date: Thu Apr 16 12:32:28 2020 New Revision: 360008 URL: https://svnweb.freebsd.org/changeset/base/360008 Log: mmc_fdt_helpers: Always init the timout We use the taskqueue to schedule card detection so always init it. This is a proper solution instead of r359965. MFC

svn commit: r360007 - head/sys/dev/mmc

2020-04-16 Thread Emmanuel Vadot
Author: manu Date: Thu Apr 16 12:31:12 2020 New Revision: 360007 URL: https://svnweb.freebsd.org/changeset/base/360007 Log: Revert r359965 This cause board without a cd-gpio to not schedule a card detection. Modified: head/sys/dev/mmc/mmc_fdt_helpers.c Modified:

svn commit: r360021 - head/sys/arm/nvidia

2020-04-16 Thread Emmanuel Vadot
Author: manu Date: Thu Apr 16 20:44:23 2020 New Revision: 360021 URL: https://svnweb.freebsd.org/changeset/base/360021 Log: arm: nvidia: pcie: Rename class name to pcib Reported by: jhb Modified: head/sys/arm/nvidia/tegra_pcie.c Modified: head/sys/arm/nvidia/tegra_pcie.c

svn commit: r360093 - head/release/arm64

2020-04-19 Thread Emmanuel Vadot
Author: manu Date: Sun Apr 19 10:50:29 2020 New Revision: 360093 URL: https://svnweb.freebsd.org/changeset/base/360093 Log: release: arm64: Remove DTSO for Allwinner boards Both SID and THS dts node are now in the main dts and the DTSO have been removed in r359935 MFC after:2

Re: svn commit: r360102 - in head: libexec/rc/rc.d share/mk tools/build/mk

2020-04-19 Thread Emmanuel Vadot
-- Emmanuel Vadot On Sun, 19 Apr 2020 12:16:34 -0700 Conrad Meyer wrote: > Hm, some of us just want kerberos to be completed excised. This > change makes WITHOUT_KERBEROS retain portions of kerberos? That seems > unfortunate. Agreed, It would be better to default MK_KERBERO

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

2020-04-15 Thread Emmanuel Vadot
Author: manu Date: Wed Apr 15 13:35:28 2020 New Revision: 359969 URL: https://svnweb.freebsd.org/changeset/base/359969 Log: arm: allwinner: aw_sid: Fix thermal calibration size for A64 This fixes the aw_thermal driver on A64 SoC. MFC after:1 month X-MFC-With: r359935

svn commit: r359965 - head/sys/dev/mmc

2020-04-15 Thread Emmanuel Vadot
Author: manu Date: Wed Apr 15 13:02:13 2020 New Revision: 359965 URL: https://svnweb.freebsd.org/changeset/base/359965 Log: mmc_fdt_helpers: Do not schedule a card detection is there is no cd gpio If the fdt node doesn't have a cd-gpios properties or if the node is set as non-removable

svn commit: r359324 - head

2020-03-26 Thread Emmanuel Vadot
Author: manu Date: Thu Mar 26 08:23:09 2020 New Revision: 359324 URL: https://svnweb.freebsd.org/changeset/base/359324 Log: Stop building libl and liby Those libs aren't needed anymore so stop building them for the bootstrap tools or the compat libs. Reviewed by: bapt, emaste

svn commit: r359295 - head/lib/libpmc

2020-03-24 Thread Emmanuel Vadot
Author: manu Date: Wed Mar 25 02:28:47 2020 New Revision: 359295 URL: https://svnweb.freebsd.org/changeset/base/359295 Log: libpmc: Always add the full include path for libpmcstat Previously it was only added for aarch64, amd64 and i386 Modified: head/lib/libpmc/Makefile Modified:

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

2020-04-25 Thread Emmanuel Vadot
Author: manu Date: Sat Apr 25 15:34:48 2020 New Revision: 360311 URL: https://svnweb.freebsd.org/changeset/base/360311 Log: arm64: rockchip: rk805: Use a tailq for the attached regulator Store the attached regulator in a tailq to later find them in ofw_map. While here, do not attempt to

svn commit: r360321 - head/release/arm64

2020-04-25 Thread Emmanuel Vadot
Author: manu Date: Sat Apr 25 20:00:44 2020 New Revision: 360321 URL: https://svnweb.freebsd.org/changeset/base/360321 Log: release: arm64: rockpro64: Set hw.ncpu to 4 Since there is known issue with big.LITTLE set the number of CPU to 4 which is the number present in the LITTLE cluster.

svn commit: r360271 - head/release/tools

2020-04-24 Thread Emmanuel Vadot
Author: manu Date: Fri Apr 24 16:31:27 2020 New Revision: 360271 URL: https://svnweb.freebsd.org/changeset/base/360271 Log: Add support for generating release images using GPT for ARM Submitted by: Daniel Engberg (Original version) Differential Revision:

svn commit: r360272 - head/release/arm64

2020-04-24 Thread Emmanuel Vadot
Author: manu Date: Fri Apr 24 16:32:25 2020 New Revision: 360272 URL: https://svnweb.freebsd.org/changeset/base/360272 Log: Add PINE64 ROCKPro64 config for generation of release images Submitted by: Daniel Engberg Reviewed by: imp Differential Revision:

svn commit: r360273 - head/release/arm64

2020-04-24 Thread Emmanuel Vadot
Author: manu Date: Fri Apr 24 16:33:07 2020 New Revision: 360273 URL: https://svnweb.freebsd.org/changeset/base/360273 Log: Add PINE64 ROCK64 config for generation of release images Added: head/release/arm64/ROCK64.conf (contents, props changed) Added: head/release/arm64/ROCK64.conf

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

2020-04-23 Thread Emmanuel Vadot
Author: manu Date: Thu Apr 23 19:16:20 2020 New Revision: 360228 URL: https://svnweb.freebsd.org/changeset/base/360228 Log: arm64: rockchip: Fix TSADC on RK3328 The TSADC familiy is a little bit more complex than V2 and V3. Early revision do not use syscon and do not use qsel (RK3288).

svn commit: r359928 - in vendor/device-tree/dist: . Bindings Bindings/arm Bindings/arm/bcm Bindings/arm/hisilicon Bindings/arm/msm Bindings/arm/omap Bindings/arm/sprd Bindings/arm/stm32 Bindings/ar...

2020-04-14 Thread Emmanuel Vadot
Author: manu Date: Tue Apr 14 16:56:11 2020 New Revision: 359928 URL: https://svnweb.freebsd.org/changeset/base/359928 Log: Import DTS files from Linux 5.6 Added: vendor/device-tree/dist/Bindings/arm/idle-states.yaml vendor/device-tree/dist/Bindings/arm/sprd/

<    5   6   7   8   9   10   11   12   13   >