From: Marek Vasut Date: Mon, 22 Jun 2020 17:34:12 +0200 Subject: [PATCH v5 4/4] usb: xhci: Add reset controller support In-Reply-To: <20200622153050.23193-5-nsaenzjulienne@suse.de> References: <20200622153050.23193-1-nsaenzjulienne@suse.de> <20200622153050.23193-5-nsaenzjulienne@suse.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 On 6/22/20 5:30 PM, Nicolas Saenz Julienne wrote: [...] > diff --git a/include/usb/xhci.h b/include/usb/xhci.h > index 1170c0ac69..7d34103fd5 100644 > --- a/include/usb/xhci.h > +++ b/include/usb/xhci.h > @@ -16,6 +16,7 @@ > #ifndef HOST_XHCI_H_ > #define HOST_XHCI_H_ > > +#include > #include > #include > #include > @@ -1209,6 +1210,7 @@ struct xhci_ctrl { > #if CONFIG_IS_ENABLED(DM_USB) > struct udevice *dev; > #endif > + struct reset_ctl reset; Should all this reset logic be protected by if CONFIG_IS_ENABLED(DM_RESET) ? Otherwise the series looks good to me, thanks.