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: head/sys/dev/flash/
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 it,
(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
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that
+1,116 @@
+.\"-
+.\" 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
+.\" are met:
+.\" 1. Redist
bullet -compact
-.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
-.\" All rights reserved.
On Thu, 17 May 2018 13:46:45 +0200
Mateusz Piotrowski <0...@freebsd.org> wrote:
> Hello,
>
> I think something went wrong here.
>
> On Thu, 17 May 2018 10:25:49 +0000 (UTC)
> Emmanuel Vadot wrote:
>
> >Author: manu
> >Date: Thu May 17 10:25:49 201
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
d
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
roved 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 the future.
--
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 releas
On Thu, 17 May 2018 14:20:05 -0500
Pedro Giffuni 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
> > wrote:
> >>
?
+ * 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
On 2018-05-19 17:39, Matthew Macy wrote:
On Sat, May 19, 2018 at 07:17 Emmanuel Vadot
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: https://svnweb.freebsd.org/changeset
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 whil
ad/sys/arm/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
* Copyright (c) 2013 Alexand
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:
head/etc/de
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.
Modified:
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.
--- /dev/null 00:00:00 1970 (empty, because file is newly 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
+ * All rights reserved.
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: head/sys/arm64/include/atomi
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
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: head/sys/dev/
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 interrupts
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: head/sys/arm/allwinner/aw_mmc.c
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:
head/sys/arm/allwinner/aw
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:
head/sys/arm/allw
cross the 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-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/l
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 wit
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 "oka
echo 'umodem_load="YES"' \
+ >> ${CHROOTDIR}/${DESTDIR}/boot/loader.conf
I'm not a big fan of always enabling this functionality. Do you have a
board that have no uart but an otg port ?
+}
+
arm_install_base() {
chroot ${CHROOTDIR} mount
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
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 osci
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
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
/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
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
===
==
--- /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
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/
head/sys/modules/rockchip/M
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,
v
(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
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 bi
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
===
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
==
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:
head/sys/dev/sp
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
===
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
> >
> > L
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
===
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
, 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://dpast
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
==
--- 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
} \
${_ep} \
${_epic} \
- epoch_test \
esp \
${_et} \
evdev \
--
Emmanuel Vadot
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to &quo
Author: manu
Date: Wed Jun 20 14:46:07 2018
New Revision: 335444
URL: https://svnweb.freebsd.org/changeset/base/335444
Log:
rk_gpio: Read the correct register for gpio read
Reported by: jmcneill
Modified:
head/sys/arm64/rockchip/rk_gpio.c
Modified: head/sys/arm64/rockchip/rk_gpio.c
===
Author: manu
Date: Wed Jun 20 14:45:26 2018
New Revision: 335443
URL: https://svnweb.freebsd.org/changeset/base/335443
Log:
if_rk_dwc: Fix delays handling
The property are named {t,r}x_delay and not {t,r}-delay.
The upper bits of the register are a mask of which bits is allowed
to be wr
Author: manu
Date: Wed Jun 20 15:27:09 2018
New Revision: 335445
URL: https://svnweb.freebsd.org/changeset/base/335445
Log:
if_rk_dwc: Disable setting delays for now
The values for tx/rx delays differs accross the different DTS.
Mainline Linux set it to 0x24/0x18
Mostly-Vendor u-boot (t
Author: manu
Date: Wed Jun 20 16:07:35 2018
New Revision: 335446
URL: https://svnweb.freebsd.org/changeset/base/335446
Log:
Add pmap_mapdev_attr for arm64
This is needed for efifb.
arm and ricv pmap (the two arch with arm64 that uses subr_devmap) have very
different implementation so fo
vice_get_softc(bus);
>
> AW_MMC_LOCK(sc);
> +#ifdef MMCCAM
> + KASSERT(req == NULL, ("req should be NULL in MMCCAM case!"));
> + /*
> + * For MMCCAM, sc->ccb has been NULL-checked and populated
> + * by aw_mmc_cam_request() already.
> + */
> + cmd = &sc->ccb->mmcio.cmd;
> +#else
> if (sc->aw_req) {
> AW_MMC_UNLOCK(sc);
> return (EBUSY);
> }
> -
> sc->aw_req = req;
> cmd = req->cmd;
> +
> +#ifdef DEBUG
> + if (bootverbose)
> + device_printf(sc->aw_dev, "CMD%u arg %#x flags %#x dlen %u
> dflags %#x\n",
> + cmd->opcode, cmd->arg, cmd->flags,
> + cmd->data != NULL ? (unsigned int)cmd->data->len
> : 0,
> + cmd->data != NULL ? cmd->data->flags: 0);
> +#endif
> +#endif
> cmdreg = AW_MMC_CMDR_LOAD;
> imask = AW_MMC_INT_ERR_BIT;
> sc->aw_intr_wait = 0;
> @@ -1163,4 +1516,6 @@ static driver_t aw_mmc_driver = {
>
> DRIVER_MODULE(aw_mmc, simplebus, aw_mmc_driver, aw_mmc_devclass, NULL,
> NULL);
> +#ifndef MMCCAM
> MMC_DECLARE_BRIDGE(aw_mmc);
> +#endif
>
> Modified: head/sys/arm/allwinner/files.allwinner
> ==
> --- head/sys/arm/allwinner/files.allwinnerThu Jun 21 11:43:54 2018
> (r335475)
> +++ head/sys/arm/allwinner/files.allwinnerThu Jun 21 11:49:21 2018
> (r335476)
> @@ -10,7 +10,7 @@ arm/allwinner/a10_sramc.c standard
> arm/allwinner/aw_gpio.c optionalgpio
> arm/allwinner/aw_if_dwc.coptionaldwc
> arm/allwinner/aw_machdep.c standard
> -arm/allwinner/aw_mmc.c optionalmmc
> +arm/allwinner/aw_mmc.c optionalmmc | mmccam
> arm/allwinner/aw_mp.coptionalsmp
> arm/allwinner/aw_nmi.c optionalintrng
> arm/allwinner/aw_rsb.c optionalrsb | p2wi
>
> Modified: head/sys/conf/files.arm64
> ==
> --- head/sys/conf/files.arm64 Thu Jun 21 11:43:54 2018(r335475)
> +++ head/sys/conf/files.arm64 Thu Jun 21 11:49:21 2018(r335476)
> @@ -27,7 +27,7 @@ cloudabi64_vdso_blob.o optional
> compat_cloudabi64 \
> # Allwinner common files
> arm/allwinner/a10_ehci.c optionalehci aw_ehci fdt
> arm/allwinner/aw_gpio.c optionalgpio aw_gpio fdt
> -arm/allwinner/aw_mmc.c optionalmmc aw_mmc fdt
> +arm/allwinner/aw_mmc.c optionalmmc aw_mmc fdt | mmccam
> aw_mmc fdt
> arm/allwinner/aw_nmi.c optionalaw_nmi fdt \
> compile-with "${NORMAL_C} -I$S/gnu/dts/include"
> arm/allwinner/aw_rsb.c optionalaw_rsb fdt
--
Emmanuel Vadot
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"
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 wro
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
=
Author: manu
Date: Thu Nov 30 12:38:42 2017
New Revision: 326394
URL: https://svnweb.freebsd.org/changeset/base/326394
Log:
devfs: Avoid a malloc/free if we just need to increment the refcount
MFC after:1 week
Sponsored by: Gandi.net
Modified:
head/sys/fs/devfs/devfs_dir.c
Modifie
Author: manu
Date: Thu Nov 30 14:06:54 2017
New Revision: 326395
URL: https://svnweb.freebsd.org/changeset/base/326395
Log:
r326394 is calling malloc with M_WAITOK under a lock, revert for now
Reported by: andrew
Modified:
head/sys/fs/devfs/devfs_dir.c
Modified: head/sys/fs/devfs/devfs
Author: manu
Date: Mon Dec 4 13:28:56 2017
New Revision: 326528
URL: https://svnweb.freebsd.org/changeset/base/326528
Log:
dts: arm: Remove imx6 related dts
Everything should work with dts from sys/gnu/dts
Discussed with: ian
Deleted:
head/sys/dts/arm/apalis-imx6.dts
head/s
ype=0xa3 request=0x00
wLen=0x0004 wValue=0x wIndex=0x0001 ehci_ep_init:
endpoint=0xfffffd4f10f8, addr=0, endpt=0, mode=0 (1)
If you have any idea on how to debug/resolve this,
Cheers,
--
Emmanuel Vadot
___
svn-src-head@freebsd.org mail
Author: manu
Date: Mon Dec 4 20:45:15 2017
New Revision: 326542
URL: https://svnweb.freebsd.org/changeset/base/326542
Log:
Allwinner: Add H5 compatible to aw_ccu
Recent DTS (from Linux 4.14) specify a compatible "allwinner,sun50i-h5-ccu"
for H5 SoC. Since we get the DTB from u-boot this
3/h3_padconf.c
==
--- head/sys/arm/allwinner/h3/h3_padconf.c Tue Dec 5 21:00:31 2017
(r326578)
+++ head/sys/arm/allwinner/h3/h3_padconf.c Tue Dec 5 21:21:23 2017
(r326579)
@@ -1,5 +1,5 @@
C saying
that we will move the driver into extres after adding some standard
stuff common to extres framework.
--
Emmanuel Vadot
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"
o resolve that name space conflict?
> AND this man page has existed since 1.0, So 25 years of
> finger memory, your just not gona do well trying to change that.
The new driver name is "syscon" not "syscons", there is no name space
conflict.
Again, we will move it
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: head/sys/arm/allwi
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
=
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/share/man/man4/aw_rtc.4Mon Dec 25 19:42:04 2017
(r327180)
@@ -0,0 +1,63 @@
+.\"-
+.\" Copyright (c) 2017 Emmanuel Vadot
+.\" All rights reserved.
+.\"
+.\"
/a10_intc.c Mon Dec 25 21:07:54 2017
(r327183)
+++ head/sys/arm/allwinner/a10/a10_intc.c Mon Dec 25 22:09:25 2017
(r327184)
@@ -1,6 +1,6 @@
/*-
* Copyright (c) 2012 Ganbold Tsagaankhuu
- * Copyright (c) 2016 Emmanuel Vadot
+ * Copyright (c) 2016 Emmanuel Vadot
Author: manu
Date: Mon Dec 25 23:01:09 2017
New Revision: 327185
URL: https://svnweb.freebsd.org/changeset/base/327185
Log:
aw_rsb.4: Remove useless .Re
Modified:
head/share/man/man4/aw_rtc.4
Modified: head/share/man/man4/aw_rtc.4
=
Author: manu
Date: Tue Dec 26 10:59:54 2017
New Revision: 327197
URL: https://svnweb.freebsd.org/changeset/base/327197
Log:
aw_rtc.4: Correct some error/style found by mandoc -Tlint
Modified:
head/share/man/man4/aw_rtc.4
Modified: head/share/man/man4/aw_rtc.4
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/share/man/man4/aw_mmc.4Tue Dec 26 12:06:56 2017
(r327198)
@@ -0,0 +1,76 @@
+.\"-
+.\" Copyright (c) 2017 Emmanuel Vadot
+.\" All rights reserved.
+.\"
+.\" Redistribut
/share/man/man4/aw_gpio.4 Tue Dec 26 12:11:04 2017
(r327199)
@@ -0,0 +1,102 @@
+.\"-
+.\" Copyright (c) 2017 Emmanuel Vadot
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitt
Author: manu
Date: Tue Dec 26 14:34:38 2017
New Revision: 327202
URL: https://svnweb.freebsd.org/changeset/base/327202
Log:
arm: a10_gpio.c was renamed aw_gpio.c
While here order files in files.allwinner
Modified:
head/sys/arm/allwinner/files.allwinner
Modified: head/sys/arm/allwinner/f
Author: manu
Date: Tue Dec 26 15:35:19 2017
New Revision: 327207
URL: https://svnweb.freebsd.org/changeset/base/327207
Log:
arm64: a10_gpio.c and a10_mmc.c were renamed aw_gpio.c and aw_mmc.c
Modified:
head/sys/conf/files.arm64
Modified: head/sys/conf/files.arm64
@@
+.\"-
+.\" Copyright (c) 2017 Emmanuel Vadot
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of sou
m r327215,
head/share/man/man4/man4.arm/aw_gpio.4)
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/share/man/man4/aw_gpio.4 Tue Dec 26 16:50:49 2017
(r327216, copy of r327215, head/share/man/man4/man4.arm/aw_gpio.4)
@@ -0,0 +1,1
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:
head/sys/cam
Author: manu
Date: Wed Dec 27 21:39:57 2017
New Revision: 327250
URL: https://svnweb.freebsd.org/changeset/base/327250
Log:
arm: Add kern/kern_clocksource.c to files.arm
Instead of adding it to every files.vendor, add it to the common arch file.
Modified:
head/sys/arm/allwinner/files.all
Author: manu
Date: Wed Dec 27 21:58:19 2017
New Revision: 327251
URL: https://svnweb.freebsd.org/changeset/base/327251
Log:
arm: hdmi_if.m is already in files.arm
Do not require it in files.vendor
Modified:
head/sys/arm/allwinner/files.allwinner
head/sys/arm/freescale/imx/files.imx6
M
Author: manu
Date: Thu Dec 28 07:31:14 2017
New Revision: 327280
URL: https://svnweb.freebsd.org/changeset/base/327280
Log:
Revert r327250 as it broke the build for some armv6 kernel and all armv4/5
Reported by: ian
Modified:
head/sys/arm/allwinner/files.allwinner
head/sys/arm/altera/
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
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 (
fallback 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_ge
Author: manu
Date: Sat Jan 13 14:10:45 2018
New Revision: 327922
URL: https://svnweb.freebsd.org/changeset/base/327922
Log:
dwmmc_hisi: Fix build when option MMCCAM is defined
Modified:
head/sys/dev/mmc/host/dwmmc_hisi.c
Modified: head/sys/dev/mmc/host/dwmmc_hisi.c
==
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
conf
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 modul
On Thu, 18 Jan 2018 15:28:49 + (UTC)
Emmanuel Vadot 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 structure is freed during module
On Thu, 18 Jan 2018 22:15:16 +
Rick Macklem 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
> >>
> >> Log:
>
Author: manu
Date: Sat Jan 20 14:47:27 2018
New Revision: 328198
URL: https://svnweb.freebsd.org/changeset/base/328198
Log:
clk: Get new parent freq after set_freq
During set_freq a clknode might have reparent (using a better parent that
have a higher frequency for example), before refres
e child, the SPI bus, which needs our own node. */
> return (ofw_bus_get_node(bus));
> }
>
> +
> static device_method_t bcm_pwm_methods[] = {
> /* Device interface */
> DEVMETHOD(device_probe, bcm_pwm_probe),
> DEVMETHOD(device_attach,
one need to use overlay to enable the node.
Leaving this I will predict that in the near futur you will have
someone complaining that he set to load the module at boot, unplug is
pwm testing gear and plug another type of HAT and that it makes funny
thing.
Can you please revert this part ?
--
On Mon, 22 Jan 2018 13:38:47 +
"Poul-Henning Kamp" wrote:
>
> In message <20180122135905.203e19ce94510854777df...@bidouilliste.com>,
> Emmanuel
> Vadot writes:
>
> >> +#if 0
> >> + // XXX: default state is disabled in RPI3 DTB, as
On Mon, 22 Jan 2018 14:07:30 +
"Poul-Henning Kamp" wrote:
>
> In message <20180122145117.08173be547f5dd6fef296...@bidouilliste.com>,
> Emmanuel
> Vadot writes:
>
> > Using the same logic as before one could have a script starting so
On Mon, 22 Jan 2018 15:52:41 +
"Poul-Henning Kamp" wrote:
>
> In message <20180122153003.664e1613bbf70ab49c5c1...@bidouilliste.com>,
> Emmanuel
> Vadot writes:
>
> >[...] there is no way to
> >know what the user will do so every n
Author: manu
Date: Tue Jan 23 13:03:47 2018
New Revision: 328279
URL: https://svnweb.freebsd.org/changeset/base/328279
Log:
sockstat: Add -q option to suppress the header line
MFC after:1 week
Sponsored by: Gandi.net
Modified:
head/usr.bin/sockstat/sockstat.1
head/usr.bin/socksta
Author: manu
Date: Tue Jan 23 14:33:19 2018
New Revision: 328281
URL: https://svnweb.freebsd.org/changeset/base/328281
Log:
sockstat: add break that was forgot in 328279
Reported by: garga@
MFC after:1 week
X-MFC With: 328279
Sponsored by: Gandi.net
Modified:
head/usr.bin/so
On Tue, 23 Jan 2018 12:22:58 -0200
Renato Botelho wrote:
> On 23/01/18 11:03, Emmanuel Vadot wrote:
> > Author: manu
> > Date: Tue Jan 23 13:03:47 2018
> > New Revision: 328279
> > URL: https://svnweb.freebsd.org/changeset/base/328279
> >
> > Log:
> &
1 - 100 of 1042 matches
Mail list logo