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 CB12EC433F5 for ; Tue, 5 Apr 2022 20:14:52 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CCB9183BBD; Tue, 5 Apr 2022 22:14:49 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=gateworks.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=gateworks-com.20210112.gappssmtp.com header.i=@gateworks-com.20210112.gappssmtp.com header.b="2+PO3hIi"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A707983B8B; Tue, 5 Apr 2022 22:14:47 +0200 (CEST) Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) (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 6A8D983ADC for ; Tue, 5 Apr 2022 22:14:38 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=gateworks.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tharvey@gateworks.com Received: by mail-pf1-x42b.google.com with SMTP id s2so496464pfh.6 for ; Tue, 05 Apr 2022 13:14:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gateworks-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qlgMCQP6NBg2Iaoe2rS6zqToKgL5NJdtFQojRRZq/SA=; b=2+PO3hIiJ92GtUz89nx26bV+WGeL9Q/xUVd7VyginJcMjw8Szz0BHlg2xDFt5tgqRF lNFucHHQ83+t7oGrRxK9RrvvLkB19rvpgaNS6AkO1opqz3Ye+nCJaiOw6WR179AM6uU2 xhh/KN1Z/Cmi3qaRjUpWpw4vEFXwOurZqpESnW+cH+HQxK4hE6paJ6Jks7i++QNKqSce VtOAh3tE387vpXfqJJV5APqPeYlzBOM1Wvj0tyDYuULXoSO9n/B50dJWmzHblazR4tdD jqlXziB5EJ8m3+NI/CLdVxmfHGU8lRhouxl5x6AQGm5OFsNsA1IuWWh6NyT23MjGjBjq gKog== 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=qlgMCQP6NBg2Iaoe2rS6zqToKgL5NJdtFQojRRZq/SA=; b=vL5YnnvFObtE1XTH66MTAcIWTR0TXuAYaloVa8URxoLPfX+O5b2zNXIAymktQnRNma ApEOZAjgWBjcaGYw+DMAxXCmlIZSNxEpVFUPDYyrAMa8Qx3JSbAgoi8vTEWSw5LIwY+s rMgTwwXEs/Sq8Y6r5VlLGkyjcPwSmsupJGkwz4QGogbPhAId+zMuoDonkG4sZKesAKH1 koqvADupfkBmsfZ5lb7wlzFCjuoUInzy5h9dTFKRZs0aySge4grvxdWVaezZFZf41F5U wBDtLpvhzBLwY81v8KLjwMpO7Xm+66dPruraSk0LE7lGICGWv+sweq5fUTW116s3k3Kd eXCA== X-Gm-Message-State: AOAM531hCYDpswH2cHwWXWGtKqZNegNNKAkOPaXGG4dLxljcVwqzVX+a aNgaPhdZWeMaHK6dCjkOgMTCalzqQh/lBUwmAdquWQ== X-Google-Smtp-Source: ABdhPJwmFgrePw3Uk7ymZwe9cR9YWDYFdr8pZ/HbPLRpiEPhUo1rLcuk8tqh85B074sST5i2XxvrG5I9hF9OCbpDB+0= X-Received: by 2002:a63:af02:0:b0:386:5aa9:a88c with SMTP id w2-20020a63af02000000b003865aa9a88cmr4139440pge.533.1649189676610; Tue, 05 Apr 2022 13:14:36 -0700 (PDT) MIME-Version: 1.0 References: <20220331030349.482922-1-marex@denx.de> <20220331030349.482922-3-marex@denx.de> <97c99e4f-6e14-3a50-e66d-6f45445527d6@denx.de> <05868c8e-cb2a-71f7-6668-e0f289bf4ca8@denx.de> In-Reply-To: <05868c8e-cb2a-71f7-6668-e0f289bf4ca8@denx.de> From: Tim Harvey Date: Tue, 5 Apr 2022 13:14:25 -0700 Message-ID: Subject: Re: [PATCH 3/3] imx: power-domain: Get rid of SMCCC dependency To: Marek Vasut Cc: Adam Ford , U-Boot Mailing List , Fabio Estevam , Peng Fan , Stefano Babic Content-Type: text/plain; charset="UTF-8" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.5 at phobos.denx.de X-Virus-Status: Clean On Mon, Apr 4, 2022 at 7:25 AM Marek Vasut wrote: > > On 4/4/22 16:15, Adam Ford wrote: > > On Mon, Apr 4, 2022 at 8:01 AM Marek Vasut wrote: > >> > >> On 4/4/22 14:51, Adam Ford wrote: > >>> On Wed, Mar 30, 2022 at 10:04 PM Marek Vasut wrote: > >>>> > >>>> This driver is the only SMCCC dependency in iMX8M U-Boot port. Rework > >>>> the driver based on Linux GPCv2 driver to directly control the GPCv2 > >>>> block instead of using SMCCC calls. This way, U-Boot can operate the > >>>> i.MX8M power domains without depending on anything else. > >>>> > >>>> This is losely based on Linux GPCv2 driver. The GPU, VPU, MIPI power > >>>> domains are not supported to save space, since they are not useful in > >>>> the bootloader. The only domains kept are ones for HSIO, PCIe, USB. > >>> > >>> I thought there were people who were using video in U-Boot, but maybe > >>> I am wrong. > >> > >> There are no video drivers for MX8M in U-Boot, it's all USB and maybe > >> sometimes in the future PCIe. > > > > Oh good. > > > > I'll try to test it on an imx8mq when I get some time. > > The entire stack of patches is at: > > https://source.denx.de/u-boot/custodians/u-boot-usb/-/commits/imx-8mp For the series: Tested-By: Tim Harvey #imx8mp-venice-defconfig This was tested on an IMX8MP board that I'm bringing up (imx8mp-venice-defconfig) but have not yet submitted. Best Regards, Tim