)]}'
{
  "commit": "0c2daaafcdec726e89cbccca61d576de8429c537",
  "tree": "3d63a499f75ec072aafd8265763392faa8f64930",
  "parents": [
    "652078bac5f206c628a85a9a6598e6b8076bd8e6"
  ],
  "author": {
    "name": "Albrecht Dreß",
    "email": "albrecht.dress@arcor.de",
    "time": "Wed Feb 17 08:59:14 2010 +0000"
  },
  "committer": {
    "name": "Grant Likely",
    "email": "grant.likely@secretlab.ca",
    "time": "Sun Aug 01 17:06:44 2010 -0600"
  },
  "message": "powerpc/5200/i2c: improve i2c bus error recovery\n\nThis patch improves the recovery of the MPC\u0027s I2C bus from errors like bus\nhangs resulting in timeouts:\n1. make the bus timeout configurable, as it depends on the bus clock and\n    the attached slave chip(s); default is still 1 second;\n2. detect any of the cases indicated by the CF, BB and RXAK MSR flags if a\n    timeout occurs, and add a missing (required) MAL reset;\n3. use a more reliable method to fixup the bus if a hang has been detected.\n    The sequence is sent 9 times which seems to be necessary if a slave\n    \"misses\" more than one clock cycle.  For 400 kHz bus speed, the fixup is\n    also ~70us (81us vs. 150us) faster.\n\nTested on a custom Lite5200b derived board, with a Dallas RTC, AD sensors\nand NXP IO expander chips attached to the i2c.\n\nChanges vs. v1:\n- use improved bus fixup sequence for all chips (not only the 5200)\n- calculate real clock from defaults if no clock is given in the device tree\n- better description (I hope) of the changes.\n\nI didn\u0027t split the changes in this file into three parts as recommended by\nGrant, as they actually belong together (i.e. they address one single\nproblem, just in three places of one single source file).\n\nSigned-off-by: Albrecht Dreß \u003calbrecht.dress@arcor.de\u003e\n[grant.likely@secretlab.ca: fixup for -\u003enode to -\u003edev.of_node transition]\nSigned-off-by: Grant Likely \u003cgrant.likely@secretlab.ca\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "50da20310585f836eb8a13f2d6c922e14c21db73",
      "old_mode": 33188,
      "old_path": "Documentation/powerpc/dts-bindings/fsl/i2c.txt",
      "new_id": "1eacd6b20ed5eb8434d38f52c356834149bc3344",
      "new_mode": 33188,
      "new_path": "Documentation/powerpc/dts-bindings/fsl/i2c.txt"
    },
    {
      "type": "modify",
      "old_id": "df00eb1f11f9ee44d3f2d6d8826ff2d15895bee8",
      "old_mode": 33188,
      "old_path": "drivers/i2c/busses/i2c-mpc.c",
      "new_id": "54247d475fc339b7994ccde36d5ba85af79a2f71",
      "new_mode": 33188,
      "new_path": "drivers/i2c/busses/i2c-mpc.c"
    }
  ]
}
