[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171023154340.z2vmkbfoey2xtgks@dell>
Date: Mon, 23 Oct 2017 16:43:40 +0100
From: Lee Jones <lee.jones@...aro.org>
To: Marek Szyprowski <m.szyprowski@...sung.com>
Cc: linux-kernel@...r.kernel.org, linux-samsung-soc@...r.kernel.org,
MyungJoo Ham <myungjoo.ham@...sung.com>,
Chanwoo Choi <cw00.choi@...sung.com>,
Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>
Subject: Re: [PATCH v2 1/2] extcon: max77843: Add OTG power control to the
MUIC driver
On Wed, 18 Oct 2017, Marek Szyprowski wrote:
> Enabling power on VBUS micro-usb pin is required only when passive OTG
> cable is connected. Initially OTG VBUS power control was planned to be
> done in charger driver. However such information is not really available
> from the extcon notifications, so VBUS power control has to be done
> directly in MUIC driver, which has all information about the attached
> accessory.
>
> For example SmartDock is externally powered accessory, provides OTG
> (USB HOST) functionality and use VBUS pin for charging a device battery,
> so the VBUS charging pump should be disabled in such case.
>
> Signed-off-by: Marek Szyprowski <m.szyprowski@...sung.com>
> Acked-by: Chanwoo Choi <cw00.choi@...sung.com>
> ---
> drivers/extcon/extcon-max77843.c | 16 ++++++++++++++++
> include/linux/mfd/max77843-private.h | 3 +++
Applied, thanks.
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
Powered by blists - more mailing lists