Messages in this thread | | | Date | Thu, 4 Jun 2020 15:56:06 +0200 | From | Thierry Reding <> | Subject | Re: [PATCH V3 6/8] phy: tegra: xusb: Add support for charger detect |
| |
On Thu, May 14, 2020 at 11:52:41AM +0530, Nagarjuna Kristam wrote: > Perform charger-detect operation if corresponding dt property is enabled. > Update usb-phy with the detected charger state and max current values. > Register charger-detect API's of usb-phy to provide needed functionalities. > > Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com> > --- > V3: > - Allighed functions and its arguments. > - replaced spaced by tabs for MACRO definition allignments. > - Unified primary and secondary charger detect API's. > - Used readl_poll_timeout instead of while loop condition check for register. > - Fixed other comments as per inputs from Thierry. > --- > V2: > - Patch re-based. > --- > drivers/phy/tegra/Makefile | 2 +- > drivers/phy/tegra/cd.c | 283 +++++++++++++++++++++++++++++++++++++++++++++ > drivers/phy/tegra/xusb.c | 80 +++++++++++++ > drivers/phy/tegra/xusb.h | 7 ++ > 4 files changed, 371 insertions(+), 1 deletion(-) > create mode 100644 drivers/phy/tegra/cd.c
Acked-by: Thierry Reding <treding@nvidia.com> [unhandled content-type:application/pgp-signature] | |