)]}'
{
  "log": [
    {
      "commit": "980a01c9bfb090cb8a991e39e56ac379c30c61b8",
      "tree": "8d14aa685d81abe410ce1842a6498878daf8a04d",
      "parents": [
        "8f7c58814eb75bf97b8bc18d107b2e26f28b6585"
      ],
      "author": {
        "name": "David Brownell",
        "email": "david-b@pacbell.net",
        "time": "Wed Jun 28 07:47:15 2006 -0700"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@g5.osdl.org",
        "time": "Wed Jun 28 15:51:01 2006 -0700"
      },
      "message": "[PATCH] SPI: infrastructure to initialize spi_device.mode early\n\nThis patch adds earlier initialization of spi_device.mode, as needed\non boards using nondefault chipselect polarity.  An example would be\nones using the RS5C348 RTC without an external signal inverter between\nthe RTC chipselect and the SPI controller.\n\nWithout this mechanism, the first setup() call for that chip would\nwrongly enable chips, corrupting transfers to/from other chips sharing\nthat SPI bus.\n\nSigned-off-by: David Brownell \u003cdbrownell@users.sourceforge.net\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@osdl.org\u003e\n"
    },
    {
      "commit": "a020ed7521a9737bcf3e34eb880867c60c3c68d0",
      "tree": "52941e00b05df6c1bfe228fd193fdb09cf963d15",
      "parents": [
        "ccf77cc4af5b048e20cfd9327fcc286cb69c34cc"
      ],
      "author": {
        "name": "David Brownell",
        "email": "david-b@pacbell.net",
        "time": "Mon Apr 03 15:49:04 2006 -0700"
      },
      "committer": {
        "name": "Greg Kroah-Hartman",
        "email": "gregkh@suse.de",
        "time": "Tue May 16 14:33:57 2006 -0700"
      },
      "message": "[PATCH] SPI: busnum \u003d\u003d 0 needs to work\n\nWe need to be able to have a \"SPI bus 0\" matching chip numbering; but\nthat number was wrongly used to flag dynamic allocation of a bus number.\n\nThis patch resolves that issue; now negative numbers trigger dynamic alloc.\n\nIt also updates the how-to-write-a-controller-driver overview to mention\nthis stuff.\n\nSigned-off-by: David Brownell \u003cdbrownell@users.sourceforge.net\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n"
    },
    {
      "commit": "ccf77cc4af5b048e20cfd9327fcc286cb69c34cc",
      "tree": "0a19a6948fe8bbf2128010a655e170ffebc9d8b8",
      "parents": [
        "ff9f4771b5f017ee0f57629488b6cd7a6ef3d19b"
      ],
      "author": {
        "name": "David Brownell",
        "email": "david-b@pacbell.net",
        "time": "Mon Apr 03 15:46:22 2006 -0700"
      },
      "committer": {
        "name": "Greg Kroah-Hartman",
        "email": "gregkh@suse.de",
        "time": "Tue May 16 14:33:57 2006 -0700"
      },
      "message": "[PATCH] SPI: devices can require LSB-first encodings\n\nAdd spi_device hook for LSB-first word encoding, and update all the\n(in-tree) controller drivers to reject such devices.  Eventually,\nsome controller drivers will be updated to support lsb-first encodings\non the wire; no current drivers need this.\n\nSigned-off-by: David Brownell \u003cdbrownell@users.sourceforge.net\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n"
    },
    {
      "commit": "ff9f4771b5f017ee0f57629488b6cd7a6ef3d19b",
      "tree": "2d487a384f075f82444135a77330755f1755aa16",
      "parents": [
        "025c398710ac24456f0288fc7e64f426c5c5508f"
      ],
      "author": {
        "name": "Kumar Gala",
        "email": "galak@kernel.crashing.org",
        "time": "Sun Apr 02 16:06:35 2006 -0500"
      },
      "committer": {
        "name": "Greg Kroah-Hartman",
        "email": "gregkh@suse.de",
        "time": "Tue May 16 14:33:57 2006 -0700"
      },
      "message": "[PATCH] SPI: Renamed bitbang_transfer_setup to spi_bitbang_setup_transfer and export it\n\nRenamed bitbang_transfer_setup to follow convention of other exported symbols\nfrom spi-bitbang.  Exported spi_bitbang_setup_transfer to allow users of\nspi-bitbang to use the function in their own setup_transfer.\n\nSigned-off-by: Kumar Gala \u003cgalak@kernel.crashing.org\u003e\nCc: David Brownell \u003cdbrownell@users.sourceforge.net\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n"
    },
    {
      "commit": "747d844ee9a183ff3067bb1181f2a25c50649538",
      "tree": "0d35d9c2e3267765f328d7371b23433a5c7709c9",
      "parents": [
        "e0c9905e87ac1bc56c9ea8f5b2934aeee53dce26"
      ],
      "author": {
        "name": "David Brownell",
        "email": "david-b@pacbell.net",
        "time": "Sun Apr 02 10:33:37 2006 -0800"
      },
      "committer": {
        "name": "Greg Kroah-Hartman",
        "email": "gregkh@suse.de",
        "time": "Tue May 16 14:33:56 2006 -0700"
      },
      "message": "[PATCH] SPI: spi whitespace fixes\n\nThis removes superfluous whitespace in the \u003clinux/spi/spi.h\u003e header.\n\nSigned-off-by: David Brownell \u003cdbrownell@users.sourceforge.net\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n"
    },
    {
      "commit": "4cff33f94fefcce1b3c01a9d1da6bb85fe3cbdfa",
      "tree": "0ef6066c4f2c0225517a6402bb04f4b4d56afd4d",
      "parents": [
        "716f8954fb3029ca2df52a986b60af8d06f093ee"
      ],
      "author": {
        "name": "Imre Deak",
        "email": "imre.deak@nokia.com",
        "time": "Fri Feb 17 10:02:18 2006 -0800"
      },
      "committer": {
        "name": "Greg Kroah-Hartman",
        "email": "gregkh@suse.de",
        "time": "Tue May 16 14:33:56 2006 -0700"
      },
      "message": "[PATCH] SPI: per-transfer overrides for wordsize and clocking\n\nSome protocols (like one for some bitmap displays) require different clock\nspeed or word size settings for each transfer in an SPI message. This adds\nthose parameters to struct spi_transfer.  They are to be used when they are\nnonzero; otherwise the defaults from spi_device are to be used.\n\nThe patch also adds a setup_transfer callback to spi_bitbang, uses it for\nmessages that use those overrides, and implements it so that the pure\nbitbanging code can help resolve any questions about how it should work.\n\nSigned-off-by: Imre Deak \u003cimre.deak@nokia.com\u003e\nSigned-off-by: David Brownell \u003cdbrownell@users.sourceforge.net\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n"
    },
    {
      "commit": "d5b415c95f0e6510451f1446cea832c1f77bd7ea",
      "tree": "39bd4140c5e80082c20a1a6a4a0bad1df83b63ca",
      "parents": [
        "ae82d5ab05068fccef2329f4607670f24c41606f"
      ],
      "author": {
        "name": "Imre Deak",
        "email": "imre.deak@nokia.com",
        "time": "Wed Apr 26 00:13:18 2006 -0400"
      },
      "committer": {
        "name": "Dmitry Torokhov",
        "email": "dtor_core@ameritech.net",
        "time": "Wed Apr 26 00:13:18 2006 -0400"
      },
      "message": "Input: ads7846 - improve filtering for thumb press accuracy\n\nProviding more accurate coordinates for thumb press requires additional\nsteps in the filtering logic:\n\n- Ignore samples found invalid by the debouncing logic, or the ones that\n  have out of bound pressure value.\n- Add a parameter to repeat debouncing, so that more then two consecutive\n  good readings are required for a valid sample.\n\nSigned-off-by: Imre Deak \u003cimre.deak@nokia.com\u003e\nAcked-by: Juha Yrjola \u003cjuha.yrjola@nokia.com\u003e\nSigned-off-by: Dmitry Torokhov \u003cdtor@mail.ru\u003e\n"
    },
    {
      "commit": "c9e617a563ad646239270fa2222cdb06966cf1fa",
      "tree": "7598f9bc96914b4540b1d682eb2e9876343c272a",
      "parents": [
        "7de90a8cb9c51145d7f60d8db17ce0fa07d1b281"
      ],
      "author": {
        "name": "Imre Deak",
        "email": "imre.deak@nokia.com",
        "time": "Tue Apr 11 23:44:05 2006 -0400"
      },
      "committer": {
        "name": "Dmitry Torokhov",
        "email": "dtor_core@ameritech.net",
        "time": "Tue Apr 11 23:44:05 2006 -0400"
      },
      "message": "Input: ads7846 - handle IRQs that were latched during disabled IRQs\n\nThe pen down IRQ will toggle during each X,Y,Z measurement cycle.\nEven though the IRQ is disabled it will be latched and delivered\nwhen after enable_irq. Thus in the IRQ handler we must avoid\nstarting a new measurement cycle when such an \"unwanted\" IRQ happens.\nAdd a get_pendown_state platform function, which will probably\ndetermine this by reading the current GPIO level of the pen IRQ pin.\n\nMove the IRQ reenabling from the SPI RX function to the timer. After\nthe last power down message the pen IRQ pin is still active for a\nwhile and get_pendown_state would report incorrectly a pen down state.\n\nWhen suspending we should check the ts-\u003epending flag instead of\nts-\u003ependown, since the timer can be pending regardless of ts-\u003ependown.\nAlso if ts-\u003epending is set we can be sure that the timer is running,\nso no need to rearm it. Similarly if ts-\u003epending is not set we can\nbe sure that the IRQ is enabled (and the timer is not).\n\nSigned-off-by: Imre Deak \u003cimre.deak@nokia.com\u003e\nSigned-off-by: David Brownell \u003cdbrownell@users.sourceforge.net\u003e\nSigned-off-by: Dmitry Torokhov \u003cdtor@mail.ru\u003e\n"
    },
    {
      "commit": "0b7018aae7e1798f55f736b9a77c201708aa0e33",
      "tree": "b561dbcdb07540ffc76616894dddfa8f787f9202",
      "parents": [
        "53a0ef89e95c725f3faab98573770aeb7429c1a3"
      ],
      "author": {
        "name": "Imre Deak",
        "email": "imre.deak@nokia.com",
        "time": "Tue Apr 11 23:42:03 2006 -0400"
      },
      "committer": {
        "name": "Dmitry Torokhov",
        "email": "dtor_core@ameritech.net",
        "time": "Tue Apr 11 23:42:03 2006 -0400"
      },
      "message": "Input: ads7846 - debouncing and rudimentary sample filtering\n\nSome touchscreens seem to oscillate heavily for a while after touching\nthe screen.  Implement support for sampling the screen until we get two\nconsecutive values that are close enough.\n\nSigned-off-by: Imre Deak \u003cimre.deak@nokia.com\u003e\nSigned-off-by: Juha Yrjola \u003cjuha.yrjola@nokia.com\u003e\nSigned-off-by: David Brownell \u003cdbrownell@users.sourceforge.net\u003e\nSigned-off-by: Dmitry Torokhov \u003cdtor@mail.ru\u003e\n"
    },
    {
      "commit": "5d870c8e216f121307445c71caa72e7e10a20061",
      "tree": "d1d73cf5e520a10086f9a50a00fecb6041def89d",
      "parents": [
        "7111763d391b0c5a949a4f2575aa88cd585f0ff6"
      ],
      "author": {
        "name": "Andrew Morton",
        "email": "akpm@osdl.org",
        "time": "Wed Jan 11 11:23:49 2006 -0800"
      },
      "committer": {
        "name": "Greg Kroah-Hartman",
        "email": "gregkh@suse.de",
        "time": "Fri Jan 13 16:29:56 2006 -0800"
      },
      "message": "[PATCH] spi: remove fastcall crap\n\ngcc4 generates warnings when a non-FASTCALL function pointer is assigned to a\nFASTCALL one.  Perhaps it has taste.\n\nCc: David Brownell \u003cdavid-b@pacbell.net\u003e\nSigned-off-by: Andrew Morton \u003cakpm@osdl.org\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n"
    },
    {
      "commit": "8275c642ccdce09a2146d0a9eb022e3698ee927e",
      "tree": "ea330810f665fcbdf36d31b0da1643db528ad83f",
      "parents": [
        "2f9f762879015d738a5ec2ac8a16be94b3a4a06d"
      ],
      "author": {
        "name": "Vitaly Wool",
        "email": "vwool@ru.mvista.com",
        "time": "Sun Jan 08 13:34:28 2006 -0800"
      },
      "committer": {
        "name": "Greg Kroah-Hartman",
        "email": "gregkh@suse.de",
        "time": "Fri Jan 13 16:29:56 2006 -0800"
      },
      "message": "[PATCH] spi: use linked lists rather than an array\n\nThis makes the SPI core and its users access transfers in the SPI message\nstructure as linked list not as an array, as discussed on LKML.\n\nFrom: David Brownell \u003cdbrownell@users.sourceforge.net\u003e\n\n  Updates including doc, bugfixes to the list code, add\n  spi_message_add_tail().  Plus, initialize things _before_ grabbing the\n  locks in some cases (in case it grows more expensive).  This also merges\n  some bitbang updates of mine that didn\u0027t yet make it into the mm tree.\n\nSigned-off-by: Vitaly Wool \u003cvwool@ru.mvista.com\u003e\nSigned-off-by: Dmitry Pervushin \u003cdpervushin@gmail.com\u003e\nSigned-off-by: David Brownell \u003cdbrownell@users.sourceforge.net\u003e\nSigned-off-by: Andrew Morton \u003cakpm@osdl.org\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n"
    },
    {
      "commit": "2f9f762879015d738a5ec2ac8a16be94b3a4a06d",
      "tree": "73efe8bcdb970ee9c815c08358fb707b46aab983",
      "parents": [
        "9904f22a7202c6b54e96b0cc9870817013c350a1"
      ],
      "author": {
        "name": "Mike Lavender",
        "email": "mike@steroidmicros.com",
        "time": "Sun Jan 08 13:34:27 2006 -0800"
      },
      "committer": {
        "name": "Greg Kroah-Hartman",
        "email": "gregkh@suse.de",
        "time": "Fri Jan 13 16:29:55 2006 -0800"
      },
      "message": "[PATCH] spi: M25 series SPI flash\n\nThis was originally a driver for the ST M25P80 SPI flash.  It\u0027s been\nupdated slightly to handle other M25P series chips.\n\nFor many of these chips, the specific type could be probed, but for now\nthis just requires static setup with flash_platform_data that lists the\nchip type (size, format) and any default partitioning to use.\n\nSigned-off-by: David Brownell \u003cdbrownell@users.sourceforge.net\u003e\nCc: Mike Lavender \u003cmike@steroidmicros.com\u003e\nCc: David Brownell \u003cdbrownell@users.sourceforge.net\u003e\nSigned-off-by: Andrew Morton \u003cakpm@osdl.org\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n"
    },
    {
      "commit": "9904f22a7202c6b54e96b0cc9870817013c350a1",
      "tree": "02d526b1bf54b1c64e58a9f903269f9cdc6ec83c",
      "parents": [
        "2e5a7bd978bf4118a0c8edf2e6ff81d0a72fee47"
      ],
      "author": {
        "name": "David Brownell",
        "email": "david-b@pacbell.net",
        "time": "Sun Jan 08 13:34:26 2006 -0800"
      },
      "committer": {
        "name": "Greg Kroah-Hartman",
        "email": "gregkh@suse.de",
        "time": "Fri Jan 13 16:29:55 2006 -0800"
      },
      "message": "[PATCH] spi: add spi_bitbang driver\n\nThis adds a bitbanging spi master, hooking up to board/adapter-specific glue\ncode which knows how to set and read the signals (gpios etc).\n\nThis code kicks in after the glue code creates a platform_device with the\nright platform_data.  That data includes I/O loops, which will usually\ncome from expanding an inline function (provided in the header).  One goal\nis that the I/O loops should be easily optimized down to a few GPIO register\naccesses, in common cases, for speed and minimized overhead.\n\nThis understands all the currently defined protocol tweaking options in the\nSPI framework, and might eventually serve as as reference implementation.\n\n  - different word sizes (1..32 bits)\n  - differing clock rates\n  - SPI modes differing by CPOL (affecting chip select and I/O loops)\n  - SPI modes differing by CPHA (affecting I/O loops)\n  - delays (usecs) after transfers\n  - temporarily deselecting chips in mid-transfer\n\nA lot of hardware could work with this framework, though common types of\ncontroller can\u0027t reach peak performance without switching to a driver\nstructure that supports pipelining of transfers (e.g.  DMA queues) and maybe\ncontrollers (e.g.  IRQ driven).\n\nSigned-off-by: David Brownell \u003cdbrownell@users.sourceforge.net\u003e\nSigned-off-by: Andrew Morton \u003cakpm@osdl.org\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n"
    },
    {
      "commit": "2e5a7bd978bf4118a0c8edf2e6ff81d0a72fee47",
      "tree": "ee5b09d090c7a4a6cbf19ddf9f252d315b46eda1",
      "parents": [
        "0c868461fcb8413cb9f691d68e5b99b0fd3c0737"
      ],
      "author": {
        "name": "David Brownell",
        "email": "david-b@pacbell.net",
        "time": "Sun Jan 08 13:34:25 2006 -0800"
      },
      "committer": {
        "name": "Greg Kroah-Hartman",
        "email": "gregkh@suse.de",
        "time": "Fri Jan 13 16:29:55 2006 -0800"
      },
      "message": "[PATCH] spi: ads7836 uses spi_driver\n\nThis updates the ads7864 driver to use the new \"spi_driver\" struct, and\nincludes some minor unrelated cleanup.\n\nSigned-off-by: David Brownell \u003cdbrownell@users.sourceforge.net\u003e\nSigned-off-by: Andrew Morton \u003cakpm@osdl.org\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n"
    },
    {
      "commit": "0c868461fcb8413cb9f691d68e5b99b0fd3c0737",
      "tree": "b43db6239f5d72a279b35b14de85cf34d8f6bc74",
      "parents": [
        "b885244eb2628e0b8206e7edaaa6a314da78e9a4"
      ],
      "author": {
        "name": "David Brownell",
        "email": "david-b@pacbell.net",
        "time": "Sun Jan 08 13:34:25 2006 -0800"
      },
      "committer": {
        "name": "Greg Kroah-Hartman",
        "email": "gregkh@suse.de",
        "time": "Fri Jan 13 16:29:55 2006 -0800"
      },
      "message": "[PATCH] SPI core tweaks, bugfix\n\nThis includes various updates to the SPI core:\n\n  - Fixes a driver model refcount bug in spi_unregister_master() paths.\n\n  - The spi_master structures now have wrappers which help keep drivers\n    from needing class-level get/put for device data or for refcounts.\n\n  - Check for a few setup errors that would cause oopsing later.\n\n  - Docs say more about memory management.  Highlights the use of DMA-safe\n    i/o buffers, and zero-initializing spi_message and such metadata.\n\n  - Provide a simple alloc/free for spi_message and its spi_transfer;\n    this is only one of the possible memory management policies.\n\nNothing to break code that already works.\n\nSigned-off-by: David Brownell \u003cdbrownell@users.sourceforge.net\u003e\nSigned-off-by: Andrew Morton \u003cakpm@osdl.org\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n"
    },
    {
      "commit": "b885244eb2628e0b8206e7edaaa6a314da78e9a4",
      "tree": "e548fb3a94603c4a5406920c97246a78fe16b64a",
      "parents": [
        "1d6432fe10c3e724e307dd7137cd293a0edcae80"
      ],
      "author": {
        "name": "David Brownell",
        "email": "david-b@pacbell.net",
        "time": "Sun Jan 08 13:34:23 2006 -0800"
      },
      "committer": {
        "name": "Greg Kroah-Hartman",
        "email": "gregkh@suse.de",
        "time": "Fri Jan 13 16:29:54 2006 -0800"
      },
      "message": "[PATCH] spi: add spi_driver to SPI framework\n\nThis is a refresh of the \"Simple SPI Framework\" found in 2.6.15-rc3-mm1\nwhich makes the following changes:\n\n  * There\u0027s now a \"struct spi_driver\".  This increase the footprint\n    of the core a bit, since it now includes code to do what the driver\n    core was previously handling directly.  Documentation and comments\n    were updated to match.\n\n  * spi_alloc_master() now does class_device_initialize(), so it can\n    at least be refcounted before spi_register_master().  To match,\n    spi_register_master() switched over to class_device_add().\n\n  * States explicitly that after transfer errors, spi_devices will be\n    deselected.  We want fault recovery procedures to work the same\n    for all controller drivers.\n\n  * Minor tweaks:  controller_data no longer points to readonly data;\n    prevent some potential cast-from-null bugs with container_of calls;\n    clarifies some existing kerneldoc,\n\nAnd a few small cleanups.\n\nSigned-off-by: David Brownell \u003cdbrownell@users.sourceforge.net\u003e\nSigned-off-by: Andrew Morton \u003cakpm@osdl.org\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n"
    },
    {
      "commit": "1d6432fe10c3e724e307dd7137cd293a0edcae80",
      "tree": "e32ba2eaecff99b2b86455ed2df8365b082cd396",
      "parents": [
        "ffa458c1bd9b6f653008d450f337602f3d52a646"
      ],
      "author": {
        "name": "David Brownell",
        "email": "david-b@pacbell.net",
        "time": "Sun Jan 08 13:34:22 2006 -0800"
      },
      "committer": {
        "name": "Greg Kroah-Hartman",
        "email": "gregkh@suse.de",
        "time": "Fri Jan 13 16:29:54 2006 -0800"
      },
      "message": "[PATCH] spi: mtd dataflash driver\n\nThis is a conversion of the AT91rm9200 DataFlash MTD driver to use the\nlightweight SPI framework, and no longer be AT91-specific.  It compiles\ndown to less than 3KBytes on ARM.\n\nThe driver allows board-specific init code to provide platform_data with\nthe relevant MTD partitioning information, and hotplugs.\n\nThis version has been lightly tested.  Its parent at91_dataflash driver has\nbeen pretty well banged on, although kernel.org JFFS2 dataflash support was\nacting broken the last time I tried it.\n\nSigned-off-by: David Brownell \u003cdbrownell@users.sourceforge.net\u003e\nSigned-off-by: Andrew Morton \u003cakpm@osdl.org\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n"
    },
    {
      "commit": "ffa458c1bd9b6f653008d450f337602f3d52a646",
      "tree": "0e42f7d36790dd7088586b32d9c5290d34b10831",
      "parents": [
        "8ae12a0d85987dc138f8c944cb78a92bf466cea0"
      ],
      "author": {
        "name": "David Brownell",
        "email": "david-b@pacbell.net",
        "time": "Sun Jan 08 13:34:21 2006 -0800"
      },
      "committer": {
        "name": "Greg Kroah-Hartman",
        "email": "gregkh@suse.de",
        "time": "Fri Jan 13 16:29:54 2006 -0800"
      },
      "message": "[PATCH] spi: ads7846 driver\n\nThis is a driver for the ADS7846 touchscreen sensor, derived from\nthe corgi_ts and omap_ts drivers.  Key differences from those two:\n\n  - Uses the new SPI framework (minimalist version)\n  - \u003clinux/spi/ads7846.h\u003e abstracts board-specific touchscreen info\n  - Sysfs attributes for the temperature and voltage sensors\n  - Uses fewer ARM-specific IRQ primitives\n\nThe temperature and voltage sensors show up in sysfs like this:\n\n  $ pwd\n  /sys/devices/platform/omap-uwire/spi2.0\n  $ ls\n  bus@          input:event0@ power/        temp1         vbatt\n  driver@       modalias      temp0         vaux\n  $ cat modalias\n  ads7846\n  $ cat temp0\n  991\n  $ cat temp1\n  1177\n  $\n\nSo far only basic testing has been done.  There\u0027s a fair amount of hardware\nthat uses this sensor, and which also runs Linux, which should eventually\nbe able to use this driver.\n\nOne portability note may be of special interest.  It turns out that not all\nSPI controllers are happy issuing requests that do things like \"write 8 bit\ncommand, read 12 bit response\".  Most of them seem happy to handle various\nword sizes, so the issue isn\u0027t \"12 bit response\" but rather \"different rx\nand tx write sizes\", despite that being a common MicroWire convention.  So\nthis version of the driver no longer reads 12 bit native-endian words; it\nreads 16-bit big-endian responses, then byteswaps them and shifts the\nresults to discard the noise.\n\nSigned-off-by: David Brownell \u003cdavid-b@pacbell.net\u003e\nSigned-off-by: Andrew Morton \u003cakpm@osdl.org\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n"
    },
    {
      "commit": "8ae12a0d85987dc138f8c944cb78a92bf466cea0",
      "tree": "ca032f25bb26f88cc35d68c6f8065143ce64a6a8",
      "parents": [
        "67daf5f11f06b9b15f8320de1d237ccc2e74fe43"
      ],
      "author": {
        "name": "David Brownell",
        "email": "david-b@pacbell.net",
        "time": "Sun Jan 08 13:34:19 2006 -0800"
      },
      "committer": {
        "name": "Greg Kroah-Hartman",
        "email": "gregkh@suse.de",
        "time": "Fri Jan 13 16:29:54 2006 -0800"
      },
      "message": "[PATCH] spi: simple SPI framework\n\nThis is the core of a small SPI framework, implementing the model of a\nqueue of messages which complete asynchronously (with thin synchronous\nwrappers on top).\n\n  - It\u0027s still less than 2KB of \".text\" (ARM).  If there\u0027s got to be a\n    mid-layer for something so simple, that\u0027s the right size budget.  :)\n\n  - The guts use board-specific SPI device tables to build the driver\n    model tree.  (Hardware probing is rarely an option.)\n\n  - This version of Kconfig includes no drivers.  At this writing there\n    are two known master controller drivers (PXA/SSP, OMAP MicroWire)\n    and three protocol drivers (CS8415a, ADS7846, DataFlash) with LKML\n    mentions of other drivers in development.\n\n  - No userspace API.  There are several implementations to compare.\n    Implement them like any other driver, and bind them with sysfs.\n\nThe changes from last version posted to LKML (on 11-Nov-2005) are minor,\nand include:\n\n  - One bugfix (removes a FIXME), with the visible effect of making device\n    names be \"spiB.C\" where B is the bus number and C is the chipselect.\n\n  - The \"caller provides DMA mappings\" mechanism now has kerneldoc, for\n    DMA drivers that want to be fancy.\n\n  - Hey, the framework init can be subsys_init.  Even though board init\n    logic fires earlier, at arch_init ... since the framework init is\n    for driver support, and the board init support uses static init.\n\n  - Various additional spec/doc clarifications based on discussions\n    with other folk.  It adds a brief \"thank you\" at the end, for folk\n    who\u0027ve helped nudge this framework into existence.\n\nAs I\u0027ve said before, I think that \"protocol tweaking\" is the main support\nthat this driver framework will need to evolve.\n\nFrom: Mark Underwood \u003cbasicmark@yahoo.com\u003e\n\n  Update the SPI framework to remove a potential priority inversion case by\n  reverting to kmalloc if the pre-allocated DMA-safe buffer isn\u0027t available.\n\nSigned-off-by: David Brownell \u003cdbrownell@users.sourceforge.net\u003e\nSigned-off-by: Andrew Morton \u003cakpm@osdl.org\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n"
    }
  ]
}
