Skip to content
Snippets Groups Projects
  1. Nov 06, 2022
  2. Oct 31, 2022
    • William Zhang's avatar
      timer: sti: convert sti-timer to arm a9 global timer · 35751c7f
      William Zhang authored and Tom Rini's avatar Tom Rini committed
      
      STI timer is actually ARM Cortex A9 global timer. Convert the driver to
      use generic global timer name and make it consistent with Linux kernel
      global timer driver. This also allows any A9 based device to use this
      driver.
      
      Signed-off-by: default avatarWilliam Zhang <william.zhang@broadcom.com>
      Reviewed-by: Patrice Chotard's avatarPatrice Chotard <patrice.chotard@foss.st.com>
      Tested-by: Patrice Chotard's avatarPatrice Chotard <patrice.chotard@foss.st.com>
      35751c7f
    • William Zhang's avatar
      arm: bcmbca: add bcm6855 SoC support under CONFIG_ARCH_BCMBCA · 62c0ae40
      William Zhang authored and Tom Rini's avatar Tom Rini committed
      
      BCM6855 is a Broadcom ARM A7 based PON Gateway SoC. It is part of the
      BCA (Broadband Carrier Access origin) chipset family. Like other
      broadband SoC, this patch adds it under CONFIG_BCM6855 chip config and
      CONFIG_ARCH_BCMBCA platform config.
      
      This initial support includes a bare-bone implementation and dts with
      CPU subsystem, memory and ARM PL101 uart. This SoC is supported in the
      linux-next git repository so the dts and dtsi files are copied from linux.
      
      The u-boot image can be loaded from flash or network to the entry point
      address in the memory and boot from there to the console.
      
      Signed-off-by: default avatarWilliam Zhang <william.zhang@broadcom.com>
      Reviewed-by: default avatarPhilippe Reynes <philippe.reynes@softathome.com>
      62c0ae40
    • William Zhang's avatar
      arm: bcmbca: add bcm6858 SoC support under CONFIG_ARCH_BCMBCA · b0e2b6ab
      William Zhang authored and Tom Rini's avatar Tom Rini committed
      
      BCM6858 is a Broadcom B53 based PON Gateway SoC. It is part of the BCA
      (Broadband Carrier Access origin) chipset family. Like other broadband
      SoC, this patch adds it under CONFIG_BCM6858 chip config and
      CONFIG_ARCH_BCMBCA platform config.
      
      This initial support includes a bare-bone implementation and the
      original dts is updated with the one from linux next git repository.
      
      The u-boot image can be loaded from flash or network to the entry point
      address in the memory and boot from there to the console.
      
      Signed-off-by: default avatarWilliam Zhang <william.zhang@broadcom.com>
      Reviewed-by: default avatarPhilippe Reynes <philippe.reynes@softathome.com>
      b0e2b6ab
    • William Zhang's avatar
      arm: bcmbca: add bcm6856 SoC support under CONFIG_ARCH_BCMBCA · dc244ca3
      William Zhang authored and Tom Rini's avatar Tom Rini committed
      
      BCM6856 is a Broadcom B53 based PON Gateway SoC. It is part of the BCA
      (Broadband Carrier Access origin) chipset family. Like other Broadband
      SoC, this patch adds it under CONFIG_BCM6856 chip config and
      CONFIG_ARCH_BCMBCA platform config.
      
      This initial support includes a bare-bone implementation and dts with
      CPU subsystem, memory and Broadcom uart. This SoC is supported in the
      linux-next git repository so the dts and dtsi files are copied from
      linux.
      
      The u-boot image can be loaded from flash or network to the entry point
      address in the memory and boot from there to the console.
      
      Signed-off-by: default avatarWilliam Zhang <william.zhang@broadcom.com>
      Reviewed-by: default avatarPhilippe Reynes <philippe.reynes@softathome.com>
      dc244ca3
    • William Zhang's avatar
      MAINTAINERS: Add BCM63158 maintainer to BCMBCA entry · b23c8040
      William Zhang authored and Tom Rini's avatar Tom Rini committed
      
      Since ARCH_BCM63158 SoC support is merged into ARCH_BCMBCA, add BCM63158
      maintainer Philippe to bcmbca maintainer list.
      
      Signed-off-by: default avatarWilliam Zhang <william.zhang@broadcom.com>
      Reviewed-by: default avatarPhilippe Reynes <philippe.reynes@softathome.com>
      b23c8040
    • William Zhang's avatar
      arm: bcmbca: add bcm63158 SoC support under CONFIG_ARCH_BCMBCA · 61546e7c
      William Zhang authored and Tom Rini's avatar Tom Rini committed
      
      BCM63158 is a Broadcom B53 based DSL Gateway SoC. It is part of the
      BCA (Broadband Carrier Access origin) chipset family. Like other
      Broadband SoC, this patch adds it under CONFIG_BCM63158 chip
      config and CONFIG_ARCH_BCMBCA platform config.
      
      This initial support includes a bare-bone implementation and dts with
      CPU subsystem, memory and ARM PL011 uart. This SoC is supported in the
      linux-next git repository so the dts and dtsi files are copied from
      linux.
      
      The u-boot image can be loaded from flash or network to the entry
      point address in the memory and boot from there to the console.
      
      Signed-off-by: default avatarWilliam Zhang <william.zhang@broadcom.com>
      Reviewed-by: default avatarPhilippe Reynes <philippe.reynes@softathome.com>
      61546e7c
    • William Zhang's avatar
      arm: bcmbca: add bcm4908 SoC support · e5703df2
      William Zhang authored and Tom Rini's avatar Tom Rini committed
      
      BCM4908 is a Broadcom B53 based WLAN AP router SoC. It is part of the
      BCA (Broadband Carrier Access origin) chipset family so it's added
      under ARCH_BCMBCA platform. This initial support includes a bare-bone
      implementation and dts with CPU subsystem, memory and Broadcom uart.
      
      This SoC is supported in the linux git repository so the dts and dtsi
      files are stripped down version of linux copies with mininum blocks
      needed by u-boot.
      
      The u-boot image can be loaded from flash or network to the entry point
      address in the memory and boot from there to the console.
      
      Signed-off-by: default avatarWilliam Zhang <william.zhang@broadcom.com>
      Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
      e5703df2
    • William Zhang's avatar
      arm: bcmbca: add bcm6813 SoC support · 1b81843b
      William Zhang authored and Tom Rini's avatar Tom Rini committed
      
      BCM6813 is a Broadcom B53 based PON and WLAN AP router SoC. It is part
      of the BCA (Broadband Carrier Access origin) chipset family so it's
      added under ARCH_BCMBCA platform. This initial support includes a
      bare-bone implementation and dts with CPU subsystem, memory and ARM
      PL011 uart.
      
      This SoC is supported in the linux-next git repository so the dts and
      dtsi files are copied from linux.
      
      The u-boot image can be loaded from flash or network to the entry point
      address in the memory and boot from there to the console.
      
      Signed-off-by: default avatarWilliam Zhang <william.zhang@broadcom.com>
      Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
      1b81843b
    • William Zhang's avatar
      arm: bcmbca: add bcm4912 SoC support · dc6117dc
      William Zhang authored and Tom Rini's avatar Tom Rini committed
      
      BCM4912 is a Broadcom B53 based WLAN AP router SoC. It is part of the
      BCA (Broadband Carrier Access origin) chipset family so it's added under
      ARCH_BCMBCA platform. This initial support includes a bare-bone
      implementation and dts with CPU subsystem, memory and ARM PL011 uart.
      
      This SoC is supported in the linux-next git repository so the dts
      and dtsi files are copied from linux.
      
      The u-boot image can be loaded from flash or network to the entry
      point address in the memory and boot from there to the console.
      
      Signed-off-by: default avatarWilliam Zhang <william.zhang@broadcom.com>
      Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
      dc6117dc
    • William Zhang's avatar
      arm: bcmbca: add bcm63146 SoC support · c6e0073c
      William Zhang authored and Tom Rini's avatar Tom Rini committed
      
      BCM63146 is a Broadcom B53 based DSL Broadband SoC. It is part of the
      BCA (Broadband Carrier Access origin) chipset family so it's added under
      ARCH_BCMBCA platform. This initial support includes a bare-bone
      implementation and dts with CPU subsystem, memory and ARM PL011 uart.
      
      This SoC is supported in the linux-next git repository so the dts and
      dtsi files are copied from linux.
      
      The u-boot image can be loaded from flash or network to the entry point
      address in the memory and boot from there to the console.
      
      Signed-off-by: default avatarWilliam Zhang <william.zhang@broadcom.com>
      Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
      c6e0073c
    • William Zhang's avatar
      arm: bcmbca: add bcm63138 SoC support · 21385adf
      William Zhang authored and Tom Rini's avatar Tom Rini committed
      BCM63138 is an ARM A9 based DSL Broadband SoC. It is part of the BCA
      (Broadband Carrier Access origin) chipset family so it's added under
      ARCH_BCMBCA platform. This initial support includes a bare-bone
      implementation and dts with CPU subsystem, memory, ARM A9 global timer
      and Broadcom uart.
      
      This SoC is supported in the linux-next git repository so the dts and
      dtsi files are stripped down version of linux copies with mininum blocks
      needed by u-boot.
      
      The u-boot image can be loaded from flash or network to the entry point
      address in the memory and boot from there to the console.
      
      This patch applies on top of the my previous patch [1].
      
      [1] https://lists.denx.de/pipermail/u-boot/2022-August/490570.html
      
      
      
      Signed-off-by: default avatarWilliam Zhang <william.zhang@broadcom.com>
      Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
      Reviewed-by: default avatarPhilippe Reynes <philippe.reynes@softathome.com>
      21385adf
    • William Zhang's avatar
      arm: bcmbca: add bcm63148 SoC support · 7e3d6959
      William Zhang authored and Tom Rini's avatar Tom Rini committed
      
      BCM63148 is an Broadcom B15 based DSL Broadband SoC. It is part of the
      BCA (Broadband Carrier Access origin) chipset family so it's added under
      ARCH_BCMBCA platform. This initial support includes a bare-bone
      implementation and dts with CPU subsystem, memory and Broadcom uart.
      
      This SoC is supported in the linux-next git repository so the dts and
      dtsi files are copied from linux.
      
      The u-boot image can be loaded from flash or network to the entry point
      address in the memory and boot from there.
      
      Signed-off-by: default avatarWilliam Zhang <william.zhang@broadcom.com>
      7e3d6959
    • William Zhang's avatar
      arm: bcmbca: add bcm6756 SoC support · 4054fd71
      William Zhang authored and Tom Rini's avatar Tom Rini committed
      
      BCM6756 is an ARM A7 based WLAN Gateway and Access Point Broadband SoC.
      It is part of the BCA(Broadband Carrier Access origin) chipset family so
      it's added under ARCH_BCMBCA platform. This initial support includes a
      bare-bone implementation and dts with CPU subsystem, memory and ARM
      PL011 uart.
      
      This SoC is supported in the linux-next git repository so the dts and
      dtsi files are copied from linux.
      
      The u-boot image can be loaded from flash or network to the entry
      point address in the memory and boot from there.
      
      Signed-off-by: default avatarWilliam Zhang <william.zhang@broadcom.com>
      4054fd71
    • William Zhang's avatar
      arm: bcmbca: add bcm6878 SoC support · 4cab0384
      William Zhang authored and Tom Rini's avatar Tom Rini committed
      
      BCM6878 is an ARM A7 based PON Broadband SoC. It is part of the BCA
      (Broadband Carrier Access origin) chipset family so it's added under
      ARCH_BCMBCA platform. This initial support includes a bare-bone
      implementation and dts with CPU subsystem, memory and ARM PL011
      uart.
      
      This SoC is supported in the linux-next git repository so the dts and
      dtsi files are copied from linux with minor fix-up that needs to be
      upstreamed to linux as well.
      
      The u-boot image can be loaded from flash or network to the entry point
      address in the memory and boot from there.
      
      Signed-off-by: default avatarWilliam Zhang <william.zhang@broadcom.com>
      4cab0384
    • William Zhang's avatar
      arm: bcmbca: add bcm6846 SoC support · adb34dd5
      William Zhang authored and Tom Rini's avatar Tom Rini committed
      
      BCM6846 is an ARM A7 based PON Broadband SoC. It is part of the BCA
      (Broadband Carrier Access origin) chipset family so it's added under
      ARCH_BCMBCA platform. This initial support includes a bare-bone
      implementation and dts with CPU subsystem, memory and Broadcom uart.
      
      This SoC is supported in the linux-next git repository so the dts and
      dtsi files are copied from linux with minor fix-up that needs to be
      upstreamed to linux as well.
      
      The u-boot image can be loaded from flash or network to the entry point
      address in the memory and boot from there.
      
      Signed-off-by: default avatarWilliam Zhang <william.zhang@broadcom.com>
      adb34dd5
    • William Zhang's avatar
      arm: bcmbca: add bcm63178 SoC support · 41c65ce4
      William Zhang authored and Tom Rini's avatar Tom Rini committed
      
      BCM63178 is an ARM A7 based DSL Broadband SoC. It is part of the BCA
      (Broadband Carrier Access origin) chipset family so it's added under
      ARCH_BCMBCA platform. This initial support includes a bare-bone
      implementation and dts with CPU subsystem, memory and ARM PL011 uart.
      
      This SoC is supported in the linux-next git repository so the dts and
      dtsi files are copied from linux with minor fix-up that needs to be
      upstreamed to linux as well.
      
      The u-boot image can be loaded from flash or network to the entry
      point address in the memory and boot from there.
      
      Signed-off-by: default avatarWilliam Zhang <william.zhang@broadcom.com>
      41c65ce4
  3. Oct 30, 2022
  4. Oct 11, 2022
  5. Oct 06, 2022
  6. Oct 05, 2022
  7. Sep 26, 2022
  8. Sep 23, 2022
  9. Sep 18, 2022
  10. Sep 15, 2022
  11. Sep 13, 2022
    • Stefan Roese's avatar
      cyclic: Add 'cyclic list' and 'cyclic demo' commands · 1f865ee0
      Stefan Roese authored and Tom Rini's avatar Tom Rini committed
      
      This patch adds the cyclic command, which currently only supports the
      'list' subcommand, to list all currently registered cyclic functions.
      Here an example:
      
      => cyclic list
      function: cyclic_demo, cpu-time: 7010 us, frequency: 99.80 times/s
      function: cyclic_demo2, cpu-time: 1 us, frequency: 1.13 times/s
      
      As you can see, the cpu-time is accounted, so that cyclic functions
      that take too long might be discovered. Additionally the frequency is
      logged.
      
      The 'cyclic demo' commands registers the cyclic_demo() function to
      be executed all 'cycletime_ms' milliseconds. The only thing this
      function does is delaying by 'delay_us' microseconds.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      1f865ee0
    • Stefan Roese's avatar
      cyclic: Add basic support for cyclic function execution infrastruture · c2c69718
      Stefan Roese authored and Tom Rini's avatar Tom Rini committed
      
      Add the basic infrastructure to periodically execute code, e.g. all
      100ms. Examples for such functions might be LED blinking etc. The
      functions that are hooked into this cyclic list should be small timewise
      as otherwise the execution of the other code that relies on a high
      frequent polling (e.g. UART rx char ready check) might be delayed too
      much. This patch also adds the Kconfig option
      CONFIG_CYCLIC_MAX_CPU_TIME_US, which configures the max allowed time
      for such a cyclic function. If it's execution time exceeds this time,
      this cyclic function will get removed from the cyclic list.
      
      How is this cyclic functionality executed?
      The following patch integrates the main function responsible for
      calling all registered cyclic functions cyclic_run() into the
      common WATCHDOG_RESET macro. This guarantees that cyclic_run() is
      executed very often, which is necessary for the cyclic functions to
      get scheduled and executed at their configured periods.
      
      This cyclic infrastructure will be used by a board specific function on
      the NIC23 MIPS Octeon board, which needs to check periodically, if a
      PCIe FLR has occurred.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      c2c69718
    • Chin-Ting Kuo's avatar
      spi: aspeed: Add ASPEED SPI controller driver · 4daa6bb6
      Chin-Ting Kuo authored and Tom Rini's avatar Tom Rini committed
      
      Add ASPEED BMC FMC/SPI memory controller driver with
      spi-mem interface for AST2500 and AST2600 platform.
      
      There are three SPI memory controllers embedded in an ASPEED SoC.
      - FMC: Named as Firmware Memory Controller. After AC on, MCU ROM
             fetches initial device boot image from FMC chip select(CS) 0.
      
      - SPI1: Play the role of a SPI Master controller. Or, there is a
              dedicated path for HOST(X86) to access its BIOS flash mounted
              under BMC. spi-aspeed-smc.c implements the control sequence when
              SPI1 is a SPI master.
      
      - SPI2: It is a pure SPI flash controller. For most scenarios, flashes
              mounted under it are for pure storage purpose.
      
      ASPEED SPI controller supports 1-1-1, 1-1-2 and 1-1-4 SPI flash mode.
      Three types of command mode are supported, normal mode, command
      read/write mode and user mode.
      - Normal mode: Default mode. After power on, normal read command 03h or
                     13h is used to fetch boot image from SPI flash.
                     - AST2500: Only 03h command can be used after power on
                                or reset.
                     - AST2600: If FMC04[6:4] is set, 13h command is used,
                                otherwise, 03h command.
                     The address length is decided by FMC04[2:0].
      
      - Command mode: SPI controller can send command and address
                      automatically when CPU read/write the related remapped
                      or decoded address area. The command used by this mode
                      can be configured by FMC10/14/18[23:16]. Also, the
                      address length is decided by FMC04[2:0]. This mode will
                      be implemented in the following patch series.
      
      - User mode: It is a traditional and pure SPI operation, where
                   SPI transmission is controlled by CPU. It is the main
                   mode in this patch.
      
      Each SPI controller in ASPEED SoC has its own decoded address mapping.
      Within each SPI controller decoded address, driver can assign a specific
      address region for each CS of a SPI controller. The decoded address
      cannot overlap to each other. With normal mode and command mode, the
      decoded address accessed by the CPU determines which CS is active.
      When user mode is adopted, the CS decoded address is a FIFO, CPU can
      send/receive any SPI transmission by accessing the related decoded
      address for the target CS.
      
      This patch only implements user mode initially. Command read/write
      mode will be implemented in the following patches.
      
      Signed-off-by: default avatarChin-Ting Kuo <chin-ting_kuo@aspeedtech.com>
      4daa6bb6
  12. Aug 20, 2022
  13. Aug 16, 2022
  14. Aug 10, 2022
  15. Aug 01, 2022
    • Marek Behún's avatar
      MAINTAINERS: Change POWERPC MPC85XX maintainer to Marek Behún · 707b17f6
      Marek Behún authored and Tom Rini's avatar Tom Rini committed
      
      After a discussion with Tom Rini, we've agreed that I am going to take
      over custodianship of the MPC85XX platform, since it seems other people
      do not have necessary interest or time and getting things done over
      there takes too long.
      
      Since I am only working on one MPC85XX board, Turris 1.x, and do not
      have time to do thorough reviews of patches for this entire platform
      (other than those concerning Turris 1.x board), for other boards I will
      only run patches through CI and checkpatch, and then send them via PR
      upwards to Tom.
      
      Signed-off-by: default avatarMarek Behún <kabel@kernel.org>
      Acked-by: default avatarTom Rini <trini@konsulko.com>
      707b17f6
  16. Jul 26, 2022
    • Martyn Welch's avatar
      MAINTAINERS: Update file list for ARM Freescale IMX · bb19f851
      Martyn Welch authored and Stefano Babic's avatar Stefano Babic committed
      
      The MAINTAINERS file currently lists files in
      arch/arm/include/asm/arch-imx/ being part of the IMX maintainers
      purview, however the arch/arm/include/asm/ directory also contains the
      directories arch-imx8, arch-imx8m, arch-imx8ulp and arch-imxrt which
      would also appear to be relevant to the team. Tweak the entry to cover
      these directories so that tools like get_maintainers.pl will suggest
      relevant maintainers when making changes just in these directories.
      
      Signed-off-by: default avatarMartyn Welch <martyn.welch@collabora.com>
      bb19f851
  17. Jul 25, 2022
  18. Jul 21, 2022
Loading