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 8E826C433FE for ; Mon, 4 Apr 2022 14:25:39 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B702A83972; Mon, 4 Apr 2022 16:25:36 +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=1649082337; bh=yAvUU/VsSdrgBoNPDxM/VY48QWpUuRBl4b4PnQL2TYY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=Oh176Zzco4UkBJDq8xobHPTy3AGS767iztCgxFuWSJmyst5oBIBxvtwgSkaZlhb7E lRLRzBdjrm2guAbJjXSV6SS4P8Xp7LPwTjk8+svOKFGT10VYjGuCRSSU3Tln2Wptw2 Wux/q56bZ/6CIZf2jOcSGbYsYDjWuebdf8W1w43nxCjWzGoabPvo7oWhgioQc0Cng3 60ycG58x9EcVePNRPCd+u5uY7/wZIJa8W5hWIrE+fuITJNIYebrvClOHytHx44+h5A kpnzZArH+EZIxF/tRxhWsDTacoBf8Ot35x4hwKlKrqHRdV4rnDZQccqmAWOd/PNwmy T3POf1bQfDSCQ== 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 AC12B831CA; Mon, 4 Apr 2022 16:25:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1649082333; bh=yAvUU/VsSdrgBoNPDxM/VY48QWpUuRBl4b4PnQL2TYY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=JYcFN9TDBbQOdXpjqNSaiMF6TihmC+46jAw7Yd050z/OM4UbSCo0edww0IjZeITAB KwSN1auLe9p3wW2QmZmZOMiviUP5+HFX9fX3YEwtfIvKGBGubSGsWA2diYBLlbDIRW vH2EHkX3FyI9MHkX2q/tXtCWC4v81H/N7LJInVEvN+FW9y5DpfahKiMFTRl9vBhUsK CyBmIhTYSjZVQQPnvvDPLhaa4EB6TdTkqRe6HadRlflJ1UtJe6WS8Lx/bUY5Plk4NF FImZPgDijfAjrbClWv2h8X5ojvr67QJ28H8pQe5SDtQVOyTWi6TlsrFJ/TvHw4VCwv SFZKx9j7Hn6Mw== Message-ID: <05868c8e-cb2a-71f7-6668-e0f289bf4ca8@denx.de> Date: Mon, 4 Apr 2022 16:25:27 +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: Adam Ford Cc: 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> 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/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