Older blog entries for broonie (starting at number 119)

regmap updates in 3.5

A surprisingly large series of updates for regmap this time, mostly due to all the work Stephen Warren has done to add support for MMIO buses. This wasn’t really the target for the framework but it turns out that there’s a reasonable number of cases where it’s very helpful to use the register cache support to allow the register map to remain available while the device is suspended.

  • A MMIO bus implementation, contributed by Stephen Warren. Currently this is limited to 32 bit systems and native endian registers.
  • Support for naming register maps, mainly intended for MMIO devices with multiple register banks. This was also contributed by Stephen Warren.
  • Support for register striding, again contributed by Stephen Warren and mainly intended for use with MMIO as typically the registers will be a fixed size but byte addressed.
  • IRQ domain support for the generic regmap-irq controller, allowing devices to dynamically allocate interrupt ranges and support device tree bindings.
  • A function dev_get_regmap() which allows frameworks using regmap to obtain the regmap for a device from the struct device, making life a little simpler for them.
  • Updates to regmap-irq to support more chips (contributed by Graeme Gregory) and to use irqdomains.
  • Support for devices with 24 bit register addresses.

Syndicated 2012-07-22 18:37:36 from Technicalities

regulator updates in 3.4

This has been a fairly quiet release from a regulator point of view, the only real framework features added were devm support and a convenience helper for setting up fixed voltage regulators. Much more coming next time, though! The most noticeable thing in the changelog is that Axel Lin continued his relentless and generally awesome stream of fixes and cleanups.

  • Managed (devm) versions of regulator_get() and regulator_bulk_get() simplifying error handling and resource management for drivers.
  • Added a convenience interface for setting up fixed voltage regulators.
  • Device tree support for TWL4030.
  • New drivers for Freescale i.MX Anatop, Samsung S5M8767, TI TPS62360 and TPS65271 regulators.
  • Removed BQ24022 in favour of the more generic gpio-regulator driver.

Syndicated 2012-05-24 18:08:44 from Technicalities

regmap updates in 3.4

Things are really quieting down with the regmap API, while we’re still seeing a trickle of new features coming in they’re getting much smaller than they were.

  • Support for padding between the register and the value when interacting with the device. This is required by some devices with high speed control interfaces in order to give the device time to get the values ready.
  • Support for applying register updates to the device when restoring the register state. This is intended to be used to apply updates supplied by manufacturers for tuning the performance of the device (many of which are to undocumented registers which aren’t otherwise covered). For want of a better term this feature is known as a patch.
  • Support for two bit address, six bit value registers contributed by Wolfram Sang.
  • Support for multi-register operations on cached registers contributed by Laxman Dewangan.
  • Some additional diagnostics available via debugfs for the cache state.
  • Support for syncing only part of the register cache, useful for devices with power domains or sub devices which can be reset independently.
  • Stubs and parameter query functions intended to make it easier for other subsystems to build infrastructure on top of the regmap API.

plus the general bug fixes and tweaks you’d expect.

Syndicated 2012-05-24 18:07:16 from Technicalities

Anne Brown (1946-2012)

BROWN Anne After a long illness bravely fought, Anne Margaret (nèe Wilson), wife of Fred and mother to Mark, enthusiastic Scottish country dancer. Service to be held at Borders Crematorium, on Friday, May 25, 2012, at 11 am. Donations, if desired, to Marie Curie Cancer Support. Family flowers only.

Syndicated 2012-05-22 16:01:39 from Technicalities

ASoC updates in 3.4

