From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796356000; b=NSYhWBDhN1RGUEHbjk9c8WNI13/2q+8357NzPXyA1yXmGpMerOzDJYTIFa5dVh8LKKuw stHexSRHaHGkzpk7YzzhNCXRYI+ZW2qvvhdiL9v096A8NAWbmzKOD/u4oUJRT1rzpkeLb FhDHiLLS9ObgAQ2fguvqNqe8+fbjhVHVdoCDFPGQL2F00/WiWLT++M4HvfcVBILwsTt9+ dP2EhW87YBj20/j4c06mZkOnIU2l37NDFLfIP3UeHIRwu6NutD9wjRtNk6lBkmrsVAzIa 0kvDj7/fg51Yf9zPIecxRKwQWB/fP+el5U/2zJ9zPwKkH3qivp5GQkUsExJ7faYKvxQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796356000; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; bh=/p7GWFPqaRvsISPoyuuu8fuef6iuhwRTfspcX/xZxLQ=; b=jVdQRIscZQS8sN1AOIVrXC7xwuD+/R8j1n1pD0aSQGdSpP0KVV5nwwMsoDz60xaMBqAP OqYkq0zWFaxjNBsyAMikTgyqlEWXhJ3FuGjuk6Ljjq9AbmixKqRPrC7bvtTqYsUiY617D 4QzgbQrYfzfbdqc7/5U3945GKPknKuDzapZcKYhnGpZcKmM0iXkR6bfFNhcesp+pr+GL0 dhkFlmem3YzYd2QkFVxdE6r8AFCjkUiZkHUScX7xnTMKk0cdkwAhiUO3bUsfwGjW2GVZX xRcCqxhjKXjd8FRZ8OQQqv5Hs4PTZm/by9RNE+vj8UXDqSf+P32UR+NjorHWptgpWjQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=gR+wPFNe; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 862ED606A32F for ; Fri, 4 Dec 2026 03:46:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=gR+wPFNe Received: by smtp.kernel.org (Postfix) with ESMTPSA id 918CE1F0092C; Fri, 4 Dec 2026 03:46:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796356000; bh=/p7GWFPqaRvsISPoyuuu8fuef6iuhwRTfspcX/xZxLQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=gR+wPFNe3ANQVVp2PIKgmG0BmxSDP9bm/hk7WK9yE+LUfGnMEFveyVHbnGGmTM0cq BpGX/DIS1kUlu8bz/j1c+bgvszvzb/oCZW4zwbI5ZwKjtGE06MJgLOJgKl7U1HawUk 7xS2xE3+Tqghy+X0sAshztI1Z6fNHrv64ygTMuy4= Date: Thu, 3 Dec 2026 23:05:46 +0100 From: Greg Kroah-Hartman To: =?iso-8859-1?Q?Andr=E9?= Draszik Cc: Badhri Jagan Sridharan , Heikki Krogerus , Peter Griffin , Tudor Ambarus , Juan Yescas , Amit Sunil Dhamne , 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 Message-ID: <2026120331-conceded-kerchief-79b8@gregkh> References: <20261125-tcpci-maxim-bc12-v1-0-656e01201efb@linaro.org> X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit 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 > --- > 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 > > Does not apply to my usb-testing branch. Can you rebase and resend? thanks, greg k-h