Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2875797lqp; Mon, 25 Mar 2024 11:41:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXIWjHd2OGGMl74uoUYm26UkNtyexH0/F/9i6W/OsGJL+JIhizfMxvUKr5zrS3QwVR+hv1AHXYtcGtghHoXCe/hTgNpi1rofsFXTnphSQ== X-Google-Smtp-Source: AGHT+IGM+9VdTI/0WdtvfkWXAxp5VzepUXGlkPnIEOpD0JlBa/GCpW7q90pTJdSInSKpErLUH/uE X-Received: by 2002:a05:6a00:3d04:b0:6e6:a9ff:b0b2 with SMTP id lo4-20020a056a003d0400b006e6a9ffb0b2mr544020pfb.22.1711392092712; Mon, 25 Mar 2024 11:41:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711392092; cv=pass; d=google.com; s=arc-20160816; b=mWxswIOP4qRYD1vn/AsukEWeLPkVoQCfGxRDMtoGy1LbKPE9ybnHtD/8N7ntKkPx+X 4SYVZtXFOcxOyPFOV1AQ7MtvmnrlYHcQNRxjGtLvFoCEUzVgT6E3DzI1Eue8ettZKeqZ 9UITjWyaQ9BFNLtaNor5eezyJisjUJlj3PkHrLaek84yytGnEZIIoWL3xOZWHOOBbrLw mMDiEurG387wEh2HUW+QpNXhKVpIheaR6YIu6L16Anv6GD3q/rdRl3FrmNN/8dUPNkTI T1AKGHQSoFSg4mR419szN00mvwqpt0zd3jOFM8tQ6SY3vn88/BOj8w9GJgMMODHdImWV P1/Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=xiOXQs7T01aJFoznmXbQaMw2pmViGQGE+qGpkH8JmY8=; fh=FXiVQID1N8MCr9DWOtqbbf4Yrgbi+CWCWLLh/1du5II=; b=gxCZWp/AmOv06wsoGaA8Ekv/GdPyBxm7UBbIXAZwLqucGtmLTesj7oFyOh7Hny5Cm1 V6MvM8r10hSWHrWEgZqmQ/89ZHb1K2e4h6iPeY7bjW2kO6NK3EdqWL3Fo5WqErWlNXPq 0lwZZrrrIqBecxvPD8okD7MSuZDMDn9MwmdKFlXWXR32bCHqfrDWIl/3tsIQkepUbnJD qxZwRxRmZ+DPCP5W2DwxNUkmHnB3vYczlE4FoGHXNIoHo8rg2nMxew9WAR3lzDitKgMk oFD/WSN9YyKml54AS4So+diwc9QlF2cRu8b/ph5YJvGRSd0hQj5MaHlFhI4a2Vn7bwTR MMEg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=HVnyuDHn; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-117532-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117532-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id x69-20020a638648000000b005ceb4a70188si7811783pgd.375.2024.03.25.11.41.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 11:41:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-117532-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=HVnyuDHn; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-117532-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117532-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id AC148C211BE for ; Mon, 25 Mar 2024 17:49:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D698753368; Mon, 25 Mar 2024 17:01:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="HVnyuDHn" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 59DAB3DABE3; Mon, 25 Mar 2024 17:01:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711386083; cv=none; b=nXNEZ4lTf9I2gpcQ195cRmIUjEzBpmC0D774Fx6Hji+v7+nZW5sem+2UqSINuRGKG0yhtWzY55thWHynPkAx5rr/UYwB5kkRyeFuMMVQC8Q1Slsdl+0sqba3Egwv0MwsXYhPLPvMMETWaFO4VxcMQ+PVZBkIv/+PoBo0kPcoeRY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711386083; c=relaxed/simple; bh=J65GG3qBBSnWUcbMSJgEcFyXxA8qwEWeK8c+V32sdPk=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=d9Chsd0UrPvGzGH0czMXJFWksk34hyApTc8VzsDMGjHFWyWokSrfrEhmzW1ogfVT6czPl242BdGwdkKsJRDkTQARzXApSHL1uLlcuDRzt9a9il3JhGcndkqEj0Ooay4vSLyDS0bheUqh9ozl6bXj1f3evBa6JH8cwu/kvcyuOBQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=HVnyuDHn; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1711386079; bh=J65GG3qBBSnWUcbMSJgEcFyXxA8qwEWeK8c+V32sdPk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=HVnyuDHnc+yeAIvf6f4BgaiUKTqwveBDuAHewSzDfehGNtTWgFvi9HHkYe4poG3d2 aMk3M2gVgAH0oOWxeJaYHmdmK4/xNzs9Z20IPWiq4V/mBtEMQx1D2RDT043Uq42W0M fiBpin06pwJv0c7BSdI9LDnlr8vHFPJf8eO04IWMSM/z8iO/i1HqkgLfN5STnoXdH6 y+Zs2t6cv5vjfog2PSPj279F4ofNvIPbLalnwUYHavrI29Zp2NaOzQDu2tN+4vr5AY nk/NOMZPm6H5R/GUxpzFejsuonOVIQY/EglTHfsmPycijd+FSXvVGjtwEBTVEQAVjO sIayP/IXBvgbQ== Received: from localhost (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: bbrezillon) by madrid.collaboradmins.com (Postfix) with ESMTPSA id D353837820E1; Mon, 25 Mar 2024 17:01:18 +0000 (UTC) Date: Mon, 25 Mar 2024 18:01:17 +0100 From: Boris Brezillon To: Sebastian Reichel Cc: Heiko Stuebner , linux-rockchip@lists.infradead.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com Subject: Re: [PATCH v1 3/4] arm64: dts: rockchip: rk3588-rock5b: Enable GPU Message-ID: <20240325180117.39d72749@collabora.com> In-Reply-To: References: <20240325153850.189128-1-sebastian.reichel@collabora.com> <20240325153850.189128-4-sebastian.reichel@collabora.com> <20240325164441.1dab4018@collabora.com> Organization: Collabora X-Mailer: Claws Mail 4.2.0 (GTK 3.24.38; x86_64-redhat-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 25 Mar 2024 16:58:47 +0100 Sebastian Reichel wrote: > Hi, > > On Mon, Mar 25, 2024 at 04:44:41PM +0100, Boris Brezillon wrote: > > On Mon, 25 Mar 2024 16:37:20 +0100 > > Sebastian Reichel wrote: > > > > > From: Boris Brezillon > > > > > > Enable the Mali GPU in the Rock 5B. > > > > > > Signed-off-by: Boris Brezillon > > > > I don't remember writing this patch ;-), maybe I screwed authorship at > > some point, dunno. > > mh, I cherry-picked the DT patches from your branch before > cleaning them up. Yep, I probably wrote this patch and asked someone else to test. I couldn't find any traces of this patch where I'm not flagged as the author in any of my local branches. > > > > Signed-off-by: Sebastian Reichel > > > --- > > > arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 6 ++++++ > > > 1 file changed, 6 insertions(+) > > > > > > diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts > > > index 1fe8b2a0ed75..096ee7a98b89 100644 > > > --- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts > > > +++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts > > > @@ -180,6 +180,11 @@ &cpu_l3 { > > > cpu-supply = <&vdd_cpu_lit_s0>; > > > }; > > > > > > +&gpu { > > > + mali-supply = <&vdd_gpu_s0>; > > > + status = "okay"; > > > +}; > > > + > > > &i2c0 { > > > pinctrl-names = "default"; > > > pinctrl-0 = <&i2c0m2_xfer>; > > > @@ -470,6 +475,7 @@ rk806_dvs3_null: dvs3-null-pins { > > > > > > regulators { > > > vdd_gpu_s0: vdd_gpu_mem_s0: dcdc-reg1 { > > > + regulator-always-on; > > > > Hm, should we mention why the regulator is always on here? > > In case of the EVB1 it's needed because the generic coupler driver > cannot handle regulators that are not always on. Ah, okay. I thought I added that for a different reason. > I'm not sure why > it was added for the Rock 5B. I will check if it works without that > flag.