1. 28 11月, 2012 5 次提交
    • P
      pwm: New driver to support PWM driven LEDs on TWL4030/6030 series of PMICs · aa765647
      Peter Ujfalusi 提交于
      The driver supports the following LED outputs as generic PWM driver:
      TWL4030 LEDA and LEDB (PWMA and PWMB)
      TWL6030 Charging indicator LED (PWM LED)
      
      On TWL6030 when the PWM requested LED is configured to be controlled by SW.
      In this case the user can enable/disable and set the duty period freely.
      When the PWM has been freed, the LED driver is put back to HW control.
      Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@ti.com>
      Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de>
      aa765647
    • P
      pwm: New driver to support PWMs on TWL4030/6030 series of PMICs · 3744c263
      Peter Ujfalusi 提交于
      The driver supports the following PWM outputs:
      TWL4030 PWM0 and PWM1
      TWL6030 PWM1 and PWM2
      
      On TWL4030 the PWM signals are muxed. Upon requesting the PWM the driver
      will select the correct mux so the PWM can be used. When the PWM has been
      freed the original configuration is going to be restored.
      Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@ti.com>
      Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de>
      3744c263
    • P
      pwm: tiehrpwm: Add device-tree binding · 53ad9e8d
      Philip, Avinash 提交于
      This patch
      1. Add support for device-tree binding for EHRWPM driver.
      2. Set size of pwm-cells set to 3 to support PWM channel number, PWM
         period & polarity configuration from device tree.
      3. Add enable/disable clock gating in PWM subsystem common config space.
      4. When here set .owner member in platform_driver structure to
         THIS_MODULE.
      Signed-off-by: NPhilip, Avinash <avinashphilip@ti.com>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Rob Herring <rob.herring@calxeda.com>
      Cc: Rob Landley <rob@landley.net>
      Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de>
      53ad9e8d
    • P
      pwm: tiecap: Add device-tree binding · 333b08ee
      Philip, Avinash 提交于
      This patch
      1. Add support for device-tree binding for ECAP APWM driver.
      2. Set size of pwm-cells set to 3 to support PWM channel number, PWM
         period & polarity configuration from device tree.
      3. Add enable/disable clock gating in PWM subsystem common config space.
      4. When here set .owner member in platform_driver structure to
         THIS_MODULE.
      Signed-off-by: NPhilip, Avinash <avinashphilip@ti.com>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Rob Herring <rob.herring@calxeda.com>
      Cc: Rob Landley <rob@landley.net>
      Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de>
      333b08ee
    • P
      pwm: Add TI PWM subsystem driver · af0ba001
      Philip, Avinash 提交于
      In some platforms (like am33xx), PWM sub modules (ECAP, EHRPWM, EQEP)
      are integrated to PWM subsystem. These PWM submodules has resources
      shared and only one register bit-field is provided to control
      module/clock enable/disable, makes it difficult to handle common
      resources from independent PWMSS submodule drivers.
      
      So the solution here implemented in this patch is, to create driver for
      PWMSS and take the role of parent driver for PWM submodules. PWMSS
      parent driver enumerates all the child nodes under PWMSS module. Also
      symbol "pwmss_submodule_state_change" exported to enable clock gating
      for individual PWMSS submodules, and submodule drivers has to enable
      clock gating from their drivers.
      
      As this is only supported during DT boot, the parent/child relationship
      is created and populated in DT execution flow. The only required change
      is inside DTS file, making EHRPWM & ECAP as a child to PWMSS node.
      Signed-off-by: NPhilip, Avinash <avinashphilip@ti.com>
      Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de>
      af0ba001
  2. 23 11月, 2012 2 次提交
  3. 01 11月, 2012 1 次提交
  4. 26 10月, 2012 4 次提交
  5. 25 10月, 2012 1 次提交
  6. 22 10月, 2012 1 次提交
  7. 18 10月, 2012 1 次提交
  8. 17 10月, 2012 3 次提交
  9. 15 10月, 2012 3 次提交
  10. 11 10月, 2012 1 次提交
  11. 10 10月, 2012 4 次提交
  12. 09 10月, 2012 9 次提交
  13. 08 10月, 2012 5 次提交
    • M
      MXS: Implement DMA support into mxs-i2c · 62885f59
      Marek Vasut 提交于
      This patch implements DMA support into mxs-i2c. DMA transfers are now enabled
      via DT. The DMA operation is enabled by default.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Tested-by: NFabio Estevam <fabio.estevam@freescale.com>
      
      [wsa: rebased to 3.6-rc7]
      Signed-off-by: NWolfram Sang <w.sang@pengutronix.de>
      62885f59
    • D
      KEYS: Document asymmetric key type · 9a83b465
      David Howells 提交于
      In-source documentation for the asymmetric key type.  This will be located in:
      
      	Documentation/crypto/asymmetric-keys.txt
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      9a83b465
    • D
      KEYS: Add payload preparsing opportunity prior to key instantiate or update · cf7f601c
      David Howells 提交于
      Give the key type the opportunity to preparse the payload prior to the
      instantiation and update routines being called.  This is done with the
      provision of two new key type operations:
      
      	int (*preparse)(struct key_preparsed_payload *prep);
      	void (*free_preparse)(struct key_preparsed_payload *prep);
      
      If the first operation is present, then it is called before key creation (in
      the add/update case) or before the key semaphore is taken (in the update and
      instantiate cases).  The second operation is called to clean up if the first
      was called.
      
      preparse() is given the opportunity to fill in the following structure:
      
      	struct key_preparsed_payload {
      		char		*description;
      		void		*type_data[2];
      		void		*payload;
      		const void	*data;
      		size_t		datalen;
      		size_t		quotalen;
      	};
      
      Before the preparser is called, the first three fields will have been cleared,
      the payload pointer and size will be stored in data and datalen and the default
      quota size from the key_type struct will be stored into quotalen.
      
      The preparser may parse the payload in any way it likes and may store data in
      the type_data[] and payload fields for use by the instantiate() and update()
      ops.
      
      The preparser may also propose a description for the key by attaching it as a
      string to the description field.  This can be used by passing a NULL or ""
      description to the add_key() system call or the key_create_or_update()
      function.  This cannot work with request_key() as that required the description
      to tell the upcall about the key to be created.
      
      This, for example permits keys that store PGP public keys to generate their own
      name from the user ID and public key fingerprint in the key.
      
      The instantiate() and update() operations are then modified to look like this:
      
      	int (*instantiate)(struct key *key, struct key_preparsed_payload *prep);
      	int (*update)(struct key *key, struct key_preparsed_payload *prep);
      
      and the new payload data is passed in *prep, whether or not it was preparsed.
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      cf7f601c
    • V
      mmc: sdhci-spear: Add clk_{un}prepare() support · da764f97
      Viresh Kumar 提交于
      clk_{un}prepare is mandatory for platforms using common clock framework.
      Since this driver is used by SPEAr platform, which supports common clock
      framework, add clk_{un}prepare() support for it.
      Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: NChris Ball <cjb@laptop.org>
      da764f97
    • V
      mmc: sdhci-spear: add device tree bindings · 067bf748
      Viresh Kumar 提交于
      This adds simple DT bindings for SDHCI SPEAr controller. It uses cd-gpios
      from common mmc bindings.
      
      This also fixes spear300-evb.dts with correct name for card detect binding.
      Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: NChris Ball <cjb@laptop.org>
      067bf748