From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8B038C433EF for ; Fri, 17 Dec 2021 17:46:17 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 61FB683086; Fri, 17 Dec 2021 18:46:15 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="aieE3uKh"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9937E83071; Fri, 17 Dec 2021 18:46:12 +0100 (CET) Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8857083086 for ; Fri, 17 Dec 2021 18:46:08 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=festevam@gmail.com Received: by mail-ed1-x52b.google.com with SMTP id g14so10667498edb.8 for ; Fri, 17 Dec 2021 09:46:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=soJG/Wd14/az7bekm0Ox2PrtEvbn2yf/t+QPDFso0Ow=; b=aieE3uKhu041DVF2r6dRHENZrcvJz7Hjk68wXfJzj+Myd4RE2QrpQGrmkIJTvsd8AO RHkSjU0O6cooCx+I6GrEJ0bmQX2pJYuWdhG0mn9y5EuULtPk0cB/N/HBUrNy5sPr3OhU 4ywpI2J+BsCk4NyY0hv6yLoamFOKkbXrLxnAckXgBd29Ltv1kHGauuDPUCux3Xa4Rjvm tEnlGOzK90OpzbqS24fqsJSWwtdUXe0DsqCSxuqmtHvp2XLEkvlnGzG5Zd+c3f7JzE3A x0G8tN3pjDr3f8STDFSDu38S7Z50w9cisrxXpP+CHPVMus11rSdleZ6vjK5VsjQa1rwy ml8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=soJG/Wd14/az7bekm0Ox2PrtEvbn2yf/t+QPDFso0Ow=; b=Y9wh4CXAuYnpabLY8GdCo6g0POL7O5bajJQgQh5WUkFauUVjrkda8BbwaNV58IPy2N fM2x5v4Y61bbJ045Mr2RtmrDiInhdFgGETFFmd9YdqMv336uixrTJWFlVZFSOL12nZm0 SWBY58pvkC8CnZObgMebVSE4YLDAQJodeUyzdluc/PX5nH2hJe//TYyM/HdwVvZ9/4p/ whyT39dFV1pnUgvnnSEYmd8Ge9LaQ7tp37T87OhMwx3KASvo1tEbgJ12ZP4uNA589NU/ FnK2H5Cpi3RYOIKsvIfPQnmsCTjqTPaOUlNJYp8vSICfuFQQg52deBg6Ui/8qOTKrWyV Uidw== X-Gm-Message-State: AOAM530oZZcjpUDR72ZwtnBUCRtS0m2ZTTAzPjdm7bB0ieazfnw+BYoo xy6+k4kWb2MGP7wpnPFGvcedxT9ZT8aCbNgCfMI= X-Google-Smtp-Source: ABdhPJwp95C32joSQTV+bliMLKFR+JxKhfnbf6DFUEktUj3nCgF1feWO/YCVv1vvfMVG9OGm8UlVObSuEFxldNesd40= X-Received: by 2002:a17:906:b084:: with SMTP id x4mr3315168ejy.214.1639763168106; Fri, 17 Dec 2021 09:46:08 -0800 (PST) MIME-Version: 1.0 References: <20211217152040.324803-1-angus@akkea.ca> <20211217152040.324803-3-angus@akkea.ca> In-Reply-To: From: Fabio Estevam Date: Fri, 17 Dec 2021 14:45:57 -0300 Message-ID: Subject: Re: [PATCH 2/3] arch: imx8m: imx-regs.h add the USB regs To: Adam Ford Cc: Angus Ainslie , U-Boot-Denx , "NXP i.MX U-Boot Team" , Stefano Babic , Peng Fan , Marek Vasut , Ye Li , Alice Guo , Patrick Wildt , Simon Glass , Frieder Schrempf , =?UTF-8?B?TWFyZWsgQmVow7pu?= , "Ying-Chun Liu (PaulLiu)" , kernel@puri.sm Content-Type: text/plain; charset="UTF-8" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean On Fri, Dec 17, 2021 at 2:03 PM Adam Ford wrote: > I didn't think Driver model was a requirement for SPL. That's my understanding as well. > > I had problems getting the dwc3 to initialize properly when using the > > device model in the SPL. I'm currently just using this in the SPL and > > the device model in u-boot. > > > > I'll take another shot at initializing the dwc3 in the SPL with the DM. > > Could we compromise by putting the #define statements in an ifdef to > only enable them when SPL is being built? This looks like a a good idea.