ased on new PWM framework maintained at [1].
1. https://gitorious.org/linux-pwm/linux-pwm/trees/for-next
2. http://lists.infradead.org/pipermail/linux-arm-kernel/2012-June/104483.html
Philip, Avinash (2):
PWM: ECAP: PWM driver support for ECAP APWM.
PWM: EHRPWM: PWM driver support for EH
supports sync between multiple PWM pins but
the driver supports simple independent PWM functionality.
Signed-off-by: Philip, Avinash
Reviewed-by: Vaibhav Bedia
---
:100644 100644 94e176e... f20b8f2... M drivers/pwm/Kconfig
:100644 100644 5459702... 7dd90ec... M drivers/pwm/Makefile
:00 100644
Enhanced high resolution PWM module (EHRPWM) hardware can be used to
generate PWM output over 2 channels. This commit adds PWM driver support
for EHRPWM device present on AM33XX SOC. Current implementation supports
simple PWM functionality.
Signed-off-by: Philip, Avinash
Reviewed-by: Vaibhav
M wave.
This patch adds support for configuring PWM polarity in PWM frame work.
Signed-off-by: Philip, Avinash
---
Configuring polarity to be done with PWM device disabled, if not
failure reported.
If PWM device is enabled while configuring polarity, disabling and
re_enabling make it complex. W
On Mon, Jul 23, 2012 at 12:22:35, Thierry Reding wrote:
> On Fri, Jul 13, 2012 at 03:05:01PM +0530, Philip, Avinash wrote:
[snip]
> > obj-$(CONFIG_PWM_VT8500) += pwm-vt8500.o
> > +obj-$(CONFIG_PWM_ECAP) += pwm-ecap.o
>
> Both the Kconfig and Makefile should hav
On Mon, Jul 23, 2012 at 13:12:21, Thierry Reding wrote:
> On Fri, Jul 13, 2012 at 03:05:02PM +0530, Philip, Avinash wrote:
> > Enhanced high resolution PWM module (EHRPWM) hardware can be used to
> > generate PWM output over 2 channels. This commit adds PWM driver support
> &
On Mon, Jul 23, 2012 at 14:52:04, Thierry Reding wrote:
> On Mon, Jul 23, 2012 at 09:10:09AM +0000, Philip, Avinash wrote:
> > On Mon, Jul 23, 2012 at 12:22:35, Thierry Reding wrote:
> > > On Fri, Jul 13, 2012 at 03:05:01PM +0530, Philip, Avinash wrote:
> > > > +
On Mon, Jul 23, 2012 at 14:00:32, Thierry Reding wrote:
> On Wed, Jul 18, 2012 at 06:24:13PM +0530, Philip, Avinash wrote:
> > Duty cycle inversion of PWM wave should achieved through PWM polarity
> > inversion. Also polarity of PWM wave should configurable from slave
> > driv
On Mon, Jul 23, 2012 at 18:38:25, Thierry Reding wrote:
> On Mon, Jul 23, 2012 at 12:51:11PM +0000, Philip, Avinash wrote:
> > On Mon, Jul 23, 2012 at 14:00:32, Thierry Reding wrote:
> > > On Wed, Jul 18, 2012 at 06:24:13PM +0530, Philip, Avinash wrote:
> [...]
> &g
On Tue, Jul 24, 2012 at 01:22:49, Thierry Reding wrote:
> On Mon, Jul 23, 2012 at 03:05:26PM +0000, Philip, Avinash wrote:
> > On Mon, Jul 23, 2012 at 18:38:25, Thierry Reding wrote:
> > > On Mon, Jul 23, 2012 at 12:51:11PM +0000, Philip, Avinash wrote:
> > > > On
On Mon, Jul 23, 2012 at 19:07:04, Thierry Reding wrote:
> On Mon, Jul 23, 2012 at 12:44:38PM +0000, Philip, Avinash wrote:
> > On Mon, Jul 23, 2012 at 14:52:04, Thierry Reding wrote:
> > > On Mon, Jul 23, 2012 at 09:10:09AM +0000, Philip, Avinash wrote:
> > > > On
On Tue, Jul 24, 2012 at 13:37:24, Thierry Reding wrote:
> On Tue, Jul 24, 2012 at 07:52:06AM +0000, Philip, Avinash wrote:
> > On Mon, Jul 23, 2012 at 19:07:04, Thierry Reding wrote:
> > > On Mon, Jul 23, 2012 at 12:44:38PM +0000, Philip, Avinash wrote:
> > > > On
On Tue, Jul 24, 2012 at 13:56:24, Thierry Reding wrote:
> On Tue, Jul 24, 2012 at 10:25:17AM +0200, Lars-Peter Clausen wrote:
> > On 07/24/2012 08:51 AM, Thierry Reding wrote:
> > >
> > > How about the following?
> > >
> > > /**
> > > * enum pwm_polarity - polarity of a PWM signal
> > > * @PWM_
to pio in that case.
>
> Also adds a field dma_unusable to struct omap2_mcspi.
>
> Signed-off-by: Shubhrajyoti D
I have tested this patch for SPI PIO mode on AM335x EVM.
Acked-by: Philip, Avinash
--
To unsubscribe from this list: send the line "unsubscribe linux-omap&quo
Hi,
I am planning to support BCH8 error correction using ELM module
in AM33xx.
Please let me know if any work or plan is there to support ELM
module in OMAP?
Thanks
Avinash Philip
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vge
On Thu, Oct 18, 2012 at 18:56:55, Porter, Matt wrote:
> Adds AM33XX SPI support for am335x-bone and am335x-evm.
>
> Signed-off-by: Matt Porter
> ---
> arch/arm/boot/dts/am335x-bone.dts | 17 +++
> arch/arm/boot/dts/am335x-evm.dts |9
> arch/arm/boot/dts/am33xx.dtsi
On Mon, Oct 29, 2012 at 14:40:02, Philip, Avinash wrote:
> On Thu, Oct 18, 2012 at 18:56:55, Porter, Matt wrote:
> > Adds AM33XX SPI support for am335x-bone and am335x-evm.
Matt,
Can you build SPI DT patch with DMA support on top of SPI DT patch
I submitted [1]. With the patch [1] SPI
On Wed, Oct 31, 2012 at 16:05:13, Cousson, Benoit wrote:
>
> On 10/31/2012 11:16 AM, Benoit Cousson wrote:
> > Hi Avinash,
> >
> > On 10/30/2012 10:41 AM, Philip, Avinash wrote:
> >> On Mon, Oct 29, 2012 at 14:40:02, Philip, Avinash wrote:
> >>> O
Add McSPI data node to AM33XX device tree file. The McSPI module (and so
as the driver) is reused from OMAP4.
Signed-off-by: Philip, Avinash
Tested-by: Matt Porter
---
Changes since v2:
- Commit message corrected.
- Rebase on top of for_3.8/dts
Changes since v1
tch #7-8.
This patch series based on linux-next/20121102 and tested on AM335x-evm.
It depends on [1]
1. https://lkml.org/lkml/2012/10/29/589
pwm: Device tree support for PWM polarity
Philip, Avinash (8):
PWMSS: Add PWM Subsystem driver for parent<->child relationship
ARM: am33xx: clk: A
Add support for opt_clks in EHRPWM HWMOD entry to handle additional
clock gating from control module.
3. Add HWMOD entries for EQEP PWM submodule.
Signed-off-by: Philip, Avinash
---
:100644 100644 ad8d43b... c419269... M
arch/arm/mach-omap2/omap_hwmod_33xx_data.c
arch/ar
ture to
THIS_MODULE.
Signed-off-by: Philip, Avinash
Cc: Grant Likely
Cc: Rob Herring
Cc: Rob Landley
---
Second version
- Combined with HWMOD changes & DT bindings.
- Remove the custom of_xlate support.
:00 100644 000... aa2ed0a... A
Documentation/devicetree/bind
Some platforms (like AM33XX) requires clock gating from control module
explicitly. So adding optional TBCLK handling if DT node populated with
tbclkgating. This helps the driver can coexist for Davinci platforms.
Signed-off-by: Philip, Avinash
---
:100644 100644 1e63652... cf69da3... M drivers
Add PWMSS device tree nodes in relation with ECAP & EHRPWM DT nodes to
AM33XX SoC family. Also populates device tree nodes for ECAP & EHRPWM by
adding necessary properties like pwm-cells, base reg & set disabled as
status.
Signed-off-by: Philip, Avinash
---
Second version
- C
PWM output from ecap0 uses as backlight source. Also adds low threshold
value to have a uniform divisions in brightness-levels scales.
Signed-off-by: Philip, Avinash
---
Second version
- Combined with HWMOD changes & DT bindings.
- No changes
:100644 100644 185d632... 985
iver structure to
THIS_MODULE.
Signed-off-by: Philip, Avinash
Cc: Grant Likely
Cc: Rob Herring
Cc: Rob Landley
---
Second version
- Combined with HWMOD changes & DT bindings.
- Remove the custom of_xlate support.
:00 100644 000... fe24cac... A
Documentation/devicetree/
EHRPWM module requires explicit clock gating from control module.
Hence add clock node in clock tree for EHRPWM modules.
Signed-off-by: Philip, Avinash
---
:100644 100644 17e3de5... 833260f... M arch/arm/mach-omap2/clock33xx_data.c
:100644 100644 a89e825... c0e34e6... M arch/arm/mach-omap2
amp; ECAP as a child to PWMSS node.
Signed-off-by: Philip, Avinash
Cc: Grant Likely
Cc: Rob Herring
Cc: Rob Landley
---
:00 100644 000... b6c2814... A
Documentation/devicetree/bindings/pwm/tipwmss.txt
:100644 100644 ed81720... 99ebcfa... M drivers/pwm/Kconfig
:100644 100644 acf
On Fri, Nov 02, 2012 at 20:55:54, Daniel Mack wrote:
> Signed-off-by: Daniel Mack
> ---
> arch/arm/mach-omap2/gpmc-nand.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-omap2/gpmc-nand.c b/arch/arm/mach-omap2/gpmc-nand.c
> index 8607735..c3616c6 100644
> -
On Fri, Nov 02, 2012 at 20:55:56, Daniel Mack wrote:
> This patch adds basic DT bindings for OMAP GPMC.
>
> The actual peripherals are instanciated from child nodes within the GPMC
> node, and the only type of device that is currently supported is NAND.
>
> Code was added to parse the generic GPM
On Thu, Nov 01, 2012 at 19:19:41, Cousson, Benoit wrote:
> Hi Avinash,
>
> On 10/31/2012 11:51 AM, Philip, Avinash wrote:
> > Add McSPI data node to AM33XX device tree file. The McSPI module (and so
> > as the driver) is reused from OMAP4.
> >
> > Signed-off-b
On Mon, Nov 05, 2012 at 18:28:22, Daniel Mack wrote:
> On 05.11.2012 12:03, Philip, Avinash wrote:
> > On Fri, Nov 02, 2012 at 20:55:56, Daniel Mack wrote:
> >> This patch adds basic DT bindings for OMAP GPMC.
> >>
> >> The actual peripherals are instancia
On Tue, Nov 06, 2012 at 12:16:13, Bedia, Vaibhav wrote:
> On Mon, Nov 05, 2012 at 14:42:27, Philip, Avinash wrote:
> [...]
>
> > + /* Some platforms require explicit tbclk gating */
> > + if (of_property_read_bool(pdev->dev.of_node, "tbclkgating")) {
> &g
On Tue, Nov 06, 2012 at 12:16:13, Bedia, Vaibhav wrote:
> On Mon, Nov 05, 2012 at 14:42:26, Philip, Avinash wrote:
> [...]
>
> > +#include
> > +#include
>
> Pinctrl changes should be separate patch. Morevoer, you don't mention
> that you making this
On Tue, Nov 06, 2012 at 12:05:24, Bedia, Vaibhav wrote:
> On Mon, Nov 05, 2012 at 14:42:22, Philip, Avinash wrote:
> [...]
> > +pwmss0: pwmss@4830 {
> > + compatible = "ti,am33xx-pwmss";
> > + reg = <0x4830 0x10
> > + 0x48
On Wed, Nov 07, 2012 at 15:18:37, Daniel Mack wrote:
> On 05.11.2012 14:29, Philip, Avinash wrote:
> > On Mon, Nov 05, 2012 at 18:28:22, Daniel Mack wrote:
> >> On 05.11.2012 12:03, Philip, Avinash wrote:
> >>> On Fri, Nov 02, 2012 at 20:55:56, Daniel Mack wrote:
&
t in patch #5 & 7.
- DT node populated in patch #9 & 10.
This patch series based on linux-next/20121031 and tested on AM33xx.
It depends on [1]
1. https://lkml.org/lkml/2012/10/29/589
pwm: Device tree support for PWM polarity
Philip, Avinash (10):
PWMSS: Add PWM Subsystem driver for
amp; ECAP as a child to PWMSS node.
Signed-off-by: Philip, Avinash
---
Changes since v1:
- Add conditional check for PWM susbsystem clock enabling.
- Add context save/restore for PWM subsystem clock config register.
:00 100644 000... b6c2814... A
Documentation/dev
EHRPWM module requires explicit clock gating from control module.
Hence add clock node in clock tree for EHRPWM modules.
Signed-off-by: Philip, Avinash
---
:100644 100644 17e3de5... 833260f... M arch/arm/mach-omap2/clock33xx_data.c
:100644 100644 a89e825... c0e34e6... M arch/arm/mach-omap2
Add support for opt_clks in EHRPWM HWMOD entry to handle additional
clock gating from control module.
3. Add HWMOD entries for EQEP PWM submodule.
Signed-off-by: Philip, Avinash
---
Changes since v1:
- Remove ADDR_TYPE_RT for PWM sub module register entries.
:100644 100644 ad8d43b...
mber in platform_driver structure to
THIS_MODULE.
Signed-off-by: Philip, Avinash
Cc: Grant Likely
Cc: Rob Herring
Cc: Rob Landley
---
Changes since v1:
- Add separate patch for pinctrl support
- Add conditional check for PWM subsystem clock enable.
- Combined
Enable pinctrl for pwm-tiecap
Signed-off-by: Philip, Avinash
---
:100644 100644 0d43266... 6071f7a... M drivers/pwm/pwm-tiecap.c
drivers/pwm/pwm-tiecap.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/drivers/pwm/pwm-tiecap.c b/drivers/pwm/pwm-tiecap.c
index
r in platform_driver structure to
THIS_MODULE.
Signed-off-by: Philip, Avinash
Cc: Grant Likely
Cc: Rob Herring
Cc: Rob Landley
---
Changes since v1:
- Add separate patch for pinctrl support
- Add conditional check for PWM subsystem clock enable.
- Combined with H
Enable pinctrl for pwm-tiehrpwm
Signed-off-by: Philip, Avinash
---
:100644 100644 fba7f9b... 07911e6... M drivers/pwm/pwm-tiehrpwm.c
drivers/pwm/pwm-tiehrpwm.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/drivers/pwm/pwm-tiehrpwm.c b/drivers/pwm/pwm-tiehrpwm.c
for Davinci platforms.
Signed-off-by: Philip, Avinash
Cc: Grant Likely
Cc: Rob Herring
Cc: Rob Landley
---
Changes since v1:
- Moved TBCLK enable from probe to .pwm_enable & disable from
remove to .pwm_disable
:100644 100644 07911e6... 927a8ed... M drivers/pwm
PWM output from ecap0 uses as backlight source. Also adds low threshold
value to have a uniform divisions in brightness-levels scales.
Signed-off-by: Philip, Avinash
---
:100644 100644 185d632... 9857050... M arch/arm/boot/dts/am335x-evm.dts
arch/arm/boot/dts/am335x-evm.dts | 21
Add PWMSS device tree nodes in relation with ECAP & EHRPWM DT nodes to
AM33XX SoC family. Also populates device tree nodes for ECAP & EHRPWM by
adding necessary properties like pwm-cells, base reg & set disabled as
status.
Signed-off-by: Philip, Avinash
---
:100644 100644 bb31bff...
On Fri, Nov 09, 2012 at 13:41:04, Thierry Reding wrote:
> On Thu, Nov 08, 2012 at 01:23:15PM +0530, Philip, Avinash wrote:
...
> > + /* Some platforms require explicit tbclk gating */
> > + if (of_property_read_bool(pdev->dev.of_node, "tbclkgating")) {
>
>
On Fri, Nov 09, 2012 at 13:22:19, Thierry Reding wrote:
> On Thu, Nov 08, 2012 at 01:23:11PM +0530, Philip, Avinash wrote:
> > 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 numb
On Fri, Nov 09, 2012 at 12:59:57, Thierry Reding wrote:
> On Thu, Nov 08, 2012 at 01:23:08PM +0530, Philip, Avinash wrote:
> > diff --git a/Documentation/devicetree/bindings/pwm/tipwmss.txt
> > b/Documentation/devicetree/bindings/pwm/tipwmss.txt
> > new file mode 100644
>
On Sun, Nov 11, 2012 at 00:26:32, Daniel Mack wrote:
> On 07.11.2012 16:37, Philip, Avinash wrote:
> > On Wed, Nov 07, 2012 at 15:18:37, Daniel Mack wrote:
> >> On 05.11.2012 14:29, Philip, Avinash wrote:
> >>> On Mon, Nov 05, 2012 at 18:28:22, Daniel Mack wrote:
>
t in patch #5 & 7.
- DT node populated in patch #9 & 10.
This patch series based on linux-next/20121115 and tested on AM33xx.
It depends on [1]
1. https://lkml.org/lkml/2012/11/19/338
pwm: Device tree support for PWM polarity
Philip, Avinash (10):
PWMSS: Add PWM Subsystem driver for
Add support for opt_clks in EHRPWM HWMOD entry to handle additional
clock gating from control module.
3. Add HWMOD entries for EQEP PWM submodule.
Signed-off-by: Philip, Avinash
---
Changes since v1:
- Remove ADDR_TYPE_RT for PWM sub module register entries.
:100644 100644 ad8d43b...
mber in platform_driver structure to
THIS_MODULE.
Signed-off-by: Philip, Avinash
Cc: Grant Likely
Cc: Rob Herring
Cc: Rob Landley
---
Changes since v2:
- Add of_pwm_xlate_with_flags function support
Changes since v1:
- Add separate patch for pinctrl support
-
Enable pinctrl for pwm-tiecap
Signed-off-by: Philip, Avinash
---
:100644 100644 351199b... 3b66e22... M drivers/pwm/pwm-tiecap.c
drivers/pwm/pwm-tiecap.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/drivers/pwm/pwm-tiecap.c b/drivers/pwm/pwm-tiecap.c
index
EHRPWM module requires explicit clock gating from control module.
Hence add clock node in clock tree for EHRPWM modules.
Signed-off-by: Philip, Avinash
---
:100644 100644 17e3de5... 833260f... M arch/arm/mach-omap2/clock33xx_data.c
:100644 100644 a89e825... c0e34e6... M arch/arm/mach-omap2
amp; ECAP as a child to PWMSS node.
Signed-off-by: Philip, Avinash
Cc: Grant Likely
Cc: Rob Herring
Cc: Rob Landley
---
Changes since v2:
- Corrected the usage of ranges property in documentation.
- Set build attribute to bool type.
- Add pwm prefix to tipwmss.c file
r in platform_driver structure to
THIS_MODULE.
Signed-off-by: Philip, Avinash
Cc: Grant Likely
Cc: Rob Herring
Cc: Rob Landley
---
Changes since v2:
- Add of_pwm_xlate_with_flags function support
Changes since v1:
- Add separate patch for pinctrl support
- Add conditi
Enable pinctrl for pwm-tiehrpwm
Signed-off-by: Philip, Avinash
---
:100644 100644 b7e63fb... 1cb54aa... M drivers/pwm/pwm-tiehrpwm.c
drivers/pwm/pwm-tiehrpwm.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/drivers/pwm/pwm-tiehrpwm.c b/drivers/pwm/pwm-tiehrpwm.c
Some platforms (like AM33XX) requires clock gating from control module
explicitly for TBCLK. Enabling of this clock required for the
functioning of the time base sub module in EHRPWM module. So adding
optional TBCLK handling.
Signed-off-by: Philip, Avinash
---
Changes since v2:
- Remove
Add PWMSS device tree nodes in relation with ECAP & EHRPWM DT nodes to
AM33XX SoC family. Also populates device tree nodes for ECAP & EHRPWM by
adding necessary properties like pwm-cells, base reg & set disabled as
status.
Signed-off-by: Philip, Avinash
---
Changes since v2:
PWM output from ecap0 uses as backlight source. Also adds low threshold
value to have a uniform divisions in brightness-levels scales.
Signed-off-by: Philip, Avinash
---
:100644 100644 185d632... 9857050... M arch/arm/boot/dts/am335x-evm.dts
arch/arm/boot/dts/am335x-evm.dts | 21
On Mon, Nov 19, 2012 at 20:59:16, Daniel Mack wrote:
> This patch adds basic DT bindings for OMAP GPMC.
>
...
> +
> + if (of_get_property(child, "ti,nand-ecc-use-elm", NULL))
> + gpmc_nand_data->is_elm_used = 1;
Can you set to bool value (true) here.
Thanks
Avinash
--
To unsubsc
of omap_dt/for_3.8/dts_part2
- Add pwm backlight for am335xevm_sk
- Moved tipwmss.h to pwm-tipwmss.h
Philip, Avinash (11):
PWMSS: Add PWM Subsystem driver for parent<->child relationship
ARM: am33xx: clk: Add optional clock for EHRPWM
ARM: OMAP: AM33xx hwmod: Add parent
amp; ECAP as a child to PWMSS node.
Signed-off-by: Philip, Avinash
---
Changes since v3:
- Corrected the usage of ranges property in documentation.
- Add pwm prefix to tipwmss.h file
Changes since v2:
- Set build attribute to bool type.
- Add pwm prefix to tipwmss.c
EHRPWM module requires explicit clock gating from control module.
Hence add clock node in clock tree for EHRPWM modules.
Signed-off-by: Philip, Avinash
---
:100644 100644 1a45d6b... 08b21d2... M arch/arm/mach-omap2/clock33xx_data.c
:100644 100644 a89e825... c0e34e6... M arch/arm/mach-omap2
Add support for opt_clks in EHRPWM HWMOD entry to handle additional
clock gating from control module.
3. Add HWMOD entries for EQEP PWM submodule.
Signed-off-by: Philip, Avinash
---
Changes since v1:
- Remove ADDR_TYPE_RT for PWM sub module register entries.
:100644 100644 59d5c1c...
Enable pinctrl for pwm-tiecap
Signed-off-by: Philip, Avinash
---
:100644 100644 e0bcc85... 646f8b4... M drivers/pwm/pwm-tiecap.c
drivers/pwm/pwm-tiecap.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/drivers/pwm/pwm-tiecap.c b/drivers/pwm/pwm-tiecap.c
index
Enable pinctrl for pwm-tiehrpwm
Signed-off-by: Philip, Avinash
---
:100644 100644 34f9378... 23fd3c3... M drivers/pwm/pwm-tiehrpwm.c
drivers/pwm/pwm-tiehrpwm.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/drivers/pwm/pwm-tiehrpwm.c b/drivers/pwm/pwm-tiehrpwm.c
for Davinci platforms.
Signed-off-by: Philip, Avinash
---
Changes since v2:
- Remove DT property for tbclkgating
- Use devm_clk_get instead of clk_get
Changes since v1:
- Moved TBCLK enable from probe to .pwm_enable & disable from
remove to .pwm_disable
:10
mber in platform_driver structure to
THIS_MODULE.
Signed-off-by: Philip, Avinash
Cc: Grant Likely
Cc: Rob Herring
Cc: Rob Landley
---
Changes since v3:
- Replace pwmss.h with pwm-tipwmss.h
Changes since v2:
- Add of_pwm_xlate_with_flags function support
Changes sinc
r in platform_driver structure to
THIS_MODULE.
Signed-off-by: Philip, Avinash
Cc: Grant Likely
Cc: Rob Herring
Cc: Rob Landley
---
Changes since v3:
- Replace pwmss.h with pwm-tipwmss.h
Changes since v2:
- Add of_pwm_xlate_with_flags function support
Changes sinc
Add PWMSS device tree nodes in relation with ECAP & EHRPWM DT nodes to
AM33XX SoC family. Also populates device tree nodes for ECAP & EHRPWM by
adding necessary properties like pwm-cells, base reg & set disabled as
status.
Signed-off-by: Philip, Avinash
---
Changes since v2:
PWM output from ecap0 uses as backlight source. Also adds low threshold
value to have a uniform divisions in brightness-levels scales.
Signed-off-by: Philip, Avinash
---
Changes since v3:
- Add epwmss parent status="okay" field.
:100644 100644 9f65f17... 4178ba4c.. M arch/ar
PWM output from ecap2 uses as backlight source. Also adds low threshold
value to have a uniform divisions in brightness-levels scales with
inverse polarity.
Signed-off-by: Philip, Avinash
---
:100644 100644 f5a6162... 6f3de83... M arch/arm/boot/dts/am335x-evmsk.dts
arch/arm/boot/dts/am335x
On Fri, Nov 23, 2012 at 02:17:04, Thierry Reding wrote:
> On Wed, Nov 21, 2012 at 06:40:58PM +0530, Philip, Avinash wrote:
> [...]
> > +static const struct of_device_id pwmss_of_match[] = {
> > + {
> > + .compatible = "ti,am33xx-pwmss",
> >
On Fri, Nov 23, 2012 at 02:27:33, Thierry Reding wrote:
> On Wed, Nov 21, 2012 at 06:41:01PM +0530, Philip, Avinash wrote:
> [...]
> > +static const struct of_device_id ecap_of_match[] = {
> > + {
> > + .compatible = "ti,am33xx-ecap",
> >
On Fri, Nov 23, 2012 at 02:29:44, Thierry Reding wrote:
> On Wed, Nov 21, 2012 at 06:41:02PM +0530, Philip, Avinash wrote:
> [...]
> > + pinctrl = devm_pinctrl_get_select_default(&pdev->dev);
> > + if (IS_ERR(pinctrl))
> > + dev_warn(&pdev->dev,
On Fri, Nov 23, 2012 at 02:42:45, Thierry Reding wrote:
> On Wed, Nov 21, 2012 at 06:41:08PM +0530, Philip, Avinash wrote:
> > PWM output from ecap2 uses as backlight source. Also adds low threshold
> > value to have a uniform divisions in brightness-levels scales with
>
On Fri, Nov 23, 2012 at 02:41:47, Thierry Reding wrote:
> On Wed, Nov 21, 2012 at 06:41:07PM +0530, Philip, Avinash wrote:
> [...]
> > diff --git a/arch/arm/boot/dts/am335x-evm.dts
> > b/arch/arm/boot/dts/am335x-evm.dts
> > index 9f65f17..4178ba4 100644
> > --- a/ar
On Fri, Nov 23, 2012 at 02:33:47, Thierry Reding wrote:
> On Wed, Nov 21, 2012 at 06:41:03PM +0530, Philip, Avinash wrote:
> [...]
> > +static const struct of_device_id ehrpwm_of_match[] = {
> > + {
> > + .compatible = "ti,am33xx-ehrpwm",
> >
On Fri, Nov 23, 2012 at 02:38:57, Thierry Reding wrote:
> On Wed, Nov 21, 2012 at 06:41:06PM +0530, Philip, Avinash wrote:
> > Add PWMSS device tree nodes in relation with ECAP & EHRPWM DT nodes to
> > AM33XX SoC family. Also populates device tree nodes for ECAP & EHRPWM
On Fri, Nov 23, 2012 at 02:46:16, Thierry Reding wrote:
> On Wed, Nov 21, 2012 at 06:40:57PM +0530, Philip, Avinash wrote:
> > In AM33xx PWM sub modules like ECAP, EHRPWM & EQEP are integrated to
> > PWM subsystem. All these submodules shares the resources (clock) &
On Wed, Nov 21, 2012 at 15:45:23, Daniel Mack wrote:
> On 20.11.2012 16:59, Peter Korsgaard wrote:
> >> "Daniel" == Daniel Mack writes:
> >
> > Hi,
> >
> > In omap2 driver NAND_ECC_HW ecc mode supports 3 ecc layout
> > OMAP_ECC_HAMMING_CODE_HW_ROMCODE
> > OMAP_ECC_BCH4_CODE
On Tue, Nov 20, 2012 at 10:33:43, Philip, Avinash wrote:
> EHRPWM module requires explicit clock gating from control module.
> Hence add clock node in clock tree for EHRPWM modules.
>
Is there any review on this patch?
This patch depends on EHRPWM to work in am335x.
Thanks
Avinash
>
On Tue, Nov 20, 2012 at 10:33:44, Philip, Avinash wrote:
> As part of PWM subsystem integration, PWM subsystem are sharing
> resources like clock across submodules (ECAP, EQEP & EHRPWM).
> To handle resource sharing & IP integration
> 1. Rework on parent child relation between
On Fri, Nov 23, 2012 at 16:21:10, Thierry Reding wrote:
> On Fri, Nov 23, 2012 at 10:34:02AM +0000, Philip, Avinash wrote:
> > On Fri, Nov 23, 2012 at 02:29:44, Thierry Reding wrote:
> > > On Wed, Nov 21, 2012 at 06:41:02PM +0530, Philip, Avinash wrote:
> > > [.
On Mon, Nov 26, 2012 at 16:37:36, Bedia, Vaibhav wrote:
> Hi Benoit,
>
> On Mon, Nov 26, 2012 at 14:32:59, Cousson, Benoit wrote:
> > Hi Vaibhav,
> >
> > On 11/26/2012 06:19 AM, Bedia, Vaibhav wrote:
> > > On Fri, Nov 23, 2012 at 16:36:06, Philip, Avinash wrot
3df1af5c5a9aa9adcdcfeb3429d3be
pwm: Device tree support for PWM polarity
Changes since v3:
- Rebased on top of omap_dt/for_3.8/dts_part2
- Add pwm backlight for am335xevm_sk
- Moved tipwmss.h to pwm-tipwmss.h
Philip, Avinash (12):
PWMSS: Add PWM Subsystem driver for paren
amp; ECAP as a child to PWMSS node.
Signed-off-by: Philip, Avinash
---
Changes since v4:
- Made dt match property in single line for consistency
- Use SIMPLE_DEV_PM_OPS
Changes since v3:
- Corrected the usage of ranges property in documentation.
- Add pwm pref
flags in PWM submodule register address space.
3. Adds EQEP HWMOD entries.
Signed-off-by: Philip, Avinash
---
Changes since v4:
- Split the HWMOD patches to handle correction of PWMi
subsystem correction.
arch/arm/mach-omap2/omap_hwmod_33xx_data.c | 158 +
igned-off-by: Philip, Avinash
---
Changes since v4:
- Split HWMOD patch to handle Parent<->child relation
arch/arm/mach-omap2/omap_hwmod_33xx_data.c | 434 +---
1 files changed, 203 insertions(+), 231 deletions(-)
diff --git a/arch/arm/mach-omap2/omap_hwmod_33xx_
able. Platforms don't have explicit TBCLK gating has to add
dummy TBCLK node.
Signed-off-by: Philip, Avinash
---
Changes since v4:
- Made TBCLK gating as a must clock for EHRPWM. Platforms don't
have explicit TBCLK gating, has to populate dummy clock node for
TB
r in platform_driver structure to
THIS_MODULE.
Signed-off-by: Philip, Avinash
Cc: Grant Likely
Cc: Rob Herring
Cc: Rob Landley
---
Changes since v4:
- Made dt match property in single line for consistency
- Corrected commit subject for consistency.
Changes sinc
Enable pinctrl for pwm-tiehrpwm if pinctrl driver available, else
bail out with warning message.
Signed-off-by: Philip, Avinash
---
Changes since v4:
- Changes warning message.
drivers/pwm/pwm-tiehrpwm.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a
mber in platform_driver structure to
THIS_MODULE.
Signed-off-by: Philip, Avinash
Cc: Grant Likely
Cc: Rob Herring
Cc: Rob Landley
---
Changes since v4:
- Made dt match property in single line for consistency
- Corrected commit subject for consistency.
Changes sinc
Enable pinctrl for pwm-tiecap if pinctrl driver available, else
bail out with warning message.
Signed-off-by: Philip, Avinash
---
Changes since v4:
- Changes warning message.
drivers/pwm/pwm-tiecap.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/drivers
EHRPWM module requires explicit clock gating of TBCLK from control
module. Hence add TBCLK clock node in clock tree for EHRPWM modules.
Signed-off-by: Philip, Avinash
---
Changes since v4:
- Add dev_id field in clcok tree for TBCLK to remove support
for optional HWMOD clock
Add PWMSS device tree nodes in relation with ECAP & EHRPWM DT nodes to
AM33XX SoC family. Also populates device tree nodes for ECAP & EHRPWM by
adding necessary properties like pwm-cells, base reg & set disabled as
status.
Signed-off-by: Philip, Avinash
Reviewed-by: Thierry Reding
PWM output from ecap0 uses as backlight source. Also adds low threshold
value to have a uniform divisions in brightness-levels scales.
Signed-off-by: Philip, Avinash
Reviewed-by: Thierry Reding
---
Changes since v4:
- Replaced usage of tab with space in compatible field
Changes since
1 - 100 of 206 matches
Mail list logo