1. 22 2月, 2012 1 次提交
  2. 29 1月, 2012 1 次提交
  3. 28 12月, 2011 2 次提交
  4. 13 12月, 2011 1 次提交
    • G
      of: create of_phandle_args to simplify return of phandle parsing data · 15c9a0ac
      Grant Likely 提交于
      of_parse_phandle_with_args() needs to return quite a bit of data.  Rather
      than making each datum a separate **out_ argument, this patch creates
      struct of_phandle_args to contain all the returned data and reworks the
      user of the function.  This patch also enables of_parse_phandle_with_args()
      to return the device node pointer for the phandle node.
      
      This patch also ends up being fairly major surgery to
      of_parse_handle_with_args().  The existing structure didn't work well
      when extending to use of_phandle_args, and I discovered bugs during testing.
      I also took the opportunity to rename the function to be like the
      existing of_parse_phandle().
      
      v2: - moved declaration of of_phandle_args to fix compile on non-DT builds
          - fixed incorrect index in example usage
          - fixed incorrect return code handling for empty entries
      Reviewed-by: NShawn Guo <shawn.guo@freescale.com>
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      15c9a0ac
  5. 04 11月, 2011 1 次提交
  6. 01 11月, 2011 1 次提交
  7. 29 10月, 2011 2 次提交
  8. 24 10月, 2011 1 次提交
  9. 14 10月, 2011 1 次提交
  10. 05 10月, 2011 2 次提交
  11. 30 9月, 2011 1 次提交
  12. 23 9月, 2011 2 次提交
  13. 10 8月, 2011 1 次提交
  14. 04 8月, 2011 1 次提交
  15. 03 8月, 2011 1 次提交
  16. 02 8月, 2011 1 次提交
  17. 09 7月, 2011 1 次提交
  18. 07 7月, 2011 1 次提交
  19. 04 7月, 2011 1 次提交
  20. 01 7月, 2011 1 次提交
  21. 28 2月, 2011 1 次提交
  22. 24 2月, 2011 1 次提交
    • S
      rtc: cmos: Add OF bindings · 3bcbaf6e
      Sebastian Andrzej Siewior 提交于
      This allows to load the OF driver based informations from the device
      tree. Systems without BIOS may need to perform some initialization.
      PowerPC creates a PNP device from the OF information and performs this
      kind of initialization in their private PCI quirk. This looks more
      generic.
      
      This patch also avoids registering the platform RTC driver on X86 if
      we have a device tree blob. Otherwise we would setup the device based
      on the hardcoded information in arch/x86 rather than the device tree
      based one.
      
      [ tglx: Changed "int of_have_populated_dt()" to bool as recommended by
              Grant ]
      Signed-off-by: NSebastian Andrzej Siewior <bigeasy@linutronix.de>
      Signed-off-by: NDirk Brandewie <dirk.brandewie@gmail.com>
      Acked-by: NGrant Likely <grant.likely@secretlab.ca>
      Cc: sodaville@linutronix.de
      Cc: devicetree-discuss@lists.ozlabs.org
      Cc: rtc-linux@googlegroups.com
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      LKML-Reference: <1298405266-1624-12-git-send-email-bigeasy@linutronix.de>
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      3bcbaf6e
  23. 22 1月, 2011 1 次提交
  24. 30 7月, 2010 1 次提交
  25. 15 7月, 2010 1 次提交
  26. 18 3月, 2010 1 次提交
    • G
      of: Fix comparison of "compatible" properties · 1976152f
      Grant Likely 提交于
      Commit 7c7b60cb
      "of: put default string compare and #a/s-cell values into common header"
      
      Breaks various things on powerpc due to using strncasecmp instead of
      strcasecmp for comparing against "compatible" strings.
      
      This causes things like the 4xx PCI code to fail miserably due to the
      partial matches in code like this:
      
             for_each_compatible_node(np, NULL, "ibm,plb-pcix")
                     ppc4xx_probe_pcix_bridge(np);
             for_each_compatible_node(np, NULL, "ibm,plb-pci")
                     ppc4xx_probe_pci_bridge(np);
      
      It's not quite right to do partial name match. Entries in a compatible
      list are meant to be matched whole. If a device is compatible with both
      "foo" and "foo1", then the device should have both strings in its
      "compatible" property.
      
      This patch reverts powerpc and microblaze us to use strcasecmp.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
            (for patch description)
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      Acked-by: NDavid S. Miller <davem@davemloft.net>
      Acked-by: NMichal Simek <michal.simek@petalogix.com>
      1976152f
  27. 15 2月, 2010 1 次提交
  28. 14 2月, 2010 4 次提交
  29. 09 2月, 2010 3 次提交
  30. 29 1月, 2010 1 次提交
  31. 24 11月, 2009 1 次提交