On 3/31/21 9:21 AM, Greg KH wrote:
>
> On Tue, Mar 30, 2021 at 11:54:40PM +0300, cristian.bir...@microchip.com wrote:
>> From: Cristian Birsan
>>
>> This patch set adds initial driver support for Microchip USB Type-C Port
>> Controller (TCPC) embedded in sama7g5 SoC.
>>
>> The controller does n
From: Cristian Birsan
This patch adds initial driver support for the new Microchip USB
Type-C Port Controller (TCPC) embedded in sama7g5 SoC.
Signed-off-by: Cristian Birsan
---
drivers/usb/typec/tcpm/Kconfig| 8 +
drivers/usb/typec/tcpm/Makefile | 1 +
drivers/usb/typec/tcpm/
From: Cristian Birsan
This patch adds DT bindings for the new Microchip USB Type-C Port
Controller (TCPC) embedded in sama7g5 SoC.
Signed-off-by: Cristian Birsan
---
.../bindings/usb/microchip,sama7g5-tcpc.yaml | 90 +++
1 file changed, 90 insertions(+)
create mode 100644
Do
From: Cristian Birsan
This patch set adds initial driver support for Microchip USB Type-C Port
Controller (TCPC) embedded in sama7g5 SoC.
The controller does not implement power delivery and the driver uses dummy
functions to register the port with TCPM. The current silicon version is
not able t
From: Cristian Birsan
This patch adds initial driver support for the new Microchip USB
Type-C Port Controller (TCPC) embedded in sama7g5 SoC.
Signed-off-by: Cristian Birsan
---
drivers/usb/typec/tcpm/Kconfig| 8 +
drivers/usb/typec/tcpm/Makefile | 1 +
drivers/usb/typec/tcpm/
From: Cristian Birsan
This patch adds DT bindings for the new Microchip USB Type-C Port
Controller (TCPC) embedded in sama7g5 SoC.
Signed-off-by: Cristian Birsan
---
.../bindings/usb/microchip,sama7g5-tcpc.yaml | 80 +++
1 file changed, 80 insertions(+)
create mode 100644
Do
From: Cristian Birsan
This patch set adds initial driver support for Microchip USB Type-C Port
Controller (TCPC) embedded in sama7g5 SoC.
The controller does not implement power delivery and the driver uses dummy
functions to register the port with TCPM. The current silicon version is
not able t
Hi Heikki,
On 2/16/21 11:12 AM, Heikki Krogerus wrote:
>
> Hi Cristian,
>
> On Mon, Feb 15, 2021 at 05:25:29PM +, cristian.bir...@microchip.com wrote:
>> My name is Cristian and I'm working on bringing up a USB Type-C Port
>> Controller
>> (TCPC) without Power Delivery support which is inte
Hi,
My name is Cristian and I'm working on bringing up a USB Type-C Port Controller
(TCPC) without Power Delivery support which is intended to work with USB 2.0
Host/Device.
The IP is integrated into one of Microchip's SoCs, it is memory-mapped and it
was designed based on USB Type-C Cable and Co
From: Cristian Birsan
The pincontrol node is needed for USB Host since Linux v5.7-rc1. Without
it the driver probes but VBus is not powered because of wrong pincontrol
configuration.
Fixes: 1e5f532c2737 ("ARM: dts: at91: sam9x60: add device tree for soc and
board")
Signed-off-by: Cristian Birsa
From: Cristian Birsan
The pincontrol node is needed for USB Host since Linux v5.7-rc1. Without
it the driver probes but VBus is not powered because of wrong pincontrol
configuration. The patch was tested on SAM9x60EK, SAMA5D4-EK and SAMA5D3-EK.
Cristian Birsan (3):
ARM: dts: sam9x60: add pinc
From: Cristian Birsan
The pincontrol node is needed for USB Host since Linux v5.7-rc1. Without
it the driver probes but VBus is not powered because of wrong pincontrol
configuration.
Fixes: b7c2b61570798 ("ARM: at91: add Atmel's SAMA5D3 Xplained board")
Signed-off-by: Cristian Birsan
---
arch/
From: Cristian Birsan
The pincontrol node is needed for USB Host since Linux v5.7-rc1. Without
it the driver probes but VBus is not powered because of wrong pincontrol
configuration.
Fixes: 38153a017896f ("ARM: at91/dt: sama5d4: add dts for sama5d4 xplained
board")
Signed-off-by: Cristian Birsa
From: Cristian Birsan
Use 1 bank endpoints for control transfers
Signed-off-by: Cristian Birsan
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/gadget/udc/atmel_usba_udc.c
b/drivers/usb/gadget/udc/atmel_usba_udc.c
index 10fa72ec8b79.
From: Cristian Birsan
Simplify the endpoint allocation and cleanup the code.
Signed-off-by: Cristian Birsan
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 21 -
drivers/usb/gadget/udc/atmel_usba_udc.h | 1 -
2 files changed, 8 insertions(+), 14 deletions(-)
diff --git a/dr
From: Cristian Birsan
The DPRAM memory from the USB High Speed Device Port (UDPHS) hardware
block was increased. This patch updates the endpoint allocation for sam9x60
to take advantage of this larger memory. At the same time the
constraint to allocate the endpoints in order was lifted. To handle
From: Claudiu Beznea
Instead of trying to match every possible compatible use
of_find_matching_node_and_match() and pass the compatible array.
Signed-off-by: Claudiu Beznea
Signed-off-by: Cristian Birsan
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 26 ++---
1 file change
From: Cristian Birsan
Enable usb device for sam9x60ek board.
Signed-off-by: Cristian Birsan
---
arch/arm/boot/dts/at91-sam9x60ek.dts | 13 +
arch/arm/boot/dts/sam9x60.dtsi | 14 ++
2 files changed, 27 insertions(+)
diff --git a/arch/arm/boot/dts/at91-sam9x60ek.dt
From: Cristian Birsan
Add sam9x60 binding.
Signed-off-by: Cristian Birsan
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/usb/atmel-usb.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/usb/atmel-usb.txt
b/Documentation/devicetree/bindings/
From: Cristian Birsan
This patch set adds usb device support for SAM9x60 SoC.
The DPRAM memory for the USB High Speed Device Port (UDPHS) hardware
block was increased and the allocation method is changed. This patch
series simplifies the endpoint allocation scheme to acomodate this SoC
and the ol
On 7/23/20 7:28 PM, Claudiu Beznea - M18063 wrote:
>
>
> On 22.07.2020 17:43, claudiu.bez...@microchip.com wrote:
>>
>>
>> On 22.07.2020 16:44, cristian.bir...@microchip.com wrote:
>>> From: Claudiu Beznea
>>>
>>> Instead of trying to match every possible compatible use
>>> of_find_matching_no
From: Cristian Birsan
Use 1 bank endpoints for control transfers
Signed-off-by: Cristian Birsan
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/gadget/udc/atmel_usba_udc.c
b/drivers/usb/gadget/udc/atmel_usba_udc.c
index f767708598a4.
From: Cristian Birsan
Add sam9x60 binding.
Signed-off-by: Cristian Birsan
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/usb/atmel-usb.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/usb/atmel-usb.txt
b/Documentation/devicetree/bindings/
From: Cristian Birsan
Enable usb device for sam9x60ek board.
Signed-off-by: Cristian Birsan
---
arch/arm/boot/dts/at91-sam9x60ek.dts | 13 +
arch/arm/boot/dts/sam9x60.dtsi | 14 ++
2 files changed, 27 insertions(+)
diff --git a/arch/arm/boot/dts/at91-sam9x60ek.dt
From: Cristian Birsan
The DPRAM memory from the USB High Speed Device Port (UDPHS) hardware
block was increased. This patch updates the endpoint allocation for sam9x60
to take advantage of this larger memory. At the same time the
constraint to allocate the endpoints in order was lifted. To handle
From: Cristian Birsan
This patch set adds usb device support for SAM9x60 SoC.
The DPRAM memory for the USB High Speed Device Port (UDPHS) hardware
block was increased and the allocation method is changed. This patch
series simplifies the endpoint allocation scheme to acomodate this SoC
and the ol
From: Claudiu Beznea
Instead of trying to match every possible compatible use
of_find_matching_node_and_match() and pass the compatible array.
Signed-off-by: Claudiu Beznea
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 25 ++---
1 file changed, 18 insertions(+), 7 deletions
From: Cristian Birsan
Simplify the endpoint allocation and cleanup the code.
Signed-off-by: Cristian Birsan
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 21 -
drivers/usb/gadget/udc/atmel_usba_udc.h | 1 -
2 files changed, 8 insertions(+), 14 deletions(-)
diff --git a/dr
On 7/16/20 12:58 AM, Alexandre Belloni wrote:
>
> On 08/07/2020 20:04:10+0200, Michał Mirosław wrote:
>> Implement udc->pullup callback, so that udc_connect/disconnect work.
>> This is needed for composite gadget, as it assumes udc_disconnect()
>> actually works and calls its ->disconnect callba
On 7/16/20 12:45 AM, Alexandre Belloni wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the
> content is safe
>
> On 08/07/2020 20:04:09+0200, Michał Mirosław wrote:
>> Fixed commit moved the assignment of 'req', but did not update a
>> reference in the DBG() call
On 7/16/20 12:44 AM, Alexandre Belloni wrote:
>
> On 08/07/2020 20:04:09+0200, Michał Mirosław wrote:
>> Fixed commit removed the offending behaviour from the driver, but missed
>> the comment and associated test. Remove them now.
>>
>> Fixes: 38e58986e6fc ("usb: gadget: udc: atmel: don't disabl
On 5/15/20 6:02 PM, Alexandre Belloni wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the
> content is safe
>
> Hi,
>
> On 15/05/2020 14:16:24+0300, cristian.bir...@microchip.com wrote:
>> From: Cristian Birsan
>>
>> This patch set adds usb device support for S
From: Cristian Birsan
The DPRAM memory from the USB High Speed Device Port (UDPHS) hardware
block was increased. This patch updates the endpoint allocation for sam9x60
to take advantage of this larger memory. At the same time the
constraint to allocate the endpoints in order was lifted. To handle
From: Cristian Birsan
This patch set adds usb device support for SAM9x60 SoC.
The DPRAM memory for the USB High Speed Device Port (UDPHS) hardware
block was increased and the allocation method is changed. This patch
series simplifies the endpoint allocation scheme to acomodate this SoC
and the ol
From: Cristian Birsan
Enable usb device for sam9x60ek board.
Signed-off-by: Cristian Birsan
---
arch/arm/boot/dts/at91-sam9x60ek.dts | 13 +
arch/arm/boot/dts/sam9x60.dtsi | 74
2 files changed, 87 insertions(+)
diff --git a/arch/arm/boot/dts/at91-sam9x6
From: Cristian Birsan
Add sam9x60 binding.
Signed-off-by: Cristian Birsan
---
Documentation/devicetree/bindings/usb/atmel-usb.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/usb/atmel-usb.txt
b/Documentation/devicetree/bindings/usb/atmel-usb.txt
index
From: Cristian Birsan
Use 1 bank endpoints for control transfers
Signed-off-by: Cristian Birsan
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/gadget/udc/atmel_usba_udc.c
b/drivers/usb/gadget/udc/atmel_usba_udc.c
index beb7246935a8.
From: Cristian Birsan
Simplify the endpoint allocation and cleanup the code.
Signed-off-by: Cristian Birsan
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 21 -
drivers/usb/gadget/udc/atmel_usba_udc.h | 1 -
2 files changed, 8 insertions(+), 14 deletions(-)
diff --git a/dr
From: Claudiu Beznea
Instead of trying to match every possible compatible use
of_find_matching_node_and_match() and pass the compatible array.
Signed-off-by: Claudiu Beznea
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 25 ++---
1 file changed, 18 insertions(+), 7 deletions
From: Cristian Birsan
Rename errata structure into capabilities (caps). It will be used to add
capabilities for new SoCs. Get the pointer to PMC only for the SoCs that
need it to perform toggle_bias or pulse_bias.
Signed-off-by: Cristian Birsan
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 20
From: Cristian Birsan
Fix interrupt storm generated by endpoints when working in FIFO mode.
The TX_COMPLETE interrupt is used only by control endpoints processing.
Do not enable it for other types of endpoints.
Fixes: 914a3f3b3754 ("USB: add atmel_usba_udc driver")
Signed-off-by: Cristian Birsan
From: Cristian Birsan
Update Kconfig help for fifo_mode = 0 to explain the behavior better.
Signed-off-by: Cristian Birsan
Acked-by: Nicolas Ferre
---
drivers/usb/gadget/udc/Kconfig | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/gadget/udc/Kconfig b/drive
From: Cristian Birsan
Use dev_err() to display EP configuration error to avoid silent failure.
Signed-off-by: Cristian Birsan
Acked-by: Nicolas Ferre
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/gadget/udc/
From: Cristian Birsan
This patch series provides fixes, based on the feedback received on the mailing
list, for
the following:
- fifo table parameters validation against device tree values
- coding style
- message display for EP configuration error
- Kconfig comme
From: Cristian Birsan
Use dev_err() to display EP configuration error to avoid silent failure.
Signed-off-by: Cristian Birsan
Acked-by: Nicolas Ferre
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/gadget/udc/
From: Cristian Birsan
Update Kconfig help for fifo_mode = 0 to explain the behavior better.
Signed-off-by: Cristian Birsan
Acked-by: Nicolas Ferre
---
drivers/usb/gadget/udc/Kconfig | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/gadget/udc/Kconfig b/drive
From: Cristian Birsan
Minor code cleanup based on feedback received on mailinglist.
Signed-off-by: Cristian Birsan
Acked-by: Nicolas Ferre
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 17 +++--
1 file changed, 7 insertions(+), 10 deletions(-)
diff --git a/drivers/usb/gadget/udc/
From: Cristian Birsan
This patch series provides fixes, based on the feedback received on the mailing
list, for
the following:
- fifo table parameters validation against device tree values
- coding style
- message display for EP configuration error
- Kconfig comme
From: Cristian Birsan
Check fifo configuration values against device tree values for endpoint fifo
in auto configuration mode (fifo_mode=0).
Signed-off-by: Cristian Birsan
Acked-by: Nicolas Ferre
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 24 ++--
1 file changed, 22 ins
From: Cristian Birsan
Update Kconfig help for fifo_mode = 0 to explain the behavior better.
Signed-off-by: Cristian Birsan
---
drivers/usb/gadget/udc/Kconfig | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/gadget/udc/Kconfig b/drivers/usb/gadget/udc/Kconfig
From: Cristian Birsan
Use dev_warn() to display EP configuration error to avoid silent failure.
Signed-off-by: Cristian Birsan
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/gadget/udc/atmel_usba_udc.c
b/driver
From: Cristian Birsan
Minor code cleanup based on feedback received on mailinglist.
Signed-off-by: Cristian Birsan
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 17 +++--
1 file changed, 7 insertions(+), 10 deletions(-)
diff --git a/drivers/usb/gadget/udc/atmel_usba_udc.c
b/drive
From: Cristian Birsan
Check fifo configuration values against device tree values for endpoint fifo
in auto configuration mode (fifo_mode=0).
Signed-off-by: Cristian Birsan
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 24 ++--
1 file changed, 22 insertions(+), 2 deletions(-
From: Cristian Birsan
This patch series provides fixes, based on the feedback received on the mailing
list, for
the following:
- fifo table parameters validation against device tree values
- coding style
- message display for EP configuration error
- Kconfig comme
From: Cristian Birsan
The A13 hardware line is shared by SPI and MCI1 controller.This patch
disables the SPI controller so that the MCI1 (the big MMC card slot) can
be used.
Signed-off-by: Cristian Birsan
---
arch/arm/boot/dts/at91sam9x5ek.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletio
From: Cristian Birsan
Update Kconfig help for fifo_mode = 0 to explain the behavior better.
Signed-off-by: Cristian Birsan
---
drivers/usb/gadget/udc/Kconfig | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/gadget/udc/Kconfig b/drivers/usb/gadget/udc/Kconfig
From: Cristian Birsan
Use dev_warn() to display EP configuration error to avoid silent failure.
Signed-off-by: Cristian Birsan
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/gadget/udc/atmel_usba_udc.c
b/driver
From: Cristian Birsan
Minor code cleanup based on feedback received on mailinglist.
Signed-off-by: Cristian Birsan
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 15 ++-
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/drivers/usb/gadget/udc/atmel_usba_udc.c
b/drivers/
From: Cristian Birsan
Check fifo configuration values against device tree values for endpoint
fifo in auto configuration mode (fifo_mode=0).
Signed-off-by: Cristian Birsan
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 26 +++---
1 file changed, 23 insertions(+), 3 deletions
From: Cristian Birsan
This patch series provides fixes, based on the feedback received on the mailing
list, for
the following:
- fifo table parameters validation against device tree values
- coding style
- message display for EP configuration error
- Kconfig comme
From: Cristian Birsan
This patch provides fixes for the following:
- fifo table parameters validation against device tree values
- coding style
- error message display
- Kconfig comments
Signed-off-by: Cristian Birsan
---
drivers/usb/gadget/udc/Kconfig
From: Cristian Birsan
Signed-off-by: Cristian Birsan
---
Fixes since previous patch:
- Fix coding style
- Validate parameters againsta device tree values
- Update error message display
- Update Kconfig comments
drivers/usb/gadget/udc/Kconfig | 5 ++--
From: Cristian Birsan
Update atmel udc driver with a new enpoint allocation scheme. The data
sheet requires that all endpoints are allocated in order.
Signed-off-by: Cristian Birsan
---
drivers/usb/gadget/udc/Kconfig | 14 ++
drivers/usb/gadget/udc/atmel_usba_udc.c | 236
From: Cristian Birsan
Hi,
This patch updates the usb endpoint allocation scheme for atmel usba
driver to make sure all endpoints are allocated in order. This requirement
comes from the datasheet of the controller.
The allocation scheme is decided by fifo_mode parameter. For fifo_mode = 0
the dr
From: Cristian Birsan
Hi,
This patch updates the usb endpoint allocation scheme for atmel usba
driver to make sure all endpoints are allocated in order. This requirement
comes from the datasheet of the controller.
The allocation scheme is decided by fifo_mode parameter. For fifo_mode = 0
the dr
From: Cristian Birsan
Update atmel udc driver with a new enpoint allocation scheme. The data
sheet requires that all endpoints are allocated in order.
Signed-off-by: Cristian Birsan
---
drivers/usb/gadget/udc/Kconfig | 14 ++
drivers/usb/gadget/udc/atmel_usba_udc.c | 236
66 matches
Mail list logo