Author: manu
Date: Mon Aug 5 18:59:53 2019
New Revision: 350606
URL: https://svnweb.freebsd.org/changeset/base/350606
Log:
MFC r347362:
dtb: allwinner: Add the pinebook dtb to the build
Modified:
stable/12/sys/modules/dtb/allwinner/Makefile
Directory Properties:
stable/12/ (props
Author: manu
Date: Tue Aug 6 12:12:29 2019
New Revision: 350628
URL: https://svnweb.freebsd.org/changeset/base/350628
Log:
MFC r347489-r347491, r347512
r347489:
allwinner: clk: prediv_mux: Init the current parent
Do not init the first parent but read the clock register to find
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ stable/12/sys/arm/allwinner/clkng/aw_clk_frac.c Tue Aug 6 12:19:09
2019(r350629, copy of r348182,
head/sys/arm/allwinner/clkng/aw_clk_frac.c)
@@ -0,0 +1,338 @@
+/*-
+ * Copyright
Author: manu
Date: Sat Jul 20 14:29:11 2019
New Revision: 350166
URL: https://svnweb.freebsd.org/changeset/base/350166
Log:
arm64: Implement HWCAP
Add HWCAP support for arm64.
defines are the same as in Linux and a userland program can use
elf_aux_info to get the data.
We only save
Author: manu
Date: Sat Jul 20 17:42:46 2019
New Revision: 350180
URL: https://svnweb.freebsd.org/changeset/base/350180
Log:
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 easier for user to use i2c device.
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/arm/ti/ti_sysc.c Mon Jul 22 21:55:33 2019(r350230)
@@ -0,0 +1,125 @@
+/*-
+ * Copyright (c) 2019 Emmanuel Vadot
+ *
+ * Redistribution and use in source
Author: manu
Date: Mon Jul 22 21:53:58 2019
New Revision: 350229
URL: https://svnweb.freebsd.org/changeset/base/350229
Log:
arm: ti: Get the hwmods property from the parent node
Since the Linux 5.0 dts the ti,hwmods property is on the parent
ti.sysc node.
Modified:
Author: manu
Date: Fri Jul 19 15:07:30 2019
New Revision: 350129
URL: https://svnweb.freebsd.org/changeset/base/350129
Log:
pkgbase: Add a FreeBSD-wpa package
Move the wpa related files from FreeBSD-runtime to a new package named
FreeBSD-wpa
The FreeBSD runtime is only intended to have
Author: manu
Date: Fri Jul 19 15:09:00 2019
New Revision: 350131
URL: https://svnweb.freebsd.org/changeset/base/350131
Log:
pkgbase: Add a FreeBSD-hostapd package
Move the hostapd related files from FreeBSD-runtime to a new package n
FreeBSD-hostapd
The FreeBSD runtime is only intended
Author: manu
Date: Fri Jul 19 15:10:03 2019
New Revision: 350132
URL: https://svnweb.freebsd.org/changeset/base/350132
Log:
pkgbase: Add a FreeBSD-bluetooth package
Move the bluetooth related files from FreeBSD-runtime to a new package named
FreeBSD-bluetooth
The FreeBSD runtime is
Author: manu
Date: Fri Jul 19 15:10:53 2019
New Revision: 350133
URL: https://svnweb.freebsd.org/changeset/base/350133
Log:
pkgbase: Add a FreeBSD-dpv package
Move the dpv related files from FreeBSD-runtime to a new package named
FreeBSD-dpv
The only consumer is bsdinstall which is
Author: manu
Date: Fri Jul 19 15:11:32 2019
New Revision: 350135
URL: https://svnweb.freebsd.org/changeset/base/350135
Log:
bsd.confs.mk: Test the correct value for the destination package
Reviewed by: bapt, gjb
Differential Revision:https://reviews.freebsd.org/D20961
Modified:
Author: manu
Date: Fri Jul 19 15:12:20 2019
New Revision: 350136
URL: https://svnweb.freebsd.org/changeset/base/350136
Log:
pkgbase: move man pages from runtime-manual to runtime
We don't split the other man pages in their own package so do the same for
runtime.
Reviewed by: bapt,
Author: manu
Date: Wed Jul 24 08:00:00 2019
New Revision: 350275
URL: https://svnweb.freebsd.org/changeset/base/350275
Log:
pkgbase: Add the sub stage-packages targets to TGTS
This helps when you don't want to run the dependencies targets.
Reviewed by: bapt
Differential Revision:
On Thu, 25 Jul 2019 00:17:31 +0200
Guido Falsi wrote:
> On 25/07/19 00:14, Guido Falsi wrote:
> > On 19/07/19 17:11, Emmanuel Vadot wrote:
> >> Author: manu
> >> Date: Fri Jul 19 15:11:32 2019
> >> New Revision: 350135
> >> URL: https://svnweb.fr
On Fri, 26 Jul 2019 14:58:01 +0200
Guido Falsi wrote:
> On 26/07/19 05:10, Emmanuel Vadot wrote:
> > On Thu, 25 Jul 2019 00:17:31 +0200
> > Guido Falsi wrote:
> >
> >> On 25/07/19 00:14, Guido Falsi wrote:
> >>> On 19/07/19 17:11, Emmanuel Vadot wrote
Author: manu
Date: Mon Jul 22 10:17:59 2019
New Revision: 350210
URL: https://svnweb.freebsd.org/changeset/base/350210
Log:
arm: Use -O2 instead of -O as optimization flag
When using Clang -O is equivalent to -O2, change it -O2 to make it
consistent with other platforms.
Reference:
Author: manu
Date: Sat Sep 28 22:19:52 2019
New Revision: 352850
URL: https://svnweb.freebsd.org/changeset/base/352850
Log:
arm64: rockchip: Implement resets
Module resets where not implemented when rockchip clocks were commited.
Implement them.
Since all resets registers are
Author: manu
Date: Sat Sep 28 22:21:16 2019
New Revision: 352851
URL: https://svnweb.freebsd.org/changeset/base/352851
Log:
arm64: rockchip: Fix map_gpio
The map_gpio function wasn't correct, the first element is the pin
and not the phandle.
Modified:
head/sys/arm64/rockchip/rk_gpio.c
Author: manu
Date: Sat Sep 28 22:38:14 2019
New Revision: 352856
URL: https://svnweb.freebsd.org/changeset/base/352856
Log:
Import DTS files from Linux 5.3
Added:
vendor/device-tree/dist/Bindings/arm/al,alpine.yaml
vendor/device-tree/dist/Bindings/arm/amlogic.yaml
Author: manu
Date: Sat Sep 28 22:38:47 2019
New Revision: 352857
URL: https://svnweb.freebsd.org/changeset/base/352857
Log:
tag import of DTS files from Linux 5.3
Added:
vendor/device-tree/5.3/
- copied from r352856, vendor/device-tree/dist/
Author: manu
Date: Sat Sep 28 22:54:56 2019
New Revision: 352858
URL: https://svnweb.freebsd.org/changeset/base/352858
Log:
Import DTS files from Linux 5.2
Added:
- copied unchanged from r352854,
vendor/device-tree/dist/src/arm/am5718.dtsi
- copied unchanged from r352854,
\
Added: head/sys/arm/allwinner/clkng/aw_clk_mipi.c
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/arm/allwinner/clkng/aw_clk_mipi.c Sat Sep 28 22:14:33 2019
(r352848)
@@ -0
Author: manu
Date: Sat Sep 28 22:35:29 2019
New Revision: 352854
URL: https://svnweb.freebsd.org/changeset/base/352854
Log:
Import DTS from Linux 5.2
Added:
vendor/device-tree/dist/.gitignore
vendor/device-tree/dist/Bindings/arm/intel-ixp4xx.yaml
Author: manu
Date: Sat Sep 28 22:36:08 2019
New Revision: 352855
URL: https://svnweb.freebsd.org/changeset/base/352855
Log:
tag import of 5.2 DTS files
Added:
vendor/device-tree/5.2/
- copied from r352854, vendor/device-tree/dist/
___
Author: manu
Date: Sat Sep 28 22:17:26 2019
New Revision: 352849
URL: https://svnweb.freebsd.org/changeset/base/352849
Log:
arm64: rockchip: rk3399: Add usb2 clocks
Modified:
head/sys/arm64/rockchip/clk/rk3399_cru.c
Modified: head/sys/arm64/rockchip/clk/rk3399_cru.c
Author: manu
Date: Sat Sep 28 23:08:19 2019
New Revision: 352860
URL: https://svnweb.freebsd.org/changeset/base/352860
Log:
Import DTS files from Linux 5.3
Added:
- copied unchanged from r352856,
vendor/device-tree/dist/src/arm/am335x-regor-rdk.dts
- copied unchanged from r352856,
Author: manu
Date: Sat Sep 28 23:01:23 2019
New Revision: 352859
URL: https://svnweb.freebsd.org/changeset/base/352859
Log:
arm: allwinner: Add pll_mipi to the files
Modified:
head/sys/arm/allwinner/files.allwinner
Modified: head/sys/arm/allwinner/files.allwinner
Author: manu
Date: Tue Oct 1 22:19:12 2019
New Revision: 352943
URL: https://svnweb.freebsd.org/changeset/base/352943
Log:
arm: allwinner: a10_ehci: Enable all phys
Even if there should be only one phy enable all the ones declared in
the dts just to be sure.
Modified:
Author: manu
Date: Tue Oct 1 22:20:03 2019
New Revision: 352944
URL: https://svnweb.freebsd.org/changeset/base/352944
Log:
generic_ehci: Enable all phys and resets
The number of phys and resets is not defined and it controller dependent
so enable/disable every one of them.
Modified:
Author: manu
Date: Mon Sep 30 15:00:22 2019
New Revision: 352903
URL: https://svnweb.freebsd.org/changeset/base/352903
Log:
arm64: rockchip: correct reset value
If bit is 0 the reset is not asserted.
Also register our self as a reset provider, this was commented
in r352850
Author: manu
Date: Mon Sep 30 15:01:09 2019
New Revision: 352904
URL: https://svnweb.freebsd.org/changeset/base/352904
Log:
arm64: rockchip: rk_clk_pll: Check mode on recalc
If the pll is in slow or deep slow mode return the correct frequency.
Modified:
@@
+/*-
+ * 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. Redistributions of source code
Author: manu
Date: Sat Sep 28 22:23:21 2019
New Revision: 352852
URL: https://svnweb.freebsd.org/changeset/base/352852
Log:
dwc: Add more delay for chip reset
On rockchip board it seems that the value in the DTS
are not enough for reseting the chip, I don't know if
the value are really
On Tue, 01 Oct 2019 14:29:58 -0600
Ian Lepore wrote:
> On Tue, 2019-10-01 at 20:21 +0000, Emmanuel Vadot wrote:
> > Author: manu
> > Date: Tue Oct 1 20:21:49 2019
> > New Revision: 352940
> > URL: https://svnweb.freebsd.org/changeset/base/352940
> >
Author: manu
Date: Tue Oct 1 18:30:06 2019
New Revision: 352936
URL: https://svnweb.freebsd.org/changeset/base/352936
Log:
arm64: rockchip: rk805: Switch to iicdev_{readfrom,writeto}
This simpify the code a bit.
Modified:
head/sys/arm64/rockchip/rk805.c
Modified:
Author: manu
Date: Tue Oct 1 18:32:27 2019
New Revision: 352937
URL: https://svnweb.freebsd.org/changeset/base/352937
Log:
syr827: Switch to iicdev_{readfrom,writeto}
Also use IIC_INTRWAIT as we need this to work with the rockchip i2c driver.
Modified:
head/sys/dev/iicbus/syr827.c
Author: manu
Date: Tue Oct 1 20:21:49 2019
New Revision: 352940
URL: https://svnweb.freebsd.org/changeset/base/352940
Log:
generic_ohci: Look for the phy based on the id
phy-names was never in the bindings schema even if it was present
in some DTS. Get the optional phy based on its ID.
Author: manu
Date: Tue Oct 1 20:22:54 2019
New Revision: 352941
URL: https://svnweb.freebsd.org/changeset/base/352941
Log:
arm: allwinner: a10_ehci: Look for the phy based on the id
phy-names was never in the bindings schema even if it was present
in some DTS. Get the optional phy
Author: manu
Date: Fri Nov 8 16:56:48 2019
New Revision: 354549
URL: https://svnweb.freebsd.org/changeset/base/354549
Log:
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
Tested-by:gallatin
MFC
Author: manu
Date: Fri Nov 8 20:08:44 2019
New Revision: 354559
URL: https://svnweb.freebsd.org/changeset/base/354559
Log:
loader.efi: Default to serial if we don't have a ConOut variable
In the EFI implementation in U-Boot no ConOut efi variable is created,
this cause loader to
Author: manu
Date: Fri Nov 8 17:27:20 2019
New Revision: 354550
URL: https://svnweb.freebsd.org/changeset/base/354550
Log:
libpmc: Forgot regex.h
Reported by: ci
MFC after:1 week
X-MFC-With: r354549
Modified:
head/lib/libpmc/libpmc_pmu_util.c
Modified:
Author: manu
Date: Wed Nov 6 18:39:32 2019
New Revision: 354407
URL: https://svnweb.freebsd.org/changeset/base/354407
Log:
arm64: allwinner: a64: Do not init the video related clocks
This should be handled by the video drivers and this break EFIFB
as this changes clock setup by the
Author: manu
Date: Wed Nov 6 14:55:24 2019
New Revision: 354396
URL: https://svnweb.freebsd.org/changeset/base/354396
Log:
regulator: Add regulator_check_voltage function
This function will call the regnode_check_voltage method for a given regulator
and check if the desired voltage in
Author: manu
Date: Wed Nov 6 14:58:25 2019
New Revision: 354397
URL: https://svnweb.freebsd.org/changeset/base/354397
Log:
arm: allwinner: aw_mmc: Check if the regulator support the voltage
Don't blindy say that we support both 3.3V and 1.8V.
If we have a regulator for the data lines,
Author: manu
Date: Sat Nov 9 22:25:45 2019
New Revision: 354573
URL: https://svnweb.freebsd.org/changeset/base/354573
Log:
generic_ehci_fdt: Fix compile when EXT_RESOURCES isn't present
Modified:
head/sys/dev/usb/controller/generic_ehci_fdt.c
Modified:
RGET}
>
> or
>
> sys/gnu/dts/${TARGET}/(vendor/)?
>
> So perhaps these should be moved to one of those directories, as appropriate?
>
> Thanks,
>
> Ravi (rpokala@)
Thanks, I don't know how I didn't see that ... fixed with revert +
r355324.
> ?-Original Me
Author: manu
Date: Tue Dec 3 09:12:53 2019
New Revision: 355324
URL: https://svnweb.freebsd.org/changeset/base/355324
Log:
Import DTS files for riscv from Linux 5.4
Requested by: mhorne
Added:
head/sys/gnu/dts/riscv/
- copied from r355323, vendor/device-tree/dist/src/riscv/
Author: manu
Date: Tue Dec 3 09:06:37 2019
New Revision: 355323
URL: https://svnweb.freebsd.org/changeset/base/355323
Log:
Revert r355188 as it shouldn't have created the risc-v directory at
the top level.
Reported by: rpokala
Deleted:
head/riscv/
Author: manu
Date: Tue Dec 3 19:18:32 2019
New Revision: 355356
URL: https://svnweb.freebsd.org/changeset/base/355356
Log:
arm64: rockchip: rl3399: Remove the ability to put the PLL in normal mode at
boot
RK3399 PLLs have three modes :
- Normal, where they behave normally and their
Author: manu
Date: Mon Dec 9 15:23:05 2019
New Revision: 38
URL: https://svnweb.freebsd.org/changeset/base/38
Log:
arm64: Use the kenv provided by loader
Otherwise we have an empty kenv a likely cannot boot.
Submitted by: kevans
MFC after:1 month
X-MFC-With: 355487
Author: manu
Date: Tue Dec 17 10:55:28 2019
New Revision: 355852
URL: https://svnweb.freebsd.org/changeset/base/355852
Log:
arm64: rockchip: rk_pinctrl: Fix clear bits in SYSCON_MODIFY
r351187 change the SYSCON_WRITE to SYSCON_MODIFY but didn't changed the
mask variable that used to hold
Author: manu
Date: Tue Dec 17 10:57:31 2019
New Revision: 355853
URL: https://svnweb.freebsd.org/changeset/base/355853
Log:
arm64: rockchip: rk_gpio: Fix pin number
The maxpin counter starts at 0, fix one by one error.
This is still not totally correct for some banks in some SoC that
Author: manu
Date: Thu Dec 12 13:02:22 2019
New Revision: 355648
URL: https://svnweb.freebsd.org/changeset/base/355648
Log:
arm64: rockchip: rk_pinctrl: Add bias parsing based on the SoC type
Not all rockchip have the same value for pullup/pulldown so add a function
per SoC and call the
Author: manu
Date: Thu Dec 12 13:21:43 2019
New Revision: 355649
URL: https://svnweb.freebsd.org/changeset/base/355649
Log:
arm64: rockchip: rk_pinctrl: Fix parse_bias for RK3399
Only bank 0 and bank 2 are different than other rockchip SoC, fix this.
While here remove some debug printfs
Author: manu
Date: Wed Dec 11 18:41:13 2019
New Revision: 355625
URL: https://svnweb.freebsd.org/changeset/base/355625
Log:
dwmmc: Add a detach method
This method will disable the regulators, clocks and assert the reset of
the module. It will also detach it's children (the mmc device)
Author: manu
Date: Wed Dec 11 19:40:30 2019
New Revision: 355629
URL: https://svnweb.freebsd.org/changeset/base/355629
Log:
dwmmc: Use device_delete_children
Instead of first detaching the children(s) and then delete them,
use the device_delete_children function that does all of that.
Author: manu
Date: Wed Dec 11 18:43:39 2019
New Revision: 355626
URL: https://svnweb.freebsd.org/changeset/base/355626
Log:
arm64: rockchip: Add a module for rk_dwmmc
This is mostly needed for dev/debug as most users will have their root
on the sdcard or emmc.
MFC after:1 month
Author: manu
Date: Wed Dec 11 18:50:23 2019
New Revision: 355627
URL: https://svnweb.freebsd.org/changeset/base/355627
Log:
dwmmc: Handle the card detect interrupt
The driver used to always add the mmc device as it's child even
it no card was detected. Add a function that will detect if
Author: manu
Date: Wed Dec 11 18:36:07 2019
New Revision: 355623
URL: https://svnweb.freebsd.org/changeset/base/355623
Log:
arm64: Add explicit devices for dwmmc variant
We used to include the hisi version if soc_hisi_hi6220 was present,
include the altera version if dwmmc_altera was
Author: manu
Date: Wed Dec 11 18:39:05 2019
New Revision: 355624
URL: https://svnweb.freebsd.org/changeset/base/355624
Log:
arm64: rk3328: Add the *clk_peri_niu clocks
Those clocks are always enable by default and are not really explained
in the TRM but the reason we had them is that
Author: manu
Date: Tue Dec 3 22:08:54 2019
New Revision: 355360
URL: https://svnweb.freebsd.org/changeset/base/355360
Log:
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
shouldn't attach the cpufreq driver
Author: manu
Date: Tue Dec 3 22:26:55 2019
New Revision: 355361
URL: https://svnweb.freebsd.org/changeset/base/355361
Log:
cpufreq_dt: Do not fetch again hw.ncpu
MD code already set the global variable mp_ncpus according to
the tunable hw.ncpu so use the global variable directly.
Author: manu
Date: Tue Dec 3 21:05:33 2019
New Revision: 355358
URL: https://svnweb.freebsd.org/changeset/base/355358
Log:
Remove "all rights reserved" from copyright for the file that Jared McNeill
own. He gave me permission to do this.
Modified:
head/sys/arm/allwinner/a10_fb.c
; Copyright (c) 2018 Emmanuel Vadot
-.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
Modified: h
Author: manu
Date: Mon Dec 16 18:00:05 2019
New Revision: 355809
URL: https://svnweb.freebsd.org/changeset/base/355809
Log:
MFC r354115:
dtc: Allow multiple dts-v1 tag
Some dts are including dtsi that also contain a /dts-v1/ tag at the
top. GNU DTC doesn't seems to have a problem
Author: manu
Date: Mon Dec 16 18:05:28 2019
New Revision: 355812
URL: https://svnweb.freebsd.org/changeset/base/355812
Log:
MFC r355648-r355649
r355648:
arm64: rockchip: rk_pinctrl: Add bias parsing based on the SoC type
Not all rockchip have the same value for pullup/pulldown so
Author: manu
Date: Mon Dec 16 18:02:48 2019
New Revision: 355810
URL: https://svnweb.freebsd.org/changeset/base/355810
Log:
MFC r354407:
arm64: allwinner: a64: Do not init the video related clocks
This should be handled by the video drivers and this break EFIFB
as this changes clock
Author: manu
Date: Mon Dec 16 17:59:02 2019
New Revision: 355808
URL: https://svnweb.freebsd.org/changeset/base/355808
Log:
MFC r354086:
flash: Add GigaDevice gd25q128 flash
Add this flash chip which is a 128Mb spi flash.
Modified:
stable/12/sys/dev/flash/mx25l.c
Directory
On Wed, 16 Oct 2019 16:06:34 +0100
Ruslan Bukin wrote:
> On Mon, Oct 14, 2019 at 06:45:26PM +0200, Emmanuel Vadot wrote:
> > 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:
> &
!= ENODEV) {
> device_printf(sc->dev, "Cannot get 'biu' clock\n");
> + goto fail;
> + }
>
> if (sc->biu) {
> error = clk_enable(sc->biu);
> @@ -499,8 +515,12 @@ parse_fdt(struct dwmmc_softc *sc)
On Tue, 15 Oct 2019 18:37:57 +0100
Ruslan Bukin wrote:
> On Tue, Oct 15, 2019 at 07:34:51PM +0200, Emmanuel Vadot wrote:
> > On Tue, 15 Oct 2019 17:24:22 + (UTC)
> > Ruslan Bukin wrote:
> >
> > > Author: br
> > > Date: Tue Oct 15 17:24:21 2019
>
because file is newly added)
+++ head/sys/arm/allwinner/clkng/aw_clk_nmm.c Mon Oct 14 21:49:07 2019
(r353526)
@@ -0,0 +1,285 @@
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
+ * Copyright (c) 2019 Emmanuel Vadot
+ *
+ * Redistribution and use in source and binary forms, wit
};
Added: head/sys/arm/allwinner/h6/h6_padconf.c
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/arm/allwinner/h6/h6_padconf.c Mon Oct 14 21:55:45 2019
(r353529)
@@ -0,0 +1
: 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. Redistributions of source code must retain the above copyright
Author: manu
Date: Mon Oct 14 21:50:44 2019
New Revision: 353527
URL: https://svnweb.freebsd.org/changeset/base/353527
Log:
arm: allwinner: Disable the clock before changing it's freq
You aren't supposed to changing the freq of a clock when it is
enable so disable the clock before
, because file is newly added)
+++ head/sys/arm/allwinner/aw_dwc3.cMon Oct 14 22:22:19 2019
(r353532)
@@ -0,0 +1,147 @@
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
+ * Copyright (c) 2019 Emmanuel Vadot
+ *
+ * Redistribution and use in source and binary forms
Author: manu
Date: Mon Oct 14 22:29:20 2019
New Revision: 353534
URL: https://svnweb.freebsd.org/changeset/base/353534
Log:
arm: allwinner: Add np and nmm clock file to the build
MFC after:1 month
Modified:
head/sys/arm/allwinner/files.allwinner
Modified:
Author: manu
Date: Mon Oct 14 21:45:15 2019
New Revision: 353524
URL: https://svnweb.freebsd.org/changeset/base/353524
Log:
aw_ccung: Add more debug printfs
No functional changes
MFC after:1 month
Modified:
head/sys/arm/allwinner/clkng/aw_ccung.c
Modified:
Author: manu
Date: Mon Oct 14 21:56:41 2019
New Revision: 353530
URL: https://svnweb.freebsd.org/changeset/base/353530
Log:
arm64: allwinner: aw_usbphy: Add support for H6 PHY
MFC after:1 month
Modified:
head/sys/arm/allwinner/aw_usbphy.c
Modified:
+++ head/sys/arm/allwinner/clkng/aw_clk_np.cMon Oct 14 21:47:20 2019
(r353525)
@@ -0,0 +1,267 @@
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
+ * Copyright (c) 2019 Emmanuel Vadot
+ *
+ * Redistribution and use in source and binary forms, with or without
+ *
)
@@ -0,0 +1,501 @@
+/*-
+ * 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. Redistributions
Author: manu
Date: Mon Oct 14 21:58:46 2019
New Revision: 353531
URL: https://svnweb.freebsd.org/changeset/base/353531
Log:
arm64: allwinner: Add support for the usb3 phy
The usb 3 controller in the H6 SoC have a dedicated phy.
Add support for it.
Mostly imported from NetBSD
MFC
Author: manu
Date: Wed Oct 16 13:53:53 2019
New Revision: 353642
URL: https://svnweb.freebsd.org/changeset/base/353642
Log:
dwc3: Use a pair of ()'s around arguments for some macros
Reported by: hselasky
MFC after:1 week
X-MFC-With: r353533
Modified:
Author: manu
Date: Tue Oct 29 18:36:16 2019
New Revision: 354152
URL: https://svnweb.freebsd.org/changeset/base/354152
Log:
arm64: rockchip: typec_phy: Rename timeout to retry
Declare retry in the function scope.
Rename it to retry as there is a timeout function which was
causing to
Author: manu
Date: Wed Oct 23 09:54:12 2019
New Revision: 353917
URL: https://svnweb.freebsd.org/changeset/base/353917
Log:
regulator: Add a regnode_method_init
This is a default init method for regulator that don't really
need one.
MFC after:1 week
Modified:
Author: manu
Date: Wed Oct 23 09:56:53 2019
New Revision: 353919
URL: https://svnweb.freebsd.org/changeset/base/353919
Log:
regulator: Add a regnode_set_constraint function
This method check that boot_on or always_on is set to 1 and if it
is it will try to enable the regulator.
The
Author: manu
Date: Wed Oct 23 09:54:50 2019
New Revision: 353918
URL: https://svnweb.freebsd.org/changeset/base/353918
Log:
axp81x: Use the default regnode_init method
MFC after:1 week
Modified:
head/sys/arm/allwinner/axp81x.c
Modified: head/sys/arm/allwinner/axp81x.c
+ *
+ * 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. Redistributions of source code must retain the above copyright
+ *notice, this list of conditions
Author: manu
Date: Fri Oct 25 17:56:24 2019
New Revision: 354086
URL: https://svnweb.freebsd.org/changeset/base/354086
Log:
flash: Add GigaDevice gd25q128 flash
Add this flash chip which is a 128Mb spi flash.
MFC after:1 week
Modified:
head/sys/dev/flash/mx25l.c
Modified:
Author: manu
Date: Fri Oct 25 18:08:25 2019
New Revision: 354087
URL: https://svnweb.freebsd.org/changeset/base/354087
Log:
arm64: rk3399: Add clock and gate for usb3 clocks
MFC after:1 month
Modified:
head/sys/arm64/rockchip/clk/rk3399_cru.c
Modified:
/rk_dwc3.c Fri Oct 25 18:08:59 2019
(r354088)
@@ -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
Author: manu
Date: Sat Oct 26 17:10:27 2019
New Revision: 354115
URL: https://svnweb.freebsd.org/changeset/base/354115
Log:
dtc: Allow multiple dts-v1 tag
Some dts are including dtsi that also contain a /dts-v1/ tag at the
top. GNU DTC doesn't seems to have a problem with that so fix our
Author: manu
Date: Sat Oct 26 17:51:43 2019
New Revision: 354117
URL: https://svnweb.freebsd.org/changeset/base/354117
Log:
arm64: rockchip: dts: Build the Khadas board DTS
We boot on thoses boards so build them.
Submitted by: s199p.wa1...@gmail.com
MFC after:1 week
Author: manu
Date: Thu Nov 28 19:38:57 2019
New Revision: 355188
URL: https://svnweb.freebsd.org/changeset/base/355188
Log:
Import riscv DTS files
Requested by: mhorne
Added:
head/riscv/
- copied from r355184, vendor/device-tree/dist/src/riscv/
Replaced:
Author: manu
Date: Thu Nov 28 19:30:41 2019
New Revision: 355187
URL: https://svnweb.freebsd.org/changeset/base/355187
Log:
Import DTS files from Linux 5.4
MFC after:2 months
Added:
head/sys/gnu/dts/arm/aspeed-ast2600-evb.dts
- copied unchanged from r355185,
Author: manu
Date: Thu Nov 28 20:17:03 2019
New Revision: 355190
URL: https://svnweb.freebsd.org/changeset/base/355190
Log:
arm64: rockchip: tsadc: Do not free the sysctl context is it wasn't created
MFC after:3 weeks
X-MFC-With: r355173
Modified:
Author: manu
Date: Thu Nov 28 20:46:24 2019
New Revision: 355191
URL: https://svnweb.freebsd.org/changeset/base/355191
Log:
arm64: rockchip: rk3328: Add TSADC clocks
Add the clocks so we can use the rk_tsadc driver to monitor
the cpu temperature.
Modified:
if (sc->sim == NULL) {
> @@ -1514,6 +1514,7 @@ static device_method_t aw_mmc_methods[] = {
> /* Bus interface */
> DEVMETHOD(bus_read_ivar,aw_mmc_read_ivar),
> DEVMETHOD(bus_write_ivar, aw_mmc_write_ivar),
> + DEVMETHOD(bus_add_child,bus_ge
struct aw_clk_factorn;
struct aw_clk_frac frac;
+ uint64_tmin_freq;
+ uint64_tmax_freq;
+
uint32_tmux_shift;
uint32_tmux_width;
uint32_tgate_shift;
Copied: s
801 - 900 of 1235 matches
Mail list logo