Received: by 2002:ab2:f03:0:b0:1ef:ffd0:ce49 with SMTP id i3csp62636lqf; Tue, 26 Mar 2024 14:31:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV8opL1Ff/INVNe22XXvIdOB5rvFQYgwDBVQSyPDaMN/50QXLSZbEiSE/GWqdZIe8DKtn2WCJi8G1gxlL1tS8DVmn44EEV6Po7GyRY/rA== X-Google-Smtp-Source: AGHT+IF3/B1TG+K6XSnpNegRG9B/gJ3wgYzN758bp6lQC7n3VPOMoHczWGDHrYZDmlWNiIyQfyxe X-Received: by 2002:a17:902:b691:b0:1e0:b687:4bc5 with SMTP id c17-20020a170902b69100b001e0b6874bc5mr2206524pls.48.1711488685025; Tue, 26 Mar 2024 14:31:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711488685; cv=pass; d=google.com; s=arc-20160816; b=S8GomV9qNmYGx81k3+rnkNcxesr7mFIoCF/RxrZeZv+Clioy7YqZl5luACVh9vSyL0 /rx+19j5QI8IbpyvDdygpYOWVgQBRB/b1agZEmzL4lXm9vo6ol+Bsek/LOv5FNXcDMEc G2VFKKq90v2qwOqVjwzy5+VUGJjAahSxWmh85Rm8c1Am6Wb5vOcm12mkxz59+sNSsXUG aVZAErxznRuhT3HtPiKAgWrM1B1TXJr1fTxj0jVqQRjM+X9ZR6c7guY/mIJ+Faexednh olEkmC792OdwdzRQSNJJZEmZS7tbbEeFyuiO8Lry+9VLTv42IRn0kWoPtSYKV8XoFH1X kMBg== 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=Owu1u/GIpsA8DH2n23id8Dq1ZdjynMYs9dLtlBfR+WM=; fh=fm2Ec0eSDSvifewW3GK+rYBCuss+Q4a7SVFcvf2eNno=; b=Jas2FKKY3l8QAt1attEgSMoLN329yyjqR6r7mNXmgKzZyWH9PSJxkD7Fr7qUq34L/P DbAGmwbSHbv5WIOSMoxPfoqqyFaKDC0HKSBtBn3K6eI6pC7QuTObDaobjRP6e8j3z5gK rHHYefCXtx6O1JHgHhN0/PX6Ok46K65+537NVi6QoS4vCwtE5pAvRMIqAcr5hEstqNBN xSuRsIqc1YoDTNTPG92uALECD9SvI7nw9ZBHpa+3afInR7CtMvqkeVjrh8EfcO13HGDC 60C3L3EZg0ydgoq3HrNhMMzawBlz4uAWkIIcnCDgWiMr4VLwOPTBx9OPai7N19/AesGk 8v8Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dF99zDRN; 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-119977-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119977-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. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id q4-20020a170902dac400b001e0fe7619b6si1063630plx.480.2024.03.26.14.31.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 14:31:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-119977-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dF99zDRN; 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-119977-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119977-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 50419B257C8 for ; Tue, 26 Mar 2024 21:08:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 05C4E13D60A; Tue, 26 Mar 2024 21:08:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="dF99zDRN" Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (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 5A03C12B158 for ; Tue, 26 Mar 2024 21:08:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711487317; cv=none; b=cqSAd2qjKhnpb/RVKRrEaUy28bL2f8r0w05nTJ2iGrCYwRueEhVpqX7mTWExn8WcDTMmpfw8bzV/fP+ZGm2NXn58VM2DNx5yLMOw1HG9H4dKGwKEgMBfp0niFd0dinkgdQAJS2JacmpUUEjEX539o87tZe1UBq1bPEvc84U8USE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711487317; c=relaxed/simple; bh=eR4CFXwJ/DV52t3rPx/eaHmXMF5jodelDrArYPO4NaE=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=kU5xTMc3dFhw/hqXQ4GG4qk1MhRr3weLgkJDZvfaxvOu7sThLlfB94cil4KsIzhBecUO7yBJ0NjbJ0AIfFGWcXncQdwKey3L0L5odBCWEYfT7iP4VgUsrlmXMAD4uxsyeW0oLAJlhsCLSyFvtrK/x8ZRiCUFvuQ901PbanVUe2o= 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=dF99zDRN; arc=none smtp.client-ip=209.85.218.46 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-f46.google.com with SMTP id a640c23a62f3a-a4715d4c2cbso766149066b.1 for ; Tue, 26 Mar 2024 14:08:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711487313; x=1712092113; 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=Owu1u/GIpsA8DH2n23id8Dq1ZdjynMYs9dLtlBfR+WM=; b=dF99zDRNGTLjFQhUGaTfpB/Nn7mq/mWe9g29mmnpQcbwdjcQp+9T1j7s/aFrEIX0Wq tW7iuFITKP2HSyNDzck+RY77GpeysE5VR3NfP1KlW+fUPcPozF46GJ3otVAZRFAJgq5+ lrPLIIU6Q+wkp1QNUJx1rRbnlBrUKpArufbotv4BTf0cl03bVNT+HhaGEAhwfRV91hOK dwZUprZ155iKVxi65VQ6beNcl6fnDJDyXnDWVw4IZMrOZKEXBQwDVFRhWdVJxuuQlnL4 Lk9secORo9pf4sr/exh5jlGt9mzmeSIfJj3yTQIzWsJN8MJZ13T9nyn5YHZWil/oVFEI UD5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711487313; x=1712092113; 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=Owu1u/GIpsA8DH2n23id8Dq1ZdjynMYs9dLtlBfR+WM=; b=j/saJqpdKfWKHLGwRd/iX76Z+k5byuCntzfZhFRWpHy6drLmhqO9bTys5OWyM7be0f qRERJyQFrJNMpna/FvdKweI6drxrNS0aH6wT2m8kdgpXcjt7CFuov7iQe+0aZfwdzQYZ GAD/rUBFQcAlRbTWYuHryzX/M80ZalAfL1GeGSmeXcNVAa1DoYjvCmwh+iwKRLEQmO7e zWwSYU7JM79ZYdZG7KVA3nD5J2J3uOt8iLAyzl2/KWq4Cn3l1lGVb9H+g1KbPnVaMqwu riPInHbGYoshGttxTZLoiXH8bg9n7OW4paX6J1ytr+SMYf4nmTCGXifDVFasBpTQJNpM wGrQ== X-Forwarded-Encrypted: i=1; AJvYcCVftiokDcU0S0xY9AgDtHfLgev3GbYlg5cqKbDeq4lgLIaRJvDhmpPKI+qsLZjGK57jqvX2kq6632qjmq6fnyzH2vur6LFv97KfZ+Se X-Gm-Message-State: AOJu0YwBgDzXU5dSq95cz08/Jto+1DSHKIx0jfWfIMJSZ4fpXedn/2PI 13XWZUvJ1SY1JlReVYCSO2KQSE3OKX2wyGwTGT1v1DKRMvQB8mE+kuO43RZpqWM= X-Received: by 2002:a17:906:840b:b0:a46:1cc2:3b8c with SMTP id n11-20020a170906840b00b00a461cc23b8cmr1724623ejx.20.1711487313611; Tue, 26 Mar 2024 14:08:33 -0700 (PDT) Received: from [192.168.92.47] (078088045141.garwolin.vectranet.pl. [78.88.45.141]) by smtp.gmail.com with ESMTPSA id l19-20020a17090612d300b00a46cffe6d06sm4621697ejb.42.2024.03.26.14.08.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 14:08:33 -0700 (PDT) From: Konrad Dybcio Subject: [PATCH v3 0/5] A702 support Date: Tue, 26 Mar 2024 22:08:22 +0100 Message-Id: <20240219-topic-rb1_gpu-v3-0-86f67786539a@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=H4sIAEY5A2YC/32NywrCMBQFf0WyNnKbxDa68j9EJK+2gZKUmzYop f9u2p0LXc6BmbOQ5NC7RK6HhaDLPvkYCvDjgZhehc5RbwsTBkwAqy50iqM3FHX17MaZcmekqSU HLgUpjlbJUY0qmL5YYR6GMo7oWv/aT+6Pwr1PU8T3/pmrbf2VzxUFalkNrZJn0UBzG3xQGE8RO 7KlMvurs6Izy22twGoQ8KWv6/oBzvTXwf8AAAA= To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley 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.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1711487311; l=1873; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=eR4CFXwJ/DV52t3rPx/eaHmXMF5jodelDrArYPO4NaE=; b=n3FIqlObwZssCgMB9MvlRA7U0Iw4dopzKLC4ZwE7c2tuJxTaMx2C5Og9f+ra4VVX5yjR//Uqi ZBueHO5uMqMCzG8PbwOOzyFbM4zqrqQSxQYGBoQoSlOwhSmRQZuvv8c X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Signed-off-by: Konrad Dybcio --- 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: 084c8e315db34b59d38d06e684b1a0dd07d30287 change-id: 20240219-topic-rb1_gpu-3ec8c6830384 Best regards, -- Konrad Dybcio