Linux version 3.4 has been released. This was a very active release for ASoC in framework terms, in addition to the usual bug fixes and so on there were a large number of framework enhancements though most are fairly small or are laying the groundwork for more user visible features like dynamic PCM.

  • Support for widgets not associated with a CODEC, an important part of the dynamic PCM framework.
  • A library factoring out the common code shared by dmaengine based DMA drivers contributed by Lars-Peter Clausen. This will save a lot of code and make it much easier to deploy enhancements to dmaengine.
  • Support for binary controls, used for providing runtime configuration of algorithm coefficients.
  • A new DAPM widget type for regulator supplies allowing drivers for devices that can power down unused supplies while active to do without any per-driver code.
  • DAPM widgets for DAIs, initially giving a speed boost for playback startup and shutdown and also the basis for CODEC<->CODEC DAI link support.
  • Support for specifying the number of significant bits on audio interfaces, useful for allowing applications to know how much effort to put into generating data for a larger sample format.
  • Support for a range of new TI reference boards including Panda, configured from platform data so new boards can be added without driver changes.
  • Conversion of the FSI driver used on some SH processors to DMAEngine.
  • New CODEC drivers for Maxim MAX9768 and Wolfson Microelectronics WM2200.

Syndicated 2012-05-22 15:43:43 from Technicalities

ASoC updates in 3.3

Linux 3.3 was released earlier this week. Aside from a few regmap related updates it was an extremely quiet release for the ASoC framework, the next few releases look like they will be much more active:

  • Conversion of a number of CODEC drivers to use regmap directly. This is especially beneficial for drivers for devices which are part of MFDs as they can use a central cache for all operations and means that the process of factoring out the more complex register management code in ASoC can begin.
  • As a result of the move of drivers to regmap the rbtree and LZO cache types have been removed, leaving only the the basic flat cache in ASoC. Drivers which need the more complex cache types should use regmap directly.
  • Lots of cleanups and fixes from Axel Lin.
  • New CODEC drivers for Cirrus CS42L73 and Realtek ALC5632.

Syndicated 2012-03-23 01:26:49 from Technicalities

regulator updates in 3.3

Linux 3.3 was released today. This was the biggest release for the regulator API for quite some time thanks to the contribution of device tree bindings for the API by Rajendra Nayak, the first substantial framework update for a long time, but otherwise was fairly quiet:

  • OpenFirmware bindings for the core and for the fixed regulator driver, contributed by Rajendra Nayak. Device tree bindings for the Freescale MC13892 PMIC were also added.
  • A new regulator_bulk_force_disable() operation contributed by Donggeun Kim.
  • A new driver for the Dialog DA9052 PMIC.

Syndicated 2012-03-19 19:01:19 from Technicalities

regmap updates in 3.3

After the rush of new features in version 3.2 this has been a fairly quiet cycle for the regmap API, the main change being the wider usage by drivers. In terms of development of the subsystem itself this release sees:

  • Introduction of a generic interrupt controller for regmap based devices, this is already used by a few drivers with more coming.
  • Support for 10 bit register 14 bit value devices.
  • Removal of the indexed cache type – devices which would have used it should use rbtree instead. If anything the rbtree cache is expected to be faster for small devices as where registers are grouped together into blocks it will usually be cheaper to search the rbtree.
  • Some improvements to the coverage of the tracepoints..
  • Diagnostics showing the number and size of nodes in an rbtree cache.

Syndicated 2012-03-19 11:41:24 from Technicalities

Yahoo! Groups spam

Yahoo! Groups have for a long time had big problems with allowing people to create obvious spam groups (randomly generated names, no meaningful description and so on) and then add people without any confirmation. This was annoying but at least they have an obvious abuse reporting link in the subscription mails. Sadly rather than improve the situation they appear to have just changed the link to not be a direct link to the reporting form but instead to be a generic help page. The link didn’t change, the content just got even less useful.

I’m strongly tempted to just block all of Yahoo! from the mail systems I control.

Syndicated 2012-02-27 13:39:06 from Technicalities

TinyHAL

Earlier today I gave a talk at Android Builders Summit about TinyHAL, a generic audio HAL for Android aimed providing a better basis for system integrators to work from. More details on TinyHAL and slides from the talk can be found over at the Wolfson Open Source web site.

Syndicated 2012-02-14 21:50:19 from Technicalities

110 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!