Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (2h)  netbsd-10 (17d)  netbsd-9 (17d)  netbsd-8 (22d) 

2024-06-03 05:16:20 UTC Now

2013-05-27 20:29:13 UTC khorben-n900 commitmail json YAML

KNF

Thanks jmcneill@ for the hint.

(khorben)

2013-05-27 20:23:28 UTC khorben-n900 commitmail json YAML

Fixed use of workqueue_create(9), as it expects a pri_t as the priority.
The IPL level was changed to IPL_SOFTBIO which seems more correct.

Thanks jmcneill@ for the hint.

XXX test on the Nokia N900

(khorben)

2013-05-16 21:41:15 UTC khorben-n900 commitmail json YAML

2013-05-16 18:24:26 UTC khorben-n900 commitmail json YAML

Rewrote the computation of the clock frequency divider when configuring an
SPI channel.

(khorben)

2013-05-16 15:53:06 UTC khorben-n900 commitmail json YAML

Attaching the lp5523led(4) LED driver to the I2C bus.

Tested on my Nokia N900 smartphone.

(khorben)

2013-05-16 15:51:29 UTC khorben-n900 commitmail json YAML

Added a refresh callback for the temperature sensor.

(khorben)

2013-05-16 15:36:50 UTC khorben-n900 commitmail json YAML

Initial import of the lp5523led(4) driver, a programmable 9-output LED
driver from Texas Instruments. This is not functional yet, but exposes
sysctl nodes and the internal temperature sensor (not refreshed at the
moment).

Tested on my Nokia N900 smartphone.

(khorben)

2013-05-15 23:27:49 UTC khorben-n900 commitmail json YAML

Seems to be much closer to working correctly. Apparently one has to read
back anything transmitted, as well as transmit 0's to be able to read
anything. This would explain the whole juggling with chunks, counts and
pointers.

(khorben)

2013-05-15 13:52:19 UTC khorben-n900 commitmail json YAML

Let the bus speed of SPI devices be specified within the kernel
configuration.

(khorben)

2013-05-15 02:44:48 UTC khorben-n900 commitmail json YAML

Make sure interrupts are cleared on the current channel when initiating a
transfer. Also force the current transfer to be terminated upon end of
transmission.

(khorben)

2013-05-12 20:11:39 UTC khorben-n900 commitmail json YAML

2013-05-12 01:49:44 UTC khorben-n900 commitmail json YAML

2013-05-12 01:19:54 UTC khorben-n900 commitmail json YAML

2013-05-12 00:56:28 UTC khorben-n900 commitmail json YAML

tps65950pm(4) can now expose a GPIO bus.

(khorben)

2013-05-12 00:42:50 UTC khorben-n900 commitmail json YAML

Added GPIO support to the TPS65950 companion chip. I haven't been able to
test it properly thus far unfortunately.

XXX Implement level-triggered interrupts.

(khorben)

2013-05-11 18:22:47 UTC khorben-n900 commitmail json YAML

2013-05-11 18:01:04 UTC khorben-n900 commitmail json YAML

2013-05-11 17:48:22 UTC khorben-n900 commitmail json YAML

2013-05-11 17:28:51 UTC khorben-n900 commitmail json YAML

Enable support for the SPI bus

(khorben)

2013-05-11 17:19:42 UTC khorben-n900 commitmail json YAML

Imported omapspi(4), a driver for Multichannel SPI as found on the OMAP 2/3
from Texas Instruments.

Partly tested on the Nokia N900 (OMAP 3430).

(khorben)

2013-05-10 01:25:07 UTC khorben-n900 commitmail json YAML

Just like for the I2C and GPIO buses, added an interrupt locator to the SPI
bus, so that ARM device drivers on either of these buses (like on the Nokia
N900) can register and react on system interrupts. These interrupts are
typically triggered via GPIO pins.

XXX This change is not adequate because intr_establish() is a MD interface,
    so it will have to be re-designed before merging to the main tree.

(khorben)

2013-05-10 01:20:05 UTC khorben-n900 commitmail json YAML

Added a locator for interrupts on the GPIO bus. This allows ARM devices
(like the Nokia N900) to register interrupt handlers as specified within
their respective kernel configuration file.

XXX This change is not adequate because intr_establish() is a MD interface,
    so it will have to be re-designed before merging to the main tree.

(khorben)

2013-05-10 01:16:21 UTC khorben-n900 commitmail json YAML

Added the base registers for SPI support.

(khorben)

2013-05-10 01:10:03 UTC khorben-n900 commitmail json YAML

Added two locators for I2C devices: "intr" and "intrbase".

They are required to allow the TPS65950 companion chip to both handle its
interrupts on the system, and allow its extra GPIO pins to be used as
interrupts as well.

XXX This change is not adequate because intr_establish() is a MD interface,
    so it will have to be re-designed before merging to the main tree.

(khorben)

2013-05-10 00:57:56 UTC khorben-n900 commitmail json YAML

Allow interrupt handlers to be temporarily disabled or enabled again,
including from within interrupt context: returning non-zero keeps the
handler enabled (as previously), while returning zero disables the
interrupt until a call to intr_enable().

This is necessary with the TPS65950 companion chip because:
- it interrupts on the main code (via IRQ_SYS_nIRQ0)
- interrupt handling requires I2C traffic (to access registers)
- interrupt-based interaction is necessary with this chip (keypad, GPIO...)

XXX Affects other ARM devices using the ARM PIC code, additional code
    review is required to address them.

(khorben)

2013-05-10 00:50:35 UTC khorben-n900 commitmail json YAML

Pre-allocated more potential interrupt sources for the N900. It features
the regular 6 * 32 GPIO pins on the main core, plus 18 pins on the TPS65950
companion chip, for a total of at least 210 such interrupt sources.

(khorben)

2013-05-10 00:38:20 UTC khorben-n900 commitmail json YAML

Allocated a wskbd entry for the Nokia N900

(khorben)