On 1/9/2018 11:56 PM, Stefan Wahren wrote:
Hi Stefan,
> Hi Razmik,
>
>> Razmik Karapetyan hat am 8. Januar 2018 um
>> 13:40 geschrieben:
>>
>>
>> On 12/31/2017 9:19 PM, Stefan Wahren wrote:
>>
>> Hi Stefan,
>>
>>>>
>>&
On 12/31/2017 9:19 PM, Stefan Wahren wrote:
Hi Stefan,
>>
>> Razmik Karapetyan (10):
>>usb: dwc2: Set AHB burst size to INCR
>
> The usage hsotg->params.ahbcfg instead of the defines is a unintended fix for
> BCM2835. According to the BCM2835 datasheet
On 12/7/2017 11:18 PM, Joe Perches wrote:
> On Thu, 2017-12-07 at 11:17 -0800, Joe Perches wrote:
>> On Wed, 2017-12-06 at 17:57 +0400, Razmik Karapetyan wrote:
>>> Removed unnecessary debug prints about DMA mode for host side
>>> from dwc2_gahbcfg_init() function.
>
Removed unnecessary debug prints about DMA mode for host side
from dwc2_gahbcfg_init() function.
Signed-off-by: Razmik Karapetyan
---
drivers/usb/dwc2/hcd.c | 16 ++--
1 file changed, 2 insertions(+), 14 deletions(-)
diff --git a/drivers/usb/dwc2/hcd.c b/drivers/usb/dwc2/hcd.c
Renamed __orr32 and __bic32 function names to more descriptive
dwc2_set_bit and dwc2_clear_bit respectively.
Signed-off-by: Razmik Karapetyan
---
drivers/usb/dwc2/gadget.c | 44 ++--
1 file changed, 22 insertions(+), 22 deletions(-)
diff --git a/drivers
The previously reserved 12th bit in GHWCFG4 now indicates that the
controller supports the Dynamic Power Reduction (Active Clock Gating)
during no traffic scenarios such as L0, idle, resume and suspend
states.
Signed-off-by: Razmik Karapetyan
---
drivers/usb/dwc2/hw.h | 1 +
1 file changed, 1
Backup PCGCCTL1 register when entering hibernation mode and
restore it after exiting from hibernation, to keep active ACG
feature.
Signed-off-by: Razmik Karapetyan
---
drivers/usb/dwc2/core.c | 2 ++
drivers/usb/dwc2/core.h | 1 +
2 files changed, 3 insertions(+)
diff --git a/drivers/usb/dwc2
PCGCCTL1 (Power and Clock Control) register will be used
for controlling the core`s active clock gating feature.
Signed-off-by: Razmik Karapetyan
---
drivers/usb/dwc2/hw.h | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/usb/dwc2/hw.h b/drivers/usb/dwc2/hw.h
index 4592012c4743
.
Signed-off-by: Razmik Karapetyan
---
drivers/usb/dwc2/core.c | 16
drivers/usb/dwc2/core.h | 2 ++
drivers/usb/dwc2/gadget.c | 12 ++--
drivers/usb/dwc2/hcd.c| 5 +
4 files changed, 33 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/dwc2/core.c b
In short this feature specifies, that controller supports Dynamic Power
Reduction
during no traffic scenarios.
Changes in v3:
-added commit for backup and restore of ACG support register
Razmik Karapetyan (4):
usb: dwc2: Define PCGCCTL1 register in hw.h
usb: dwc2: Define Active Clock
Changes in version 2:
Added cover letter for patch set
Done small,but significant changes in interrupt handlers, which will allow
to minimize incomplete ISOC IN/OUT, GOUTNAKEFF interrupt handling.
Razmik Karapetyan (3):
usb: dwc2: Update dwc2_handle_incomplete_isoc_in() function
usb
In 'for' loop skipped masked and non-ISOC EPs. Also breaked 'for' loop
after setting SGOUTNAK in DCTL,when one enabled EP was detected.
This will allow to minimize incomplete ISOC OUT interrupt handling.
Signed-off-by: Razmik Karapetyan
---
drivers/usb/dwc2/gadget.c | 14 ++
Disabled only that ISOC endpoints,for which interrupt bit was set
in the DAINTMSK register. This will allow to minimize incomplete
ISOC IN interrupt handling.
Signed-off-by: Razmik Karapetyan
---
drivers/usb/dwc2/gadget.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git
Disabled only unmasked endpoints based on DAINTMSK register.
This will allow to minimize GINTSTS_GOUTNAKEFF interrupt handling.
Signed-off-by: Razmik Karapetyan
---
drivers/usb/dwc2/gadget.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/dwc2/gadget.c b
.
Signed-off-by: Razmik Karapetyan
---
drivers/usb/dwc2/core.c | 16
drivers/usb/dwc2/core.h | 2 ++
drivers/usb/dwc2/gadget.c | 12 ++--
drivers/usb/dwc2/hcd.c| 5 +
4 files changed, 33 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/dwc2/core.c b
The previously reserved 12th bit in GHWCFG4 now indicates that the
controller supports the Dynamic Power Reduction (Active Clock Gating)
during no traffic scenarios such as L0, idle, resume and suspend
states.
Signed-off-by: Razmik Karapetyan
---
drivers/usb/dwc2/hw.h | 1 +
1 file changed, 1
PCGCCTL1 (Power and Clock Control) register will be used
for controlling the core`s active clock gating feature.
Signed-off-by: Razmik Karapetyan
---
drivers/usb/dwc2/hw.h | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/usb/dwc2/hw.h b/drivers/usb/dwc2/hw.h
index 4592012
Patches related to implementation of ACG functionality in dwc2 driver.
In short this feature specifies, that controller supports Dynamic Power
Reduction
during no traffic scenarios.
Razmik Karapetyan (3):
usb: dwc2: Define PCGCCTL1 register in hw.h
usb: dwc2: Define Active Clock Gating
Renamed __orr32 and __bic32 function names to more descriptive
dwc2_set_bit and dwc2_clear_bit respectively.
Signed-off-by: Razmik Karapetyan
---
drivers/usb/dwc2/gadget.c | 42 +-
1 file changed, 21 insertions(+), 21 deletions(-)
diff --git a/drivers
Removed unnecessary debug prints about DMA mode for host side
from dwc2_gahbcfg_init() function.
Signed-off-by: Razmik Karapetyan
---
drivers/usb/dwc2/hcd.c | 16 ++--
1 file changed, 2 insertions(+), 14 deletions(-)
diff --git a/drivers/usb/dwc2/hcd.c b/drivers/usb/dwc2/hcd.c
Changed AHB burst size from INCR4 to INCR by default.
With this value driver show excellent DMA performance.
Signed-off-by: Razmik Karapetyan
---
drivers/usb/dwc2/gadget.c | 2 +-
drivers/usb/dwc2/params.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/dwc2
Disabled only that ISOC endpoints,for which interrupt bit was set
in the DAINTMSK register. This will allow to minimize incomplete
ISOC IN interrupt handling.
Signed-off-by: Razmik Karapetyan
---
drivers/usb/dwc2/gadget.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git
In 'for' loop skipped masked and non-ISOC EPs. Also breaked 'for' loop
after setting SGOUTNAK in DCTL,when one enabled EP was detected.
This will allow to minimize incomplete ISOC OUT interrupt handling.
Signed-off-by: Razmik Karapetyan
---
drivers/usb/dwc2/gadget.c | 14 ++
Disabled only unmasked endpoints based on DAINTMSK register.
This will allow to minimize GINTSTS_GOUTNAKEFF interrupt handling.
Signed-off-by: Razmik Karapetyan
---
drivers/usb/dwc2/gadget.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/dwc2/gadget.c b
The previously reserved 12th bit in GHWCFG4 now indicates that the
controller supports the Dynamic Power Reduction (Active Clock Gating)
during no traffic scenarios such as L0, idle, resume and suspend
states.
Signed-off-by: Razmik Karapetyan
---
drivers/usb/dwc2/hw.h | 1 +
1 file changed, 1
.
Signed-off-by: Razmik Karapetyan
---
drivers/usb/dwc2/core.c | 16
drivers/usb/dwc2/core.h | 2 ++
drivers/usb/dwc2/gadget.c | 12 ++--
drivers/usb/dwc2/hcd.c| 5 +
4 files changed, 33 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/dwc2/core.c b
PCGCCTL1 (Power and Clock Control) register will be used
for controlling the core`s active clock gating feature.
Signed-off-by: Razmik Karapetyan
---
drivers/usb/dwc2/hw.h | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/usb/dwc2/hw.h b/drivers/usb/dwc2/hw.h
index 4592012
27 matches
Mail list logo