svn commit: r339032 - stable/11/share/man/man4

2018-09-30 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun Sep 30 23:18:42 2018 New Revision: 339032 URL: https://svnweb.freebsd.org/changeset/base/339032 Log: MFC r338655: [ig4] Update list of supported hardware Reflect the fact that ig4(4) is not an Intel-specific device but a driver for Synopsys DesignWare I2C cont

svn commit: r327444 - in head: share/man/man4 sys/dev/vt/colors

2017-12-31 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun Dec 31 20:21:05 2017 New Revision: 327444 URL: https://svnweb.freebsd.org/changeset/base/327444 Log: vt(4): add support for configurable console palette Introduce new set of loader tunables kern.vt.color.N.rgb, where N is a number from 0 to 15. The value is either

svn commit: r327449 - head/sys/dev/vt/colors

2017-12-31 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun Dec 31 21:29:20 2017 New Revision: 327449 URL: https://svnweb.freebsd.org/changeset/base/327449 Log: Unbreak build broken by r327444 During review iterations function signature has changed in definition but not in actual call. Fix call to match the definition.

svn commit: r327454 - head/sys/dev/vt/colors

2017-12-31 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun Dec 31 23:40:06 2017 New Revision: 327454 URL: https://svnweb.freebsd.org/changeset/base/327454 Log: Fix GCC build broken by r32744 Indicate in function declaration that vt_palette_init does not take any arguments Modified: head/sys/dev/vt/colors/vt_termcolors.c

svn commit: r327502 - head/sys/dev/nctgpio

2018-01-02 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Jan 2 20:58:05 2018 New Revision: 327502 URL: https://svnweb.freebsd.org/changeset/base/327502 Log: nctgpio: add new device id for the GPIO chip in PCEngines APU3 PR: 224512 Submitted by: m...@sentex.net MFC after:2 weeks Modified: head/sys/dev/

svn commit: r329832 - in head: share/man/man4 sys/conf sys/dev/gpio sys/modules sys/modules/chvgpio

2018-02-22 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Feb 22 19:12:32 2018 New Revision: 329832 URL: https://svnweb.freebsd.org/changeset/base/329832 Log: [chvgpio] add GPIO driver for Intel Z8xxx SoC family Add chvgpio(4) driver for Intel Z8xxx SoC family. This product was formerly known as Cherry Trail but Linux and

svn commit: r329926 - head/sys/dev/gpio

2018-02-24 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Feb 24 20:19:31 2018 New Revision: 329926 URL: https://svnweb.freebsd.org/changeset/base/329926 Log: Add SPDX tags for chvgpio driver sources Also move $FreeBSD$ keyword in header to BSD license MFC after:2 weeks Modified: head/sys/dev/gpio/chvgpio.c he

Re: svn commit: r330072 - in head/sys: arm/broadcom/bcm2835 dts/arm

2018-02-27 Thread Oleksandr Tymoshenko
Michal Meloun (m...@freebsd.org) wrote: > Author: mmel > Date: Tue Feb 27 15:01:17 2018 > New Revision: 330072 > URL: https://svnweb.freebsd.org/changeset/base/330072 > > Log: > Switch to mainstream DTS for Raspberry Pi-B and Pi-2. > This is first step in attempt to make FreeBSD compatible wi

svn commit: r330309 - in head/share/man: man4 man9

2018-03-02 Thread Oleksandr Tymoshenko
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/man/man4/fdt_pinctrl.4 Sat Mar 3 02:49:49 2018 (r330309) @@ -0,0 +1,127 @@ +.\" Copyright (c) 2018 Oleksandr Tymoshenko +.\" All rights reserved. +.\" +.\" Redistributi

svn commit: r330558 - head/sys/dev/ichiic

2018-03-06 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Mar 6 23:39:43 2018 New Revision: 330558 URL: https://svnweb.freebsd.org/changeset/base/330558 Log: [ig4] Add support for i2c controllers on Skylake and Kaby Lake This was tested by Ben on HP Chromebook 13 G1 with a Skylake CPU and Sunrise Point-LP I2C controller

svn commit: r330727 - in head/sys: arm/broadcom/bcm2835 dts/arm

2018-03-09 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Mar 10 02:49:58 2018 New Revision: 330727 URL: https://svnweb.freebsd.org/changeset/base/330727 Log: [rpi] remove IRQ support for BCM233x RNG Upstream DTBs don't provide IRQ lines for the RNG. Moreover, harvesting bytes as often as the RNG interrupt is triggered (8

svn commit: r331229 - in head/sys: arm/amlogic/aml8726 arm/annapurna/alpine arm/broadcom/bcm2835 arm/freescale arm/freescale/vybrid arm/mv arm/samsung/exynos arm/ti/am335x dev/fdt dev/ofw dev/ow de...

