1. 14 8月, 2013 1 次提交
  2. 08 8月, 2013 2 次提交
  3. 02 7月, 2013 1 次提交
  4. 01 7月, 2013 1 次提交
    • P
      powerpc: Delete __cpuinit usage from all users · 061d19f2
      Paul Gortmaker 提交于
      The __cpuinit type of throwaway sections might have made sense
      some time ago when RAM was more constrained, but now the savings
      do not offset the cost and complications.  For example, the fix in
      commit 5e427ec2 ("x86: Fix bit corruption at CPU resume time")
      is a good example of the nasty type of bugs that can be created
      with improper use of the various __init prefixes.
      
      After a discussion on LKML[1] it was decided that cpuinit should go
      the way of devinit and be phased out.  Once all the users are gone,
      we can then finally remove the macros themselves from linux/init.h.
      
      This removes all the powerpc uses of the __cpuinit macros.  There
      are no __CPUINIT users in assembly files in powerpc.
      
      [1] https://lkml.org/lkml/2013/5/20/589
      
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Josh Boyer <jwboyer@gmail.com>
      Cc: Matt Porter <mporter@kernel.crashing.org>
      Cc: Kumar Gala <galak@kernel.crashing.org>
      Cc: linuxppc-dev@lists.ozlabs.org
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      061d19f2
  5. 10 4月, 2013 1 次提交
    • S
      powerpc/fsl-booke: Add B4_QDS board support · af7837c7
      Shaveta Leekha 提交于
      - Add support for B4 board in board file b4_qds.c,
        It is common for B4860, B4420 and B4220QDS as they share same QDS board
      - Add B4QDS support in Kconfig and Makefile
      
      B4860QDS is a high-performance computing evaluation, development and
      test platform supporting the B4860 QorIQ Power Architecture processor,
      with following major features:
      
          - Four dual-threaded e6500 Power Architecture processors
            organized in one cluster-each core runs up to 1.8 GHz
          - Two DDR3/3L controllers for high-speed memory interface each
            runs at up to 1866.67 MHz
          - CoreNet fabric that fully supports coherency using MESI protocol
            between the e6500 cores, SC3900 FVP cores, memories and
            external interfaces.
          - Data Path Acceleration Architecture having FMAN, QMan, BMan,
            SEC 5.3 and RMAN
          - Large internal cache memory with snooping and stashing capabilities
          - Sixteen 10-GHz SerDes lanes that serve:
              - Two SRIO interfaces. Each supports up to 4 lanes and
                a total of up to 8 lanes
              - Up to 8-lanes Common Public Radio Interface (CPRI) controller
                for glue-less antenna connection
              - Two 10-Gbit Ethernet controllers (10GEC)
              - Six 1G/2.5-Gbit Ethernet controllers for network communications
              - PCI Express controller
              - Debug (Aurora)
          - Various system peripherals
      
      B4420 and B4220 have some differences in comparison to B4860 with fewer
      core/clusters(both SC3900 and e6500), fewer DDR controllers,
      fewer serdes lanes, fewer SGMII interfaces and reduced target frequencies.
      
      Key differences between B4860 and B4420:
      B4420 has:
          - Fewer e6500 cores:
              1 cluster with 2 e6500 cores
          - Fewer SC3900 cores/clusters:
              1 cluster with 2 SC3900 cores per cluster
          - Single DDRC @ 1.6GHz
          - 2 X 4 lane serdes
          - 3 SGMII interfaces
          - no sRIO
          - no 10G
      
      Key differences between B4860 and B4220:
      B4220 has:
          - Fewer e6500 cores:
              1 cluster with 1 e6500 core
          - Fewer SC3900 cores/clusters:
              1 cluster with 2 SC3900 cores per cluster
          - Single DDRC @ 1.33GHz
          - 2 X 2 lane serdes
          - 2 SGMII interfaces
          - no sRIO
          - no 10G
      Signed-off-by: NShaveta Leekha <shaveta@freescale.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      af7837c7
  6. 04 4月, 2013 2 次提交
  7. 20 3月, 2013 1 次提交
  8. 19 3月, 2013 1 次提交
  9. 13 3月, 2013 1 次提交
  10. 16 2月, 2013 4 次提交
  11. 13 2月, 2013 1 次提交
  12. 29 1月, 2013 1 次提交
    • B
      powerpc: Add support for CTS-1000 GPIO controlled system poweroff · 5611fe48
      Benjamin Collins 提交于
      CTS-1000 is based on P4080. GPIO 27 is used to signal the FPGA to
      switch off power, and also associates IRQ 8 with front-panel button
      press (which we use to call orderly_poweroff()).
      
      The relevant device-tree looks like this:
      
      	gpio0: gpio@130000 {
      		compatible = "fsl,qoriq-gpio";
      		reg = <0x130000 0x1000>;
      		interrupts = <55 2 0 0>;
      		#gpio-cells = <2>;
      		gpio-controller;
      
      		/* Allows powering off the system via GPIO signal. */
      		gpio-halt@27 {
      			compatible = "sgy,gpio-halt";
      			gpios = <&gpio0 27 0>;
      			interrupts = <8 1 0 0>;
      		};
      	};
      
      Because the driver cannot match on sgy,gpio-halt (because the node is never
      processed through of_platform), it matches on fsl,qoriq-gpio and then
      checks child nodes for the matching sgy,gpio-halt. This also ensures that
      the GPIO controller is detected prior to sgy_cts1000's probe callback,
      since that node wont match via of_platform until the controller is
      registered.
      
      Also, because the GPIO handler for triggering system poweroff might sleep,
      the IRQ uses a workqueue to call orderly_poweroff().
      
      As a final note, this driver may be expanded for other features specific to
      the CTS-1000.
      Signed-off-by: NBen Collins <ben.c@servergy.com>
      Cc: Jack Smith <jack.s@servergy.com>
      Cc: Vihar Rai <vihar.r@servergy.com>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      5611fe48
  13. 22 1月, 2013 1 次提交
  14. 09 1月, 2013 1 次提交
  15. 04 1月, 2013 1 次提交
    • G
      POWERPC: drivers: remove __dev* attributes. · cad5cef6
      Greg Kroah-Hartman 提交于
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, __devinitdata,
      __devinitconst, and __devexit from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      cad5cef6
  16. 25 11月, 2012 2 次提交
  17. 15 11月, 2012 2 次提交
  18. 06 10月, 2012 1 次提交
  19. 13 9月, 2012 7 次提交
  20. 27 7月, 2012 2 次提交
    • T
      powerpc/85xx: p1022ds: fix DIU/LBC switching with NAND enabled · 896c01cb
      Timur Tabi 提交于
      In order for indirect mode on the PIXIS to work properly, both chip selects
      need to be set to GPCM mode, otherwise writes to the chip select base
      addresses will not actually post to the local bus -- they'll go to the
      NAND controller instead.  Therefore, we need to set BR0 and BR1 to GPCM
      mode before switching to indirect mode.
      Signed-off-by: NTimur Tabi <timur@freescale.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      896c01cb
    • T
      powerpc/85xx: p1022ds: disable the NAND flash node if video is enabled · 6269f258
      Timur Tabi 提交于
      The Freescale P1022 has a unique pin muxing "feature" where the DIU video
      controller's video signals are muxed with 24 of the local bus address signals.
      When the DIU is enabled, the bulk of the local bus is disabled, preventing
      access to memory-mapped devices like NAND flash and the pixis FPGA.
      
      Therefore, if the DIU is going to be enabled, then memory-mapped devices on
      the localbus, like NAND flash, need to be disabled.
      
      This patch is similar to "powerpc/85xx: p1022ds: disable the NOR flash node
      if video is enabled", except that it disables the NAND flash node instead.
      This PIXIS node needs to remain enabled because it is used by platform code
      to switch into indirect mode.
      Signed-off-by: NTimur Tabi <timur@freescale.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      6269f258
  21. 11 7月, 2012 3 次提交
  22. 10 7月, 2012 3 次提交
    • P
      powerpc/85xx: Add BSC9131 RDB Support · d729b900
      Prabhakar Kushwaha 提交于
      BSC9131RDB is a Freescale reference design board for BSC9131 SoC. The
      BSC9131 is integrated SoC that targets Femto base station market. It
      combines Power Architecture e500v2 and DSP StarCore SC3850 core
      technologies with MAPLE-B2F baseband acceleration processing elements.
      
      The BSC9131 SoC includes the following function and features:
          . Power Architecture subsystem including a e500 processor with 256-Kbyte
          shared L2 cache
          . StarCore SC3850 DSP subsystem with a 512-Kbyte private L2 cache
          . The Multi Accelerator Platform Engine for Femto BaseStation Baseband
            Processing (MAPLE-B2F)
          . A multi-standard baseband algorithm accelerator for Channel
            Decoding/Encoding, Fourier Transforms, UMTS chip rate processing, LTE
            UP/DL Channel processing, and CRC algorithms
          . Consists of accelerators for Convolution, Filtering, Turbo Encoding,
            Turbo Decoding, Viterbi decoding, Chiprate processing, and Matrix
            Inversion operations
          . DDR3/3L memory interface with 32-bit data width without ECC and 16-bit
            with ECC, up to 400-MHz clock/800 MHz data rate
          . Dedicated security engine featuring trusted boot
          . DMA controller
          . OCNDMA with four bidirectional channels
          . Interfaces
          . Two triple-speed Gigabit Ethernet controllers featuring network
            acceleration including IEEE 1588. v2 hardware support and
            virtualization (eTSEC)
          . eTSEC 1 supports RGMII/RMII
          . eTSEC 2 supports RGMII
          . High-speed USB 2.0 host and device controller with ULPI interface
          . Enhanced secure digital (SD/MMC) host controller (eSDHC)
          . Antenna interface controller (AIC), supporting three industry standard
            JESD207/three custom ADI RF interfaces (two dual port and one single
            port) and three MAXIM's MaxPHY serial interfaces
          . ADI lanes support both full duplex FDD support and half duplex TDD
            support
          . Universal Subscriber Identity Module (USIM) interface that facilitates
            communication to SIM cards or Eurochip pre-paid phone cards
          . TDM with one TDM port
          . Two DUART, four eSPI, and two I2C controllers
          . Integrated Flash memory controller (IFC)
          . TDM with 256 channels
          . GPIO
          . Sixteen 32-bit timers
      
      The DSP portion of the SoC consists of DSP core (SC3850) and various
      accelerators pertaining to DSP operations.
      
       BSC9131RDB Overview
       ----------------------
          BSC9131 SoC
          1Gbyte DDR3 (on board DDR)
          128Mbyte 2K page size NAND Flash
          256 Kbit M24256 I2C EEPROM
          128 Mbit SPI Flash memory
          USB-ULPI
          eTSEC1: Connected to RGMII PHY
          eTSEC2: Connected to RGMII PHY
          DUART interface: supports one UARTs up to 115200 bps for console display
      
       Linux runs on e500v2 core and access some DSP peripherals like AIC
      Signed-off-by: NRamneek Mehresh <ramneek.mehresh@freescale.com>
      Signed-off-by: NPriyanka Jain <Priyanka.Jain@freescale.com>
      Signed-off-by: NAkhil Goyal <Akhil.Goyal@freescale.com>
      Signed-off-by: NPoonam Aggrwal <poonam.aggrwal@freescale.com>
      Signed-off-by: NRajan Srivastava <rajan.srivastava@freescale.com>
      Signed-off-by: NPrabhakar Kushwaha <prabhakar@freescale.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      d729b900
    • T
      Revert "powerpc/p3060qds: Add support for P3060QDS board" · ab2aba47
      Timur Tabi 提交于
      This reverts commit 96cc017c.
      
      The P3060 was cancelled before it went into production, so there's no point
      in supporting it.
      Signed-off-by: NTimur Tabi <timur@freescale.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      ab2aba47
    • T
      powerpc/85xx: use the BRx registers to enable indirect mode on the P1022DS · 6bd825f0
      Timur Tabi 提交于
      In order to enable the DIU video controller on the P1022DS, the FPGA needs
      to be switched to "indirect mode", where the localbus is disabled and
      the FPGA is accessed via writes to localbus chip select signals CS0 and CS1.
      
      To obtain the address of CS0 and CS1, the platform driver uses an "indirect
      pixis mode" device tree node.  This node assumes that the localbus 'ranges'
      property is sorted in chip-select order.  That is, reg value 0 maps to
      CS0, reg value 1 maps to CS1, etc.  This is how the 'ranges' property is
      supposed to be arranged.
      
      Unfortunately, the 'ranges' property is often mis-arranged, and not just on
      the P1022DS.  Linux normally does not care, since it does not program the
      localbus.  But the indirect-mode code on the P1022DS does care.
      
      The "proper" fix is to have U-Boot fix the 'ranges' property, but this would
      be too cumbersome.  The names and 'reg' properties of all the localbus
      devices would also need to be updated, and determining which localbus device
      maps to which chip select is board-specific.
      
      Instead, we determine the CS0/CS1 base addresses the same way that U-boot
      does -- by reading the BRx registers directly and mapping them to physical
      addresses.  This code is simpler and more reliable, and it does not require
      a U-boot or device tree change.
      
      Since the indirect pixis device tree node is no longer needed, the node is
      deleted from the DTS.
      Signed-off-by: NTimur Tabi <timur@freescale.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      6bd825f0