1. 20 Dec, 2015 19 commits
    • Marek Vasut's avatar
      arm: socfpga: Introduce common board code · 8e535af2
      Marek Vasut authored
      
      
      The SoCFPGA has reached a point where every single board code become
      the same, since each and every single board is probed equally from OF.
      Move the common board code into arch/arm/mach-socfpga/ .
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      8e535af2
    • Marek Vasut's avatar
      arm: socfpga: Switch CONFIG_HOSTNAME to CONFIG_SYS_BOARD · ea082346
      Marek Vasut authored
      
      
      We already have the CONFIG_SYS_BOARD variable, which defines the name
      of the board. The value in CONFIG_HOSTNAME is exactly the same and is
      thus just a duplicity, so switch it to reuse CONFIG_SYS_BOARD .
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      ea082346
    • Marek Vasut's avatar
      arm: socfpga: Switch CONFIG_G_DNL_MANUFACTURER to CONFIG_SYS_VENDOR · a5cad677
      Marek Vasut authored
      
      
      We already have the CONFIG_SYS_VENDOR variable, which defines the
      manufacturer of the board. The value in CONFIG_G_DNL_MANUFACTURER
      is just a duplicity, so switch it to reuse CONFIG_SYS_VENDOR .
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      a5cad677
    • Marek Vasut's avatar
      arm: socfpga: sockit: Zap VIRTUAL_TARGET · 92232747
      Marek Vasut authored
      
      
      There is no VT for this board, so remove this incorrect macro.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      92232747
    • Marek Vasut's avatar
      arm: socfpga: de0_nano: Zap VIRTUAL_TARGET · ac5516dd
      Marek Vasut authored
      
      
      There is no VT for this board, so remove this incorrect macro.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      ac5516dd
    • Marek Vasut's avatar
      arm: socfpga: socrates: Probe DWC2 UDC from OF instead of hard-coded data · b5a5d2bd
      Marek Vasut authored
      
      
      This patch adds the necessary OF alias for the UDC node, which let's
      the code locate the DWC2 UDC base address in OF instead of hard-coding
      it into the U-Boot binary. The code is adjusted to use the address from
      OF instead of the hard-coded one. Finally, the hard-coded address is
      removed and USB DM support is enabled.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      Cc: Lukasz Majewski <l.majewski@majess.pl>
      Cc: Lukasz Majewski <l.majewski@samsung.com>
      b5a5d2bd
    • Marek Vasut's avatar
      arm: socfpga: sockit: Probe DWC2 UDC from OF instead of hard-coded data · 225217da
      Marek Vasut authored
      
      
      This patch adds the necessary OF alias for the UDC node, which let's
      the code locate the DWC2 UDC base address in OF instead of hard-coding
      it into the U-Boot binary. The code is adjusted to use the address from
      OF instead of the hard-coded one. Finally, the hard-coded address is
      removed and USB DM support is enabled.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      Cc: Lukasz Majewski <l.majewski@majess.pl>
      Cc: Lukasz Majewski <l.majewski@samsung.com>
      225217da
    • Marek Vasut's avatar
      arm: socfpga: mcvevk: Probe DWC2 UDC from OF instead of hard-coded data · 9368aa6a
      Marek Vasut authored
      
      
      This patch adds the necessary OF alias for the UDC node, which let's
      the code locate the DWC2 UDC base address in OF instead of hard-coding
      it into the U-Boot binary. The code is adjusted to use the address from
      OF instead of the hard-coded one. Finally, the hard-coded address is
      removed and USB DM support is enabled.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      Cc: Lukasz Majewski <l.majewski@majess.pl>
      Cc: Lukasz Majewski <l.majewski@samsung.com>
      9368aa6a
    • Marek Vasut's avatar
      arm: socfpga: de0_nano: Probe DWC2 UDC from OF instead of hard-coded data · 5b5226a8
      Marek Vasut authored
      
      
      This patch adds the necessary OF alias for the UDC node, which let's
      the code locate the DWC2 UDC base address in OF instead of hard-coding
      it into the U-Boot binary. The code is adjusted to use the address from
      OF instead of the hard-coded one. Finally, the hard-coded address is
      removed and USB DM support is enabled.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      Cc: Lukasz Majewski <l.majewski@majess.pl>
      Cc: Lukasz Majewski <l.majewski@samsung.com>
      5b5226a8
    • Marek Vasut's avatar
      arm: socfpga: cyclone5-socdk: Probe DWC2 UDC from OF instead of hard-coded data · c90ada94
      Marek Vasut authored
      
      
      This patch adds the necessary OF alias for the UDC node, which let's
      the code locate the DWC2 UDC base address in OF instead of hard-coding
      it into the U-Boot binary. The code is adjusted to use the address from
      OF instead of the hard-coded one. Finally, the hard-coded address is
      removed and USB DM support is enabled.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      Cc: Lukasz Majewski <l.majewski@majess.pl>
      Cc: Lukasz Majewski <l.majewski@samsung.com>
      c90ada94
    • Marek Vasut's avatar
      arm: socfpga: arria5-socdk: Probe DWC2 UDC from OF instead of hard-coded data · 70311e69
      Marek Vasut authored
      
      
      This patch adds the necessary OF alias for the UDC node, which let's
      the code locate the DWC2 UDC base address in OF instead of hard-coding
      it into the U-Boot binary. The code is adjusted to use the address from
      OF instead of the hard-coded one. Finally, the hard-coded address is
      removed and USB DM support is enabled.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      Cc: Lukasz Majewski <l.majewski@majess.pl>
      Cc: Lukasz Majewski <l.majewski@samsung.com>
      70311e69
    • Marek Vasut's avatar
      arm: socfpga: Allow DWC2 UDC probing from OF · ef4b01b2
      Marek Vasut authored
      
      
      The USB gadget framework does not support DM yet, so add this bit
      to let DWC2 UDC probe from OF on platforms which support it.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      Cc: Lukasz Majewski <l.majewski@majess.pl>
      Cc: Lukasz Majewski <l.majewski@samsung.com>
      ef4b01b2
    • Marek Vasut's avatar
      arm: socfpga: socrates: Remove Micrel PHY configuration · faed7ac8
      Marek Vasut authored
      
      
      The Micrel PHY configuration is now done from OF, so hard-coding
      the configuration into the board file is no longer necessary.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      faed7ac8
    • Marek Vasut's avatar
      arm: socfpga: sockit: Remove Micrel PHY configuration · 1f5f1871
      Marek Vasut authored
      
      
      The Micrel PHY configuration is now done from OF, so hard-coding
      the configuration into the board file is no longer necessary.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      1f5f1871
    • Marek Vasut's avatar
      arm: socfpga: de0_nano: Remove Micrel PHY configuration · 5df93c55
      Marek Vasut authored
      
      
      The Micrel PHY configuration is now done from OF, so hard-coding
      the configuration into the board file is no longer necessary.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      5df93c55
    • Marek Vasut's avatar
      arm: socfpga: cyclone5-socdk: Remove Micrel PHY configuration · b5aaa036
      Marek Vasut authored
      
      
      The Micrel PHY configuration is now done from OF, so hard-coding
      the configuration into the board file is no longer necessary.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      b5aaa036
    • Marek Vasut's avatar
      arm: socfpga: arria5-socdk: Remove Micrel PHY configuration · 6b9cdb71
      Marek Vasut authored
      
      
      The Micrel PHY configuration is now done from OF, so hard-coding
      the configuration into the board file is no longer necessary.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      6b9cdb71
    • Marek Vasut's avatar
      arm: socfpga: socrates: Add missing PHY skew config · 5d8546ef
      Marek Vasut authored
      
      
      Add missing KSZ9021 PHY skew configuration for the EBV socrates board.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      5d8546ef
    • Marek Vasut's avatar
      net: phy: micrel: Configure KSZ9021/KSZ9031 skew from OF · 22854bda
      Marek Vasut authored
      
      
      Add code to process the KSZ9021/KSZ9031 OF props if they are present
      and configure skew registers based on the information from the OF.
      This code is only enabled if the DM support for ethernet is also
      enabled.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      
      V2: - Implement struct ksz90x1_reg_field to describe the skew register
            fields more accurately.
          - Fix RXDV/TXEN skew register default value and offset.
      22854bda
  2. 18 Dec, 2015 19 commits
  3. 17 Dec, 2015 2 commits
    • Stephen Warren's avatar
      usb: kbd: don't use int xfers when polling via ctrl xfers · e4b70d80
      Stephen Warren authored
      
      
      When CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP is enabled, use a
      GET_REPORT control transfer to retrieve the initial state of the
      keyboard. This matches the technique used to poll the keyboard state.
      This is useful since it eliminates the remaining use of interrupt
      transfers from the USB keyboard driver, which allows it to work with
      USB HCD that don't support interrupt transfers.
      
      Cc: Hans de Goede <hdegoede@redhat.com>
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      e4b70d80
    • Alexey Brodkin's avatar
      usb: add support of generic OHCI devices · fee331f6
      Alexey Brodkin authored
      
      
      This driver is meant to be used with any OHCI-compatible host
      controller in case if there's no need for platform-specific
      glue such as setup of controller or PHY's power mode via
      GPIOs etc.
      Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Marek Vasut <marex@denx.de>
      fee331f6