Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp312987lqt; Thu, 6 Jun 2024 04:38:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXgVdYI2eLZy8po5bYCHgTz/RuyDwsfvecUGLKJLPGBEwcRsJVG0vpUxvLOv4xCnNnOOJZOHMaXob3i/dfcUBW+BtG9sqMvyVKbfX0TCg== X-Google-Smtp-Source: AGHT+IETXV6kLnCk8Pzw3U7c8Olp7+CmISB+eeMp6ZEyJU107G3hJt9yQf6MMTmM3d+Rbyp5oa5u X-Received: by 2002:a05:6a21:78a5:b0:1b2:7bd8:d1fb with SMTP id adf61e73a8af0-1b2b7414278mr6088335637.19.1717673924501; Thu, 06 Jun 2024 04:38:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717673924; cv=pass; d=google.com; s=arc-20160816; b=z/vFUu40Lrbm+5FeDs92iS5yYSTVTsnBH1s4bsfWBXe0c6DDbiJ5iY49UekneDAycA xVOebRvwYDEA0Cu9koJlBtIa+oWwls/uixraiO/a7ZJFEW8Uqmg9/7lmoWUv0RRmmgNM +uKgZVaehYB4tG+PVC7p+v4B1FQD5tm9UPSfcWleZTXcXSqKIAq24kpl1bQHQT8EAVpz LTUbt8UmcjlPC+Bq7fCfMicGgksPbrTdU3ECPUrajUt6J9vBzVrvheaEVMshC7XLxyBq DYhUJSH93jrrpnHi+nIUIVj0ujSNKqRuW4GwDobBCBnYkQ6q7q4SNlxrNrKodmDr2CZw dQag== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=G5WVHvN4hcDFKHXeB2Nr1rayWqDhEYmxUcOfsWZcLro=; fh=VOFaoFz4sy8AB5+R9/9V0H+ECarhFQueuxG070/+G8U=; b=jE5+MhPKSPqr+csXl1REm/zrVLy7oBAAzBKUhpTcBa4eWruhigt+2B661oGPo3Eo+i 5Nr0vmWME+r5wVNjFuXw8JO5Jz0rFhag6KdlAZk/H7SH6vwYqkUZaBubaWC/23IWoflT IwJsK02hTpVMITUXuF7w4XjiRjkngfcy5mQgV9RPphUnWdDBBl91sX6PTuHuBfKxS5Lh DM6zzENuPQ3Y/XeawL2iuu8eXeN9n2I3z2rdLmLgPUryV2+B2jIXgDuFdRpOss1MwLbT 0bSWAOnCL6BGKXgrxGL3AEDcnEIuC8rvWIvmWwxlrH217MNa7zbYQDoy+epBSh3WWGau IF1Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=roj9mpic; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-204181-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204181-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6de2a280bd7si542092a12.791.2024.06.06.04.38.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 04:38:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-204181-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=@linaro.org header.s=google header.b=roj9mpic; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-204181-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204181-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 588A3B23305 for ; Thu, 6 Jun 2024 11:36:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 71FFF1957E5; Thu, 6 Jun 2024 11:36:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="roj9mpic" Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BE7A019538A for ; Thu, 6 Jun 2024 11:36:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717673766; cv=none; b=stDlnCKaAgdipceN3c9YpH51Ntw56yVNsYOKzq6SnYt8LeVP48GsGCalLAoN4XRA0S3lDvfgwApBfXs8rt/fDwcep4z4tSaS7yKpgE2IvJBr+hxaKCXSu80uzIaCv++SSdALkrM+CbLD1igGT20kMJXwPVxmR2XwGmn/nBZeW64= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717673766; c=relaxed/simple; bh=nh/cE3Eeu+9iFnpZ9VsfcbkTKdJVkvZjzDWXX9A2c/U=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=K+nbh9aiWdxnTuhtTa8C+5yPQVIy3cFixxXUpxf7d1QYr3DU4EKCZzsl9TkdlJ/VNlZOanWNQI7HEUiuAkIN0trmpVWoJ73wGjOL6f13cxkYj0P/3Dy+mwyVj5mwwoy3g2XHEJSiYNuxI9VEIT/RbyNP94UkonD5XUuLt84iuIM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=roj9mpic; arc=none smtp.client-ip=209.85.218.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f42.google.com with SMTP id a640c23a62f3a-a68b41ef3f6so82686966b.1 for ; Thu, 06 Jun 2024 04:36:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717673763; x=1718278563; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=G5WVHvN4hcDFKHXeB2Nr1rayWqDhEYmxUcOfsWZcLro=; b=roj9mpickY7udWe8MW95eX9kCWLKBO4cijCH7uFoaOOmDDAckWH01UcgGbCgsbOvR+ VbSrV165xspyIy9Y3ceQgvVN1BbOb8wRfXcMAs6ZDxDpzE97pHsZd1oA5Id9kbpDzyF5 a7bQBmSUCmYgIAQezRI48zWu+WIrb3gIjxrNyfHPaJmguBHq3RywmsGlExB3N6YfLpOm 0eq2w6AgEbznwBymxsrhE1FlSkYMZPMbHmAVxuhFcrln7XgNbrvfIplw/KxVfKZ9T12v 5FAZT9pXhU3yCJSIxOK4iLrZlnac4ghmJ0hBCzpMm8owhSGJqak23J4CzTiYPVQYL1M2 LUzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717673763; x=1718278563; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=G5WVHvN4hcDFKHXeB2Nr1rayWqDhEYmxUcOfsWZcLro=; b=do/9vJ2kfpYgSg5Sw/LjwFKSt/dIPT+H3P/eugR/uO2fEuyDc35+ZL+bjfOdWRMgzc qtTNLlnCczNje1bZoqXqq4y5cIAnqIvsK5dYqWSCJ+RmAK+UrCARc/aZKLVa0r8XvQDk vdCQzZ8HyWUFyLk65NUZu18z2iKCgMzoc4LqrdEcCqkXZ6bRLUoTmjlBGpPQSEs6PURP wUEA33/izPgezgXPkW2aHwVxu8l8meyau5Fl/N5ld5v5PBHyf7MBb2nRd/vxaKW6C6ZJ 98mLiUBrYImNF3ABCjJNwXDi/lQpmiUIXLGBWfeOdmyMhkrbOK7v8Pnl0yRjCEvsQKnH kxcg== X-Forwarded-Encrypted: i=1; AJvYcCVp+TS9pQZPwkfBhwRsCJoIShrCTPn2SD/uSC/t4k2S/pU3aOtzhy39DqGMYYlMbSFrJXrfSUQ8EH1yIcVv4rdF2dbxyAoDlJ6F3De7 X-Gm-Message-State: AOJu0YyIz0Npoi5fQp0O2GqsZaswidv/vq9dcLlvDwkkIsdRYJyqosgK jtCDetDu0EJ7lG+reYZOD9Se+P0BTO7JVFMkoSMHIgYSEeXlEc9gv/1BL4OvAvo= X-Received: by 2002:a17:906:eb17:b0:a68:b335:76b2 with SMTP id a640c23a62f3a-a699f663bcfmr329014866b.20.1717673763099; Thu, 06 Jun 2024 04:36:03 -0700 (PDT) Received: from [192.168.128.139] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6c80581c05sm84014866b.7.2024.06.06.04.36.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 04:36:02 -0700 (PDT) From: Konrad Dybcio Subject: [PATCH v4 0/5] A702 support Date: Thu, 06 Jun 2024 13:35:59 +0200 Message-Id: <20240606-topic-rb1_gpu-v4-0-4bc0c19da4af@linaro.org> 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="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAB+fYWYC/33NSwqDMBgE4KtI1k35TWJMu+o9Sil5qQFJJFFpE e/e6K6UupyBb2ZByUZnE7oWC4p2dskFnwM7FUh30rcWO5MzIkAYkPKCxzA4jaMqn+0wYWq10Fx QoIKhbJRMFqsove6y8lPf53KItnGv/eT+yLlzaQzxvX/O5db+m59LDNgQDo0UFauhvvXOyxjOI bZom5rJISeZE0MNl2AUMPjh9JDTzAVveF0LXtGL/OLrun4AIa58Tz4BAAA= To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Krzysztof Kozlowski Cc: Marijn Suijten , Konrad Dybcio , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio , Krzysztof Kozlowski , Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1717673761; l=2655; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=nh/cE3Eeu+9iFnpZ9VsfcbkTKdJVkvZjzDWXX9A2c/U=; b=nGY80AP0d0VIs7gnv8FCTsEISM8QTnBIrWhwxBlI6ydA0HbEtTobZPMQbLh87zZ6ga3Mq0dNK Xhbwvdok6dUBaFXUV1NCuGe5m2RJl9N1McKcJaloweiCl8YHBMNINMl X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= To: Bjorn Andersson To: Michael Turquette To: Stephen Boyd To: Rob Herring To: Krzysztof Kozlowski To: Conor Dooley To: Krzysztof Kozlowski Cc: Marijn Suijten Cc: Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org Cc: linux-clk@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Konrad Dybcio Changes in v4: - Rebase on next-20240606 - Do NOT change the wait in the HUAYRA_2290 configure to a poll, as that seems to not work correctly.. - Link to v3: https://lore.kernel.org/r/20240219-topic-rb1_gpu-v3-0-86f67786539a@linaro.org Changes in v3: - Use EXPORT_SYMBOL_GPL in the alpha pll change - Drop applied patches - Pick up tags - Link to v2: https://lore.kernel.org/r/20240219-topic-rb1_gpu-v2-0-2d3d6a0db040@linaro.org Changes in v2: - Drop applied smmu-bindings patch - Fix the gpucc bindings patch to be even better - Reorder HUAYRA_2290 definitions near HUAYRA (..Add HUAYRA_2290 support..) - Replace weird memory barriers copypasted from msm-5.4 with readback to ensure timely write completion (..Add HUAYRA_2290 support..) - Keep my super amazing commit message referencing the 3D accelerator official naming (dts) - Pick up tags - Link to v1: https://lore.kernel.org/r/20240219-topic-rb1_gpu-v1-0-d260fa854707@linaro.org --- Konrad Dybcio (5): dt-bindings: clock: Add Qcom QCM2290 GPUCC clk: qcom: clk-alpha-pll: Add HUAYRA_2290 support clk: qcom: Add QCM2290 GPU clock controller driver arm64: dts: qcom: qcm2290: Add GPU nodes arm64: dts: qcom: qrb2210-rb1: Enable the GPU .../bindings/clock/qcom,qcm2290-gpucc.yaml | 77 ++++ arch/arm64/boot/dts/qcom/qcm2290.dtsi | 154 ++++++++ arch/arm64/boot/dts/qcom/qrb2210-rb1.dts | 8 + drivers/clk/qcom/Kconfig | 9 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/clk-alpha-pll.c | 47 +++ drivers/clk/qcom/clk-alpha-pll.h | 3 + drivers/clk/qcom/gpucc-qcm2290.c | 423 +++++++++++++++++++++ include/dt-bindings/clock/qcom,qcm2290-gpucc.h | 32 ++ 9 files changed, 754 insertions(+) --- base-commit: ee78a17615ad0cfdbbc27182b1047cd36c9d4d5f change-id: 20240219-topic-rb1_gpu-3ec8c6830384 Best regards, -- Konrad Dybcio