1. 14 10月, 2015 1 次提交
  2. 08 8月, 2015 2 次提交
  3. 26 9月, 2014 1 次提交
    • H
      PM / AVS: rockchip-io: add driver handling Rockchip io domains · 662a9586
      Heiko Stübner 提交于
      IO domain voltages on some Rockchip SoCs are variable but need to be
      kept in sync between the regulators and the SoC using a special
      register.
      
      A specific example using rk3288:
      - If the regulator hooked up to a pin like SDMMC0_VDD is 3.3V then
        bit 7 of GRF_IO_VSEL needs to be 0.  If the regulator hooked up to
        that same pin is 1.8V then bit 7 of GRF_IO_VSEL needs to be 1.
      
      Said another way, this driver simply handles keeping bits in the SoC's
      general register file (GRF) in sync with the actual value of a voltage
      hooked up to the pins.
      
      Note that this driver specifically doesn't include:
      - any logic for deciding what voltage we should set regulators to
      - any logic for deciding whether regulators (or internal SoC blocks)
        should have power or not have power
      
      If there were some other software that had the smarts of making
      decisions about regulators, it would work in conjunction with this
      driver.  When that other software adjusted a regulator's voltage then
      this driver would handle telling the SoC about it.  A good example is
      vqmmc for SD.  In that case the dw_mmc driver simply is told about a
      regulator.  It changes the regulator between 3.3V and 1.8V at the
      right time.  This driver notices the change and makes sure that the
      SoC is on the same page.
      Signed-off-by: NHeiko Stübner <heiko@sntech.de>
      Signed-off-by: NDoug Anderson <dianders@chromium.org>
      Reviewed-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
      [khilman: fix compiler warnings]
      Signed-off-by: NKevin Hilman <khilman@linaro.org>
      662a9586
  4. 11 6月, 2013 7 次提交
  5. 18 12月, 2012 1 次提交
  6. 29 11月, 2012 2 次提交
  7. 16 10月, 2012 1 次提交
    • J
      ARM: OMAP: SmartReflex: pass device dependent data via platform data · 98aed08e
      Jean Pihet 提交于
      Remove the device dependent code (ex. cpu_is_xxx()) and settings
      from the driver code and instead pass them via the platform
      data. This allows a clean separation of the driver code and the platform
      code, as required by the move of the platform header files to
      include/linux/platform_data.
      
      Note about the smartreflex functional clocks: the smartreflex fclks
      are derived from sys_clk and have the same name as the main_clk from
      the hwmod entry, in order for the SmartReflex driver to request the
      fclk (using clk_get(dev, "fck")).
      Signed-off-by: NJean Pihet <j-pihet@ti.com>
      Signed-off-by: NKevin Hilman <khilman@ti.com>
      98aed08e
  8. 03 10月, 2012 1 次提交
  9. 13 9月, 2012 1 次提交
  10. 29 6月, 2012 1 次提交
    • J
      ARM: OMAP2+: do not allow SmartReflex to be built as a module · bb0adf6c
      Jean Pihet 提交于
      Disable the module option for POWER_AVS since this is currently not
      supported.
      
      This patch fixes these error in the case POWER_AVS is set to 'm':
      
      arch/arm/mach-omap2/built-in.o: In function `sr_class3_configure':
      arch/arm/mach-omap2/smartreflex-class3.c:43: undefined reference to `sr_configure_errgen'
      arch/arm/mach-omap2/built-in.o: In function `sr_class3_disable':
      arch/arm/mach-omap2/smartreflex-class3.c:33: undefined reference to `sr_disable_errgen'
      arch/arm/mach-omap2/smartreflex-class3.c:35: undefined reference to `sr_disable'
      arch/arm/mach-omap2/built-in.o: In function `sr_class3_enable':
      arch/arm/mach-omap2/smartreflex-class3.c:28: undefined reference to `sr_enable'
      arch/arm/mach-omap2/built-in.o: In function `sr_class3_init':
      arch/arm/mach-omap2/smartreflex-class3.c:59: undefined reference to `sr_register_class'
      Reported-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NJean Pihet <j-pihet@ti.com>
      Signed-off-by: NKevin Hilman <khilman@ti.com>
      [tony@atomide.com: updated to use relative paths for the build error]
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      bb0adf6c
  11. 01 6月, 2012 1 次提交