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 21E83C433F5 for ; Tue, 5 Apr 2022 23:00:38 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4BC0783B58; Wed, 6 Apr 2022 01:00:35 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1649199635; bh=CrUYbAU5Ob47HiNof0JdH5wzmcGn0f382qRLiqfY4qM=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=dlMszuOEQkZY5sTraVHHkKU+6lt9lbkJ5LoSZmJiIvIvSbzQ/8mwzmdl3bkgy5ouV nEtpZHgoKSf476Xx9kDzKBUHMUoBw2WYfTSImE1h+J2Q4TED2AJ2Gr5zRcPeVimDs7 Z16SoeVj9u7I+VJe1Z+hY2advsc2ta+m7dBytbTaPhbemJvmeEf7JPMsDiXnwyDqFV W6tq0EFu5EmlvKtGGVADD2WtJMXnVONdOc2fNA/S/elFPp7VhnlyZ6K5CwRPnD1WIi J8K40ohYYfVXfAuzSRE2Ot08SeqLl97kpA8/Tc9KI3+Hn3cLlPh6sPs1JmVQrErQj8 T4kN0qqK8lbRw== Received: from [127.0.0.1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 13A2783B42; Wed, 6 Apr 2022 01:00:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1649199633; bh=CrUYbAU5Ob47HiNof0JdH5wzmcGn0f382qRLiqfY4qM=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=QnB/DiARjyEcrUlcWmCKHvtb8nhJiYb8etRhXjHQ6wHdhTNPXWNqYvSMd8Sas9Na/ r8sU0gfZSOUI9w8kEI3ogw4iHw9Odtg23n+cv0xBlrmhOay/w+C50u/eTRabJCqw7y VorzX5Ijy68sxmdZEs41E45kcwOvgnTBWFbDnI8f0bpbxyXyfnYGdRF0LE79K+yaSy zP6jIHfjKSFgfzLdf2vqpKPvVRKUj6KApBMmaFIXvcHYo1vab52MoHgch/OoLRrn+4 FsDut3uQoVcZAhqTfniDRW3mGM/FmWJsjIUkBqJOOKaP2avZvluIMdVahBp2J8fGh1 h/Qe6nAQvdvpA== Message-ID: Date: Wed, 6 Apr 2022 01:00:32 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH 3/3] imx: power-domain: Get rid of SMCCC dependency Content-Language: en-US To: Tim Harvey Cc: Adam Ford , U-Boot Mailing List , Fabio Estevam , Peng Fan , Stefano Babic 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> From: Marek Vasut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 4/5/22 22:14, Tim Harvey wrote: > 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. Nice. If you want to add TB for any other patches you tested, that would be welcome. I think there are a few more involved.