From patchwork Wed Jan 3 13:36:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 184762 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp5024330dyb; Wed, 3 Jan 2024 05:41:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IGqbTlxHF9sKZK6E3AiflycBVmv+T2DMpJ5UJ3D6grOcDfIq+c8XXIZEC++VGix++Pu43V8 X-Received: by 2002:a17:902:c952:b0:1d3:948d:2288 with SMTP id i18-20020a170902c95200b001d3948d2288mr10151563pla.89.1704289280204; Wed, 03 Jan 2024 05:41:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704289280; cv=none; d=google.com; s=arc-20160816; b=dTXa4vQiLmaKzGfVJ9J99pTot8jLn9PD89gJC+knXisl32Y5veI79NvnPWAC/XC7sT W/Q+eAn9+57XiMnPK5D2zOEELDlDbhh0V+4eZzW5zIVZGTj+3rfnTc3dOPDn1KVApDHH GcjSmZPHMJu1Lw2rbPHikV5DYyPjzY673gCLD42iV5BNI/KbffhQYWCaSESihrGh6rnm 5agfy9DpXd6U042tKHsTw1OtPLLFtw7rGlJeX3qvf7St1QSH3MP5iLEvao4s1UFC+5P9 oSi/NvBOmDv6zz92hkWxd/bbveEC6lGRb6b73RG/cGw2Bne8GOTUbKkZRUb1Qpjx6jey jI8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=RUTCpmfzsSKDHjYlRAYYiQ/aykX/VSlVLVDx9q/aHss=; fh=M4SmwWZ/7iHrjhlTFT5OMF7TTciupAxAdgRVURl8aUM=; b=vmHfJjhDKUBDFx+HJ/lTYpvn5dDKFd48mGFFdRPK9DQwjAZvyek4xniqo2Pjzjjtm4 SCCakNdlOOJd6XoRL6qPaYw/7xrXWyL1OkIaxWSHAdbKrO/iSGxl5j/meDs8+eBGI2vV GhgZwGZ/QqI9kQ3CYOJeKJ45Rw5KK2783I6N0nAJyy9z+AuyD5D6gIsYbt5R2/uY/WQa FiUE85Kaiax+pfg8cQqQxNtp6Uev4NYEKRGlaP/2oLii6y6Uq8whCwPHLXi278o330tO aJbdFxOX/D1jno4RzxdPvsFEl9J1mWGDKxnY7QiAjbgVSZVBirZBNfiYBrzHsup3oyoU +P7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h1ixBfMk; spf=pass (google.com: domain of linux-kernel+bounces-15602-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15602-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id w8-20020a170902e88800b001d0b1a08a0asi19541876plg.535.2024.01.03.05.41.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 05:41:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-15602-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h1ixBfMk; spf=pass (google.com: domain of linux-kernel+bounces-15602-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15602-ouuuleilei=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 42CF82820C4 for ; Wed, 3 Jan 2024 13:41:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 76AC61D53A; Wed, 3 Jan 2024 13:37:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="h1ixBfMk" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (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 845041CF89 for ; Wed, 3 Jan 2024 13:37:19 +0000 (UTC) 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-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-5563944b3dfso2831100a12.3 for ; Wed, 03 Jan 2024 05:37:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704289038; x=1704893838; darn=vger.kernel.org; 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=RUTCpmfzsSKDHjYlRAYYiQ/aykX/VSlVLVDx9q/aHss=; b=h1ixBfMknoaC4l+AUBd8AJxLIjHhdyqHNtr3TRY2V1hHkTm9QeSDGOvrG1GzBlZq+Q NVCTPRvFcjckYbw7Y6qRd5AoJ4ONtTKVESzq/rubsJ+DENS23TMIeAr1KGrbpqCe3Yw0 v3sW3Z/obnwJ2/V+id+HCUx1KE9Z08MaYUzqTfLd6zhT5GjX7m4NQfn3DE/ZOzhK35ei smQdQui0GNmWoXV4sodszlxVuV4gNDVT4wV6TVGPOaABi2MEYB7P68xFTYdd7u/U8NRv l4VngCj4nKauf9etSdvfoWYSBL6LGYEU1bF43kR/SmQ31yXvIM0q+5JAyUJ0BfVJsHvb eQFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704289038; x=1704893838; 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=RUTCpmfzsSKDHjYlRAYYiQ/aykX/VSlVLVDx9q/aHss=; b=tSQH5OVEwMatvHPYamkyDbc+TkRKAsHOae1s/dO2X/gnzf5acONo/9qxfetet3ZWAe OrprL6HAiMKHS4tOpxaLvsDUGnm5qOt5V+vngzMya8wxp745C9woIKlkEeprLjqRvNEh JhsA/kC8gA2hC+n0nfWpIBHkLxLE7U+aBZA7qHsiZokNoeTX48SmvCqxzp7zyVcp95iJ jyJRL+xlhNnbJR7IBcybtHfCzRMuZFqS+MqUgjetYoKODgOZrNSmHWWMkGOEz2YTKJj+ TxnW7eYxeu1B9OzNQDbsDyciDfp8hfWXYqUs2jpytCeuLvXIQjbCu+oNLkWrfAs8gGId RlLg== X-Gm-Message-State: AOJu0Yz8E7u8Lh8uCZ9Y9Nw6V24yni4sv0/l2MsipcHOqcUlJzzY9jGH /3aAYdI5UWDInYV8uTemsCzGpd6nmS+d0w== X-Received: by 2002:a17:906:1cca:b0:a26:9776:5ed8 with SMTP id i10-20020a1709061cca00b00a2697765ed8mr8882690ejh.91.1704289037859; Wed, 03 Jan 2024 05:37:17 -0800 (PST) Received: from [10.167.154.1] (178235179036.dynamic-4-waw-k-1-3-0.vectranet.pl. [178.235.179.36]) by smtp.gmail.com with ESMTPSA id cl2-20020a170906c4c200b00a275637e699sm6474351ejb.166.2024.01.03.05.37.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 05:37:17 -0800 (PST) From: Konrad Dybcio Date: Wed, 03 Jan 2024 14:36:10 +0100 Subject: [PATCH v5 12/12] arm64: dts: qcom: sm6115: Add VDD_CX to GPU_CC Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20230717-topic-branch_aon_cleanup-v5-12-99942e6bf1ba@linaro.org> References: <20230717-topic-branch_aon_cleanup-v5-0-99942e6bf1ba@linaro.org> In-Reply-To: <20230717-topic-branch_aon_cleanup-v5-0-99942e6bf1ba@linaro.org> To: Bjorn Andersson , Andy Gross , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1704289018; l=911; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=WDI26IliceRlW0YgN7X8GrPWGyVd7988pOYar0kAAss=; b=01bznyiO7SHJ7u1n+mr2x5/l72XfL8vU3ZTAqXysZ9MQBbaRmXXk4/moJBIOB2Jy+kHXEQjaM l7nr6hxPSFuDoC/YFopLpiuMznUulnRmARQvej1R6ze5B6MQZen2SfK X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787076836582764095 X-GMAIL-MSGID: 1787076836582764095 The GPU_CC block is powered by VDD_CX. Link the power domain and provide a reasonable minimum vote (lowest available on the platform) to ensure the registers within are accessible. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index 30b140e1cec0..ec9a74acc69c 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -1723,6 +1723,8 @@ gpucc: clock-controller@5990000 { clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&gcc GCC_GPU_GPLL0_CLK_SRC>, <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>; + power-domains = <&rpmpd SM6115_VDDCX>; + required-opps = <&rpmpd_opp_low_svs>; #clock-cells = <1>; #reset-cells = <1>; #power-domain-cells = <1>;