lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 11 Dec 2014 18:21:45 +0530
From:	Vivek Gautam <gautamvivek1987@...il.com>
To:	David Laight <David.Laight@...lab.com>
Cc:	Vivek Gautam <gautam.vivek@...sung.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"linux-samsung-soc@...r.kernel.org" 
	<linux-samsung-soc@...r.kernel.org>,
	"linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
	"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
	"robh+dt@...nel.org" <robh+dt@...nel.org>,
	"kishon@...com" <kishon@...com>,
	"k.debski@...sung.com" <k.debski@...sung.com>,
	"kgene@...nel.org" <kgene@...nel.org>,
	"jg1.han@...sung.com" <jg1.han@...sung.com>
Subject: Re: [PATCH 0/4] phy: samsung-usb2: Add support for Vbus regulator

On Thu, Dec 11, 2014 at 5:52 PM, David Laight <David.Laight@...lab.com> wrote:
> From: Vivek Gautam
>> This has been on my to-do list for sometime.
>> Until now the host controller (specifically ehci-exynos) is responsible
>> for enabling VBUS supply. This opens up one more issue which is, when
>> only ohci-exynos is enabled and ehci-exynosis disabled then VBUS was
>> never enabled (since ohci did not have the code to enabled the VBUS supply).
>>
>> Rather it should be wise to move the VBUS related stuff to phy driver and
>> let phy take care of enabling it.
>>
>> This patch series adds that VBUS regulator to phy-samsung-usb2 driver,
>> adds necessary binding information as well as vbus-supply properties
>> to phy nodes on exynos5250 systems.
> ...
>
> Does this go anyway to allowing devices to be powered from a micro-usb
> connector while acting as a USB host (USB OTG).
> ie when you want VBUS disabled even though it would normally
> need to be enabled.

Sorry i didn't get your second line.

This change allows HOST and HSIC phys to enable VBUS for the devices
connected to it.
Although now i think there can be a flaw in this approach
when only in OTG mode, when DEVICE phy is being used, even then
the regulator will be turned on causing power unnecessary consumption.




-- 
Best Regards
Vivek Gautam
Samsung R&D Institute, Bangalore
India
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