1. 16 8月, 2014 1 次提交
  2. 25 7月, 2014 1 次提交
    • G
      Adding selftest testdata dynamically into live tree · ae9304c9
      Gaurav Minocha 提交于
      This patch attaches selftest's device tree data (required by /drivers/of/selftest.c)
      dynamically into live device tree. First, it links selftest device tree data into the
      kernel image and then iterates over all the nodes and attaches them into the live tree.
      Once the testcases are complete, it removes the data attached.
      
      This patch will remove the manual process of addition and removal of selftest device
      tree data into the machine's dts file.
      
      Tested successfully with current selftest's testcases.
      Signed-off-by: NGaurav Minocha <gaurav.minocha.os@gmail.com>
      [glikely: Removed ability to build as a module and fixed no-devicetree bug]
      Signed-off-by: NGrant Likely <grant.likely@linaro.org>
      ae9304c9
  3. 24 7月, 2014 1 次提交
    • P
      of: Transactional DT support. · 201c910b
      Pantelis Antoniou 提交于
      Introducing DT transactional support.
      
      A DT transaction is a method which allows one to apply changes
      in the live tree, in such a way that either the full set of changes
      take effect, or the state of the tree can be rolled-back to the
      state it was before it was attempted. An applied transaction
      can be rolled-back at any time.
      
      Documentation is in
      	Documentation/devicetree/changesets.txt
      Signed-off-by: NPantelis Antoniou <pantelis.antoniou@konsulko.com>
      [glikely: Removed device notifiers and reworked to be more consistent]
      Signed-off-by: NGrant Likely <grant.likely@linaro.org>
      201c910b
  4. 16 7月, 2014 1 次提交
  5. 23 5月, 2014 1 次提交
  6. 14 5月, 2014 2 次提交
  7. 24 4月, 2014 1 次提交
  8. 12 3月, 2014 1 次提交
    • G
      of/selftest: Add self tests for manipulation of properties · 7e66c5c7
      Grant Likely 提交于
      Adds a few simple test cases to ensure that addition, update and removal
      of device tree node properties works correctly.
      Signed-off-by: NGrant Likely <grant.likely@linaro.org>
      Cc: Rob Herring <rob.herring@calxeda.com>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: David S. Miller <davem@davemloft.net>
      Cc: Nathan Fontenot <nfont@linux.vnet.ibm.com>
      Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
      7e66c5c7
  9. 20 2月, 2014 1 次提交
    • G
      of: Add self test for of_match_node() · 1f42e5dd
      Grant Likely 提交于
      Adds a selftest function for the of_match_node function. of_match_node
      is supposed to handle precedence for the compatible property as well as
      the name and device_type values. This patch adds some test case data and
      a function that makes sure each test node matches against the correct
      entry of an of_device_id table.
      
      This code was written to verify the new of_match_node() implementation
      that is an earlier part of this series.
      Signed-off-by: NGrant Likely <grant.likely@linaro.org>
      Cc: Kevin Hao <haokexin@gmail.com>
      1f42e5dd
  10. 29 10月, 2013 1 次提交
    • G
      of/irq: create interrupts-extended property · 79d97015
      Grant Likely 提交于
      The standard interrupts property in device tree can only handle
      interrupts coming from a single interrupt parent. If a device is wired
      to multiple interrupt controllers, then it needs to be attached to a
      node with an interrupt-map property to demux the interrupt specifiers
      which is confusing. It would be a lot easier if there was a form of the
      interrupts property that allows for a separate interrupt phandle for
      each interrupt specifier.
      
      This patch does exactly that by creating a new interrupts-extended
      property which reuses the phandle+arguments pattern used by GPIOs and
      other core bindings.
      Signed-off-by: NGrant Likely <grant.likely@linaro.org>
      Acked-by: NTony Lindgren <tony@atomide.com>
      Acked-by: NKumar Gala <galak@codeaurora.org>
      [grant.likely: removed versatile platform hunks into separate patch]
      Cc: Rob Herring <rob.herring@calxeda.com>
      79d97015
  11. 24 10月, 2013 1 次提交
  12. 13 2月, 2013 3 次提交
  13. 29 1月, 2012 1 次提交
  14. 13 12月, 2011 1 次提交