From: Marek Vasut Date: Tue, 4 Sep 2018 09:35:13 +0200 Subject: [U-Boot] [PATCH v4] usb: ehci-generic: Add vbus-supply regulator support In-Reply-To: References: <1535981950-28046-1-git-send-email-patrice.chotard@st.com> <03ed0720-931c-545b-392e-360b0686738b@denx.de> Message-ID: <5010bfab-13af-a3bd-562d-987abe726342@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 09/04/2018 09:33 AM, Patrice CHOTARD wrote: > 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 But the rest is good, thanks. -- Best regards, Marek Vasut