2018-03-19 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Mar 20 00:03:49 2018 New Revision: 331229 URL: https://svnweb.freebsd.org/changeset/base/331229 Log: [ofw] fix errneous checks for OF_finddevice(9) return value OF_finddevices returns ((phandle_t)-1) in case of failure. Some code in existing drivers checked return

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

2015-07-24 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Jul 25 00:58:50 2015 New Revision: 285865 URL: https://svnweb.freebsd.org/changeset/base/285865 Log: OF_getencprop_alloc shouldn't be used to get string value. If string length + 1 is not divisible by 4 this function returns NULL property value. Otherwise - string wit

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

2015-07-24 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Jul 25 02:59:45 2015 New Revision: 285866 URL: https://svnweb.freebsd.org/changeset/base/285866 Log: If there is panel info in DTB do not wait for HDMI event and setup framebuffer immediately Modified: head/sys/arm/ti/am335x/am335x_lcd.c Modified: head/sys/arm/ti/am

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

2015-07-24 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Jul 25 03:03:32 2015 New Revision: 285867 URL: https://svnweb.freebsd.org/changeset/base/285867 Log: Synchronize PIN input/output modes with gnu/dts/include/dt-bindings/pinctrl/am33xx.h gpio driver requires exact value to match SoC pin mode with GPIO pin direction Mod

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

2015-07-24 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Jul 25 03:19:02 2015 New Revision: 285868 URL: https://svnweb.freebsd.org/changeset/base/285868 Log: Fix color mapping for TDA19988. Values for VIP_CNTRL_1 and VIP_CNTRL_2 registers were mixed up Modified: head/sys/arm/ti/am335x/tda19988.c Modified: head/sys/arm/ti/

svn commit: r286089 - in head/sys: conf dev/gpio

