Hi Heikki
> -Original Message-
> From: Heikki Krogerus
> Sent: Wednesday, October 23, 2019 7:40 AM
> To: Greg Kroah-Hartman
> Cc: Guenter Roeck ; Ajay Gupta ;
> linux-usb@vger.kernel.org
> Subject: [PATCH v2 13/18] usb: typec: ucsi: ccg: Move to the new API
>
Hi Heikki
> -Original Message-
> From: linux-usb-ow...@vger.kernel.org
> On Behalf Of Heikki Krogerus
> Sent: Wednesday, October 23, 2019 1:06 AM
> To: Ajay Gupta
> Cc: Greg Kroah-Hartman ; Guenter Roeck
> ; linux-usb@vger.kernel.org
> Subject: Re: [PATC
Hi Heikki,
> -Original Message-
> From: linux-usb-ow...@vger.kernel.org
> On Behalf Of Heikki Krogerus
> Sent: Tuesday, October 22, 2019 12:41 AM
> To: Ajay Gupta
> Cc: Greg Kroah-Hartman ; Guenter Roeck
> ; linux-usb@vger.kernel.org
> Subject: Re: [PATC
Hi Heikki,
> On Oct 22, 2019, at 12:04 AM, Heikki Krogerus
> wrote:
>
> Hi Ajay,
>
>> On Mon, Oct 21, 2019 at 07:28:36PM +, Ajay Gupta wrote:
>> Hi Heikki,
>>
>>> -Original Message-
>>> From: linux-usb-ow...@vger.kernel.org
Hi Heikki,
> -Original Message-
> From: linux-usb-ow...@vger.kernel.org
> On Behalf Of Heikki Krogerus
> Sent: Monday, October 21, 2019 4:25 AM
> To: Greg Kroah-Hartman
> Cc: Guenter Roeck ; Ajay Gupta ;
> linux-usb@vger.kernel.org
> Subject: [PATCH 00/18] usb:
Hi Heikki,
> -Original Message-
> From: linux-usb-ow...@vger.kernel.org
> On Behalf Of Heikki Krogerus
> Sent: Monday, October 21, 2019 4:25 AM
> To: Greg Kroah-Hartman
> Cc: Guenter Roeck ; Ajay Gupta ;
> linux-usb@vger.kernel.org
> Subject: [PATCH 14/18] usb:
Hi Heikki,
> > > > Hi Ajay,
> > > >
> > > > Here's the pretty much complete rewrite of the I/O handling that I
> > > > was talking about. The first seven patches are not actually
> > > > related to this stuff, but I'm including them here because the
> > > > rest of the series is made on top of the
Hi Heikki,
> -Original Message-
> From: Heikki Krogerus
> Sent: Thursday, October 3, 2019 7:25 AM
> To: Ajay Gupta
> Cc: linux-usb@vger.kernel.org
> Subject: Re: [PATCH 00/14] usb: typec: UCSI driver overhaul
>
> Hi Ajay,
>
> On Tue, Oct 01, 2019 at 06:3
Hi Heikki
> -Original Message-
> From: Heikki Krogerus
> Sent: Thursday, September 26, 2019 3:07 AM
> To: Ajay Gupta
> Cc: linux-usb@vger.kernel.org
> Subject: [PATCH 00/14] usb: typec: UCSI driver overhaul
>
> Hi Ajay,
>
> Here's the pretty much c
Hi Heikki,
> -Original Message-
> From: Heikki Krogerus
> Sent: Friday, September 27, 2019 5:53 AM
> To: Ajay Gupta
> Cc: linux-usb@vger.kernel.org
> Subject: Re: [PATCH 00/14] usb: typec: UCSI driver overhaul
>
> On Fri, Sep 27, 2019 at 12:13:57AM +,
Hi Heikki,
> -Original Message-
> From: Heikki Krogerus
> Sent: Thursday, September 26, 2019 3:07 AM
> To: Ajay Gupta
> Cc: linux-usb@vger.kernel.org
> Subject: [PATCH 00/14] usb: typec: UCSI driver overhaul
>
> Hi Ajay,
>
> Here's the pretty much c
Hi Heikki,
> -Original Message-
> From: linux-usb-ow...@vger.kernel.org
> On Behalf Of Heikki Krogerus
> Sent: Tuesday, September 24, 2019 1:25 AM
> To: Ajay Gupta
> Cc: linux-usb@vger.kernel.org
> Subject: Re: [RFC PATCH] usb: typec: ucsi: ccg: Remove run_isr flag
Hi Heikki,
> -Original Message-
> From: linux-usb-ow...@vger.kernel.org
> On Behalf Of Heikki Krogerus
> Sent: Monday, September 23, 2019 6:31 AM
> To: Ajay Gupta
> Cc: linux-usb@vger.kernel.org
> Subject: [RFC PATCH] usb: typec: ucsi: ccg: Remove run_isr flag
>
Hi Heikki,
> -Original Message-
> From: Heikki Krogerus
> Sent: Friday, September 13, 2019 8:20 AM
> To: Ajay Gupta
> Cc: linux-usb@vger.kernel.org; Ajay Gupta
> Subject: Re: [PATCH v5] usb: typec: ucsi: add support for separate DP altmode
> devices
>
> H
From: Ajay Gupta
CCGx controller used on NVIDIA GPU card has two separate display
altmode for two DP pin assignments. UCSI specification doesn't
prohibits using separate display altmode.
Current UCSI Type-C framework expects only one display altmode for
all DP pin assignment. This
Hi Heikki,
> > CCGx controller used on NVIDIA GPU card has two separate display
> > altmode for two DP pin assignments. UCSI specification doesn't
> > prohibits using separate display altmode.
> >
> > Current UCSI Type-C framework expects only one display altmode for all
> > DP pin assignment. Thi
From: Ajay Gupta
CCGx controller used on NVIDIA GPU card has two separate display
altmode for two DP pin assignments. UCSI specification doesn't
prohibits using separate display altmode.
Current UCSI Type-C framework expects only one display altmode for
all DP pin assignment. This
From: Ajay Gupta
CCGx controller used on NVIDIA GPU card has two separate display
altmode for two DP pin assignments. UCSI specification doesn't
prohibits using separate display altmode.
Current UCSI Type-C framework expects only one display altmode for
all DP pin assignment. This
Hi Heikki
> On Mon, Aug 05, 2019 at 11:24:13AM -0700, Ajay Gupta wrote:
> > From: Ajay Gupta
> >
> > CCGx controller used on NVIDIA GPU card has two separate display
> > altmode for two DP pin assignments. UCSI specification doesn't
> > prohibits using sep
From: Ajay Gupta
CCGx controller used on NVIDIA GPU card has two separate display
altmode for two DP pin assignments. UCSI specification doesn't
prohibits using separate display altmode.
Current UCSI Type-C framework expects only one display altmode for
all DP pin assignment. This
From: Ajay Gupta
CCGx controller used on NVIDIA GPU card has two separate display
altmode for two DP pin assignments. UCSI specification doesn't
prohibits using separate display altmode.
Current UCSI Type-C framework expects only one display altmode for
all DP pin assignment. This
Hi Heikki,
> On Jun 28, 2019, at 3:47 AM, Heikki Krogerus
> wrote:
>
>> On Thu, Jun 27, 2019 at 10:45:47PM -0700, Ajay Gupta wrote:
>> CCGx controller used on NVIDIA GPU card has two separate display
>> altmode for two DP pin assignments. UCSI specification doesn
modes into one.
Signed-off-by: Ajay Gupta
---
drivers/usb/typec/ucsi/ucsi.c | 191 +-
drivers/usb/typec/ucsi/ucsi.h | 12 +++
2 files changed, 199 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/typec/ucsi/ucsi.c b/drivers/usb/typec/ucsi/ucsi.c
index ba288b9
From: Ajay Gupta
Enable runtime pm support with autosuspend delay of three second.
This is to make sure I2C client device Cypress CCGx has completed
all transaction.
Signed-off-by: Ajay Gupta
---
Changes from v4->v5:
- Removed extra comments for gpu_i2c_suspend() based
From: Ajay Gupta
Cypress USB Type-C CCGx controller firmware version 3.1.10
(which is being used in many NVIDIA GPU cards) has known issue of
not triggering interrupt when a USB device is hot plugged to runtime
resume the controller. If any GPU card gets latest kernel with runtime
pm support but
From: Ajay Gupta
The change enables runtime pm support to UCSI CCG driver.
Added ucsi_resume() function to enable notification after
system reusme. Exported both ucsi_resume() and ucsi_send_command()
symbols in ucsi.c for modular build.
Signed-off-by: Ajay Gupta
Acked-by: Heikki Krogerus
From: Ajay Gupta
Cypress USB Type-C CCGx controller firmware version 3.1.10
(which is being used in many NVIDIA GPU cards) has known issue of
not triggering interrupt when a USB device is hot plugged to runtime
resume the controller. If any GPU card gets latest kernel with runtime
pm support but
From: Ajay Gupta
Added a local variable "send_stop" to simplify "goto" statements.
The "send_stop" handles below two case
1) When first i2c start fails and so i2c stop is not sent before
exiting
2) When i2c stop failed after all transfers and we do not need to
se
mware with
the known issue.
All the five patches should go together since ucsi_ccg driver is dependent
on i2c driver for runtime pm wokaround. I would prefer it to go through
usb-tree since usb ucsi_ccg driver is the main driver getting runtime pm
functionality with the series.
Thanks
Ajay
Ajay
Hi Wolfram,
> -Original Message-
> From: linux-i2c-ow...@vger.kernel.org
> On Behalf Of Wolfram Sang
> Sent: Friday, June 7, 2019 1:33 AM
> To: Ajay Gupta
> Cc: heikki.kroge...@linux.intel.com; linux-usb@vger.kernel.org; linux-
> i...@vger.kernel.org; Ajay Gupta
Hi Wolfram,
> -Original Message-
> From: Wolfram Sang
> Sent: Friday, June 7, 2019 1:33 AM
> To: Ajay Gupta
> Cc: heikki.kroge...@linux.intel.com; linux-usb@vger.kernel.org; linux-
> i...@vger.kernel.org; Ajay Gupta
> Subject: Re: [PATCH v4 1/5] i2c: nvidia-gpu:
Hi Heikki and Wolfram,
> -Original Message-
> From: linux-i2c-ow...@vger.kernel.org
> On Behalf Of Wolfram Sang
> Sent: Friday, June 7, 2019 1:27 AM
> To: Heikki Krogerus
> Cc: Ajay Gupta ; linux-usb@vger.kernel.org; linux-
> i...@vger.kernel.org; Ajay Gupta
>
From: Ajay Gupta
The change enables runtime pm support to UCSI CCG driver.
Added ucsi_resume() function to enable notification after
system reusme. Exported both ucsi_resume() and ucsi_send_command()
symbols in ucsi.c for modular build.
Signed-off-by: Ajay Gupta
---
Changes from v3->v4 : N
From: Ajay Gupta
Added a local variable "send_stop" to simplify "goto" statements.
The "send_stop" handles below two case
1) When first i2c start fails and so i2c stop is not sent before
exiting
2) When i2c stop failed after all transfers and we do not need to
se
From: Ajay Gupta
Enable runtime pm support with autosuspend delay of three second.
This is to make sure I2C client device Cypress CCGx has completed
all transaction.
Signed-off-by: Ajay Gupta
---
Changes from v3->v4:
- Added comment on why stub gpu_i2c_suspend() is needed
From: Ajay Gupta
Cypress USB Type-C CCGx controller firmware version 3.1.10
(which is being used in many NVIDIA GPU cards) has known issue of
not triggering interrupt when a USB device is hot plugged to runtime
resume the controller. If any GPU card gets latest kernel with runtime
pm support but
From: Ajay Gupta
Cypress USB Type-C CCGx controller firmware version 3.1.10
(which is being used in many NVIDIA GPU cards) has known issue of
not triggering interrupt when a USB device is hot plugged to runtime
resume the controller. If any GPU card gets latest kernel with runtime
pm support but
tches should go together since ucsi_ccg driver is dependent
on i2c driver for runtime pm wokaround. I would prefer it to go through
usb-tree since usb ucsi_ccg driver is the main driver getting runtime pm
functionality with the series.
Thanks
Ajay
Ajay Gupta (5):
i2c: nvidia-gpu: ref
Hi Wolfram,
> > -Original Message-
> > From: linux-usb-ow...@vger.kernel.org ow...@vger.kernel.org>
> > On Behalf Of Wolfram Sang
> > Sent: Saturday, May 25, 2019 12:57 PM
> > To: Ajay Gupta
> > Cc: heikki.kroge...@linux.intel.com;
Hi Wolfram,
> -Original Message-
> From: linux-usb-ow...@vger.kernel.org
> On Behalf Of Wolfram Sang
> Sent: Saturday, May 25, 2019 12:57 PM
> To: Ajay Gupta
> Cc: heikki.kroge...@linux.intel.com; linux-usb@vger.kernel.org; linux-
> i...@vger.kernel.org; Ajay
From: Ajay Gupta
Cypress USB Type-C CCGx controller firmware version 3.1.10
(which is being used in many NVIDIA GPU cards) has known issue of
not triggering interrupt when a USB device is hot plugged to runtime
resume the controller. If any GPU card gets latest kernel with runtime
pm support but
From: Ajay Gupta
The change enables runtime pm support to UCSI CCG driver.
Added ucsi_resume() function to enable notification after
system reusme. Exported both ucsi_resume() and ucsi_send_command()
symbols in ucsi.c for modular build.
Signed-off-by: Ajay Gupta
---
Changes from v2->v3 : N
me pm wokaround. I would prefer it to go through
usb-tree since usb ucsi_ccg driver is the main driver getting runtime pm
functionality with the series.
Thanks
Ajay
Ajay Gupta (5):
i2c: nvidia-gpu: refactor master_xfer
i2c: nvidia-gpu: add runtime pm support
usb: typec: ucsi: ccg: enable runti
From: Ajay Gupta
Enable runtime pm support with autosuspend delay of three second.
This is to make sure I2C client device Cypress CCGx has completed
all transaction.
Signed-off-by: Ajay Gupta
---
Changes from v1->v2:
- Added __maybe_unused in gpu_i2c_suspend to avoid
warn
From: Ajay Gupta
Added a local variable "send_stop" to simplify "goto" statements.
The "send_stop" handles below two case
1) When first i2c start fails and so i2c stop is not sent before
exiting
2) When i2c stop failed after all transfers and we do not need to
se
From: Ajay Gupta
Cypress USB Type-C CCGx controller firmware version 3.1.10
(which is being used in many NVIDIA GPU cards) has known issue of
not triggering interrupt when a USB device is hot plugged to runtime
resume the controller. If any GPU card gets latest kernel with runtime
pm support but
Hi Heikki
> > +static int ucsi_ccg_resume(struct device *dev) {
> > + struct i2c_client *client = to_i2c_client(dev);
> > + struct ucsi_ccg *uc = i2c_get_clientdata(client);
> > + struct ucsi *ucsi = uc->ucsi;
> > + struct ucsi_control c;
> > + int ret;
> > +
> > + /* restore UCSI noti
eries.
Thanks
Ajay
Ajay Gupta (5):
i2c: nvidia-gpu: refactor master_xfer
i2c: nvidia-gpu: add runtime pm support
usb: typec: ucsi: ccg: enable runtime pm support
i2c: nvidia-gpu: resume ccgx i2c client
usb: typec: ucsi: ccg: add runtime pm workaround
drivers/i2c/busses/i2c-nvidia-
From: Ajay Gupta
Cypress USB Type-C CCGx controller firmware version 3.1.10
(which is being used in many NVIDIA GPU cards) has known issue of
not triggering interrupt when a USB device is hot plugged to runtime
resume the controller. If any GPU card gets latest kernel with runtime
pm support but
From: Ajay Gupta
Added a local variable "send_stop" to simplify "goto" statements.
The "send_stop" handles below two case
1) When first i2c start fails and so i2c stop is not sent before
exiting
2) When i2c stop failed after all transfers and we do not need to
se
From: Ajay Gupta
The change enables runtime pm support to UCSI CCG driver.
ucsi_send_command() is used in resume path and so exported
ucsi_send_command() symbol in ucsi.c for modular build.
Signed-off-by: Ajay Gupta
---
Changes from v1->v2 : None
drivers/usb/typec/ucsi/ucsi.c |
From: Ajay Gupta
Cypress USB Type-C CCGx controller firmware version 3.1.10
(which is being used in many NVIDIA GPU cards) has known issue of
not triggering interrupt when a USB device is hot plugged to runtime
resume the controller. If any GPU card gets latest kernel with runtime
pm support but
From: Ajay Gupta
Enable runtime pm support with autosuspend delay of three second.
This is to make sure I2C client device Cypress CCGx has completed
all transaction.
Signed-off-by: Ajay Gupta
---
Changes from v1->v2: None
drivers/i2c/busses/i2c-nvidia-gpu.c | 19 ++-
1 f
Hi Wolfram,
> -Original Message-
> From: Wolfram Sang
> Sent: Sunday, May 19, 2019 7:49 AM
> To: Ajay Gupta
> Cc: heikki.kroge...@linux.intel.com; linux-usb@vger.kernel.org; linux-
> i...@vger.kernel.org; Ajay Gupta
> Subject: Re: [PATCH 3/4] i2c: nvidia-gpu: r
Hi Wolfram,
> -Original Message-
> From: Wolfram Sang
> Sent: Sunday, May 19, 2019 7:47 AM
> To: Ajay Gupta
> Cc: heikki.kroge...@linux.intel.com; linux-usb@vger.kernel.org; linux-
> i...@vger.kernel.org; Ajay Gupta
> Subject: Re: [PATCH 1/4] i2c: nvidia-gpu: a
From: Ajay Gupta
Cypress USB Type-C CCGx controller firmware (which is being used
in many NVIDIA GPU cards) has known issue of not triggering
interrupt when a USB device is hot plugged to runtime resume the
controller. Many of these cards may get latest kernel but may not
get latest fixed
From: Ajay Gupta
Enable runtime pm support with autosuspend delay of three second.
This is to make sure I2C client device Cypress CCGx has completed
all transaction.
Signed-off-by: Ajay Gupta
---
drivers/i2c/busses/i2c-nvidia-gpu.c | 24 +---
1 file changed, 21 insertions
From: Ajay Gupta
Cypress USB Type-C CCGx controller firmware verson 3.1.10
(which is being used in many NVIDIA GPU cards) has known issue of
not triggering interrupt when a USB device is hot plugged to runtime
resume the controller. Many of these cards may get latest kernel but
may not get
s new kernel then also it
should continue to work.
Thanks
Ajay
Ajay Gupta (4):
i2c: nvidia-gpu: add runtime pm support
usb: typec: ucsi: ccg: enable runtime pm support
i2c: nvidia-gpu: resume ccgx i2c client
usb: typec: ucsi: ccg: add runtime pm workaround
drivers/i2c/busses/i2c-nvidia-gpu.c
From: Ajay Gupta
The change enables runtime pm support to UCSI CCG driver.
ucsi_send_command() is used in resume path and so exported
ucsi_send_command() symbol in ucsi.c for modular build.
Signed-off-by: Ajay Gupta
---
drivers/usb/typec/ucsi/ucsi.c | 1 +
drivers/usb/typec/ucsi
Hi Wei
> -Original Message-
> From: Wei Yongjun
> Sent: Monday, April 29, 2019 5:27 AM
> To: Heikki Krogerus ; Greg Kroah-Hartman
> ; Ajay Gupta ; Wolfram Sang
>
> Cc: Wei Yongjun ; linux-usb@vger.kernel.org;
> kernel-janit...@vger.kernel.org
> Subject: [PA
://marc.info/?l=linux-usb&m=15554931927&w=2
[2] https://marc.info/?l=linux-usb&m=155006182508289&w=2
Ajay Gupta (2):
usb: typec: ucsi: ccg: add get_fw_info function
usb: typec: ucsi: ccg: add firmware flashing support
Heikki Krogerus (1):
i2c: nvidia-gpu: Supply CCGx driver t
From: Ajay Gupta
Function is to get the details of ccg firmware and device version.
It will be useful in debugging and also during firmware update.
Signed-off-by: Ajay Gupta
Signed-off-by: Heikki Krogerus
---
Changes from v7 -> v8
- None
drivers/usb/typec/ucsi/ucsi_ccg.c |
From: Ajay Gupta
Adding device property "ccgx,firmware-build" for the CCGx
device, so the CCGx driver knows which firmware binary to
use for a specific vendor.
Suggested-by: Heikki Krogerus
Signed-off-by: Ajay Gupta
Signed-off-by: Heikki Krogerus
---
Changes from v7->v8
From: Ajay Gupta
CCGx has two copies of the firmware in addition to the bootloader.
If the device is running FW1, FW2 can be updated with the new version.
Dual firmware mode allows the CCG device to stay in a PD contract and
support USB PD and Type-C functionality while a firmware update is in
Hi Heikki,
> -Original Message-
> From: linux-usb-ow...@vger.kernel.org On
> Behalf Of Heikki Krogerus
> Sent: Monday, April 15, 2019 5:10 AM
> To: Greg Kroah-Hartman
> Cc: Ajay Gupta ; linux-usb@vger.kernel.org
> Subject: [PATCH v2 6/7] usb: typec: displayport: Ex
From: Heikki Krogerus
Adding device property "ccgx,firmware-build" for the CCGx
device, so the CCGx driver knows which firmware binary to
use for a specific vendor.
Signed-off-by: Heikki Krogerus
Signed-off-by: Ajay Gupta
---
drivers/i2c/busses/i2c-nvidia-gpu.c | 7 +++
1 file
port number information is added which is required while sending
PD_PORT_ENABLE command
Signed-off-by: Ajay Gupta
---
Changes from v6 -> v7
- Read fw_build from device property
- remove unused level ccg_check_fw_version()
drivers/usb/typec/ucsi/ucsi_ccg.c |
tails are at [2].
Please help review this set.
Thanks
Ajay
[1] https://marc.info/?l=linux-usb&m=155508466310059&w=2
[2] https://marc.info/?l=linux-usb&m=155006182508289&w=2
Ajay Gupta (2):
usb: typec: ucsi: ccg: add get_fw_info function
usb: typec: ucsi: ccg: add firmware flashi
Function is to get the details of ccg firmware and device version.
It will be useful in debugging and also during firmware update.
Signed-off-by: Ajay Gupta
Signed-off-by: Heikki Krogerus
---
Changes from v6 to v7
- None
drivers/usb/typec/ucsi/ucsi_ccg.c | 66
Hi Heikki,
> -Original Message-
> From: linux-usb-ow...@vger.kernel.org On
> Behalf Of Heikki Krogerus
> Sent: Friday, April 12, 2019 8:02 AM
> To: Ajay Gupta
> Cc: linux-usb@vger.kernel.org; Ajay Gupta
> Subject: Re: [PATCH v6 2/2] usb: typec: ucsi: ccg:
Hi Heikki,
> -Original Message-
> From: Heikki Krogerus
> Sent: Thursday, April 11, 2019 12:40 AM
> To: Ajay Gupta
> Cc: kbuild test robot ; kbuild-...@01.org; Greg Kroah-Hartman
> ; linux-usb@vger.kernel.org
> Subject: Re: [PATCH 2/4] usb: typec: ucsi: ccg:
port number information is added which is required while sending
PD_PORT_ENABLE command
Signed-off-by: Ajay Gupta
---
Changes from v5 to v6
- Fixed below sparse warnings
"restricted __le16 degrades to integer"
drivers/usb/typec/ucsi/ucsi_c
Function is to get the details of ccg firmware and device version.
It will be useful in debugging and also during firmware update.
Signed-off-by: Ajay Gupta
Signed-off-by: Heikki Krogerus
---
Changes from v5 to v6
- None
drivers/usb/typec/ucsi/ucsi_ccg.c | 66
://marc.info/?l=linux-usb&m=155491396220133&w=2
[2] https://marc.info/?l=linux-usb&m=155006182508289&w=2
Ajay Gupta (2):
usb: typec: ucsi: ccg: add get_fw_info function
usb: typec: ucsi: ccg: add firmware flashing support
drivers/usb/typec/ucsi/ucsi_ccg.c | 887 +
l and patches
at [1] forwarded to Greg from you.
[1] https://marc.info/?l=linux-usb&m=155488414908414&w=2
Thanks
Ajay
Ajay Gupta (1):
usb: typec: Add driver for NVIDIA Alt Modes
Heikki Krogerus (1):
usb: typec: displayport: Export probe and remove functions
drivers/usb/typec/alt
d two warnings from checkpatch.pl script -Ajay]
Signed-off-by: Heikki Krogerus
Signed-off-by: Ajay Gupta
Tested-by: Ajay Gupta
---
drivers/usb/typec/altmodes/displayport.c | 12 +++-
drivers/usb/typec/altmodes/displayport.h | 8
2 files changed, 15 insertions(+), 5 deletions(-)
c
From: Ajay Gupta
Latest NVIDIA GPUs support VirtualLink device. Since USBIF
has not assigned a Standard ID (SID) for VirtualLink
so using NVIDA VID 0x955 as SVID.
Signed-off-by: Ajay Gupta
---
drivers/usb/typec/altmodes/Kconfig | 10 +++
drivers/usb/typec/altmodes/Makefile | 2
Hi Heikki,
> -Original Message-
> From: linux-usb-ow...@vger.kernel.org On
> Behalf Of Heikki Krogerus
> Sent: Wednesday, March 20, 2019 4:45 AM
> To: Ajay Gupta ; Michael Hsu
> Cc: linux-usb@vger.kernel.org
> Subject: [PATCH v2 0/2] usb: typec: ucsi: Support fo
Hi Josh
> -Original Message-
> From: linux-usb-ow...@vger.kernel.org On
> Behalf Of Josh Boyer
> Sent: Tuesday, February 12, 2019 4:51 AM
> To: Ajay Gupta
> Cc: linux-firmw...@kernel.org; Heikki Krogerus
> ; linux-usb@vger.kernel.org
> Subject: Re: [GIT,PULL]
Hi Josh,
> On Wed, Feb 6, 2019 at 3:14 PM Ajay Gupta wrote:
> >
> > From: Ajay Gupta
> >
> > These NVIDIA-signed firmwares are required to enable the Cypress
> > Type-C controller on TU10x GPUs.
> >
> > FW versions:
> > Secondary: 4
From: Ajay Gupta
Function is to get the details of ccg firmware and device version.
It will be useful in debugging and also during firmware update.
Signed-off-by: Ajay Gupta
---
Changes from v4 to v5
- None
drivers/usb/typec/ucsi/ucsi_ccg.c | 66 ++-
1
From: Ajay Gupta
CCGx has two copies of the firmware in addition to the bootloader.
If the device is running FW1, FW2 can be updated with the new version.
Dual firmware mode allows the CCG device to stay in a PD contract and
support USB PD and Type-C functionality while a firmware update is in
://marc.info/?l=linux-usb&m=154948878626598&w=2
Ajay Gupta (2):
usb: typec: ucsi: add get_fw_info function
usb: typec: ucsi: add firmware flashing support
drivers/usb/typec/ucsi/ucsi_ccg.c | 884 +-
1 file changed, 874 insertions(+), 10 deletions(-)
--
2.17.1
specific mutex lock is also added to sync between driver and
> > user threads.
> >
> > PD port number information is added which is required while sending
> > PD_PORT_ENABLE command
> >
> > Signed-off-by: Ajay Gupta
>
> [..]
>
> > +struct ccg_cmd {
> >
From: Ajay Gupta
Function is to get the details of ccg firmware and device version.
It will be useful in debugging and also during firmware update.
Signed-off-by: Ajay Gupta
---
Changes from v3 to v4
- None
drivers/usb/typec/ucsi/ucsi_ccg.c | 66 ++-
1
From: Ajay Gupta
CCGx has two copies of the firmware in addition to the bootloader.
If the device is running FW1, FW2 can be updated with the new version.
Dual firmware mode allows the CCG device to stay in a PD contract and
support USB PD and Type-C functionality while a firmware update is in
-request is posted to linux-firmware.git at [1].
Please help review this set.
Thanks
Ajay
[1] https://marc.info/?l=linux-usb&m=154948878626598&w=2
Ajay Gupta (2):
usb: typec: ucsi: add get_fw_info function
usb: typec: ucsi: add firmware flashing support
drivers/usb/typec/ucsi/ucsi_ccg
itory at:
https://github.com/ajaykuee/linux-firmware.git
for you to fetch changes up to 2c139fe800f56c73c3e60932eb8cdbf1a7c2e1de:
nvidia: add TU10x typec controller firmware (2019-02-06 12:07:22 -0800)
--------
Ajay Gupta (1):
nvidi
Hi Heikki,
> -Original Message-
> From: Heikki Krogerus
> Sent: Wednesday, February 6, 2019 4:12 AM
> To: Ajay Gupta
> Cc: linux-usb@vger.kernel.org; Ajay Gupta
> Subject: Re: [PATCH v3 0/6] Add support for firmware update on Cypres CCGx
>
> Hi Ajay,
>
>
Hi Heikki,
> -Original Message-
> From: linux-usb-ow...@vger.kernel.org On
> Behalf Of Heikki Krogerus
> Sent: Friday, February 1, 2019 2:48 AM
> To: Greg Kroah-Hartman ; Ajay Gupta
> ; Michael Hsu
> Cc: linux-usb@vger.kernel.org
> Subject: [PATCH 5/5] usb:
Hi Heikki,
> -Original Message-
> From: linux-usb-ow...@vger.kernel.org On
> Behalf Of Heikki Krogerus
> Sent: Friday, February 1, 2019 2:48 AM
> To: Greg Kroah-Hartman ; Ajay Gupta
> ; Michael Hsu
> Cc: linux-usb@vger.kernel.org
> Subject: [PATCH 5/5] usb:
Hi Heikki
> -Original Message-
> From: linux-usb-ow...@vger.kernel.org On
> Behalf Of Heikki Krogerus
> Sent: Friday, February 1, 2019 2:48 AM
> To: Greg Kroah-Hartman ; Ajay Gupta
> ; Michael Hsu
> Cc: linux-usb@vger.kernel.org
> Subject: [PATCH 4/5] usb:
From: Ajay Gupta
Here we read the currently flashed firmware version of both
primary and secondary firmware and then compare it with
version of firmware file to determine if flashing is required.
Signed-off-by: Ajay Gupta
---
Changes from v2 to v3
- Moved enum_fw_mode enum to patch [1
From: Ajay Gupta
Adding support for below commands which will be used
during firmware flashing.
- ENTER_FLASHING
- RESET
- PDPORT_ENABLE
- JUMP_TO_BOOT
- FLASH_ROW_RW
- VALIDATE_FW
I command specific mutex lock is also added to sync
between driver
From: Ajay Gupta
CCGx has two copies of the firmware in addition to the bootloader.
If the device is running FW1, FW2 can be updated with the new version.
Dual firmware mode allows the CCG device to stay in a PD contract and
support USB PD and Type-C functionality while a firmware update is in
Ajay Gupta (6):
usb: typec: ucsi: add get_fw_info function
usb: typec: ucsi: add ccg command framework
usb: typec: ucsi: add port num info
usb: typec: ucsi: add cmd used for fw flashing
usb: typec: ucsi: add fw update needed check
usb: typec: ucsi: add firmware flashing support
drivers
From: Ajay Gupta
Used to send various commands to ccg controller. They are
mainly used during firmware update process.
We wait for response after sending the command and then
read the response from RAB_RESPONSE register.
Signed-off-by: Ajay Gupta
---
Changes from v2 to v3
- Removed
From: Ajay Gupta
Read PD port number information and save. It will be
required while sending PD_PORT_ENABLE command.
Signed-off-by: Ajay Gupta
---
Changes from v2 to v3
- Fixed comments from Heikki on removing SHIFT
drivers/usb/typec/ucsi/ucsi_ccg.c | 6 ++
1 file changed, 6
From: Ajay Gupta
Function is to get the details of ccg firmware and device version.
It will be useful in debugging and also during firmware update.
Signed-off-by: Ajay Gupta
---
Changes from v2 to v3
- Fixed comments from Greg on using __le16 and __packed
- Added enum_fw_mode
1 - 100 of 219 matches
Mail list logo