1. 07 Nov, 2016 1 commit
  2. 31 Aug, 2016 1 commit
  3. 12 Apr, 2016 1 commit
  4. 26 Feb, 2016 2 commits
  5. 30 Nov, 2015 6 commits
  6. 14 Jul, 2015 1 commit
  7. 29 May, 2015 1 commit
  8. 19 Mar, 2015 1 commit
  9. 18 Mar, 2015 1 commit
    • Tony Lindgren's avatar
      ARM: dts: Fix gpio interrupts for dm816x · 599c376c
      Tony Lindgren authored
      Commit 7800064b
      
       ("ARM: dts: Add basic dm816x device tree
      configuration") added basic devices for dm816x, but I was not able
      to test the GPIO interrupts earlier until I found some suitable pins
      to test with. We can mux the MMC card detect and write protect pins
      from SD_SDCD and SD_SDWP mode to use a normal GPIO interrupts that
      are also suitable for the MMC subsystem.
      
      This turned out several issues that need to be fixed:
      
      - I set the GPIO type wrong to be compatible with omap3 instead
        of omap4. The GPIO controller on dm816x has EOI interrupt
        register like omap4 and am335x.
      
      - I got the GPIO interrupt numbers wrong as each bank has two
        and we only use one. They need to be set up the same way as
        on am335x.
      
      - The gpio banks are missing interrupt controller related
        properties.
      
      With these changes the GPIO interrupts can be used with the
      MMC card detect pin, so let's wire that up. Let's also mux all
      the MMC lines for completeness while at it.
      
      For the first GPIO bank I tested using GPMC lines temporarily
      muxed to GPIOs on the dip switch 10.
      
      Cc: Brian Hutchinson <b.hutchman@gmail.com>
      Cc: Matthijs van Duin <matthijsvanduin@gmail.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      599c376c
  10. 24 Feb, 2015 1 commit
    • Tony Lindgren's avatar
      ARM: dts: Fix USB dts configuration for dm816x · a54879a0
      Tony Lindgren authored
      Commit 7800064b
      
       ("ARM: dts: Add basic dm816x device tree
      configuration") added basic devices for dm816x, but I was not able
      to test the USB completely because of an unconfigured USB phy, and
      I only tested it to make sure the Mentor chips are detected and
      clocked without a phy.
      
      After testing the USB with actual devices I noticed a few issues
      that should be fixed to avoid confusion:
      
      - The USB id pin on dm8168-evm is hardwired and can be changed
        only by software. As there are two USB-A type connectors, let's
        start both in host mode instead of otg.
      
      - The Mentor core is configured in such a way on dm8168-evm that
        it's not capable of multipoint at least on revision c board
        that I have.
      
      - We need ranges for the syscon to properly set up the phy as
        children of the SCM syscon area.
      
      - Let's not disable the second interface, the board specific
        dts files can do that if really needed. Most boards should
        just keep it enabled to ensure the device is idled properly.
      
      Note that also a phy and several musb fixes are still needed to
      make the USB to work properly in addition to this fix.
      
      Cc: Brian Hutchinson <b.hutchman@gmail.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      a54879a0
  11. 28 Jan, 2015 1 commit
    • Tony Lindgren's avatar
      ARM: dts: Fix dm816x pinctrl and syscon so they are children of SCM · 72d03226
      Tony Lindgren authored
      
      
      Looks like I only got half done with moving pinctrl and syscon to
      be children of the SCM. I've set up the FAPLL clocks that way already,
      but did not complete the job as I copied the syscon values from
      am33xx.dtsi.
      
      To make sure the syscon mapping works, I've verfified that we can
      set up davinci_emac mac address the same way as cpsw already does
      with the syscon mapping. So let's add that too.
      
      Cc: Brian Hutchinson <b.hutchman@gmail.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      72d03226
  12. 19 Jan, 2015 2 commits