Skip to content
Snippets Groups Projects
  1. Apr 27, 2021
  2. Apr 26, 2021
  3. Apr 25, 2021
  4. Apr 24, 2021
  5. Apr 23, 2021
    • Aaron Williams's avatar
      mips: octeon: ebb7304: Add support for some I2C devices · b1d9554e
      Aaron Williams authored and Daniel Schwierzeck's avatar Daniel Schwierzeck committed
      
      This patch adds support for the following I2C devices connected to
      I2C bus 0 on the Octeon EBB7304:
      - Dallas DS1337 RTC
      - TLV EEPROM
      
      Signed-off-by: default avatarAaron Williams <awilliams@marvell.com>
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Chandrakala Chavva <cchavva@marvell.com>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
      b1d9554e
    • Aaron Williams's avatar
      mips: octeon: dts/dtsi: Change UART DT node to use clocks property · 7f0aa48d
      Aaron Williams authored and Daniel Schwierzeck's avatar Daniel Schwierzeck committed
      
      We already have a clock driver for MIPS Octeon. This patch changes the
      Octeon DT nodes to supply the clock property via the clock driver
      instead of using an hard-coded value, which is not correct in all cases.
      
      Signed-off-by: default avatarAaron Williams <awilliams@marvell.com>
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Chandrakala Chavva <cchavva@marvell.com>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
      7f0aa48d
    • Stefan Roese's avatar
      mips: octeon: Add Octeon III NIC23 board support · ec853471
      Stefan Roese authored and Daniel Schwierzeck's avatar Daniel Schwierzeck committed
      
      This patch adds the basic support for the PCIe target board equipped
      with the Octeon III CN2350 SoC.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      ec853471
    • Stefan Roese's avatar
      mips: octeon: mrvl, cn73xx.dtsi: Add AHCI/SATA DT node · 60c8efac
      Stefan Roese authored and Daniel Schwierzeck's avatar Daniel Schwierzeck committed
      
      Add the AHCI compatible SATA DT node to the Octeon CN73xx dtsi file.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Aaron Williams <awilliams@marvell.com>
      Cc: Chandrakala Chavva <cchavva@marvell.com>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
      60c8efac
    • Stefan Roese's avatar
      scsi: Add ata_swap_buf_le16() to support big-endian platforms · dc0731ec
      Stefan Roese authored and Daniel Schwierzeck's avatar Daniel Schwierzeck committed
      
      Otherwise the output will look like this on MIPS Octeon NIC23:
      
        Device 0: (0:0) Vendor: ATA Prod.: aSDnsi klUrt aII Rev: 4X11
                  Type: Hard Disk
                  Capacity: 457862.8 MB = 447.1 GB (937703088 x 512)
      
      instead of this version:
      
        Device 0: (0:0) Vendor: TA Prod.: SanDisk Ultra II Rev: X411
                  Type: Hard Disk
                  Capacity: 457862.8 MB = 447.1 GB (937703088 x 512)
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Aaron Williams <awilliams@marvell.com>
      Cc: Chandrakala Chavva <cchavva@marvell.com>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
      dc0731ec
    • Stefan Roese's avatar
      ata: ahci: Fix usage on big-endian platforms · 1cf2700f
      Stefan Roese authored and Daniel Schwierzeck's avatar Daniel Schwierzeck committed
      
      This patch adds a few missing virt_to_phys() to use the correct physical
      address for DMA operations in the common AHCI code. This is done to
      support the big-endian MIPS Octeon platform.
      
      Additionally the code a cleaned up a bit (remove some empty lines) and
      made a bit better readable.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Aaron Williams <awilliams@marvell.com>
      Cc: Chandrakala Chavva <cchavva@marvell.com>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
      1cf2700f
    • Stefan Roese's avatar
      sata: ahci_mvebu.c: Enable AHCI/SATA driver for MIPS Octeon · 1eefd49c
      Stefan Roese authored and Daniel Schwierzeck's avatar Daniel Schwierzeck committed
      
      This patch enables the usage of the MVEBU AHCI/SATA driver. The only
      changes necessary to support MIPS Octeon via DT based probing are, to
      add the compatible DT property and the use of dev_remap_addr() so that
      the correct mapped address is used in the Octeon case (phys != virt).
      
      Please note that this driver supports the usage of the "scsi" command
      and not the "sata" command, since it does not provide an own "scan"
      function, which is needed for the "sata" cmd support.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Aaron Williams <awilliams@marvell.com>
      Cc: Chandrakala Chavva <cchavva@marvell.com>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
      1eefd49c
    • Stefan Roese's avatar
      mips: octeon: cpu.c: Enable AHCI/SATA support · 60941459
      Stefan Roese authored and Daniel Schwierzeck's avatar Daniel Schwierzeck committed
      
      For easy AHCI/ SATA integration, this patch adds board_ahci_enable()
      for the MVEBU AHCI driver, which will be used by this platform. This
      platform specific "enable" function will setup the proper endian
      swapping in the AHCI controller so that it can be used by the common
      AHCI code.
      
      Additionally the endian swizzle entry for AHCI in
      octeon_should_swizzle_table[] is removed, as this enabled the original
      lowlevel code function, e.g. octeon_configure_qlm(), for the QLM setup
      to work correctly.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Aaron Williams <awilliams@marvell.com>
      Cc: Chandrakala Chavva <cchavva@marvell.com>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
      60941459
Loading