Linux USB
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: "André Draszik" <andre.draszik@linaro.org>
Cc: Badhri Jagan Sridharan <badhri@google.com>,
	Heikki Krogerus <heikki.krogerus@linux.intel.com>,
	Peter Griffin <peter.griffin@linaro.org>,
	Tudor Ambarus <tudor.ambarus@linaro.org>,
	Juan Yescas <jyescas@google.com>,
	Amit Sunil Dhamne <amitsd@google.com>,
	kernel-team@android.com, linux-usb@vger.kernel.org
Subject: Re: [PATCH 0/2] usb: typec: tcpci: report BC1.2 current limit in tcpci_maxim
Date: Thu, 3 Dec 2026 23:05:46 +0100	[thread overview]
Message-ID: <2026120331-conceded-kerchief-79b8@gregkh> (raw)
In-Reply-To: <20261125-tcpci-maxim-bc12-v1-0-656e01201efb@linaro.org>

On Wed, Nov 25, 2026 at 02:04:10PM +0000, André Draszik wrote:
> Hi,
> 
> These two patches allow Maxim TCPCI (MAX33359 / MAX77759) ports to
> report their BC1.2 current limit when attached to a non-PD Rp-default
> source:
> 
> - Add an optional get_current_limit callback to struct tcpci_data.
> - Report the Maxim TCPCI BC1.2 current limit from vendor register
>   BC_STATUS1.
> 
> Tested on Pixel 6 (Oriole) with SDP, CDP, and DCP attach and hot-plug
> as well as USB-C PD.
> 
> Cheers
> Andre'
> 
> Signed-off-by: André Draszik <andre.draszik@linaro.org>
> ---
> André Draszik (2):
>       usb: typec: tcpci: add get_current_limit callback
>       usb: typec: tcpm/tcpci_maxim: report BC1.2 current limit
> 
>  drivers/usb/typec/tcpm/tcpci.c            | 12 ++++++++++++
>  drivers/usb/typec/tcpm/tcpci_maxim.h      |  8 ++++++++
>  drivers/usb/typec/tcpm/tcpci_maxim_core.c | 25 +++++++++++++++++++++++++
>  include/linux/usb/tcpci.h                 |  5 +++++
>  4 files changed, 50 insertions(+)
> ---
> base-commit: 3191063649dbf7c0d0b768e1f3655e4c5fc6edb5
> change-id: 20261125-tcpci-maxim-bc12-49a0ffb71d26
> 
> Best regards,
> -- 
> André Draszik <andre.draszik@linaro.org>
> 
> 

Does not apply to my usb-testing branch.  Can you rebase and resend?

thanks,

greg k-h

      parent reply	other threads:[~2026-12-04  3:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 14:04 [PATCH 0/2] usb: typec: tcpci: report BC1.2 current limit in tcpci_maxim André Draszik
2026-11-25 14:04 ` [PATCH 1/2] usb: typec: tcpci: add get_current_limit callback André Draszik
2026-11-30 13:02   ` Heikki Krogerus
2026-11-25 14:04 ` [PATCH 2/2] usb: typec: tcpm/tcpci_maxim: report BC1.2 current limit André Draszik
2026-11-30 13:03   ` Heikki Krogerus
2026-11-25 14:10 ` [PATCH 0/2] usb: typec: tcpci: report BC1.2 current limit in tcpci_maxim sashiko-bot
2026-12-03 22:05 ` Greg Kroah-Hartman [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2026120331-conceded-kerchief-79b8@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=amitsd@google.com \
    --cc=andre.draszik@linaro.org \
    --cc=badhri@google.com \
    --cc=heikki.krogerus@linux.intel.com \
    --cc=jyescas@google.com \
    --cc=kernel-team@android.com \
    --cc=linux-usb@vger.kernel.org \
    --cc=peter.griffin@linaro.org \
    --cc=tudor.ambarus@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox