From: Patrice CHOTARD Date: Tue, 4 Sep 2018 07:33:12 +0000 Subject: [U-Boot] [PATCH v4] usb: ehci-generic: Add vbus-supply regulator support In-Reply-To: <03ed0720-931c-545b-392e-360b0686738b@denx.de> References: <1535981950-28046-1-git-send-email-patrice.chotard@st.com> <03ed0720-931c-545b-392e-360b0686738b@denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Marek On 09/03/2018 06:16 PM, Marek Vasut wrote: > On 09/03/2018 03:39 PM, Patrice Chotard wrote: >> Add vbus-supply regulator support. >> On some board vbus is not controlled by the phy but by >> an external regulator. >> >> Signed-off-by: Patrice Chotard >> --- >> >> Changes in v4: >> - Remove useless dev->name in dev_dgb() > > Two remaining nits, can you pull the regulator handling into separate > functions and put ifdef arounds those, with empty default > implementation? That way, the ifdefs won't be spread throughout the code. Agree it will be more readable. > > Also, rebase on u-boot-usb/master please. Ok Thanks Patrice >