1. 01 8月, 2014 1 次提交
  2. 31 7月, 2014 1 次提交
  3. 24 7月, 2014 2 次提交
  4. 18 7月, 2014 1 次提交
    • L
      bus: imx-weim: populate devices on a simple bus · 26651c43
      Liu Ying 提交于
      There could be some memory map devices located in
      a certain chip select region of the i.MX WEIM.
      The devices could be attached to a simple bus(for
      example, a AXI bus) whose root node is one child
      device tree node of the i.MX WEIM device tree node.
      There should be a bridge(very likely, software
      transparent) bewteen the i.MX WEIM and the simple bus.
      This patch makes the i.MX WEIM driver possible to
      populate devices on a simple bus.  In this way, people
      may try various IPs(in a FPGA, maybe) outside of i.MX
      chips with the i.MX WEIM embedded.
      Signed-off-by: NLiu Ying <Ying.Liu@freescale.com>
      Signed-off-by: NShawn Guo <shawn.guo@freescale.com>
      26651c43
  5. 20 6月, 2014 1 次提交
  6. 17 6月, 2014 1 次提交
    • A
      bus/arm-cci: add dependency on OF && CPU_V7 · 30b6f37d
      Arnd Bergmann 提交于
      The arm-cci code uses device tree helpers for initialization
      that don't work on kernels built without CONFIG_OF. Further,
      it contains an inline assembly in cci_enable_port_for_self()
      that uses ARMv7 instructions and fails to build when targetting
      other ARM instruction set versions.
      
      This works around both issues by limiting the scope of the
      Kconfig symbol to platforms that can actually build this driver
      cleanly.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
      Cc: Shawn Guo <shawn.guo@linaro.org>
      30b6f37d
  7. 27 5月, 2014 1 次提交
    • A
      ARM: vexpress: refine dependencies for new code · b33cdd28
      Arnd Bergmann 提交于
      The versatile express changes for 3.16 introduced a number of
      build regressions for randconfig kernels by not tracking dependencies
      between the components right.
      
      This patch tries to rectify that:
      
      * the mach-vexpress code cannot link without the syscfg driver,
        which in turn needs MFD_VEXPRESS_SYSREG
      * various drivers call devm_regmap_init_vexpress_config(), which
        has to be exported so it can be used by loadable modules
      * the configuration bus uses OF DT helper functions that are not
        available to platforms disable CONFIG_OF
      * The sysreg driver exports GPIOs through gpiolib, which can
        be disabled on some platforms.
      * The clocksource code cannot be built on platforms that don't
        use modern timekeeping but rely on gettimeoffset.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      b33cdd28
  8. 24 5月, 2014 1 次提交
    • F
      bus: add Broadcom GISB bus arbiter timeout/error handler · 44127b77
      Florian Fainelli 提交于
      This patch adds support for the Broadcom GISB arbiter bus timeout/error
      handler. GISB is a proprietary bus used by Broadcom Set Top Box
      System-on-a-chip devices (BCM7xxx) which allows multiple masters and
      clients to be interfaced with each other.
      
      The bus arbiter offers support for generating two interrupts towards the
      host CPU, thus allowing us to "catch" clock gated masters, or masters
      being volontarily blocked for powersaving purposes, or do general system
      troubleshooting.
      
      We also register a hook with the ARM fault exception handling to allow
      printing a more informative message than "imprecise external abort at
      0x00000000" for instance.
      Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      44127b77
  9. 16 5月, 2014 1 次提交
    • P
      mfd: vexpress: Convert custom func API to regmap · 3b9334ac
      Pawel Moll 提交于
      Components of the Versatile Express platform (configuration
      microcontrollers on motherboard and daughterboards in particular)
      talk to each other over a custom configuration bus. They
      provide miscellaneous functions (from clock generator control
      to energy sensors) which are represented as platform devices
      (and Device Tree nodes). The transactions on the bus can
      be generated by different "bridges" in the system, some
      of which are universal for the whole platform (for the price
      of high transfer latencies), others restricted to a subsystem
      (but much faster).
      
      Until now drivers for such functions were using custom "func"
      API, which is being replaced in this patch by regmap calls.
      This required:
      
      * a rework (and move to drivers/bus directory, as suggested
        by Samuel and Arnd) of the config bus core, which is much
        simpler now and uses device model infrastructure (class)
        to keep track of the bridges; non-DT case (soon to be
        retired anyway) is simply covered by a special device
        registration function
      
      * the new config-bus driver also takes over device population,
        so there is no need for special matching table for
        of_platform_populate nor "simple-bus" hack in the arm64
        model dtsi file (relevant bindings documentation has
        been updated); this allows all the vexpress devices
        fit into normal device model, making it possible
        to remove plenty of early inits and other hacks in
        the near future
      
      * adaptation of the syscfg bridge implementation in the
        sysreg driver, again making it much simpler; there is
        a special case of the "energy" function spanning two
        registers, where they should be both defined in the tree
        now, but backward compatibility is maintained in the code
      
      * modification of the relevant drivers:
      
        * hwmon - just a straight-forward API change
        * power/reset driver - API change
        * regulator - API change plus error handling
          simplification
        * osc clock driver - this one required larger rework
          in order to turn in into a standard platform driver
      Signed-off-by: NPawel Moll <pawel.moll@arm.com>
      Acked-by: NMark Brown <broonie@linaro.org>
      Acked-by: NLee Jones <lee.jones@linaro.org>
      Acked-by: NGuenter Roeck <linux@roeck-us.net>
      Acked-by: NMike Turquette <mturquette@linaro.org>
      3b9334ac
  10. 06 5月, 2014 25 次提交
  11. 24 4月, 2014 3 次提交
  12. 05 3月, 2014 1 次提交
    • S
      bus: imx-weim: support CS GPR configuration · 8d9ee21e
      Shawn Guo 提交于
      For imx50-weim and imx6q-weim type of devices, there might a WEIM CS
      space configuration register in General Purpose Register controller,
      e.g. IOMUXC_GPR1 on i.MX6Q.
      
      Depending on which configuration of the following 4 is chosen for given
      system, IOMUXC_GPR1[11:0] should be set up as 05, 033, 0113 or 01111
      correspondingly.
      
      	CS0(128M) CS1(0M)  CS2(0M)  CS3(0M)
      	CS0(64M)  CS1(64M) CS2(0M)  CS3(0M)
      	CS0(64M)  CS1(32M) CS2(32M) CS3(0M)
      	CS0(32M)  CS1(32M) CS2(32M) CS3(32M)
      
      The patch creates a function for such type of devices, which scans
      'ranges' property of WEIM node and build the GPR value incrementally.
      Thus the WEIM CS GPR can be set up automatically at boot time.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Reviewed-by: NPhilippe De Muyter <phdm@macqel.be>
      Tested-by: NPhilippe De Muyter <phdm@macqel.be>
      8d9ee21e
  13. 26 2月, 2014 1 次提交