2015-07-30 Thread Oleksandr Tymoshenko
ad/sys/dev/gpio/gpiobacklight.c Thu Jul 30 19:04:14 2015 (r286089) @@ -0,0 +1,211 @@ +/*- + * Copyright (c) 2015 Oleksandr Tymoshenko + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the

svn commit: r286165 - head/sys/arm/ti

2015-08-01 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Aug 1 23:10:36 2015 New Revision: 286165 URL: https://svnweb.freebsd.org/changeset/base/286165 Log: Set output pin initial value based on pin's pinmux pullup/pulldown setup Some of FDT blobs for AM335x-based devices use pinmux pullup/pulldown flag to setup initial

svn commit: r286214 - head/sys/arm/ti

2015-08-02 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Aug 3 01:22:49 2015 New Revision: 286214 URL: https://svnweb.freebsd.org/changeset/base/286214 Log: Pass correct type of argument to ti_gpio_unmask_irq in ti_gpio_activate_resource Modified: head/sys/arm/ti/ti_gpio.c Modified: head/sys/arm/ti/ti_gpio.c =

svn commit: r309822 - head/sys/dev/iwn

2016-12-10 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Dec 10 17:59:34 2016 New Revision: 309822 URL: https://svnweb.freebsd.org/changeset/base/309822 Log: [iwn] Perform BUS_DMASYNC_PREREAD when initializing RX buffer BUS_DMASYNC_PREREAD is required when setting up RX buffer, otherwise data provided by card can be over

svn commit: r309823 - in head/sys/dev: evdev syscons vt

2016-12-10 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Dec 10 18:07:16 2016 New Revision: 309823 URL: https://svnweb.freebsd.org/changeset/base/309823 Log: [evdev] Adds evdev support to sysmouse(4) driver For horizontal (T-axis) wheel reporting which is not supported by sysmouse protocol kern.evdev.sysmouse_t_axis sysc

svn commit: r309999 - head/sys/arm/freescale/imx

2016-12-12 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Dec 13 03:26:12 2016 New Revision: 30 URL: https://svnweb.freebsd.org/changeset/base/30 Log: [iMX6] Fix platform compatibility string for i.MX6 Dual i.MX6 Dual boot was broken since r308533 because ofw_bus_node_is_compatible is more strict than fdt_is_compa

svn commit: r310012 - head/sys/arm/freescale/imx

2016-12-12 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Dec 13 05:09:49 2016 New Revision: 310012 URL: https://svnweb.freebsd.org/changeset/base/310012 Log: [iMX6] Add compatibility string for GPT timer on i.MX6 Dual Up until r295436 GPT timer in i.MX6 Dual dts used the same compatiblity string as i.MX6 Quad. After the

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

2016-12-16 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Dec 16 19:09:57 2016 New Revision: 310170 URL: https://svnweb.freebsd.org/changeset/base/310170 Log: [spigen] Make "data" part of spigen_transfer optional Make st_data part of spigen_transfer optional by letting pass zero length and NULL pointer. SPI controller dri

svn commit: r310343 - head/sys/arm/freescale/imx

2016-12-20 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Dec 21 01:32:19 2016 New Revision: 310343 URL: https://svnweb.freebsd.org/changeset/base/310343 Log: [iMX6] Fix build for SSI driver and add dependency for SDMA driver - Pass correct pointer to OF_getencprop - Check the size of "dmas" property - Add dependency on

svn commit: r310344 - head/sys/arm/freescale/imx

2016-12-20 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Dec 21 01:38:44 2016 New Revision: 310344 URL: https://svnweb.freebsd.org/changeset/base/310344 Log: [iMX6] Fix SDMA driver build - Place const modifiers where required - Make sure sdma device is attahched before consumers like SSI Reviewed by: br MFC after

svn commit: r310375 - head/sys/dev/iwn

2016-12-21 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Dec 21 22:35:26 2016 New Revision: 310375 URL: https://svnweb.freebsd.org/changeset/base/310375 Log: [iwn] Several fixes for DMA part of iwn(4) - Perform DMS sync when accessing/initializing ICT table - Fix some DMA sync operations to use matching tags Reviewe

svn commit: r310431 - in stable/11/sys/dev: evdev syscons vt

2016-12-22 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Dec 22 21:29:57 2016 New Revision: 310431 URL: https://svnweb.freebsd.org/changeset/base/310431 Log: MFC r309823: [evdev] Adds evdev support to sysmouse(4) driver For horizontal (T-axis) wheel reporting which is not supported by sysmouse protocol kern.evdev.sy

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

2016-12-23 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Dec 24 00:30:29 2016 New Revision: 310492 URL: https://svnweb.freebsd.org/changeset/base/310492 Log: [spigen] Fix spigen attaching as a driver for SPI devices nodes in FDT Return BUS_PROBE_NOWILDCARD in probe method to make sure that spigen attaches only to the dev

svn commit: r310560 - head/sys/contrib/vchiq/interface/vchiq_arm

2016-12-25 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Dec 26 02:51:03 2016 New Revision: 310560 URL: https://svnweb.freebsd.org/changeset/base/310560 Log: [vchi] replace non-reproducible __DATE__/__TIME__ with hardcoded string Although vchiq_build_date and vchiq_build_time are not used in current vchi driver at the mo

svn commit: r310612 - head/sys/dev/evdev

2016-12-26 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Dec 26 17:48:13 2016 New Revision: 310612 URL: https://svnweb.freebsd.org/changeset/base/310612 Log: [evdev] Fix build for older versions of clang There was report of stable/11 build failure on older versions of FreeBSD. The problem was a reference to static variab

svn commit: r310621 - in head/sys: conf dev/ichiic modules/i2c/controllers/ichiic

2016-12-26 Thread Oleksandr Tymoshenko
file is newly added) +++ head/sys/dev/ichiic/ig4_acpi.c Mon Dec 26 22:13:43 2016 (r310621) @@ -0,0 +1,166 @@ +/*- + * Copyright (c) 2016 Oleksandr Tymoshenko + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted

svn commit: r310636 - head/sys/arm/broadcom/bcm2835

2016-12-27 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Dec 27 19:08:08 2016 New Revision: 310636 URL: https://svnweb.freebsd.org/changeset/base/310636 Log: [rpi] Fix bcm2835_audio locking and samples starvation Rework general approach to locking and working with audio worker thread: - Use flags to signal requested w

svn commit: r310645 - in head/sys: conf dev/intel modules modules/intelspi

2016-12-27 Thread Oleksandr Tymoshenko
ev/intel/spi.cTue Dec 27 22:37:24 2016(r310645) @@ -0,0 +1,533 @@ +/*- + * Copyright (c) 2016 Oleksandr Tymoshenko + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following cond

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

2016-12-29 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Dec 29 21:55:23 2016 New Revision: 310791 URL: https://svnweb.freebsd.org/changeset/base/310791 Log: [qemu] Fix VERSATILEPB kernel boot in QEMU broken by r300968 QEMU does not implement hardware debug registers so when dbg_monitor_is_enabled is called kernel receiv

svn commit: r311303 - stable/11/sys/dev/iwn

2017-01-04 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Jan 4 19:22:42 2017 New Revision: 311303 URL: https://svnweb.freebsd.org/changeset/base/311303 Log: MFC r309822, r310375 r309822: [iwn] Perform BUS_DMASYNC_PREREAD when initializing RX buffer BUS_DMASYNC_PREREAD is required when setting up RX buffer, otherwis

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

2017-08-23 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Aug 24 02:08:52 2017 New Revision: 322827 URL: https://svnweb.freebsd.org/changeset/base/322827 Log: Add "xlnx,zynq-7000" to zedboard and zybo compatible property This property is required to boot CURRENT on zedboard and zybo PR: 221208 Submitted by:

svn commit: r315967 - head/sys/arm/broadcom/bcm2835

2017-03-25 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Mar 25 22:58:37 2017 New Revision: 315967 URL: https://svnweb.freebsd.org/changeset/base/315967 Log: [rpi] Use compatibility string from upstream DTB for I2C controller FreeBSD uses upstream DTB for RPi3 build and compatibility string for i2c device is different th

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

2017-03-30 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Mar 30 21:54:57 2017 New Revision: 316306 URL: https://svnweb.freebsd.org/changeset/base/316306 Log: [am335x] Fix HDMI suport for Beaglebone Black Fallback to Linux video interface bindings introduced in r313068 worked with then current DTS but that DTS turned out

svn commit: r316370 - in head/sys/arm: arm conf versatile

2017-04-01 Thread Oleksandr Tymoshenko
/sys/arm/arm/pl190.c == --- head/sys/arm/arm/pl190.cSat Apr 1 19:27:06 2017(r316369) +++ head/sys/arm/arm/pl190.cSat Apr 1 20:10:08 2017(r316370) @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2012 Oleksandr Tymoshenko + * Copyright (c)

svn commit: r316371 - head/sys/arm/versatile

2017-04-01 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Apr 1 20:38:12 2017 New Revision: 316371 URL: https://svnweb.freebsd.org/changeset/base/316371 Log: [versatilepb] Fix keyboard driver after switching to upstream DTS FreeBSD's DTS contained only one PL050 node and driver considered it to be PS/2 keyboard. In reali

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

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

svn commit: r312969 - head/sys/modules/dtb/am335x

2017-01-29 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun Jan 29 22:06:52 2017 New Revision: 312969 URL: https://svnweb.freebsd.org/changeset/base/312969 Log: [am335x] Fix DTB name in LINKS variable Fix apparent typo introduced by r312915, upstream DTBs are am335x-* not am3335x-* Modified: head/sys/modules/dtb/am335x/M

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

2017-02-01 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Feb 1 22:03:59 2017 New Revision: 313068 URL: https://svnweb.freebsd.org/changeset/base/313068 Log: [am335x] Fallback to standard video interface bindings when using Linux dts Historically AM335x LCDC driver used non-standard "hdmi" property to refer to HDMI frame

svn commit: r313183 - stable/11/sys/boot/arm/uboot

2017-02-03 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Feb 4 01:24:21 2017 New Revision: 313183 URL: https://svnweb.freebsd.org/changeset/base/313183 Log: MFC r310124 (by andrew): Add -fPIC to the ubldr build. Without this the self relocation code will try to use an absolute address in a switch statement, jumping to a

svn commit: r313712 - head/sys/dev/sdhci

2017-02-13 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Feb 14 00:04:36 2017 New Revision: 313712 URL: https://svnweb.freebsd.org/changeset/base/313712 Log: [sdhci_acpi] Add support for Bay Trail SDHC SD card slot Add ACPI device 80860F14 with _UID 3 to the list of known devices. It make SD card available on NUCs and Mi

svn commit: r313757 - head/sys/dev/atkbdc

2017-02-14 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Feb 15 02:52:43 2017 New Revision: 313757 URL: https://svnweb.freebsd.org/changeset/base/313757 Log: [psm] Fix calculation for clickpad softbuttons at the top On laptops like the ThinkPad X240, ClickPad buttons are located at the top. The hw.psm.synaptics.softbutto

svn commit: r325048 - head/sys/dev/usb/net

2017-10-27 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Oct 27 21:22:38 2017 New Revision: 325048 URL: https://svnweb.freebsd.org/changeset/base/325048 Log: Fix MAC address detection regression introduced by r324184 To accomodate all variaties of Pi DTS files floating around we look for MAC address property either in DT

svn commit: r314361 - stable/11/sys/dev/atkbdc

2017-02-27 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Feb 27 19:51:27 2017 New Revision: 314361 URL: https://svnweb.freebsd.org/changeset/base/314361 Log: MFC r313757: [psm] Fix calculation for clickpad softbuttons at the top On laptops like the ThinkPad X240, ClickPad buttons are located at the top. The hw.psm.s

svn commit: r314363 - in stable/11/sys: conf dev/intel modules modules/intelspi

2017-02-27 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Feb 27 20:50:21 2017 New Revision: 314363 URL: https://svnweb.freebsd.org/changeset/base/314363 Log: MFC r310645: [intelspi] Add SPI driver for Intel BayTrail SoC Add SPI mode (PIO-only) support for Intel Synchronous Serial Port that can be found in several In

svn commit: r314364 - stable/11/sys/dev/sdhci

2017-02-27 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Feb 27 22:53:25 2017 New Revision: 314364 URL: https://svnweb.freebsd.org/changeset/base/314364 Log: MFC r313712: [sdhci_acpi] Add support for Bay Trail SDHC SD card slot Add ACPI device 80860F14 with _UID 3 to the list of known devices. It make SD card availa

svn commit: r314535 - in head/sys/modules: bytgpio intelspi

2017-03-01 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Mar 2 03:19:39 2017 New Revision: 314535 URL: https://svnweb.freebsd.org/changeset/base/314535 Log: [intelspi][bytgio] Fix buildworld with MODULES_WITH_WORLD set Add opt_platform.h and opt_acpi.h to the dependencies so modules can be built as a part of buildworld

svn commit: r314569 - in stable/11/sys/modules: bytgpio intelspi

2017-03-02 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Mar 2 22:42:59 2017 New Revision: 314569 URL: https://svnweb.freebsd.org/changeset/base/314569 Log: MFC r314535: [intelspi][bytgio] Fix buildworld with MODULES_WITH_WORLD set Add opt_platform.h and opt_acpi.h to the dependencies so modules can be built as a p

svn commit: r314672 - head/sys/arm/broadcom/bcm2835

2017-03-04 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Mar 4 17:34:36 2017 New Revision: 314672 URL: https://svnweb.freebsd.org/changeset/base/314672 Log: [rpi] rpi3 should use the same cpufreq logic as rpi2, not rpi-b RPi3 cpufreq is more like that on RPi2. Setting arm frequency above min (say, "sysctl hw.cpufreq.arm

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

2017-03-08 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Mar 9 01:00:27 2017 New Revision: 314933 URL: https://svnweb.freebsd.org/changeset/base/314933 Log: [spigen] make spigen device ready to be compiled as a module - Add flag to indicate that device is opened by userland - Replace "always fail" detach method with pro

Re: svn commit: r314933 - head/sys/dev/spibus

2017-03-08 Thread Oleksandr Tymoshenko
Konstantin Belousov (kostik...@gmail.com) wrote: > On Thu, Mar 09, 2017 at 01:00:27AM +0000, Oleksandr Tymoshenko wrote: > > Author: gonzo > > Date: Thu Mar 9 01:00:27 2017 > > New Revision: 314933 > > URL: https://svnweb.freebsd.org/changeset/base/314933 > > &g

svn commit: r314934 - in head/sys/modules: . spigen

2017-03-08 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Mar 9 01:21:28 2017 New Revision: 314934 URL: https://svnweb.freebsd.org/changeset/base/314934 Log: [spigen] Add spigen module spigen provides userland API to SPI bus. Make it available as a loadable module so people using official ARM images can enabled it on dev

svn commit: r314985 - in vendor/dtc/dist: . Documentation libfdt scripts tests

2017-03-09 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Mar 10 03:28:43 2017 New Revision: 314985 URL: https://svnweb.freebsd.org/changeset/base/314985 Log: Import dtc 1.4.3 Obtained from: https://www.kernel.org/pub/software/utils/dtc/dtc-1.4.3.tar.gz Added: vendor/dtc/dist/Documentation/dt-object-internal.txt (cont

svn commit: r314986 - vendor/dtc/1.4.3

2017-03-09 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Mar 10 03:31:29 2017 New Revision: 314986 URL: https://svnweb.freebsd.org/changeset/base/314986 Log: Tag dtc 1.4.3 post import Added: vendor/dtc/1.4.3/ - copied from r314985, vendor/dtc/dist/ ___ svn-src-all@freebsd.org

svn commit: r315009 - in head/contrib/dtc: . Documentation libfdt scripts

2017-03-10 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Mar 10 17:36:05 2017 New Revision: 315009 URL: https://svnweb.freebsd.org/changeset/base/315009 Log: Merge from vendor branch importing dtc 1.4.3 Major new feature in this import is FDT overlay support Added: head/contrib/dtc/Documentation/dt-object-internal.txt

svn commit: r315010 - head/gnu/usr.bin/dtc

2017-03-10 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Mar 10 17:37:55 2017 New Revision: 315010 URL: https://svnweb.freebsd.org/changeset/base/315010 Log: [dtc] regenerate version file if upstream Makefile has been changed Keep version file in sync by adding dependency to upstream Makefile Modified: head/gnu/usr.bin/

svn commit: r315019 - head/sys/boot/fdt

2017-03-10 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Mar 10 19:15:57 2017 New Revision: 315019 URL: https://svnweb.freebsd.org/changeset/base/315019 Log: [loader][fdt] Fix applying overlays without __local_fixups__ node Do not return error if __local_fixups__ node is missing in DTB overlay because local fixup data is

svn commit: r315031 - head/sys/tools/fdt

2017-03-10 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Mar 10 22:45:07 2017 New Revision: 315031 URL: https://svnweb.freebsd.org/changeset/base/315031 Log: [fdt] Make DTBs generated by make_dtb.sh overlay-ready Generate symbols node when compiling dts files so they can be modified during boot-time by applying overlays.

svn commit: r315176 - head/sys/dev/evdev

2017-03-12 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun Mar 12 19:26:24 2017 New Revision: 315176 URL: https://svnweb.freebsd.org/changeset/base/315176 Log: [evdev] Do not ignore result evdev_register in UI_DEV_CREATE handler Make sure that uinput state field reflects actual state by checking evdev_register result for e

svn commit: r315177 - head/sys/dev/evdev

2017-03-12 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun Mar 12 19:27:44 2017 New Revision: 315177 URL: https://svnweb.freebsd.org/changeset/base/315177 Log: [evdev] Fix race condition between client's event queue reading and dropping Submitted by: Vladimir Kondratiev MFC after:1 week Differential Revision:

svn commit: r315178 - head/sys/dev/evdev

2017-03-12 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun Mar 12 19:28:44 2017 New Revision: 315178 URL: https://svnweb.freebsd.org/changeset/base/315178 Log: [evdev] Fix Right Alt and Keypad Enter event codes for atkbd(4) and kbdmux(4) drivers Submitted by: Vladimir Kondratiev MFC after:1 week Differential Revisi

svn commit: r317625 - svnadmin/conf

2017-04-30 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon May 1 01:54:03 2017 New Revision: 317625 URL: https://svnweb.freebsd.org/changeset/base/317625 Log: Welcome Vladimir Kondratyev (wulf) as a new src committer. Vladimir did great job on improving and finishing jceel's evdev driver, contributed Elantech trackpad sup

svn commit: r317970 - stable/11/sys/contrib/vchiq/interface/vchiq_arm

2017-05-08 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon May 8 19:22:59 2017 New Revision: 317970 URL: https://svnweb.freebsd.org/changeset/base/317970 Log: MFC r310560: [vchi] replace non-reproducible __DATE__/__TIME__ with hardcoded string Although vchiq_build_date and vchiq_build_time are not used in current vch

svn commit: r317974 - stable/11/sys/arm/broadcom/bcm2835

2017-05-08 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon May 8 19:57:15 2017 New Revision: 317974 URL: https://svnweb.freebsd.org/changeset/base/317974 Log: MFC r308424, r310636 r308424: Fix locking in bcm2835_audio driver - Move all VCHI activity to worker thread: channel methods are called with non-sleepabl

svn commit: r317976 - stable/11/sys/arm/arm

2017-05-08 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon May 8 20:09:23 2017 New Revision: 317976 URL: https://svnweb.freebsd.org/changeset/base/317976 Log: MFC r310791: [qemu] Fix VERSATILEPB kernel boot in QEMU broken by r300968 QEMU does not implement hardware debug registers so when dbg_monitor_is_enabled is ca

svn commit: r317989 - stable/11/sys/dev/evdev

2017-05-08 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon May 8 22:35:15 2017 New Revision: 317989 URL: https://svnweb.freebsd.org/changeset/base/317989 Log: MFC r315176-r315178 r315176: [evdev] Do not ignore result evdev_register in UI_DEV_CREATE handler Make sure that uinput state field reflects actual state by ch

svn commit: r317993 - stable/11/gnu/usr.bin/dtc

2017-05-08 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon May 8 23:57:54 2017 New Revision: 317993 URL: https://svnweb.freebsd.org/changeset/base/317993 Log: MFC r315010: [dtc] regenerate version file if upstream Makefile has been changed Keep version file in sync by adding dependency to upstream Makefile Modified:

svn commit: r317994 - stable/11/sys/boot/fdt

2017-05-08 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue May 9 00:29:29 2017 New Revision: 317994 URL: https://svnweb.freebsd.org/changeset/base/317994 Log: MFC r315019: [loader][fdt] Fix applying overlays without __local_fixups__ node Do not return error if __local_fixups__ node is missing in DTB overlay because l

svn commit: r318093 - stable/11/usr.bin/dtc

2017-05-09 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue May 9 18:46:49 2017 New Revision: 318093 URL: https://svnweb.freebsd.org/changeset/base/318093 Log: MFC r306806, r313709, r317058, r317060 r306806 by emaste: Improvements to BSD-licensed DTC. - Numerous crash and bug fixes - Improved warning and error messa

svn commit: r318102 - in stable/11/contrib/dtc: . Documentation libfdt scripts

2017-05-09 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue May 9 19:54:33 2017 New Revision: 318102 URL: https://svnweb.freebsd.org/changeset/base/318102 Log: MFC r315009: Merge from vendor branch importing dtc 1.4.3 Major new feature in this import is FDT overlay support Added: stable/11/contrib/dtc/Documentation/d

svn commit: r318118 - stable/11/sys/arm/freescale/imx

2017-05-09 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue May 9 21:25:49 2017 New Revision: 318118 URL: https://svnweb.freebsd.org/changeset/base/318118 Log: MFC r310343-r310344 r310343: [iMX6] Fix build for SSI driver and add dependency for SDMA driver - Pass correct pointer to OF_getencprop - Check the size of "

svn commit: r318196 - stable/11/sys/tools/fdt

2017-05-11 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu May 11 20:30:44 2017 New Revision: 318196 URL: https://svnweb.freebsd.org/changeset/base/318196 Log: MFC r315031: [fdt] Make DTBs generated by make_dtb.sh overlay-ready Generate symbols node when compiling dts files so they can be modified during boot-time by

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

2017-06-26 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Jun 26 21:45:33 2017 New Revision: 320387 URL: https://svnweb.freebsd.org/changeset/base/320387 Log: [arm] Use correct index value when checking range validity Reviewed by: andrew MFC after:3 weeks Differential Revision:https://reviews.freebsd.org/D9

svn commit: r286815 - head/sys/boot/uboot/fdt

2015-08-15 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Aug 15 21:47:07 2015 New Revision: 286815 URL: https://svnweb.freebsd.org/changeset/base/286815 Log: Make dtb file configurable via loader(8) variable. ubldr already checks "fdt_file" and "fdtfile" U-Boot variables. Add one more check for "fdt_file" loader(8) variable

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

2015-09-02 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Sep 3 02:28:18 2015 New Revision: 287419 URL: https://svnweb.freebsd.org/changeset/base/287419 Log: Enable both i2c1 and i2c2. These devices are disabled in TI's DTS so they were disabled during DTS transition. Though there are no standard devices/drivers on them peo

svn commit: r283503 - in head/sys: arm/ti/am335x dev/fdt dev/ofw

2015-05-24 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun May 24 23:53:10 2015 New Revision: 283503 URL: https://svnweb.freebsd.org/changeset/base/283503 Log: Rename fdt_find_child to ofw_bus_find_child. There is nothing FDT-specific in this function. Suggested by: andrew@ Modified: head/sys/arm/ti/am335x/am335x_lcd.c

svn commit: r283579 - head/sys/boot/uboot/lib

2015-05-26 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue May 26 20:32:14 2015 New Revision: 283579 URL: https://svnweb.freebsd.org/changeset/base/283579 Log: Print error message if autoload fails due to missing DTB blob, otherwise ubldr just falls back to loader prompt with no apparent reason Modified: head/sys/boot/uboot/

svn commit: r284532 - in head/sys/arm/ti: . am335x omap4

2015-06-17 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Jun 17 23:26:00 2015 New Revision: 284532 URL: https://svnweb.freebsd.org/changeset/base/284532 Log: - Add clk_set_source_freq field to struct ti_clock_dev so clock device consumers can configure clock frequency - Add ti_prcm_clk_set_source_freq wrapper for clk_set

svn commit: r284533 - head/sys/dev/videomode

2015-06-17 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Jun 18 00:22:14 2015 New Revision: 284533 URL: https://svnweb.freebsd.org/changeset/base/284533 Log: Add hskew field to struct videomode. It is required by some controllers that are not 100% VESA-compatible (e.g. TDA19988 HDMI framer) Modified: head/sys/dev/videomode

svn commit: r284534 - in head/sys: arm/conf arm/ti/am335x boot/fdt/dts/arm

2015-06-17 Thread Oleksandr Tymoshenko
un 18 00:57:52 2015 (r284534) @@ -29,6 +29,7 @@ #define __AM335X_LCD_H__ struct panel_info { + /* Timing part */ uint32_t panel_width; uint32_t panel_height; uint32_t panel_hfp; @@ -37,16 +38,17 @@ struct panel_info { uint32_t panel_vfp; uint3

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

2015-06-18 Thread Oleksandr Tymoshenko
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm/ti/am335x/tda19988.c Thu Jun 18 16:51:49 2015 (r284562) @@ -0,0 +1,810 @@ +/*- + * Copyright (c) 2015 Oleksandr Tymoshenko + * All

svn commit: r292483 - head/sys/arm/broadcom/bcm2835

2015-12-19 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun Dec 20 00:58:22 2015 New Revision: 292483 URL: https://svnweb.freebsd.org/changeset/base/292483 Log: Add dev.fb.X.resync sysctl to resync ARM framebuffer with VideoCore Some applications (e.g. Kodi) use tvservice APIs to manage HDMI modes, power state, EDID etc. di

svn commit: r292565 - head/sys/arm/freescale/imx

2015-12-21 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Dec 21 20:17:24 2015 New Revision: 292565 URL: https://svnweb.freebsd.org/changeset/base/292565 Log: Add CCM functions to enable HDMI framer and IPU units (video controller) Reviewed by: andrew, ian Differential Revision:https://reviews.freebsd.org/D4168

svn commit: r292571 - in head/sys/arm: conf freescale/imx

2015-12-21 Thread Oleksandr Tymoshenko
Dec 21 21:40:15 2015 (r292571) @@ -0,0 +1,768 @@ +/*- + * Copyright (c) 2015 Oleksandr Tymoshenko + * 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

svn commit: r292574 - in head/sys/arm: conf freescale/imx

2015-12-21 Thread Oleksandr Tymoshenko
newly added) +++ head/sys/arm/freescale/imx/imx6_ipu.c Mon Dec 21 22:25:35 2015 (r292574) @@ -0,0 +1,1203 @@ +/*- + * Copyright 2015 Oleksandr Tymoshenko + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted

svn commit: r296016 - svnadmin/conf

2016-02-24 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Feb 25 00:37:51 2016 New Revision: 296016 URL: https://svnweb.freebsd.org/changeset/base/296016 Log: Welcome Jared McNeill (jmcneill) as a new src committer. He will be working on FreeBSD/arm project, improving support for ARM SoCs and adding new ones to the supported

svn commit: r296163 - head/sys/arm/broadcom/bcm2835

2016-02-28 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun Feb 28 19:39:00 2016 New Revision: 296163 URL: https://svnweb.freebsd.org/changeset/base/296163 Log: Fix typo in device description Spotted by: jmcneill Modified: head/sys/arm/broadcom/bcm2835/bcm2835_audio.c Modified: head/sys/arm/broadcom/bcm2835/bcm2835_audio.

svn commit: r311342 - stable/11/sys/dev/spibus

2017-01-04 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Jan 5 00:26:57 2017 New Revision: 311342 URL: https://svnweb.freebsd.org/changeset/base/311342 Log: MFC r310170, r310492 r310170: [spigen] Make "data" part of spigen_transfer optional Make st_data part of spigen_transfer optional by letting pass zero length

svn commit: r311564 - stable/11/sys/arm/freescale/imx

2017-01-06 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Jan 6 22:46:02 2017 New Revision: 311564 URL: https://svnweb.freebsd.org/changeset/base/311564 Log: MFC r30, r310012 r30: [iMX6] Fix platform compatibility string for i.MX6 Dual i.MX6 Dual boot was broken since r308533 because ofw_bus_node_is_compatib

svn commit: r311571 - stable/11/sys/dev/evdev

2017-01-06 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Jan 7 00:18:51 2017 New Revision: 311571 URL: https://svnweb.freebsd.org/changeset/base/311571 Log: MFC r310612: [evdev] Fix build for older versions of clang There was report of stable/11 build failure on older versions of FreeBSD. The problem was a referenc

svn commit: r311809 - in stable/11/sys: conf dev/ichiic modules/i2c/controllers/ichiic

2017-01-09 Thread Oleksandr Tymoshenko
of r310621, head/sys/dev/ichiic/ig4_acpi.c) @@ -0,0 +1,166 @@ +/*- + * Copyright (c) 2016 Oleksandr Tymoshenko + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met

svn commit: r311888 - head/sys/boot/efi/loader/arch/arm

2017-01-10 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Jan 10 20:08:21 2017 New Revision: 311888 URL: https://svnweb.freebsd.org/changeset/base/311888 Log: [efi] Fix off-by-one error in ARM .bss zeroing code in loader's _start __bss_end should not be included in .bss zeroing code. Otherwise first 4 bytes of the section

svn commit: r311890 - head/sys/boot/efi/loader/arch/arm

2017-01-10 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Jan 10 20:12:07 2017 New Revision: 311890 URL: https://svnweb.freebsd.org/changeset/base/311890 Log: [efi] Fix .rel.data.* being erroneously merged into .data on ARM Fix section pattern code to exclude .rel.data.* sections from being merged into .data. Otherwise re

svn commit: r311891 - head/sys/boot/efi

2017-01-10 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Jan 10 20:15:24 2017 New Revision: 311891 URL: https://svnweb.freebsd.org/changeset/base/311891 Log: [efi] Build EFI bits with -fPIC on ARM clang 3.9.0 without -fPIC generates absolute jump table for switch/case statement which trips boot1.efi and loader.efi on A

svn commit: r311911 - in head/sys: conf dev/sdhci modules modules/sdhci_acpi

2017-01-10 Thread Oleksandr Tymoshenko
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/dev/sdhci/sdhci_acpi.c Wed Jan 11 01:53:54 2017 (r311911) @@ -0,0 +1,370 @@ +/*- + * Copyright (c) 2017 Oleksandr Tymoshenko + * All rights reserved. + * + * Redistribution and use in source and

<    3   4   5   6   7   8   9   >