/bytgpio.c
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/dev/gpio/bytgpio.c Fri Nov 4 16:24:38 2016(r308295)
@@ -0,0 +1,435 @@
+/*-
+ * Copyright (c) 2016 Oleksandr Tymoshenko <
Author: gonzo
Date: Thu Nov 3 00:56:59 2016
New Revision: 308240
URL: https://svnweb.freebsd.org/changeset/base/308240
Log:
[evdev] Add evdev support to atkbd(4) driver
To enable event sourcing from atkbd kern.evdev.rcpt_mask value
should have bit 3 set.
Submitted by: Vladimir
Author: gonzo
Date: Wed Nov 2 01:27:20 2016
New Revision: 308189
URL: https://svnweb.freebsd.org/changeset/base/308189
Log:
[psm] Fix choosing wrong mode for synaptic device + trackpoint
With guest trackpoint present trackpoint probing switched synaptics
device to absolute mode with
Author: gonzo
Date: Sat Oct 22 22:55:10 2016
New Revision: 307805
URL: https://svnweb.freebsd.org/changeset/base/307805
Log:
EVDEV: ums evdev support improvements: locking and event reporting
- Use ums lock as evdev lock
- Do not cap axes values to sysmouse limits for evdev reports
-
Author: gonzo
Date: Sat Oct 22 22:52:50 2016
New Revision: 307804
URL: https://svnweb.freebsd.org/changeset/base/307804
Log:
EVDEV: Add shortcut functions for event types
Add wrappers around generic evdev_push_event for specific event types:
EV_KEY/EV_REL/EV_ABS etc...
Submitted by:
Author: gonzo
Date: Wed Oct 19 02:03:30 2016
New Revision: 307593
URL: https://svnweb.freebsd.org/changeset/base/307593
Log:
Move SOC_BRCM_BCM2837 to GENERIC-UP since does not support SMP
Modified:
head/sys/arm64/conf/GENERIC
head/sys/arm64/conf/GENERIC-UP
Modified:
Author: gonzo
Date: Wed Oct 19 02:02:21 2016
New Revision: 307592
URL: https://svnweb.freebsd.org/changeset/base/307592
Log:
bcm2835_bsc.c should be compiled only if SOC_BRCM_BCM2837 is enabled
Modified:
head/sys/conf/files.arm64
Modified: head/sys/conf/files.arm64
Author: gonzo
Date: Tue Oct 18 23:48:47 2016
New Revision: 307586
URL: https://svnweb.freebsd.org/changeset/base/307586
Log:
Retire RPI3 kernel config in favour of GENERIC-UP
Policy for FreeBSD/arm64 kernel config is the same one as for x86
architectures: provide GENERIC kernel bootable
Author: gonzo
Date: Fri Oct 14 22:23:03 2016
New Revision: 307335
URL: https://svnweb.freebsd.org/changeset/base/307335
Log:
Make BRCM2837 port conform FreeBSD/ARM64 guidelines
- Rename SOC_BCM2837 to SOC_BRCM_BCM2837, put it to opt_soc.h
- do not use files.XXX files, just move required
Author: gonzo
Date: Fri Oct 14 17:40:48 2016
New Revision: 307328
URL: https://svnweb.freebsd.org/changeset/base/307328
Log:
Remove redundant kern_clocksource.c. It is already in conf/files.arm64
Reported by: andrew
Modified:
head/sys/arm64/broadcom/bcm2837/files.bcm2837
Modified:
> On Oct 14, 2016, at 1:37 AM, Andrew Turner <and...@fubar.geek.nz> wrote:
>
> On Fri, 14 Oct 2016 03:00:53 + (UTC)
> Oleksandr Tymoshenko <go...@freebsd.org> wrote:
>
>> Author: gonzo
>> Date: Fri Oct 14 03:00:53 2016
>> New Revision: 307252
> On Oct 14, 2016, at 1:31 AM, Andrew Turner <and...@fubar.geek.nz> wrote:
>
> On Fri, 14 Oct 2016 03:37:36 + (UTC)
> Oleksandr Tymoshenko <go...@freebsd.org <mailto:go...@freebsd.org>> wrote:
>
>> Author: gonzo
>> Date: Fri Oct 14 03:37:
Author: gonzo
Date: Fri Oct 14 03:37:35 2016
New Revision: 307257
URL: https://svnweb.freebsd.org/changeset/base/307257
Log:
Add initial Raspberry Pi 3 support
RPI3 kernel config builds kernel compatible with latest upstream device
tree and firmware:
Author: gonzo
Date: Fri Oct 14 03:00:53 2016
New Revision: 307252
URL: https://svnweb.freebsd.org/changeset/base/307252
Log:
Make bcm2835_machdep.c optional
bcm2835_machdep.c contains only bits enabled by "options PLATFORM", this
option available only on ARM, not ARM64
Modified:
Author: gonzo
Date: Fri Oct 14 01:23:21 2016
New Revision: 307241
URL: https://svnweb.freebsd.org/changeset/base/307241
Log:
Do not set FB_FLAG_MEMATTR if VM_MEMATTR_WRITE_COMBINING is not available
Pintyhat to: gonzo
Spotted by: jmallett
Modified:
Author: gonzo
Date: Fri Oct 14 00:42:08 2016
New Revision: 307240
URL: https://svnweb.freebsd.org/changeset/base/307240
Log:
Fix BCM238x framebuffer driver build for ARM64
VM_MEMATTR_WRITE_COMBINING can be undefined for some platforms, use it only
if it's defined
Modified:
Author: gonzo
Date: Thu Oct 13 23:29:24 2016
New Revision: 307239
URL: https://svnweb.freebsd.org/changeset/base/307239
Log:
Fix BCM283x(Raspberry Pi) SDHCI driver for ARM64 build
- Revert BUS_SPACE_PHYSADDR back to rman_get_start. BUS_SPACE_PHYSADDR was
introduced in 2013 as
Author: gonzo
Date: Wed Oct 12 19:53:10 2016
New Revision: 307154
URL: https://svnweb.freebsd.org/changeset/base/307154
Log:
[fdt] Add one more heuristic to determine MAC address of the SMSC device
- If check for net,ethernet/usb,device compatible node fails, try to find
Author: gonzo
Date: Wed Oct 12 17:10:59 2016
New Revision: 307151
URL: https://svnweb.freebsd.org/changeset/base/307151
Log:
INTRNG: Propagate IRQ activation error to API consumer
Keep resource state consistent with INTRNG state - if intr_activate_irq
fails - deactivate resource and
Author: gonzo
Date: Wed Oct 12 05:35:57 2016
New Revision: 307115
URL: https://svnweb.freebsd.org/changeset/base/307115
Log:
Fix typo in comment
Spotted by: loos
Modified:
head/sys/arm/broadcom/bcm2835/bcm2835_gpio.c
Modified: head/sys/arm/broadcom/bcm2835/bcm2835_gpio.c
Author: gonzo
Date: Wed Oct 12 03:36:46 2016
New Revision: 307098
URL: https://svnweb.freebsd.org/changeset/base/307098
Log:
Make BCM28x USB driver compatible with upstream device tree
This should have been committed in r307093: resource allocation depends
on source of the device tree.
Author: gonzo
Date: Wed Oct 12 03:08:58 2016
New Revision: 307095
URL: https://svnweb.freebsd.org/changeset/base/307095
Log:
Make VCHI driver compatible with upstream DT
- Add compatibility string
- Compensate difference in base address between our custom DTB and upstream
one
Modified:
Author: gonzo
Date: Wed Oct 12 03:07:49 2016
New Revision: 307093
URL: https://svnweb.freebsd.org/changeset/base/307093
Log:
Make BCM283x USB driver compatible with upstream DT
- Make resource allocation logic depend on compatibility string
to check what format of DTS node should be
Author: gonzo
Date: Wed Oct 12 03:06:05 2016
New Revision: 307092
URL: https://svnweb.freebsd.org/changeset/base/307092
Log:
Make BCM2835 GPIO driver compatible with upstream DT
- Add compatibility string
- Make reserverd and read-only properties optional
Modified:
Author: gonzo
Date: Wed Oct 12 03:03:55 2016
New Revision: 307091
URL: https://svnweb.freebsd.org/changeset/base/307091
Log:
Add compatibility string from upstream DT
Modified:
head/sys/arm/broadcom/bcm2835/bcm2835_mbox.c
Modified: head/sys/arm/broadcom/bcm2835/bcm2835_mbox.c
Author: gonzo
Date: Wed Oct 12 03:03:05 2016
New Revision: 307089
URL: https://svnweb.freebsd.org/changeset/base/307089
Log:
Make framebuffer driver compatible with upstream DT
- Add compatibility string
- Add simplebus as possible parent bus
Modified:
Author: gonzo
Date: Wed Oct 12 03:00:42 2016
New Revision: 307088
URL: https://svnweb.freebsd.org/changeset/base/307088
Log:
Add compatible strings used in upstream dts files
Modified:
head/sys/arm/broadcom/bcm2835/bcm2835_bsc.c
head/sys/arm/broadcom/bcm2835/bcm2835_dma.c
Author: gonzo
Date: Wed Oct 12 02:58:27 2016
New Revision: 307087
URL: https://svnweb.freebsd.org/changeset/base/307087
Log:
Make sure intc is attached before interrupt consumers
If pass order is not specified devices are attached in the order they are
defined in dts. Some interrupt
Author: gonzo
Date: Tue Oct 11 21:40:15 2016
New Revision: 307068
URL: https://svnweb.freebsd.org/changeset/base/307068
Log:
Make Rapsberry Pi watchdog driver compatible with upstream DTS
- Fix compatibility strings
- Compensate the difference in base address for our custom DTS and
Author: gonzo
Date: Tue Oct 11 21:37:34 2016
New Revision: 307067
URL: https://svnweb.freebsd.org/changeset/base/307067
Log:
Make intc driver compatible with upstream DTS
- Fix compatibility strings
- Properly decode upstream's two-cell interrupt specs. Our home-made dts
does not
Author: gonzo
Date: Tue Oct 11 17:00:29 2016
New Revision: 307059
URL: https://svnweb.freebsd.org/changeset/base/307059
Log:
INTRNG - fix MSI/MSIX release path
Use isrc in attached MSI data structure instead of using map's
isrc directly. map's isrc is set to NULL on IRQ deactivation
Author: gonzo
Date: Sun Oct 9 04:37:21 2016
New Revision: 306899
URL: https://svnweb.freebsd.org/changeset/base/306899
Log:
Fix release MSI method for ARM GIC
Modified:
head/sys/arm/arm/gic.c
Modified: head/sys/arm/arm/gic.c
Author: gonzo
Date: Sun Oct 9 04:36:40 2016
New Revision: 306898
URL: https://svnweb.freebsd.org/changeset/base/306898
Log:
Fix release MSI method for NVidia Tegra PCI controller
Modified:
head/sys/arm/nvidia/tegra_pcie.c
Modified: head/sys/arm/nvidia/tegra_pcie.c
Author: gonzo
Date: Sun Oct 9 04:29:42 2016
New Revision: 306897
URL: https://svnweb.freebsd.org/changeset/base/306897
Log:
Fix MSI allocation for NVidia Tegra
- Fix range check
- Due to checking found value in for(;;) condition irq after loop was
always + 1 from actually found
Author: gonzo
Date: Sat Oct 8 18:19:52 2016
New Revision: 306860
URL: https://svnweb.freebsd.org/changeset/base/306860
Log:
Add multitouch support for RPi's FT5406
- Add multitouch support (protocol B)
- Report physical size of the screen
- Switch from using busy loop to callbacks
-
Author: gonzo
Date: Sat Oct 8 17:59:53 2016
New Revision: 306857
URL: https://svnweb.freebsd.org/changeset/base/306857
Log:
Implement EVDEV_FLAG_MT_AUTOREL flag (autorelease touchpoints)
Automaticaly release (send ABS_MT_TRACKING_ID = -1) MT-slots
that has not been listed in current MT
Author: gonzo
Date: Sat Oct 8 17:58:26 2016
New Revision: 306855
URL: https://svnweb.freebsd.org/changeset/base/306855
Log:
Allow using of driver's mutex instead internal one for evdev locking.
Add new API call: evdev_register_mtx which takes lock argument that
should be used instead of
Author: gonzo
Date: Thu Oct 6 01:01:00 2016
New Revision: 306746
URL: https://svnweb.freebsd.org/changeset/base/306746
Log:
Fix extended buttons support on synaptic clickpad
Fix regression introduced by r306355 on synaptic clickpads with
extended buttons (buttons stopped working)
Author: gonzo
Date: Mon Oct 3 19:34:32 2016
New Revision: 306653
URL: https://svnweb.freebsd.org/changeset/base/306653
Log:
Add Tegra TK1 DTBs to GENERIC kernel
Approved by: andrew
Modified:
head/sys/arm/conf/GENERIC
Modified: head/sys/arm/conf/GENERIC
Author: gonzo
Date: Mon Oct 3 17:20:34 2016
New Revision: 306647
URL: https://svnweb.freebsd.org/changeset/base/306647
Log:
const-ify struct evdev_methods
Submitted by: Vladimir Kondratiev
Suggested by: hselasky
Modified:
head/sys/dev/evdev/evdev.c
Andrew Turner (and...@freebsd.org) wrote:
> Author: andrew
> Date: Fri Sep 30 10:20:53 2016
> New Revision: 306490
> URL: https://svnweb.freebsd.org/changeset/base/306490
>
> Log:
> Add support for Tegra to the armv6 GENERIC kernel.
>
> Reviewed by:imp, mmel
> Sponsored by:
Author: gonzo
Date: Mon Oct 3 01:08:34 2016
New Revision: 306619
URL: https://svnweb.freebsd.org/changeset/base/306619
Log:
Add rpi_ft5406 module and add it to extra modules in Raspberry Pi configs
Added:
head/sys/modules/rpi_ft5406/
head/sys/modules/rpi_ft5406/Makefile (contents, props
Author: gonzo
Date: Mon Oct 3 01:07:06 2016
New Revision: 306618
URL: https://svnweb.freebsd.org/changeset/base/306618
Log:
Fix attach/detach methods
- Initialize lock before starting worker process
- Do not hold lock when destroying evdev. By that time ther should be no
other
Author: gonzo
Date: Sun Oct 2 03:20:31 2016
New Revision: 306579
URL: https://svnweb.freebsd.org/changeset/base/306579
Log:
Modularize evdev
- Convert "options EVDEV" to "device evdev" and "device uinput", add
modules for both new devices. They are isolated subsystems and do not
Author: gonzo
Date: Sun Oct 2 03:06:58 2016
New Revision: 306578
URL: https://svnweb.freebsd.org/changeset/base/306578
Log:
Fix gcc compilation error
input_absinfo.code is unsigned so condition is always false
Modified:
head/sys/dev/evdev/uinput.c
Modified: head/sys/dev/evdev/uinput.c
Author: gonzo
Date: Sat Oct 1 17:43:02 2016
New Revision: 306555
URL: https://svnweb.freebsd.org/changeset/base/306555
Log:
Provide way for framebuffer driver to request mmap(2) mapping type
On ARM if memattr is not overriden mmap(2) maps framebuffer
memory as WBWA which means part of
Author: gonzo
Date: Sat Oct 1 17:48:41 2016
New Revision: 306556
URL: https://svnweb.freebsd.org/changeset/base/306556
Log:
Bump _FreeBSD_version after adding fb_memattr field to fb_info in r306555
Modified:
head/sys/sys/param.h
Modified: head/sys/sys/param.h
Author: gonzo
Date: Sat Oct 1 17:57:32 2016
New Revision: 306557
URL: https://svnweb.freebsd.org/changeset/base/306557
Log:
Use VM_MEMATTR_WRITE_COMBINING memattr for mmap(2) on framebuffer
VM_MEMATTR_WRITE_COMBINING sets write-through cache flag for framebuffer
memory that prevents
Author: gonzo
Date: Fri Sep 30 21:14:42 2016
New Revision: 306532
URL: https://svnweb.freebsd.org/changeset/base/306532
Log:
Add dependency to evdev module
Modified:
head/sys/arm/broadcom/bcm2835/bcm2835_ft5406.c
Modified: head/sys/arm/broadcom/bcm2835/bcm2835_ft5406.c
Author: gonzo
Date: Fri Sep 30 21:13:19 2016
New Revision: 306531
URL: https://svnweb.freebsd.org/changeset/base/306531
Log:
Add dependency to evdev module (if required)
Modified:
head/sys/arm/ti/ti_adc.c
Modified: head/sys/arm/ti/ti_adc.c
Author: gonzo
Date: Fri Sep 30 21:04:56 2016
New Revision: 306530
URL: https://svnweb.freebsd.org/changeset/base/306530
Log:
Declare a module for evdev and add dependency to ukbd(4) and ums(4)
Prepare for making evdev a module. "Pure" evdev device drivers (like
touchscreen) and evdev
> On Sep 27, 2016, at 1:55 PM, John Baldwin <j...@freebsd.org> wrote:
>
> On Monday, September 26, 2016 10:06:19 PM Oleksandr Tymoshenko wrote:
>> Author: gonzo
>> Date: Mon Sep 26 22:06:19 2016
>> New Revision: 306355
>> URL: https://svnweb.freebsd.org/ch
Author: gonzo
Date: Fri Sep 30 03:03:42 2016
New Revision: 306474
URL: https://svnweb.freebsd.org/changeset/base/306474
Log:
Replace explicit TUNABLE_INT to sysctl with CTLFLAG_TUN
- Replace tunables-only hw.psm.synaptics_support, hw.psm.trackpoint_support,
and
Author: gonzo
Date: Thu Sep 29 22:01:09 2016
New Revision: 306460
URL: https://svnweb.freebsd.org/changeset/base/306460
Log:
Add dtb module for Jetson-TK1 board
Added:
head/sys/modules/dtb/nvidia/
head/sys/modules/dtb/nvidia/Makefile (contents, props changed)
Added:
06430)
@@ -0,0 +1,337 @@
+/*-
+ * Copyright (C) 2016 Oleksandr Tymoshenko <go...@freebsd.org>
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redi
Author: gonzo
Date: Mon Sep 26 22:08:35 2016
New Revision: 306357
URL: https://svnweb.freebsd.org/changeset/base/306357
Log:
Document hw.psm.elantech_support in psm(4)
PR: 205690
Submitted by: Vladimir Kondratyev
MFC after: 1 week
Modified:
Author: gonzo
Date: Mon Sep 26 22:07:45 2016
New Revision: 306356
URL: https://svnweb.freebsd.org/changeset/base/306356
Log:
Add Elantech trackpad to the list of known models
PR: 205690
Submitted by: Vladimir Kondratyev
MFC after: 1 week
Modified:
Author: gonzo
Date: Mon Sep 26 22:06:19 2016
New Revision: 306355
URL: https://svnweb.freebsd.org/changeset/base/306355
Log:
Add Elantech trackpad support
Elantech trackpads are found in some laptops like the Asus UX31E. They
are "synaptics compatible" but use a slightly different
Author: gonzo
Date: Sun Sep 25 23:48:15 2016
New Revision: 306328
URL: https://svnweb.freebsd.org/changeset/base/306328
Log:
Update PCI driver to match new dts tree
In new dts tree phy is a property of port, not the controller node, also
the name was changed from "pcie" to "pcie-0"
Author: gonzo
Date: Sun Sep 25 23:45:49 2016
New Revision: 306327
URL: https://svnweb.freebsd.org/changeset/base/306327
Log:
Update AHCI driver to match new dts tree
phy name parameter was changed from "sata-phy" to "sata-0" in new dts tree
introduced in r306197
Modified:
Author: gonzo
Date: Fri Sep 23 18:55:32 2016
New Revision: 306275
URL: https://svnweb.freebsd.org/changeset/base/306275
Log:
Do not perform extra check for NULL, evdev_free can handle NULL value
Submitted by: Vladimir Kondratiev
Modified:
head/sys/dev/usb/input/ukbd.c
Author: gonzo
Date: Fri Sep 23 18:54:08 2016
New Revision: 306274
URL: https://svnweb.freebsd.org/changeset/base/306274
Log:
Handle NULL argument in evdev_free
Add check for evdev argument of evdev_free being NULL. This is valid
value and should not cause crash. In this case evdev_free
Author: gonzo
Date: Wed Sep 21 18:52:03 2016
New Revision: 306134
URL: https://svnweb.freebsd.org/changeset/base/306134
Log:
Add evdev support to ums(4)
event generation is disabled by default in favour of sysmouse. This
behavoiur is controlled by kern.evdev.rcpt_mask sysctl, bit 2
Author: gonzo
Date: Wed Sep 21 18:47:21 2016
New Revision: 306132
URL: https://svnweb.freebsd.org/changeset/base/306132
Log:
Add evdev support to ukbd driver
event generation is disabled by default in favour of kbdmux. This
behavoiur is controlled by kern.evdev.rcpt_mask sysctl, bit 3
Author: gonzo
Date: Mon Sep 12 17:29:20 2016
New Revision: 305749
URL: https://svnweb.freebsd.org/changeset/base/305749
Log:
Remove semicolon from the end of the macro definition
Reported by: hans
Modified:
head/sys/dev/evdev/cdev.c
head/sys/dev/evdev/uinput.c
Modified:
Author: gonzo
Date: Mon Sep 12 01:18:25 2016
New Revision: 305719
URL: https://svnweb.freebsd.org/changeset/base/305719
Log:
Cleanup evdev support for TI ADC/TS
- evdev_set_methods call is not required if actual methods are no-ops
- evdev_set_serial is also optional if there is no
> On Sep 11, 2016, at 11:56 AM, Oleksandr Tymoshenko <go...@freebsd.org> wrote:
>
> Author: gonzo
> Date: Sun Sep 11 18:56:38 2016
> New Revision: 305706
> URL: https://svnweb.freebsd.org/changeset/base/305706
>
> Log:
> Add evdev protocol implementation
>
Author: gonzo
Date: Sun Sep 11 19:08:21 2016
New Revision: 305708
URL: https://svnweb.freebsd.org/changeset/base/305708
Log:
Add evdev support to TI ADC/touchscreen driver
Add generic evdev support to touchscreen part of ti_adc: two absolute
coordinates + button touch to indicate pen
Author: gonzo
Date: Sun Sep 11 18:56:38 2016
New Revision: 305706
URL: https://svnweb.freebsd.org/changeset/base/305706
Log:
Add evdev protocol implementation
evdev is a generic input event interface compatible with Linux
evdev API at ioctl level. It allows using unmodified (apart from
Author: gonzo
Date: Tue Sep 6 19:36:28 2016
New Revision: 305492
URL: https://svnweb.freebsd.org/changeset/base/305492
Log:
Let knlist_add do the locking part
Remove explicit mtx_lock/mtx_unlock around knlist_add and pass 0 as
locked parameter so knlist_add does the locking itself
> On Aug 31, 2016, at 12:22 AM, Luiz Otavio O Souza wrote:
>
> Author: loos
> Date: Wed Aug 31 07:22:14 2016
> New Revision: 305114
> URL: https://svnweb.freebsd.org/changeset/base/305114
>
> Log:
> Allow the use of control module extensions to cope with specific platform
>
Author: gonzo
Date: Wed Aug 31 01:04:57 2016
New Revision: 305104
URL: https://svnweb.freebsd.org/changeset/base/305104
Log:
Update VCHIQ driver to upstream version 4eda74f2
PR: 211525
Submitted by: Sylvain Garrigues
Modified:
Author: gonzo
Date: Tue Aug 30 01:31:03 2016
New Revision: 305039
URL: https://svnweb.freebsd.org/changeset/base/305039
Log:
Fix TI PRUSS driver panic with INVARIANTS enabled
Value passed as islocked argument to knlist_add should
be consistent with actual lock state so add lock/unlock
Author: gonzo
Date: Fri Jul 8 22:32:03 2016
New Revision: 302465
URL: https://svnweb.freebsd.org/changeset/base/302465
Log:
Remove extra 0x before %p format strings introduced by r296182
Modified:
head/sys/boot/fdt/fdt_loader_cmd.c
head/sys/boot/uboot/lib/elf_freebsd.c
Author: gonzo
Date: Wed Jun 29 23:33:44 2016
New Revision: 302287
URL: https://svnweb.freebsd.org/changeset/base/302287
Log:
Fixed FreeBSD/mips MALTA support for QEMU
Recource management functions in GT PCI controller driver
treated memory/IO resources as KSEG1 addresses, later during
Author: gonzo
Date: Sat May 28 00:22:39 2016
New Revision: 300894
URL: https://svnweb.freebsd.org/changeset/base/300894
Log:
Add gpiokeys to the list of GPIO modules built only if FDT is enabled
Modified:
head/sys/modules/gpio/Makefile
Modified: head/sys/modules/gpio/Makefile
Author: gonzo
Date: Thu May 19 20:51:47 2016
New Revision: 300230
URL: https://svnweb.freebsd.org/changeset/base/300230
Log:
Fixed memory leak in FDT overlay handling code
Free both overlay and new fdt before returning after fdt_open_into error
PR: 209634
Submitted by: David
Author: gonzo
Date: Wed May 18 23:41:58 2016
New Revision: 300175
URL: https://svnweb.freebsd.org/changeset/base/300175
Log:
Use OF_prop_free instead of direct call to free(9)
Reviewed by: ganbold
Modified:
head/sys/arm/amlogic/aml8726/aml8726_ccm.c
Author: gonzo
Date: Wed May 18 23:39:31 2016
New Revision: 300173
URL: https://svnweb.freebsd.org/changeset/base/300173
Log:
Use OF_prop_free instead of direct call to free(9)
Reviewed by: marius
Modified:
head/sys/dev/atkbdc/atkbdc_ebus.c
head/sys/dev/le/lebuffer_sbus.c
Author: gonzo
Date: Sat May 14 20:06:38 2016
New Revision: 299756
URL: https://svnweb.freebsd.org/changeset/base/299756
Log:
Use OF_prop_free instead of direct call to free(9)
Reviewed by: jhibbits
Modified:
head/sys/dev/iicbus/adt746x.c
head/sys/powerpc/mpc85xx/lbc.c
Author: gonzo
Date: Sat May 14 20:05:35 2016
New Revision: 299755
URL: https://svnweb.freebsd.org/changeset/base/299755
Log:
Use OF_prop_free instead of direct call to free(9)
Reviewed by: sgalabov
Modified:
head/sys/mips/mediatek/fdt_reset.c
head/sys/mips/mediatek/mtk_pinctrl.c
Author: gonzo
Date: Sat May 14 18:44:30 2016
New Revision: 299747
URL: https://svnweb.freebsd.org/changeset/base/299747
Log:
Use OF_prop_free instead of direct call to free(9)
Modified:
head/sys/dev/altera/avgen/altera_avgen_fdt.c
head/sys/dev/usb/controller/ehci_fsl.c
Modified:
Author: gonzo
Date: Sat May 14 05:00:17 2016
New Revision: 299715
URL: https://svnweb.freebsd.org/changeset/base/299715
Log:
Use OF_prop_free instead of direct call to free(9)
Reviewed by: mmel@
Modified:
head/sys/arm/nvidia/as3722_gpio.c
Author: gonzo
Date: Sat May 14 04:59:36 2016
New Revision: 299714
URL: https://svnweb.freebsd.org/changeset/base/299714
Log:
Use OF_prop_free instead of direct call to free(9)
Reviewed by: mmel@
Modified:
head/sys/dev/extres/clk/clk.c
head/sys/dev/extres/clk/clk_fixed.c
Author: gonzo
Date: Fri May 13 22:28:02 2016
New Revision: 299703
URL: https://svnweb.freebsd.org/changeset/base/299703
Log:
Use OF_prop_free instead of direct call to free(9)
Approved by: jmcneill
Modified:
head/sys/arm/allwinner/a10_gpio.c
head/sys/arm/allwinner/clk/aw_cpuclk.c
Author: gonzo
Date: Fri May 13 22:05:16 2016
New Revision: 299702
URL: https://svnweb.freebsd.org/changeset/base/299702
Log:
Use OF_prop_free instead of direct call to free(9)
Modified:
head/sys/arm/at91/at91_pinctrl.c
head/sys/arm/freescale/imx/imx_iomux.c
head/sys/arm/mv/mv_localbus.c
Ian Lepore (i...@freebsd.org) wrote:
> On Thu, 2016-05-12 at 20:12 +0000, Oleksandr Tymoshenko wrote:
> > Author: gonzo
> > Date: Thu May 12 20:12:45 2016
> > New Revision: 299563
> > URL: https://svnweb.freebsd.org/changeset/base/299563
> >
> > Log:
Author: gonzo
Date: Thu May 12 20:20:54 2016
New Revision: 299568
URL: https://svnweb.freebsd.org/changeset/base/299568
Log:
Add loadable module for gpiokeys
Added:
head/sys/modules/gpio/gpiokeys/
head/sys/modules/gpio/gpiokeys/Makefile (contents, props changed)
Modified:
Author: gonzo
Date: Thu May 12 20:15:23 2016
New Revision: 299566
URL: https://svnweb.freebsd.org/changeset/base/299566
Log:
Fix detach routine for gpiokeys
- Release pin only when all per=key callouts are stopped
- Unregister keyboard when detaching device node
Modified:
Author: gonzo
Date: Thu May 12 20:13:16 2016
New Revision: 299564
URL: https://svnweb.freebsd.org/changeset/base/299564
Log:
Properly release mapped pin in gpio_pin_release
Modified:
head/sys/dev/gpio/ofw_gpiobus.c
Modified: head/sys/dev/gpio/ofw_gpiobus.c
Author: gonzo
Date: Thu May 12 20:12:45 2016
New Revision: 299563
URL: https://svnweb.freebsd.org/changeset/base/299563
Log:
Add gpiobus_release_pin function to release mapped pin
Add gpiobus_release_pin as a counterpart for gpiobus_map_pin. Without it
it's impossible to properly release
Author: gonzo
Date: Wed May 11 18:20:02 2016
New Revision: 299477
URL: https://svnweb.freebsd.org/changeset/base/299477
Log:
Add OF_prop_free function as a counterpart for OF_*prop_alloc
- Introduce new OF API function OF_prop_free to free memory allocated by
OF_getprop_alloc and
0 (empty, because file is newly added)
+++ head/sys/dev/gpio/gpiokeys.cWed May 11 17:57:26 2016
(r299475)
@@ -0,0 +1,1006 @@
+/*-
+ * Copyright (c) 2015-2016 Oleksandr Tymoshenko <go...@freebsd.org>
+ * All rights reserved.
+ *
+ * Redistribution and use in source
Author: gonzo
Date: Wed May 11 00:34:43 2016
New Revision: 299396
URL: https://svnweb.freebsd.org/changeset/base/299396
Log:
Use DEVMETHOD_END instead of its value to indicate end of methods table
Modified:
head/sys/dev/gpio/gpioc.c
head/sys/dev/gpio/gpioiic.c
head/sys/dev/gpio/gpioled.c
(r299394)
+++ head/sys/dev/gpio/gpiobacklight.c Wed May 11 00:26:52 2016
(r299395)
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 2015 Oleksandr Tymoshenko <go...@freebsd.org>
+ * Copyright (c) 2015-2016 Oleksandr Tymoshenko <go...@freebsd.org>
* All rights reserved.
*
* Redistribu
Author: gonzo
Date: Tue May 10 20:02:03 2016
New Revision: 299384
URL: https://svnweb.freebsd.org/changeset/base/299384
Log:
Pass device tree node as a part of gpio_pin_get_by_ofw_XXX API
Current API assumes that "gpios" property belongs to the device's node but for
some binding it's not
e = new_fdtp_size;
+
+ free(overlay);
+}
+
int
fdt_setup_fdtp()
{
Added: head/sys/boot/fdt/fdt_overlay.c
==========
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/boot/fdt/fdt_overlay.c
Author: gonzo
Date: Fri Apr 29 20:31:49 2016
New Revision: 298802
URL: https://svnweb.freebsd.org/changeset/base/298802
Log:
Add driver for AM33xx SoC touchscreen
Split ADC driver in two halves: ADC(analog ot digital) and
TSC(touchscreen). Touchscreen driver is fully functional
up to
Author: gonzo
Date: Tue Apr 26 23:09:47 2016
New Revision: 298674
URL: https://svnweb.freebsd.org/changeset/base/298674
Log:
Refactor DTS files for Zynq-based SoCs
- Factor out common part to zynq-7000.dtsi
- Fix problem with Zynq interrupts by using interrupt "triples"
in .dtsi
Author: gonzo
Date: Tue Apr 26 21:11:52 2016
New Revision: 298667
URL: https://svnweb.freebsd.org/changeset/base/298667
Log:
Add dtb/zynq to the list of extra modules required by Zedboard
Modified:
head/sys/arm/conf/ZEDBOARD
Modified: head/sys/arm/conf/ZEDBOARD
201 - 300 of 646 matches
Mail list logo