)]}'
{
  "commit": "d9bdffd2102404e8ea5f71c5b88dad890984164d",
  "tree": "c8deba7479dc3ba6140dd6c55742dbb16f819db7",
  "parents": [
    "73969ff0eda233f140bcbed1251431387b43f383"
  ],
  "author": {
    "name": "Phil Sutter",
    "email": "n0-1@freewrt.org",
    "time": "Wed Mar 04 23:27:15 2009 -0800"
  },
  "committer": {
    "name": "Dmitry Torokhov",
    "email": "dmitry.torokhov@gmail.com",
    "time": "Mon Mar 09 20:10:12 2009 -0700"
  },
  "message": "Input: add driver for S1 button of rb532\n\nMikrotik\u0027s Routerboard 532 has two builtin buttons, from which one\ntriggers a hardware reset. The other one is accessible through GPIO\npin 1. Sadly, this pin is being multiplexed with UART0 input, so\nenabling it as interrupt source (as implied by the gpio-keys driver)\nis not possible unless UART0 has been turned off. The later one though\nis a rather bad idea as the Routerboard is an embedded device with\nonly a single serial port, so it\u0027s almost always used as serial\nconsole device.\n\nThis patch adds a driver based on INPUT_POLLDEV, which disables the\nUART and reconfigures GPIO pin 1 temporarily while reading the button\nstate.  This procedure works fine and has been tested as part of\nanother, unpublished driver for this device.\n\nSigned-off-by: Phil Sutter \u003cn0-1@freewrt.org\u003e\nSigned-off-by: Dmitry Torokhov \u003cdtor@mail.ru\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3cb50d17b62d8062fbbabab24046673c6e183409",
      "old_mode": 33188,
      "old_path": "arch/mips/include/asm/mach-rc32434/gpio.h",
      "new_id": "12ee8d51016010690aa6e03f3be952f77a8751c1",
      "new_mode": 33188,
      "new_path": "arch/mips/include/asm/mach-rc32434/gpio.h"
    },
    {
      "type": "modify",
      "old_id": "4a5f05b662aef219fbbc6dd28b8326b0f6b7c889",
      "old_mode": 33188,
      "old_path": "arch/mips/rb532/devices.c",
      "new_id": "9f40e1ff9b4fe4c71b1827d83972419b2fb4dc81",
      "new_mode": 33188,
      "new_path": "arch/mips/rb532/devices.c"
    },
    {
      "type": "modify",
      "old_id": "806d2e66d249ec6444f81a6befd9460047dbc8fc",
      "old_mode": 33188,
      "old_path": "drivers/input/misc/Kconfig",
      "new_id": "203abac1e23e683bc1c8169f6739dc79502ca0e0",
      "new_mode": 33188,
      "new_path": "drivers/input/misc/Kconfig"
    },
    {
      "type": "modify",
      "old_id": "e86cee66c9142b1d8ebf751e930cdcf4f6f5b6d1",
      "old_mode": 33188,
      "old_path": "drivers/input/misc/Makefile",
      "new_id": "e94cfd9be6cc06e5c1919cdb8eeb71ff9e8cc5e9",
      "new_mode": 33188,
      "new_path": "drivers/input/misc/Makefile"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "e2c7f622a0b5b98521f507ae5c64863b58b11cec",
      "new_mode": 33188,
      "new_path": "drivers/input/misc/rb532_button.c"
    }
  ]
}
