Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp716898pxb; Fri, 14 Jan 2022 14:52:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJzY1KhqfATHFaA2TyaAVTH5cVo8Vf5+P5yzuJA4Rs0atCk9mzmjKaXI+sAeZKjIDqyMKj8y X-Received: by 2002:a17:906:300e:: with SMTP id 14mr8623862ejz.732.1642200776920; Fri, 14 Jan 2022 14:52:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642200776; cv=none; d=google.com; s=arc-20160816; b=BuTkrbdH6WOco7JfjH22HS2luL/FRPR8gca5997YVzw407McYfE9C8kBhgVMlR2px+ KosBonLauF2CGGQQWgvLOs7FqAcuCH0CIPfnTp4kVPYd2G9a/3pBE8aNUiMASHTE+ZTb pNRm0C6WcF4WY2XK7N+emGXUyX/f5JcubfOrid7h2IQnH92yKDFCi1dItfAIppveUXQb dviTRqpRVVpXbXymVVY1hvt++7cJ8lRSKX5tx1DoiKcfmNAvTGcqtE13DtfDiELweSLy Z92tyJE2TSJvbob8ED1jiletHwa7EhG3IUajo4xHc8FoZRTvjJaK+Bm8xmuh6pKEst1u BqkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=HJ/n8leiDcxtpqbl/KG46QcAN1jXojgZj6hM8meTLe4=; b=QnHnMoGRzXzyi+MmtbicRtmiLNO0fngKtz1S2nKoMiM+rg50/IgWjGIuUnrBb3/fq7 llaQTcbZ06uRiDhD4omXMXsyT2ZKvKnAGzp6xNNVrHOBTBAVymLDWwaqJVK5fdJELxgc PeoUvmIMoyFiPKteDEFm/NSJJFjNRRx2RQT2uLQHFfkMbuVEeqlDUQphxcIfwPEss/uF vAq5LVnbeibkso9cBDivP+GShom1b1TW9IV/h3e+VaxhkaRE4NQj0hvf1e6ONIH4p9LM eln4zka/ZVCC1O9FSfcRtM6CjT1RUUsBTxhulZwZI6o7b0/9s6e2ivLwgrEeta0EdDnQ 53hQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gb22si3442601ejc.332.2022.01.14.14.52.32; Fri, 14 Jan 2022 14:52:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236630AbiANQmP (ORCPT + 99 others); Fri, 14 Jan 2022 11:42:15 -0500 Received: from foss.arm.com ([217.140.110.172]:35704 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235625AbiANQmN (ORCPT ); Fri, 14 Jan 2022 11:42:13 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id CBBF76D; Fri, 14 Jan 2022 08:42:12 -0800 (PST) Received: from [10.57.67.190] (unknown [10.57.67.190]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 4A2F13F766; Fri, 14 Jan 2022 08:42:11 -0800 (PST) Message-ID: Date: Fri, 14 Jan 2022 16:42:06 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH 4/4] arm64: dts: rockchip: Enable the GPU on Quartz64 Model A Content-Language: en-GB To: Piotr Oniszczuk , Alex Bee , Ezequiel Garcia Cc: Heiko Stuebner , Rob Herring , linux-rockchip@lists.infradead.org, "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Ezequiel Garcia References: <20211126151729.1026566-1-knaerzche@gmail.com> <20211126151729.1026566-5-knaerzche@gmail.com> From: Robin Murphy In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2022-01-14 16:25, Piotr Oniszczuk wrote: > > >> Wiadomość napisana przez Alex Bee w dniu 26.11.2021, o godz. 16:17: >> >> From: Ezequiel Garcia >> >> Enable the GPU core on the Pine64 Quartz64 Model A. >> >> Signed-off-by: Ezequiel Garcia >> Signed-off-by: Alex Bee >> --- >> arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts | 5 +++++ >> 1 file changed, 5 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts b/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts >> index 4d4b2a301b1a..625489c60622 100644 >> --- a/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts >> +++ b/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts >> @@ -205,6 +205,11 @@ &gmac1m0_clkinout >> status = "okay"; >> }; >> >> +&gpu { >> + mali-supply = <&vdd_gpu>; >> + status = "okay"; >> +}; >> + >> &i2c0 { >> status = "okay"; >> >> -- >> > > Alex, Ezequiel > > I'm playing with 5.16 mainline on rk3566 based tvbox (x96-x6) > > Box boots and I have working SD card, Eth, HDMI. > > I applied this series as I want to get GPU working but I'm getting: > > [ 3.169144] panfrost fde60000.gpu: get clock failed -517 > [ 3.169646] panfrost fde60000.gpu: clk init failed -517 > [ 3.213653] panfrost fde60000.gpu: get clock failed -517 > [ 3.214156] panfrost fde60000.gpu: clk init failed -517 > [ 3.230505] panfrost fde60000.gpu: get clock failed -517 > [ 3.231006] panfrost fde60000.gpu: clk init failed -517 > [ 3.258072] panfrost fde60000.gpu: get clock failed -517 > [ 3.258575] panfrost fde60000.gpu: clk init failed -517 > > Maybe you have some hints here? 517 is EPROBE_DEFER, which implies it's waiting for the relevant clock provider to show up. I see from patch #2 that SCMI is involved, so I'd check that that's working and you have CONFIG_COMMON_CLOCK_SCMI enabled. Robin.