1. 12 Jun, 2017 5 commits
    • Minwoo Im's avatar
      libahci: wrong comments in ahci_do_softreset() · 08fc4756
      Minwoo Im authored
      AHCI 1.3.1 Spec says that software shall build two H2D register
      FISes in the command list to send a software reset.
      The comments in ahci_do_softreset() is currently D2H instead of H2D.
      Signed-off-by: default avatarMinwoo Im <dn3108@gmail.com>
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      08fc4756
    • Bhumika Goyal's avatar
      ata: declare ata_port_info structures as const · f356b082
      Bhumika Goyal authored
      ata_port_info structures are either copied to other objects or their
      references are stored in objects of type const. So, ata_port_info
      structures having similar usage pattern can be made const.
      Signed-off-by: default avatarBhumika Goyal <bhumirks@gmail.com>
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      f356b082
    • Linus Walleij's avatar
      ata: Add driver for Faraday Technology FTIDE010 · be4e456e
      Linus Walleij authored
      This adds a driver for the Faraday Technology FTIDE010
      PATA IP block.
      
      When used with the Storlink/Storm/Cortina Systems Gemini
      SoC, the PATA interface is accompanied by a PATA<->SATA
      bridge, so while the device appear as a PATA controller,
      it attaches physically to SATA disks, and also has a
      designated memory area with registers to set up the bridge.
      
      The Gemini SATA bridge is separated into its own driver
      file to make things modular and make it possible to reuse
      the PATA driver as stand-alone on other systems than the
      Gemini.
      
      dmesg excerpt from the D-Link DIR-685 storage router:
      gemini-sata-bridge 46000000.sata: SATA ID 00000e00, PHY ID: 01000100
      gemini-sata-bridge 46000000.sata: set up the Gemini IDE/SATA nexus
      ftide010 63000000.ata: set up Gemini PATA0
      ftide010 63000000.ata: device ID 00000500, irq 26, io base 0x63000000
      ftide010 63000000.ata: SATA0 (master) start
      gemini-sata-bridge 46000000.sata: SATA0 PHY ready
      scsi host0: pata-ftide010
      ata1: PATA max UDMA/133 irq 26
      ata1.00: ATA-8: INTEL SSDSA2CW120G3, 4PC10302, max UDMA/133
      ata1.00: 234441648 sectors, multi 1: LBA48 NCQ (depth 0/32)
      ata1.00: configured for UDMA/133
      scsi 0:0:0:0: Direct-Access     ATA      INTEL SSDSA2CW12 0302 PQ: 0 ANSI: 5
      ata1.00: Enabling discard_zeroes_data
      sd 0:0:0:0: [sda] 234441648 512-byte logical blocks: (120 GB/112 GiB)
      sd 0:0:0:0: [sda] Write Protect is off
      sd 0:0:0:0: [sda] Write cache: enabled, read cache:
                        enabled, doesn't support DPO or FUA
      ata1.00: Enabling discard_zeroes_data
      ata1.00: Enabling discard_zeroes_data
      sd 0:0:0:0: [sda] Attached SCSI disk
      
      After this I can flawlessly mount and read/write copy etc files
      from /dev/sda[n].
      
      Cc: John Feng-Hsin Chiang <john453@faraday-tech.com>
      Cc: Greentime Hu <green.hu@gmail.com>
      Acked-by: default avatarHans Ulli Kroll <ulli.kroll@googlemail.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Acked-by: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      be4e456e
    • Linus Walleij's avatar
      ata: Add DT bindings for the Gemini SATA bridge · 3420fdfa
      Linus Walleij authored
      This adds device tree bindings for the Cortina Systems Gemini
      PATA to SATA bridge.
      
      Cc: devicetree@vger.kernel.org
      Cc: John Feng-Hsin Chiang <john453@faraday-tech.com>
      Cc: Greentime Hu <green.hu@gmail.com>
      Acked-by: default avatarHans Ulli Kroll <ulli.kroll@googlemail.com>
      Acked-by: default avatarRob Herring <robh@kernel.org>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      3420fdfa
    • Linus Walleij's avatar
      ata: Add DT bindings for Faraday Technology FTIDE010 · af36ddc9
      Linus Walleij authored
      This adds device tree bindings for the Faraday Technology
      FTIDE010 found in the Storlink/Storm/Cortina Systems Gemini SoC.
      
      I am not 100% sure that this part is from Faraday Technology but
      a lot points in that direction:
      
      - A later IDE interface called FTIDE020 exist and share some
        properties.
      
      - The SATA bridge has the same Built In Self Test (BIST) that the
        Faraday FTSATA100 seems to have, and it has version number 0100
        in the device ID register, so this is very likely a FTSATA100
        bundled with the FTIDE010.
      
      Cc: devicetree@vger.kernel.org
      Cc: John Feng-Hsin Chiang <john453@faraday-tech.com>
      Cc: Greentime Hu <green.hu@gmail.com>
      Acked-by: default avatarHans Ulli Kroll <ulli.kroll@googlemail.com>
      Acked-by: default avatarRob Herring <robh@kernel.org>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      af36ddc9
  2. 05 Jun, 2017 5 commits
  3. 02 Jun, 2017 1 commit
    • Yuantian Tang's avatar
      ahci: qoriq: add ls1088a platforms support · 0cee73f7
      Yuantian Tang authored
      Ls1088a is new introduced arm-based soc with sata support with
      following features:
      
      * Complies with the serial ATA 3.0 specification
        and the AHCI 1.3.1 specification
      * Contains a high-speed descriptor-based DMA controller
      * Supports the following:
      * Speeds of 1.5 Gb/s (first-generation SATA),
        3 Gb/s (second-generation SATA), and 6 Gb/s (third-generation SATA)
      * FIS-based switching
      * Native command queuing (NCQ) commands
      * Port multiplier operation
      * Asynchronous notification
      * SATA Vendor BIST mode
      Signed-off-by: default avatarTang Yuantian <andy.tang@nxp.com>
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      0cee73f7
  4. 30 May, 2017 6 commits
  5. 16 May, 2017 3 commits
  6. 15 May, 2017 14 commits
  7. 14 May, 2017 5 commits
  8. 13 May, 2017 1 commit