From patchwork Wed Jun 21 11:21:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 110985 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp4286909vqr; Wed, 21 Jun 2023 04:24:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ60AJUubh4wX7KqxpTvs4Tyg4qLa88o2B8EgffbpMFx8dMhN/aiRu7UjommsPctFv9XTFoh X-Received: by 2002:a17:902:dace:b0:1b6:783d:9ba7 with SMTP id q14-20020a170902dace00b001b6783d9ba7mr7867222plx.27.1687346644113; Wed, 21 Jun 2023 04:24:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687346644; cv=none; d=google.com; s=arc-20160816; b=FZC22r6ACxW3lgL0IhjTlb9JOYQZwrNi2AwDnzsxQOgOaZbTeih0l4VadxPR0EuGkh SgH5jGxvWgiLWLb3GuwNbBp2ggW6myw73pJNGh1J2VkVCmfJzVi3Pn9I0K2VPIBr6PqD Gxk6BzbGhNVDJRGagB1QCxxvPmT0BkXNh0uX5LoXOkIR2BiAqdl5WSOC9vdIFrYlBn9K jAMCjPWTvKmmLJn97cWMhIA8K5PBA3lO96LeHSEX77x2sfrhmZW95UMsIMuyRoGAxWeV QoeVD9BsQTn+Z+2XBgekpFBdHBGhTmrqJaqqSNyFawScS9rYnoS8p7+E/dnjyYfRVlt+ Q9Qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=afrS/r3Jpl+lieZo9J+fA9jIAnBpaiCiUTWlN9YBqDM=; b=pPGCKALSx/GAvd2w37WdrF4uoIdpjUxPofShBPej4MF1mLUDl7vkeNm5hP+HEzPjBz sci5eAmiKOPehxAR9Swr0V7cMgPsdXL8VI3v/7wYDtxtgHArD0eGeNHCk65xQao7vMXC r0Wuoh+uXIxm7y+0XRpBBZQWAOdF3sk+W59ZE7Bs5exYRtyH0W6jYzB9/zy8kzNfu9bb DLUgjH2BjNUEN6GqSsRxXuXkcvq7fWNfFKC3pOP8FI40l1AzJVMsXn6H0PfPawowuJBD nZ4kLcDdlL5lKfDGekiLrMotT4964OHAuia77rHvPVVfpGBA5F6AEF3WSfo1RWdrzDwO +Jnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ODddu4CT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ku5-20020a170903288500b001ab1fb8cc83si1035398plb.161.2023.06.21.04.23.30; Wed, 21 Jun 2023 04:24:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ODddu4CT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232583AbjFULWN (ORCPT + 99 others); Wed, 21 Jun 2023 07:22:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232227AbjFULWJ (ORCPT ); Wed, 21 Jun 2023 07:22:09 -0400 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44E30135 for ; Wed, 21 Jun 2023 04:22:08 -0700 (PDT) Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2b4636bb22eso67105081fa.2 for ; Wed, 21 Jun 2023 04:22:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687346526; x=1689938526; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=afrS/r3Jpl+lieZo9J+fA9jIAnBpaiCiUTWlN9YBqDM=; b=ODddu4CTFlDcfwCdB9H3nN0azQAlAcL082ol1AecELnvcuWp6uOsxxZOzOFlKl1wpr UwHs0+FqvPfysCqepgVwRX/9kloIC/ON3xOfKsJyVUviFbtUv1YFClxb4GOitN7l3SxF tLp+ByaRM2o6FfGDJae8NLt37EfGyrmoxhW6KjIsLdwRze2oxrEzLsBAy+x4Sx7U9wrm 8IX8ztJnbU+cob546YDB/+zXauarVPhKKf5zk2D1nVaWFsw3K1ystiKb6XKLWm1B3Mts 4EnkiGIKaCGV/Plu2H7Is8YI7KjKcGnt8IN2bopnuJlyRp5GsDappjRZZlt+3DXSHdIs Isvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687346526; x=1689938526; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=afrS/r3Jpl+lieZo9J+fA9jIAnBpaiCiUTWlN9YBqDM=; b=C258NoCZwUBDvmX7DBhwhvkMwnVaCWNspMIy6DfbFjXOVNQt+MMihKQpLEgcY1Tax9 AApzy7kn2+DfROgW7k7UmljK9YSvrJ+MC0woeWoZ+u1VKiN0WJm2T4uYI0V6arr8ug9y XGcfWuatg8wPOuTO8oBdsICP97HcUjaQBExxlVtm31lnJPJ1oHAoSHFuXlAqpiTHXiFf Tfl9WFClCTqgo+DMv/9q7sNxeGIuGIeMW726zg189upGR+1oCKwcwQNZmqGWtSWv3BKF K6O5mW8JvBHgq0u/dUnm0Ypg1XdjQqHZ9j+Q7QC92+lb0m9jl1vJt80XgmLMGs8kWdck bTHA== X-Gm-Message-State: AC+VfDwf4Wvj7NHmJIeYeK1UULNA4n+DOFc42//AmU6OFKF4Kz5+458c bRdB/29FxtR1BKMVNilTIWAgzA== X-Received: by 2002:a2e:9985:0:b0:2b4:5a71:e637 with SMTP id w5-20020a2e9985000000b002b45a71e637mr9671045lji.18.1687346526542; Wed, 21 Jun 2023 04:22:06 -0700 (PDT) Received: from [192.168.1.101] (abxj193.neoplus.adsl.tpnet.pl. [83.9.3.193]) by smtp.gmail.com with ESMTPSA id l4-20020a05651c10c400b002b22a1a21easm866171ljn.110.2023.06.21.04.22.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Jun 2023 04:22:06 -0700 (PDT) From: Konrad Dybcio Date: Wed, 21 Jun 2023 13:21:52 +0200 Subject: [PATCH v2 1/4] arm64: dts: qcom: sm6115: Add GPU nodes MIME-Version: 1.0 Message-Id: <20230620-topic-gpu_tablet_disp-v2-1-0538ea1beb0b@linaro.org> References: <20230620-topic-gpu_tablet_disp-v2-0-0538ea1beb0b@linaro.org> In-Reply-To: <20230620-topic-gpu_tablet_disp-v2-0-0538ea1beb0b@linaro.org> To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio , Dmitry Baryshkov X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1687346515; l=3623; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=rrwHv/YxiN3sUzxciWmcTrdSRgXtI03mz+a9WJQcNo0=; b=gJnvOwZ6OEzWLw7Id3ZEbQzozrseg494A5KEV8wj4k67RirVGyNSqmkOdPwmz2kyweZLSZlnk oMTc4A2WfG7DiagwYI2QqAgE7r99wSMdGSROo9m8Mk8QpmvSLARoyeD X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769311194708271524?= X-GMAIL-MSGID: =?utf-8?q?1769311194708271524?= Introduce nodes for the A610 GPU and its GMU wrapper along with the speedbin fuse entry in QFPROM. Reviewed-by: Dmitry Baryshkov Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 103 +++++++++++++++++++++++++++++++++++ 1 file changed, 103 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index 55118577bf92..424b4f3c909b 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -865,6 +865,11 @@ qusb2_hstx_trim: hstx-trim@25b { reg = <0x25b 0x1>; bits = <1 4>; }; + + gpu_speed_bin: gpu-speed-bin@6006 { + reg = <0x6006 0x2>; + bits = <5 8>; + }; }; rng: rng@1b53000 { @@ -1316,6 +1321,104 @@ usb_dwc3: usb@4e00000 { }; }; + gpu: gpu@5900000 { + compatible = "qcom,adreno-610.0", "qcom,adreno"; + reg = <0x0 0x05900000 0x0 0x40000>; + reg-names = "kgsl_3d0_reg_memory"; + + /* There's no (real) GMU, so we have to handle quite a bunch of clocks! */ + clocks = <&gpucc GPU_CC_GX_GFX3D_CLK>, + <&gpucc GPU_CC_AHB_CLK>, + <&gcc GCC_BIMC_GPU_AXI_CLK>, + <&gcc GCC_GPU_MEMNOC_GFX_CLK>, + <&gpucc GPU_CC_CX_GMU_CLK>, + <&gpucc GPU_CC_CXO_CLK>; + clock-names = "core", + "iface", + "mem_iface", + "alt_mem_iface", + "gmu", + "xo"; + + interrupts = ; + + iommus = <&adreno_smmu 0 1>; + operating-points-v2 = <&gpu_opp_table>; + power-domains = <&rpmpd SM6115_VDDCX>; + qcom,gmu = <&gmu_wrapper>; + + nvmem-cells = <&gpu_speed_bin>; + nvmem-cell-names = "speed_bin"; + + status = "disabled"; + + zap-shader { + memory-region = <&pil_gpu_mem>; + }; + + gpu_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-320000000 { + opp-hz = /bits/ 64 <320000000>; + required-opps = <&rpmpd_opp_low_svs>; + opp-supported-hw = <0x1f>; + }; + + opp-465000000 { + opp-hz = /bits/ 64 <465000000>; + required-opps = <&rpmpd_opp_svs>; + opp-supported-hw = <0x1f>; + }; + + opp-600000000 { + opp-hz = /bits/ 64 <600000000>; + required-opps = <&rpmpd_opp_svs_plus>; + opp-supported-hw = <0x1f>; + }; + + opp-745000000 { + opp-hz = /bits/ 64 <745000000>; + required-opps = <&rpmpd_opp_nom>; + opp-supported-hw = <0xf>; + }; + + opp-820000000 { + opp-hz = /bits/ 64 <820000000>; + required-opps = <&rpmpd_opp_nom_plus>; + opp-supported-hw = <0x7>; + }; + + opp-900000000 { + opp-hz = /bits/ 64 <900000000>; + required-opps = <&rpmpd_opp_turbo>; + opp-supported-hw = <0x7>; + }; + + /* Speed bin 2 can reach 950 Mhz instead of 980 like the rest. */ + opp-950000000 { + opp-hz = /bits/ 64 <950000000>; + required-opps = <&rpmpd_opp_turbo_plus>; + opp-supported-hw = <0x4>; + }; + + opp-980000000 { + opp-hz = /bits/ 64 <980000000>; + required-opps = <&rpmpd_opp_turbo_plus>; + opp-supported-hw = <0x3>; + }; + }; + }; + + gmu_wrapper: gmu@596a000 { + compatible = "qcom,adreno-gmu-wrapper"; + reg = <0x0 0x0596a000 0x0 0x30000>; + reg-names = "gmu"; + power-domains = <&gpucc GPU_CX_GDSC>, + <&gpucc GPU_GX_GDSC>; + power-domain-names = "cx", "gx"; + }; + gpucc: clock-controller@5990000 { compatible = "qcom,sm6115-gpucc"; reg = <0x0 0x05990000 0x0 0x9000>; From patchwork Wed Jun 21 11:21:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 110986 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp4289616vqr; Wed, 21 Jun 2023 04:29:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5tqE1lga4V1XO+L6l67ybQ3PSTKKeyrC4IxeKXUJXFj0qO8DiVJM7k7M+svyHW7U6EsnFf X-Received: by 2002:a05:6a20:840f:b0:112:5404:88cd with SMTP id c15-20020a056a20840f00b00112540488cdmr12470950pzd.60.1687346960136; Wed, 21 Jun 2023 04:29:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687346960; cv=none; d=google.com; s=arc-20160816; b=yw6zgY7D/Mtw2O4bz6Wqyq3tE/O9T6dwXK1q368iAnpsvbCLFAg50uQMOL81VfpD0T eUlDPmECoDl3Vk89hxkTqcmuW6Qco/k1JNHCEld29x2X6GRhXGWGPg6CQ19fZAnwWUHy FbZnrUzbOHPMRc3/fLauBRiTGF49U9g3skInsFW3evBi8xOCiGfYy5fcDaadbHx5nfkw Ha6v7eUcZ/zx5rx4rp8vvSl+qv28kHFX+I7Ah7iWyu2cbna8U1CLZ5FvRBagGMSeWQ2q iSbLK0yCfDpIOiuXOlGt83SKn73JB2MA8O34yTCqUAsKOAnA9J4a0ET2p95mtWXxhw+D XbVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=UXNuFRDfRONCX2Ljf/J131jhsnM7rjkKz5kmnnhI4f0=; b=EO7rsfMzxpP3iwi2I3ftZ2dI+6ibVe8CBJuzXNIzfm8u7KmqxAP73WCULI3D85Wvos LfJ7tFkrrLgpCvk5JQlWXQoyMq7PRvDJ4lejhvOX+dIPhTHA56nlJCwY2Ui0EBmncMGT 7/DYbdGC01ecI/SA4jgXRTYrzMBsfEMqL4Og8tzNhc65XeZKfg5AYM87pGsDobOryS7B 0ybKCib4BueZSn3fb1xJYyRvIoINsBzI7JWUEQUZTXmYTha1sjdRGM10ZFVlO3jlTIkb iJGlS9cSYZPI0OhziJT3PdLwFami8+gYp2Lh7tLwAqrvilJsakpaRHHeom29vKMrBei2 dXlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OA71e0oH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f29-20020aa79d9d000000b0066975f3a955si2831284pfq.74.2023.06.21.04.29.07; Wed, 21 Jun 2023 04:29:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OA71e0oH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232521AbjFULWQ (ORCPT + 99 others); Wed, 21 Jun 2023 07:22:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232412AbjFULWL (ORCPT ); Wed, 21 Jun 2023 07:22:11 -0400 Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94F561BC for ; Wed, 21 Jun 2023 04:22:09 -0700 (PDT) Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2b477e9d396so48699291fa.3 for ; Wed, 21 Jun 2023 04:22:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687346527; x=1689938527; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=UXNuFRDfRONCX2Ljf/J131jhsnM7rjkKz5kmnnhI4f0=; b=OA71e0oH1ow3bddAkBl/4iC2nHVHVEQpNMXTXjy5q8oY6wN8onQYVYcPhvuYfuEhi/ F8133+NfNsU5h3vR3sEdZkOWF1nRjA3sZmHe7W9T1LZaa5zGg63FephQNEafhsKtQwQT Z4SioN7SBSq19Te7yasFLHX6JV3sIW327VG2DCa9TQcYV7yVYFDde6sgrZBkzeQC6ivx Jl3ZE90UOKvcIBOoq96mJE+I+wjacRvyg0Y3DszZIlddvV6ixg2xeaYWTOEJrhgOOFCf E+MpLQQwcuePQL+qF76ZtJpP7x+3FM/dJ6zTQOHCfGMKQZJDlNwQ4yKjFYqi5GycAj8Z +o0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687346527; x=1689938527; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UXNuFRDfRONCX2Ljf/J131jhsnM7rjkKz5kmnnhI4f0=; b=Bx8yM/k1hGM6E9uc+NVtwiPrfu9X1MXPxPFVcfwbTf7o0ChKRrQ//e52g5idnfqpE0 RzAess6pBfABVzVWkOjof1i32J2khjN9xyv6cK5Yd2daxixuapaftjFXVOB8fIqDyFsJ bNEED5Pz9ApFe60cdj4SZcEm7QjYNKkJpMdIrFFlDT4KyZdvEtRwVNhH0P+TcbmfI7fn 17VvOAMZObjR67wpL8CKm2FB4nMYClD4/9OtlTzchUE7xge6tCpLIrnGpoEyGVhmU03C G/6jSubBW4ttw7ltxcKA1GjdMXktmLAmj0axdvMiqtkM4v/sCz3Dhmf6m30HlVitWWde vUeQ== X-Gm-Message-State: AC+VfDwaDq3HCCIQGlgV9t/QoxRo38c75qLj/EDJkBaFnjcV1QUD0wXF doQVbEUDI8Kt38vThifc1QFrkA== X-Received: by 2002:a2e:8893:0:b0:2b1:e8f8:e0ff with SMTP id k19-20020a2e8893000000b002b1e8f8e0ffmr10305167lji.10.1687346527749; Wed, 21 Jun 2023 04:22:07 -0700 (PDT) Received: from [192.168.1.101] (abxj193.neoplus.adsl.tpnet.pl. [83.9.3.193]) by smtp.gmail.com with ESMTPSA id l4-20020a05651c10c400b002b22a1a21easm866171ljn.110.2023.06.21.04.22.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Jun 2023 04:22:07 -0700 (PDT) From: Konrad Dybcio Date: Wed, 21 Jun 2023 13:21:53 +0200 Subject: [PATCH v2 2/4] arm64: dts: qcom: sm6115p-j606f: Hook up display MIME-Version: 1.0 Message-Id: <20230620-topic-gpu_tablet_disp-v2-2-0538ea1beb0b@linaro.org> References: <20230620-topic-gpu_tablet_disp-v2-0-0538ea1beb0b@linaro.org> In-Reply-To: <20230620-topic-gpu_tablet_disp-v2-0-0538ea1beb0b@linaro.org> To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1687346515; l=2335; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=zqiuY9v4CCMTGwogxkI9VdCQQdRQbDXhOrWQh4SQdKg=; b=+Dsso/rqDQqEogRq4wvoXfyca4HLi/fgHhps6JAAQAZpGRyaHdEpa+BF81sYKtoiL3LPEBupJ ZjC13YcP6U/At8+a+AKsId2j1jnSnpLExr0dL+zHFbe9cgwzVEMgIsJ X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769311526111387735?= X-GMAIL-MSGID: =?utf-8?q?1769311526111387735?= Enable the required nodes, add the required pins and tweak a regulator to enable non-simplefb display on the Tab P11. Do note that there exists a second SKU with a different panel+touch combo, but due to insufficient information, that will need to be handled separately. Signed-off-by: Konrad Dybcio Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts | 57 +++++++++++++++++++++-- 1 file changed, 52 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts b/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts index 81fdcaf48926..667273ae0553 100644 --- a/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts +++ b/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts @@ -65,9 +65,41 @@ ramoops@ffc00000 { }; }; -&dispcc { - /* HACK: disable until a panel driver is ready to retain simplefb */ - status = "disabled"; +&mdss { + status = "okay"; +}; + +&mdss_dsi0 { + vdda-supply = <&pm6125_l18>; + status = "okay"; + + panel: panel@0 { + compatible = "lenovo,j606f-boe-nt36523w", "novatek,nt36523w"; + reg = <0>; + + reset-gpios = <&tlmm 82 GPIO_ACTIVE_LOW>; + vddio-supply = <&pm6125_l9>; + + pinctrl-names = "default"; + pinctrl-0 = <&te_active &mdss_dsi_active>; + + rotation = <180>; /* Yep, it's mounted upside down! */ + + port { + panel_in: endpoint { + remote-endpoint = <&mdss_dsi0_out>; + }; + }; + }; +}; + +&mdss_dsi0_out { + data-lanes = <0 1 2 3>; + remote-endpoint = <&panel_in>; +}; + +&mdss_dsi0_phy { + status = "okay"; }; &pm6125_gpios { @@ -212,8 +244,9 @@ pm6125_l17: l17 { }; pm6125_l18: l18 { - regulator-min-microvolt = <1104000>; - regulator-max-microvolt = <1312000>; + /* 1.104V-1.312V fixed @ 1.232V for DSIPHY */ + regulator-min-microvolt = <1232000>; + regulator-max-microvolt = <1232000>; }; pm6125_l19: l19 { @@ -282,6 +315,20 @@ sdc2_gate_pin: sdc2-gate-state { bias-pull-up; output-high; }; + + te_active: te-active-state { + pins = "gpio81"; + function = "mdp_vsync"; + drive-strength = <2>; + bias-pull-down; + }; + + mdss_dsi_active: dsi-active-state { + pins = "gpio82"; + function = "gpio"; + drive-strength = <8>; + bias-disable; + }; }; &ufs_mem_hc { From patchwork Wed Jun 21 11:21:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 110992 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp4295272vqr; Wed, 21 Jun 2023 04:39:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5IAGZcR6T91C1Oao0wXUYvvR271fs4DEz+hrd5Fy764SoSjTFyBbQMgX96g9CGzMUfEd9Y X-Received: by 2002:a17:902:d4c1:b0:1af:d4f0:1dbe with SMTP id o1-20020a170902d4c100b001afd4f01dbemr12201165plg.23.1687347577048; Wed, 21 Jun 2023 04:39:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687347577; cv=none; d=google.com; s=arc-20160816; b=XOPYWFE9ObCar+o4fC6+DO5fe/qCYetOjaZwNHofsHw1NBQQF+TLnoYlQNgyXl/t52 j1Rt850fZlsRAyYzwolrNS0jcqSbDR5+w+K/I2NegbUS3El8ZdIAm/HnSvvQ6X2SwFrc WvNvrfFYhsPXS8CbQp9zD1WGR1E0tn/mbzaMLEpeECBvj/c6F7dlh+M9jM9+zlRuzMYX sZ/qrjTUyIRQKEnb6MWrECxgDOG/0P1dsXf4I4LNpdXc2yz+PJ/VLkgNnX8oJmMXnXEG oaauterxlujeHCXK37yGramPj0mTTV5RutXfW5GkOKDdrefUOdqliYu3tKFktlnsqryr jGFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=m5svf0y49iFXl6tCPU4tCiE5qdu/qPBXugBRnB6M4sU=; b=GDjMvfNH+yMn3rHvh/s9Ta4tXEGylc2trgRjLC6Db4hmT86RMEQ4MS8bGEcToJ2Dgv 2RyElhhfFEbJQvIG7qc1so2ragXcZD+Spw53htgQ3arLJu2PQmypDiDpE4QQIHFtcbwp UEmaug40NMSJrZynMOzMcrmp0nbQqFpFH0yw6Zi9ySMwZ2Y7L1Gx38ce/O7ByjPq9eVZ vCa6Ve7PTv3+7+5ZSpUSVgOaqt3SUYHX4clTLvDUmOXkwhJQo1NW3X7q+QWUG/6UiuhF RXH6tcZdNvVlzflTrDyYDPnZrQmXn0crrdkYswmjKRw9veIRKrK83BsuouCpy6gD5IoP MVPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dzaORKqn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b4-20020a170903228400b001ae8c22791asi4140249plh.477.2023.06.21.04.39.22; Wed, 21 Jun 2023 04:39:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dzaORKqn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232719AbjFULWZ (ORCPT + 99 others); Wed, 21 Jun 2023 07:22:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232665AbjFULWP (ORCPT ); Wed, 21 Jun 2023 07:22:15 -0400 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FDCB18C for ; Wed, 21 Jun 2023 04:22:10 -0700 (PDT) Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2b45a71c9caso76582941fa.3 for ; Wed, 21 Jun 2023 04:22:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687346529; x=1689938529; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=m5svf0y49iFXl6tCPU4tCiE5qdu/qPBXugBRnB6M4sU=; b=dzaORKqnlaCe8mDFwctHfLl3pq+3Kjr0ZUSkvXvNh9+Fw50pyfwMVQMcHKhhIV1BXx z5RxoZ0ns3F8hu80G1JVa/sIAieZ9QyLAx0za+khMk5YFdYFaimgRX6aMfLalHg4IRf/ 38XNAndWhrs3psgsglp9fugQmWgmf7YLcMK7X5LWc3mBxxgHdiUcLm4EJ/APQd2Unqs/ dyTdu3NZ5TPFwNb122lFFxBl1sj7rY1omayxeJhfrjMODWO9aRiq2n3TCUFZtGPTn6Fq q4X98DEq6LDltb3H9PfxR+qU1g4ZEqdzfARB1+NkfEkhqX2QTfdqbw6UdTtc5qBx3+PV e1WQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687346529; x=1689938529; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=m5svf0y49iFXl6tCPU4tCiE5qdu/qPBXugBRnB6M4sU=; b=Tvibm074JI2lw7CzF4J9T8f800fvPBkZBS8Ys6gDiSe0Hj9JpLSjEYHRduR8vnJQ89 kT1v54t/boWCQM35+q8DKXdUnxj/2+LPv5tCqXPZ85hUBghWuxFof9wePZsEle4XVuhr Xzxr/g1OEsBECBo1HyBD0YnWLuCBx2dlXBi9u+SVPiGCPsgi+QpEGoP5TLZeCGhTKeAf OYbHUaE1tkYhBkOatjCRUIXRvElXXZQlkdYU27lMJ0zPVv8y0AORCOugqGXwjqEkDAUb eYx25bt5M2BuJS3LTbGw6v/iZWpp/Pcm8ooksN64rkvFrNG52bZsDKri0BBB7UM10h0V 3NQA== X-Gm-Message-State: AC+VfDxsRlZpkHnR+SmjQCxwaDpxkpf0QWLuPkcUug8X3I00S/QATHhl 8lf2T65gsQXkoRcaT2Qb+5smFw== X-Received: by 2002:a2e:a0d5:0:b0:2b4:5cad:f246 with SMTP id f21-20020a2ea0d5000000b002b45cadf246mr8953910ljm.7.1687346528903; Wed, 21 Jun 2023 04:22:08 -0700 (PDT) Received: from [192.168.1.101] (abxj193.neoplus.adsl.tpnet.pl. [83.9.3.193]) by smtp.gmail.com with ESMTPSA id l4-20020a05651c10c400b002b22a1a21easm866171ljn.110.2023.06.21.04.22.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Jun 2023 04:22:08 -0700 (PDT) From: Konrad Dybcio Date: Wed, 21 Jun 2023 13:21:54 +0200 Subject: [PATCH v2 3/4] arm64: dts: qcom: sm6115p-j606f: Enable GPU MIME-Version: 1.0 Message-Id: <20230620-topic-gpu_tablet_disp-v2-3-0538ea1beb0b@linaro.org> References: <20230620-topic-gpu_tablet_disp-v2-0-0538ea1beb0b@linaro.org> In-Reply-To: <20230620-topic-gpu_tablet_disp-v2-0-0538ea1beb0b@linaro.org> To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio , Dmitry Baryshkov X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1687346515; l=789; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=p5lGH6ZqC7qAByANHSO++aGN2K1HVaeDyoGsIsR95Vc=; b=yVRn2AAV9MNjd+/TpTKLv2PRDf0pOPSDD27LwmDBbTlRBRG1OksmhMLf1mM3r5WxUbDhFB1gt enCdryhw9k/AdDup6ZmE9xrW018y+x6NpY+cX9jBj1RE0nHRf3Z+/1g X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769312172968077666?= X-GMAIL-MSGID: =?utf-8?q?1769312172968077666?= Enable the A610 GPU and provide a firmware path to the ZAP blob. Reviewed-by: Dmitry Baryshkov Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts b/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts index 667273ae0553..c2d15fc6c96b 100644 --- a/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts +++ b/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts @@ -65,6 +65,14 @@ ramoops@ffc00000 { }; }; +&gpu { + status = "okay"; + + zap-shader { + firmware-name = "qcom/sm6115/LENOVO/J606F/a610_zap.mbn"; + }; +}; + &mdss { status = "okay"; }; From patchwork Wed Jun 21 11:21:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 110993 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp4299813vqr; Wed, 21 Jun 2023 04:48:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4HdsxUiwxI+aOfFO6jP2ychyvJkilaO2d6Avi1eICvPNk3iXyrPB2G0g1FL99cTSxXyuYn X-Received: by 2002:a05:6a00:3a24:b0:668:98a1:5e9d with SMTP id fj36-20020a056a003a2400b0066898a15e9dmr6600180pfb.6.1687348104103; Wed, 21 Jun 2023 04:48:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687348104; cv=none; d=google.com; s=arc-20160816; b=lsIfg4X/uwv0015udQKklCFFo7rum0etZBdkpFcCUyJlASpos+NMLbeBMMQym+BtJz gMxbfNKFg8P+1neLxXlxx+TZGhy/WYtHpKg1q7QqwrSFGJZ0tyEWSk/ptfFLObKsyZ9F hy6cH7x2zGrpJEvuK46HD6p7CGRRajTlY08u3IaJGIzoBro85+Sd5Prf80+kxIYS9WZr FMKKCQjxjpGSS8egmLOcj/QOvq7Fe1r/K4dTeqBSciZ5W/Tw02MOXbz42ClPKFgCz2wQ QCESRJ/ti+HXWIhSB4OjS7N54MLKyT5Fj9kUonAiqfbnpzVbHIADbZdSJ0wmOPlD8s2l UTkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=KFA5rv0lr1oloQt1B0KnKq65YwKUj3TfUmZ2SAZq8Ag=; b=r/rALfFaO6gpMxF8XJLvgPBtdByu4BS8f6+CT5fHiPy8FNklzbcA/y0LRU1VN9jGCd 1ByJEYugudlxyn7ArS4CYjg1tAzkOUVbW7gyGeABNmq4RtEWLynjs9jmCfdjt99vKUU6 GQNysElfgD9P0JhB2YTBcQvuSpZe66beAQ/LUoje89eRM3h8ths+TARGkYSHy+taNJPH uOvpOKAyy8Avd/KpqJ4Wmr8+nu+Kl5lKbUic0S/guJ3N3RUuFeb87ks2xCSipzNQ7pXM lOrR8UF+6Z5XXj0kLuE5aTuqGVyN3byxEaqPHg6g9wbNwCUUzgvB6qebVoHPU0+0yPSF nMUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=C7pIPZvm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z14-20020aa7958e000000b0066871182536si119756pfj.194.2023.06.21.04.48.08; Wed, 21 Jun 2023 04:48:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=C7pIPZvm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232705AbjFULWU (ORCPT + 99 others); Wed, 21 Jun 2023 07:22:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232648AbjFULWO (ORCPT ); Wed, 21 Jun 2023 07:22:14 -0400 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6D9019B for ; Wed, 21 Jun 2023 04:22:11 -0700 (PDT) Received: by mail-lj1-x235.google.com with SMTP id 38308e7fff4ca-2b474dac685so52683931fa.3 for ; Wed, 21 Jun 2023 04:22:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687346530; x=1689938530; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=KFA5rv0lr1oloQt1B0KnKq65YwKUj3TfUmZ2SAZq8Ag=; b=C7pIPZvmKOBlLqiDTJ2zzCYHkCEug43rr60pvbUAFvOvByzBzD9140rW89CPaZzB1s eOcjbC8gEI2ZEw36Hv+Hmq7FOo25LBjviY+IoBJ4dW2+wUNujIfMJw8kuV/SHuyIQfCB K/4jrFcPeHQ/gJuI+3E1KmaUKpPVJLvbzj8seEJJ242LdNDYYweGdrv5jiRIFbYduDWw ArJozkSq+gV0Ssuy3hQpUvPDMoKc8NGYtxRwSl5mKXB43//dVyo9KburBDd2YsTuSY3I xQCYUYblLqSQZPWpQiY0DzbgDV3kiGKmiv27AGebaKnLx2stGsgQQl3TkyLukVzv3CbO mNcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687346530; x=1689938530; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KFA5rv0lr1oloQt1B0KnKq65YwKUj3TfUmZ2SAZq8Ag=; b=AtF2692oM3dSsnAy43dEyY0aY5IYYgZTauL5orxB+cbfMwBPdY/we4c1gnVqclPRGp uAW05Obr+YDhiT1q7ZBKx75s8HJTAEtzJV9KVz9pZPxAa2fYC9ThLSM8F8XJWa7kfXYb yFvWDdFrch+1EgK9y3D3Xa2mB0/g7E4EfWgKRSuz7ggzQeiabjCQLcAWMWD7qog5aOxp BgGXqC//A/fdlLIPD7bsr7bIRt2uFI3rbUB3acWrBRh40fH+26x3E6qx/qrcFmGFnOIP kVLwX64U10th44+BvgpuAG6y9KEFJtqETaoA7G2CKPu3IcxsDS5sTF+u44tWCrY71Lej XhOg== X-Gm-Message-State: AC+VfDyE1Ara5uZ5n8hpBNkRVNwRxaytIBq+jdFVJdyPWV9B84kSp+bR fRN+5RQrkX4Y3IcPY6Ud4eHihQ== X-Received: by 2002:a2e:b0c6:0:b0:2b4:7f2e:a42b with SMTP id g6-20020a2eb0c6000000b002b47f2ea42bmr4802342ljl.37.1687346530012; Wed, 21 Jun 2023 04:22:10 -0700 (PDT) Received: from [192.168.1.101] (abxj193.neoplus.adsl.tpnet.pl. [83.9.3.193]) by smtp.gmail.com with ESMTPSA id l4-20020a05651c10c400b002b22a1a21easm866171ljn.110.2023.06.21.04.22.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Jun 2023 04:22:09 -0700 (PDT) From: Konrad Dybcio Date: Wed, 21 Jun 2023 13:21:55 +0200 Subject: [PATCH v2 4/4] arm64: dts: qcom: qrb4210-rb2: Enable GPU MIME-Version: 1.0 Message-Id: <20230620-topic-gpu_tablet_disp-v2-4-0538ea1beb0b@linaro.org> References: <20230620-topic-gpu_tablet_disp-v2-0-0538ea1beb0b@linaro.org> In-Reply-To: <20230620-topic-gpu_tablet_disp-v2-0-0538ea1beb0b@linaro.org> To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1687346515; l=706; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=JBonNiZe3CxDbV4Fmz0+WuWgEzcdGj7FHxWoDNsHw3g=; b=woXuVPeV9zuclKwXzqYTyZS/QW1KC/3GrnVM61nn5NoKn5A13fkVnJi5fSpcKT6+sGZ/bHorA bTxpSvrrZhsAonQEybyEy42H0VyvlplpFoyhW4EHUJR1u5yiF61oEki X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769312725541710488?= X-GMAIL-MSGID: =?utf-8?q?1769312725541710488?= Enable the A610 GPU and provide a firmware path to the ZAP blob. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/qrb4210-rb2.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts index e23a0406eacc..a7278a9472ed 100644 --- a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts +++ b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts @@ -179,6 +179,14 @@ &gpi_dma0 { status = "okay"; }; +&gpu { + status = "okay"; + + zap-shader { + firmware-name = "qcom/qrb4210/a610_zap.mbn"; + }; +}; + &i2c2 { clock-frequency = <400000>; status = "okay";