From patchwork Thu Dec 21 03:50:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 181985 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp168279dyi; Wed, 20 Dec 2023 19:52:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IE6ByWnE6GRMNm/ZCe3MjV96fUjb65QaV74umim8D4Xf7KCsgNZZI/H7Sr4WswtuGkFTf71 X-Received: by 2002:a05:620a:880b:b0:781:16ce:ec51 with SMTP id qj11-20020a05620a880b00b0078116ceec51mr2198799qkn.95.1703130728355; Wed, 20 Dec 2023 19:52:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703130728; cv=none; d=google.com; s=arc-20160816; b=hIbt257+XAVOZTFkAgWgBmQRlwialGKaRL2p3X/nxodAQ0CacNhgaTahWCjceoA1TY wvvS1UdP58J18guKGUU8PO+KNFLo3xNAHFkl+IK1OY76YM8YdIU5yCgjH8yZEfrWLl4F 2C2WIAz4JQxfGgonjkkmmYHBNsGrtUlJQNwQeCNwW8/YTCg3AeAoh1zhM90p8ANEyI0r MbLk0Kbuinrx3mWFcNHwcv1tev/dNvNHj7mhCeu8RhhYzEWvhNT6OmHUBcaZmF4YIxwh n5koBOA6sqcTgorGBUf6kWWch66KPHHYFgxHi08/NL4u1Tspwnts6ErzePWouO+JpDbS n5BA== 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=qxoKW4bRzJoxnQGhW8Ud6uaUciCN2bKlX/uk+24M/+4=; fh=foPuD/1Jb/JHGIlIIMSam5lBCF16WurQwdJ9iwCwP6c=; b=CX9tJvRFp7kq81oUd12EttU4N8QCey/l1F6wrnac++ea+OAHeJ249rDUGtF5MVUcVY SarS2DC9o6n6XRA8fR7QspQkn809cHai8F3YrNKrZt1pOrqRg65p7BeW3FF4EXyQ6rVs aBL73VyjZmqg3OpqtT5r27JP5CIi5nMr9biQXjZnP+dAkhpnCQALkKI6cMVaYqf/oMLw vfAxsLrO2jFf+mDv3hIXohXdz7DcPApawVncTjQLTWF3V4bjycMfUQTdX3UXjmIvfEQ8 k2kHL0+Oc1kihpdIblcGruD3sou273ztlmzRRJfRfCHP4mWo6X49G/Nqf6jZCpfdQ0gY TJyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=J6SoQsTV; spf=pass (google.com: domain of linux-kernel+bounces-7818-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7818-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id de11-20020a05620a370b00b00773dc958046si1403470qkb.258.2023.12.20.19.52.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 19:52:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7818-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=J6SoQsTV; spf=pass (google.com: domain of linux-kernel+bounces-7818-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7818-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 27F871C22BB2 for ; Thu, 21 Dec 2023 03:52:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 58552E57E; Thu, 21 Dec 2023 03:51:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="J6SoQsTV" X-Original-To: linux-kernel@vger.kernel.org Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6206F8C01; Thu, 21 Dec 2023 03:51:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BL2IatL017801; Thu, 21 Dec 2023 03:50:51 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:date:subject:mime-version:content-type :content-transfer-encoding:message-id:references:in-reply-to:to :cc; s=qcppdkim1; bh=qxoKW4bRzJoxnQGhW8Ud6uaUciCN2bKlX/uk+24M/+4 =; b=J6SoQsTV/ln8c1K0+luNTrgD8uTBspUCAkkdFR81mMv2vqKnGqZZh+bOCcg n9A4UpSjdZUmu5jdydNu0XOCh+5FYvGZug/di/1ds3IMLOzrLAzuw2L5UtcgdKDE k2HM4xB3/uLJulfDPCGVdO5wgVm1KEjctokK0opZpJHxU5EBnJ9QoJ956tFNC2VY NS4qhX0rzA4j69lBdc1mNOPhAye1WCXDml/6EJRYpGbcMyJIBBMZybXeh4jY6C2B GwOsyNdbJ8K2ib0dqpSJMfi5ytSEq6kf24RR2VO6WZ1IffjrmRjJjvqHoA3YHjWV 5T10AloWKquX4MMdjuRoLk2IoZQ== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3v4b5u8dks-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Dec 2023 03:50:51 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3BL3oonr003636 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Dec 2023 03:50:50 GMT Received: from [169.254.0.1] (10.49.16.6) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Wed, 20 Dec 2023 19:50:49 -0800 From: Bjorn Andersson Date: Wed, 20 Dec 2023 19:50:35 -0800 Subject: [PATCH 1/8] dt-bindings: clock: qcom: Allow VDD_GFX supply to GX Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20231220-sa8295p-gpu-v1-1-d8cdf2257f97@quicinc.com> References: <20231220-sa8295p-gpu-v1-0-d8cdf2257f97@quicinc.com> In-Reply-To: <20231220-sa8295p-gpu-v1-0-d8cdf2257f97@quicinc.com> To: Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , Taniya Das , Ulf Hansson , Johan Hovold , "Catalin Marinas" , Will Deacon CC: , , , , , , "Bjorn Andersson" X-Mailer: b4 0.12.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1703130649; l=841; i=quic_bjorande@quicinc.com; s=20230915; h=from:subject:message-id; bh=gsLSzEtTNvvjs9aLDTb4B3w5KFCxmior5IC60emfAk4=; b=7KZMkkOYfPdl/o2/c7khRGaRw8a5OOlkrlJLkcyB6UDJ2bpf82xRPyr6w6YKEkC8xgyec/QsI/vs Inmml+nBCvduDR2gpL4ZSF/HC2zCC8UJFWrjIW+6HuP099y7GDz+ X-Developer-Key: i=quic_bjorande@quicinc.com; a=ed25519; pk=VkhObtljigy9k0ZUIE1Mvr0Y+E1dgBEH9WoLQnUtbIM= X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: u2tG44NJ6BpkQtlUBQGpEa8IqcN6OXBu X-Proofpoint-ORIG-GUID: u2tG44NJ6BpkQtlUBQGpEa8IqcN6OXBu X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_02,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 priorityscore=1501 phishscore=0 mlxscore=0 suspectscore=0 bulkscore=0 spamscore=0 malwarescore=0 lowpriorityscore=0 impostorscore=0 mlxlogscore=999 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312210026 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785862006449790241 X-GMAIL-MSGID: 1785862006449790241 In some designs the SoC's VDD_GFX pads are supplied by an external regulator, rather than a power-domain. Allow this to be described in the GPU clock controller binding. Signed-off-by: Bjorn Andersson --- Documentation/devicetree/bindings/clock/qcom,gpucc.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/qcom,gpucc.yaml b/Documentation/devicetree/bindings/clock/qcom,gpucc.yaml index f369fa34e00c..013ef78d2b31 100644 --- a/Documentation/devicetree/bindings/clock/qcom,gpucc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,gpucc.yaml @@ -53,6 +53,9 @@ properties: power-domains: maxItems: 1 + vdd-gfx-supply: + description: Regulator supply for the VDD_GFX pads + '#clock-cells': const: 1 From patchwork Thu Dec 21 03:50:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 181989 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp168675dyi; Wed, 20 Dec 2023 19:53:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IF4YadMK22m39SPFBMGgBPAdf8g+E9qH+JYXKAtYiUsz+hA8J75WZ1uXnV/lA0MgxfmI1UH X-Received: by 2002:a05:6870:e2d2:b0:203:d297:a711 with SMTP id w18-20020a056870e2d200b00203d297a711mr975528oad.66.1703130813206; Wed, 20 Dec 2023 19:53:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703130813; cv=none; d=google.com; s=arc-20160816; b=r++ZY9Ji97J0b7/HMsqYoj2hj17lXRB1VVEdHXPlBkJPMuJT4SPepr2xXyYSCy3cYZ rGyFfdMTk22veWLG3vUdgRNQnxp4awbWDr1I/lo5+h5FPYQzqcBd1hSYg153AJfJsbK9 Cj63aQWq2+0NnYQddNp0Fx1/fXVdJubkE3rZKFYg5F/4YtaoLegeDBHdvQnIVb/K4tZU yciEmFr2ZMr57lKuwA1oSbQ2UpE0soWP2GoCZ6DYoRxY7isbqd2OZiQphd1miHWJn83N 5utznm7/2FoMfD+myljQDLBRX1Wd3KKJKxL4pab7NmMp1mBLg7pKlcNgKkkb1/wA1R2C 2m+w== 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=8cQR0bgH4ekU1zZfVJJ3KFyRZ0SmaEyRsEKEDKifM6g=; fh=foPuD/1Jb/JHGIlIIMSam5lBCF16WurQwdJ9iwCwP6c=; b=PNIKLtKf2NBtrtJcrwhNlDYb5Q1C6EwJXLM10mg20GZJzK1liTf2TPzfOUfduB0WAI kuVmP/31ZCgeOZVeR3pb0CnbiDxrhGYkTgdcZTjQmU9+xtRprqU0mvYqFGFNiOjaGWy+ K7nuR95b1xnZOY6XevBmVR8n+6AzdVwW4JTed+CnUsHGiJK/xFV6rCm+Bp2+LDO5jk1G ywxpGTWjxBR7mT0wdphcqOnZaFgMx5rP9UWgLbXFUGn1FuXaSziZlrTnD+OO7MQGkHoZ Mgnl7rFayU425ih1eFbmNzoXWEHj6ksFRGgA/KLySoy/YmVZHAQcDx5z9ZCNS5VnzIaJ Yu+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=cIGOmNmb; spf=pass (google.com: domain of linux-kernel+bounces-7824-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7824-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d124-20020a633682000000b005cda184c28asi852955pga.204.2023.12.20.19.53.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 19:53:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7824-ouuuleilei=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=@quicinc.com header.s=qcppdkim1 header.b=cIGOmNmb; spf=pass (google.com: domain of linux-kernel+bounces-7824-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7824-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 224F9B23A12 for ; Thu, 21 Dec 2023 03:53:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 97F2E18E3C; Thu, 21 Dec 2023 03:51:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="cIGOmNmb" X-Original-To: linux-kernel@vger.kernel.org Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B18D45249; Thu, 21 Dec 2023 03:51:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BL2RrVT028351; Thu, 21 Dec 2023 03:50:51 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:date:subject:mime-version:content-type :content-transfer-encoding:message-id:references:in-reply-to:to :cc; s=qcppdkim1; bh=8cQR0bgH4ekU1zZfVJJ3KFyRZ0SmaEyRsEKEDKifM6g =; b=cIGOmNmbN6XzCrkkVLTQPN5FWGFrH2JnS4ODVyoVjJtSy3V1I6gxTlvlfS1 8Cr38029PUj8yW9z7RtTM5pWF/TH54i/28HitCF90mBJqi6b9WJI4FQ6a1gbRIMc Jl0hysktuNC7PQ8vedcxVGaFuGcyqX+kadogK6qy9FY+J99kI+RbHRl0jjSlw+86 N8FKxpC+P2I9Goj5Ro2kdRcn1CCeFYp+3krKi+jbnwZFVKajkkNU99M/YIlouFxi 49L1TEcdbAlyvrQVGUCtsrxoq1r3aMnpZKa4Nv5G/HnxYWKk8jYRddo+SeQTPwb9 MzHIe9mduRka6vxW5Q4vWDaNPlg== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3v3tnw33aq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Dec 2023 03:50:51 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3BL3oonV011706 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Dec 2023 03:50:50 GMT Received: from [169.254.0.1] (10.49.16.6) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Wed, 20 Dec 2023 19:50:50 -0800 From: Bjorn Andersson Date: Wed, 20 Dec 2023 19:50:36 -0800 Subject: [PATCH 2/8] clk: qcom: gdsc: Enable supply reglator in GPU GX handler Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20231220-sa8295p-gpu-v1-2-d8cdf2257f97@quicinc.com> References: <20231220-sa8295p-gpu-v1-0-d8cdf2257f97@quicinc.com> In-Reply-To: <20231220-sa8295p-gpu-v1-0-d8cdf2257f97@quicinc.com> To: Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , Taniya Das , Ulf Hansson , Johan Hovold , "Catalin Marinas" , Will Deacon CC: , , , , , , "Bjorn Andersson" X-Mailer: b4 0.12.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1703130649; l=1170; i=quic_bjorande@quicinc.com; s=20230915; h=from:subject:message-id; bh=NRcjjCsDovL9I1ze2bc9Mx0aQssR4APji3KJJF2CHFc=; b=+IIJYZC7MtZAIxx8g+S8H7rfx+fxUQ/rQ/1F9o5CXT11uGqEfmW5vC6m8i11QxyUkdh0etMIcUMz uio/xpvfBuxjbWu7NwmGTrLqPUEXJ1zLkU7lGam7BCiU4Nx16kvD X-Developer-Key: i=quic_bjorande@quicinc.com; a=ed25519; pk=VkhObtljigy9k0ZUIE1Mvr0Y+E1dgBEH9WoLQnUtbIM= X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: msi8icBqaIBCMa-5gcEzsM1rMbyGclam X-Proofpoint-ORIG-GUID: msi8icBqaIBCMa-5gcEzsM1rMbyGclam X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_01,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 spamscore=0 impostorscore=0 suspectscore=0 phishscore=0 bulkscore=0 clxscore=1015 mlxlogscore=976 lowpriorityscore=0 adultscore=0 mlxscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312210025 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785862095743031987 X-GMAIL-MSGID: 1785862095743031987 The GX GDSC is modelled to aid the GMU in powering down the GPU in the event that the GPU crashes, so that it can be restarted again. But in the event that the power-domain is supplied through a dedicated regulator (in contrast to being a subdomin of another power-domain), something needs to turn that regulator on, both to make sure things are powered and to match the operation in gdsc_disable(). Signed-off-by: Bjorn Andersson --- drivers/clk/qcom/gdsc.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/clk/qcom/gdsc.c b/drivers/clk/qcom/gdsc.c index 5358e28122ab..d1139c895503 100644 --- a/drivers/clk/qcom/gdsc.c +++ b/drivers/clk/qcom/gdsc.c @@ -557,7 +557,13 @@ void gdsc_unregister(struct gdsc_desc *desc) */ int gdsc_gx_do_nothing_enable(struct generic_pm_domain *domain) { + struct gdsc *sc = domain_to_gdsc(domain); + int ret = 0; + /* Do nothing but give genpd the impression that we were successful */ - return 0; + if (sc->rsupply) + ret = regulator_enable(sc->rsupply); + + return ret; } EXPORT_SYMBOL_GPL(gdsc_gx_do_nothing_enable); From patchwork Thu Dec 21 03:50:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 181986 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp168453dyi; Wed, 20 Dec 2023 19:52:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IF49KxAGXuH04Kq09+1AXbiWZmokLhMrClVyJt+J0gBrpHmoBw5iRF6iRB63/0q7UAt62Uj X-Received: by 2002:a05:6871:687:b0:203:a983:c7b with SMTP id l7-20020a056871068700b00203a9830c7bmr979669oao.60.1703130767686; Wed, 20 Dec 2023 19:52:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703130767; cv=none; d=google.com; s=arc-20160816; b=HaBL76WD2GbxN8qgH2eqt7ESvyL38fxnKhjxXAsDP1KKq/SfcLuAu0JjaxgZ6NXXbd F52x/YT767J2U6kbBOCODXkEJqr5AvEUQbDAyl0lIrYm5Om4r2qv+WP4ZatCmblEVTRB EnNZ+ozF0m2GWxaLinD4Mfl/LfJFq0IO46tG20KwqKj6DwtOikyYa7B251vFr6x3tPdB f4Rpedz4kjqk1SVZqyLvPq8GBsKmPiFB6fEDhgKMcDrq/JQYGdp0X0Bh6YSWtIrqc6f1 qvJzYgkBHFoq8H68zNXvliPwUpsOIylpev2XrTzUr4cewS+F67hdb3Gp0ItLggmW1bVA w/JA== 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=frQT2CpboT4JFMVvIUEiP0bgwm9DmghW2eyfibPI+Dw=; fh=foPuD/1Jb/JHGIlIIMSam5lBCF16WurQwdJ9iwCwP6c=; b=FCszchoEjEaZii96lz5cMJ88dmSUcq7bsc0f5Wovs3bvfTwplG+VhoV+m0x7ID9L8/ vxpAHmkuMpurQWO/W7ezV0jO+w89eQ1Fvih+R6IWT1VXQPbhhifkDenKeHEKr/sJXvP5 4ZT6+CVcrqCMV3Ri3J/Ljh5k1DaIMdtkWliyu4AsfIusaeTVcDVABV3lVcIGePFCkmE3 0ufOOCzEEBzjJfCJh+bsy0JEBdtIdcyswJ6FeXn3uf2ofRqUGQBgIgXrq1vjRulxOJVR llvmyivbKpgYlhhPh3dydLxPN5hbcigzznj+EmTo3y2aQzEPseIpfiQEJEtG2LtEHhqY FNdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=O9AapQ+5; spf=pass (google.com: domain of linux-kernel+bounces-7819-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7819-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id f7-20020a635107000000b005cda8ff25b3si818587pgb.272.2023.12.20.19.52.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 19:52:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7819-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=O9AapQ+5; spf=pass (google.com: domain of linux-kernel+bounces-7819-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7819-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 DDF3B2864D6 for ; Thu, 21 Dec 2023 03:52:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 69B7816432; Thu, 21 Dec 2023 03:51:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="O9AapQ+5" X-Original-To: linux-kernel@vger.kernel.org Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 620428BED; Thu, 21 Dec 2023 03:51:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BL0kcYJ028673; Thu, 21 Dec 2023 03:50:51 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:date:subject:mime-version:content-type :content-transfer-encoding:message-id:references:in-reply-to:to :cc; s=qcppdkim1; bh=frQT2CpboT4JFMVvIUEiP0bgwm9DmghW2eyfibPI+Dw =; b=O9AapQ+55736ztRF1flrJOjPeNO+skVkAVoc2mR5Gp2ZgYT8H0Xas2v/Wk/ qTme8g9jzWDHhAwjJJmHswxdf8k5AGqSq685Ii2JEJnwNCrkADXEgGFq7dl00GkE y0XVwEokUV+dc0SHYwEMU5tbGqrNlLVuNTB8zFwICRnwO8jpi4i4opSQ3LBMhjD3 66WxwNMeQG7WCTM7NBiZAWRHvQCbT+xnUAxy9HJ/btXbQKealScasdnp0QjMRqFq DDOAKiXaIk/irkawLrYQ+uVYY7VlSR9CJ5JCC5uYwS3iejVKt7OW9vY3dazIigoU G5WVyTz0ZrVWR91BNA+54Wh/TKg== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3v4837gsb0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Dec 2023 03:50:51 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3BL3ooN6003639 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Dec 2023 03:50:50 GMT Received: from [169.254.0.1] (10.49.16.6) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Wed, 20 Dec 2023 19:50:50 -0800 From: Bjorn Andersson Date: Wed, 20 Dec 2023 19:50:37 -0800 Subject: [PATCH 3/8] clk: qcom: gpucc-sc8280xp: Add external supply for GX gdsc Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20231220-sa8295p-gpu-v1-3-d8cdf2257f97@quicinc.com> References: <20231220-sa8295p-gpu-v1-0-d8cdf2257f97@quicinc.com> In-Reply-To: <20231220-sa8295p-gpu-v1-0-d8cdf2257f97@quicinc.com> To: Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , Taniya Das , Ulf Hansson , Johan Hovold , "Catalin Marinas" , Will Deacon CC: , , , , , , "Bjorn Andersson" X-Mailer: b4 0.12.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1703130649; l=842; i=quic_bjorande@quicinc.com; s=20230915; h=from:subject:message-id; bh=W58jrEGR3HDSP9nsbmBVDzzSuXHMNvvdx7WjeV0kgd4=; b=NMs56R+sj8Rd40Y4Q8Zs3HVuUhqliL6UL/ShGfHLl1hid4rD+MdWG4y6CVAa1c07A9lmHjMIrEsM 8CnmNXozBlvIj4oFGRO5R0FFMFPNjuffMajH38x81V+RqwzWRB/z X-Developer-Key: i=quic_bjorande@quicinc.com; a=ed25519; pk=VkhObtljigy9k0ZUIE1Mvr0Y+E1dgBEH9WoLQnUtbIM= X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: s6XA8JUkH_9HSMLoQbXcyLxhlUsFYGLv X-Proofpoint-ORIG-GUID: s6XA8JUkH_9HSMLoQbXcyLxhlUsFYGLv X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_02,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=964 suspectscore=0 mlxscore=0 malwarescore=0 clxscore=1015 bulkscore=0 priorityscore=1501 adultscore=0 spamscore=0 lowpriorityscore=0 phishscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312210026 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785862047685491753 X-GMAIL-MSGID: 1785862047685491753 On SA8295P and SA8540P the GFX rail is powered by a dedicated external regulator, instead of the rpmh-controlled "gfx.lvl". Define the "vdd-gfx" as the supply regulator for the GDSC, to cause the gdsc logic to look for, and control, this external power supply. Signed-off-by: Bjorn Andersson Reviewed-by: Dmitry Baryshkov --- drivers/clk/qcom/gpucc-sc8280xp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/qcom/gpucc-sc8280xp.c b/drivers/clk/qcom/gpucc-sc8280xp.c index 8e147ee294ee..e2b3bc000c71 100644 --- a/drivers/clk/qcom/gpucc-sc8280xp.c +++ b/drivers/clk/qcom/gpucc-sc8280xp.c @@ -399,6 +399,7 @@ static struct gdsc gx_gdsc = { }, .pwrsts = PWRSTS_OFF_ON, .flags = CLAMP_IO | RETAIN_FF_ENABLE, + .supply = "vdd-gfx", }; static struct gdsc *gpu_cc_sc8280xp_gdscs[] = { From patchwork Thu Dec 21 03:50:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 181991 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp170234dyi; Wed, 20 Dec 2023 19:59:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IH4XG5RElE6khbpFlMKH6HszVGsmyJNlHocmW7zSaSz1PzttzIOOOV+nW9Yt7A6sO9vMDrZ X-Received: by 2002:a17:903:486:b0:1d3:ebfb:2001 with SMTP id jj6-20020a170903048600b001d3ebfb2001mr2583079plb.80.1703131167328; Wed, 20 Dec 2023 19:59:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703131167; cv=none; d=google.com; s=arc-20160816; b=nzRVPM6UdFGkzbCCZH9Ev9BXsq98itynEET4/hxohR+ZATbQBrY6fJKUEuvn6yYHR5 Fc60HLtfJ8zKxPxGn5mxpETKraYwdWE/RWEsvS+jNFniyFkUcm8MIuRndRze2X9Y9OSs Nhec+z4NWz5y31SLXJmL3+B7sgSaTCIFO4i8B8OSgVqvCv+2AXex3vWmpeJ/Ivw8KKwa mFKr3/OoaoqXWCOx/BpLxIpbTRDujT/UsyB/JvgXeWxqr9yjSkbh+EreEYJjHvjJQpg9 aekLOjyKir4OtO1TQRg1Vihv0wt2KGDQbmL+k5e6KCOVaQZG6FEJGg/g7eWtf9olw1kE 4Tfg== 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=pyo/7sTw5M8v3OoXaYpbrVLNBeRjx0rU67xrb1AgwAo=; fh=foPuD/1Jb/JHGIlIIMSam5lBCF16WurQwdJ9iwCwP6c=; b=lOpj8qpRusA0kW06LuCF9Cpnv10GHOmHdZk8S/ei8NBSmH9PTYNgPNOKxekVjFM3ya vOtF2CrDD+hyktANtO2DsiIXMcDQd8WswHWUucZyRlVyJd5B76c4Xc1NH4ccmE+JsFLd D/kooMdV8JtDIGgndEg2gKI5UqRZitnjWkg7aBK/1s2oXBT7AQev4GEm8fuVtxysaFbj zdmM8UDZd1VvMv3C3Hs66b0mdVelM32MYOtcPbOcZ0yRuhRoDA1UU5IhLmYV2mYpgK9S owknmlbTjbpb8c9DJN0GB/lFOSkA8LmhEv/ryxZ99BII1Uq9BZInSWrAQq7L8ZRXzTC0 MWQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=dZlzy3k9; spf=pass (google.com: domain of linux-kernel+bounces-7820-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7820-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id x7-20020a1709029a4700b001cfcf3dd310si750274plv.505.2023.12.20.19.59.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 19:59:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7820-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=@quicinc.com header.s=qcppdkim1 header.b=dZlzy3k9; spf=pass (google.com: domain of linux-kernel+bounces-7820-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7820-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 B2BE228638B for ; Thu, 21 Dec 2023 03:52:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A6B0F171A9; Thu, 21 Dec 2023 03:51:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="dZlzy3k9" X-Original-To: linux-kernel@vger.kernel.org Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A6AF98C17; Thu, 21 Dec 2023 03:51:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BL3oqd9014503; Thu, 21 Dec 2023 03:50:52 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:date:subject:mime-version:content-type :content-transfer-encoding:message-id:references:in-reply-to:to :cc; s=qcppdkim1; bh=pyo/7sTw5M8v3OoXaYpbrVLNBeRjx0rU67xrb1AgwAo =; b=dZlzy3k9EaUAn2PXQeyIPyQ017d2OxeeBnG4QaRBETDLuqmxMBZBh8rVDZC rm2WH8+YIoS+SEdASNyWr+PUN6i+bcE2P4uicMTchRuE/v+aQ5wAc5SmjA08U3mr Jt3+t2l5xcWd+3DEc108gao3mpzloKNGnJqM5vYozyLWA+2f8gDLEQCOTxb5tVSg umPGHomHV86VI1UBn2UXLAEmYesgbcgcNQa5+2DCs1+Xmf77Gv3K6jPI0q09RIFV 3bRgQrALtc6oQBC6+dte9EDziA8VstCkq1vHfF0MRnLsole8gsXlkXhjX2x0HoR+ KsSyp4YI7H+7Ze/vqoExNrSI8ZA== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3v4234huxj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Dec 2023 03:50:52 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3BL3oppI011714 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Dec 2023 03:50:51 GMT Received: from [169.254.0.1] (10.49.16.6) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Wed, 20 Dec 2023 19:50:50 -0800 From: Bjorn Andersson Date: Wed, 20 Dec 2023 19:50:38 -0800 Subject: [PATCH 4/8] soc: qcom: rpmhpd: Drop SA8540P gfx.lvl Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20231220-sa8295p-gpu-v1-4-d8cdf2257f97@quicinc.com> References: <20231220-sa8295p-gpu-v1-0-d8cdf2257f97@quicinc.com> In-Reply-To: <20231220-sa8295p-gpu-v1-0-d8cdf2257f97@quicinc.com> To: Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , Taniya Das , Ulf Hansson , Johan Hovold , "Catalin Marinas" , Will Deacon CC: , , , , , , "Bjorn Andersson" X-Mailer: b4 0.12.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1703130649; l=875; i=quic_bjorande@quicinc.com; s=20230915; h=from:subject:message-id; bh=zKM1tJ2bwLaUFYNjSeQF8Ps0X67w9IK/SdhRZin2yfM=; b=5U5q3V8oo5buTX466+jtHinXn9Pjc1uLJl0SH2t4VGZoE4nUeKpr2B48XjVkcupkFc1ntoRrZONn jpwAte8sCTL86cYC3zuotgjePtQodmR4q4r9pG6t7C7Q8K/NW0/q X-Developer-Key: i=quic_bjorande@quicinc.com; a=ed25519; pk=VkhObtljigy9k0ZUIE1Mvr0Y+E1dgBEH9WoLQnUtbIM= X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: Sx-bgnsO9QoMeoNuVRIl9JeUX-KpQVZB X-Proofpoint-GUID: Sx-bgnsO9QoMeoNuVRIl9JeUX-KpQVZB X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_02,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 clxscore=1015 bulkscore=0 mlxscore=0 malwarescore=0 lowpriorityscore=0 adultscore=0 spamscore=0 suspectscore=0 impostorscore=0 mlxlogscore=937 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312210026 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785862467339872610 X-GMAIL-MSGID: 1785862467339872610 On SA8295P and SA8540P gfx.lvl is not provdied by rpmh, but rather is handled by an external regulator (max20411). Drop gfx.lvl from the list of power-domains exposed on this platform. Fixes: f68f1cb3437d ("soc: qcom: rpmhpd: add sc8280xp & sa8540p rpmh power-domains") Signed-off-by: Bjorn Andersson Reviewed-by: Dmitry Baryshkov --- drivers/pmdomain/qcom/rpmhpd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pmdomain/qcom/rpmhpd.c b/drivers/pmdomain/qcom/rpmhpd.c index 3078896b1300..27a73ff72614 100644 --- a/drivers/pmdomain/qcom/rpmhpd.c +++ b/drivers/pmdomain/qcom/rpmhpd.c @@ -217,7 +217,6 @@ static struct rpmhpd *sa8540p_rpmhpds[] = { [SC8280XP_CX] = &cx, [SC8280XP_CX_AO] = &cx_ao, [SC8280XP_EBI] = &ebi, - [SC8280XP_GFX] = &gfx, [SC8280XP_LCX] = &lcx, [SC8280XP_LMX] = &lmx, [SC8280XP_MMCX] = &mmcx, From patchwork Thu Dec 21 03:50:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 181987 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp168496dyi; Wed, 20 Dec 2023 19:52:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IEaDt4K1QkBRmVaty/7lXhYjdQN9MWh209qzZXU/glrul8Im3JKgUl+Cx5qjBVPVAEKg/jd X-Received: by 2002:a05:620a:10b7:b0:77f:ae99:b7a with SMTP id h23-20020a05620a10b700b0077fae990b7amr74298qkk.42.1703130777384; Wed, 20 Dec 2023 19:52:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703130777; cv=none; d=google.com; s=arc-20160816; b=Hgove2+n5gYG8IMolEBGD/PrHsI83fhI+eDe6gX+56XXsqv7gQe67KLFzQTlWhudQF +90Gh3rDnj4z9lFg9BfVgNie6j/yC3MkFiSKlVWlgFdxG8fIMyYIpb42mTCsg5s1Zujo MKo38/aURzXg7uW2as9lyKAcx8T3Ag/kGK5KW+753x349hsMlJF0dW1cnKTsEd6504Qm KKBIyELI0Yu1/yhPQjB+RT+qWHOtKcaD7R/AABHPQaBmG8zntQh9Q+DyVZsex3rJQYCB 8wCTS22uCIbBLxaBEDDsxItT57fBSkN2itk84LCzRU1PdNTJotcXUaFgpEm61O4yQn7R 5EAA== 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=chhQ3k3X89K4892QhAkEdFXsw8hBVRRQX9p8zxtQ8yM=; fh=foPuD/1Jb/JHGIlIIMSam5lBCF16WurQwdJ9iwCwP6c=; b=Ft7I3rQrWxXU24R5FYNCJ3OAHXGgIASPB8/fRqMqX8qmfCipCVPTndi+ZaWagWuvLk IzSTjI64BrmWD+zFg28/NqkF2fLm6E/z1jDfKaG5omE+e9mb9SQpR49wMP2fq4vYnUO0 XpveIJKM9mYsjfhW/76EEIgn5QfbTS6mEXmx/ayCEye222tIUCuEd0htysW0yctX2sc2 UDlkgn4oF58AdAjDhRuO1hoNrXkehAiVh8FQknY7Ipl8mJ+CnfJknEVHrQqfDWhHBhv5 vUJJHFGHCxojgDgJ3BPBK2j/aP8oJjjMWHVEDQbgzkj3IjL3lFoHYMzMH6lgayM3KZsv sx6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=BIsWeOnb; spf=pass (google.com: domain of linux-kernel+bounces-7821-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7821-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id q17-20020a05622a04d100b00425fe9c723esi1289912qtx.218.2023.12.20.19.52.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 19:52:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7821-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=BIsWeOnb; spf=pass (google.com: domain of linux-kernel+bounces-7821-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7821-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 217371C22CFE for ; Thu, 21 Dec 2023 03:52:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C2644171D7; Thu, 21 Dec 2023 03:51:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="BIsWeOnb" X-Original-To: linux-kernel@vger.kernel.org Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C811553B2; Thu, 21 Dec 2023 03:51:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BL2m5Yo003750; Thu, 21 Dec 2023 03:50:52 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:date:subject:mime-version:content-type :content-transfer-encoding:message-id:references:in-reply-to:to :cc; s=qcppdkim1; bh=chhQ3k3X89K4892QhAkEdFXsw8hBVRRQX9p8zxtQ8yM =; b=BIsWeOnbgPvQ3b042720ovvzRMf0RwMKT14cZg7xTVer339P6jo2GhC4CI0 H2ylG5UNIoDwr6VoZhUrYVGVPNKlHA1eL1LMZfnCQK/IL8z95Z1jtl06BQfaz8G7 e5p7ZEdLVz43bvuiDnqbbHN3vtIYcO7ttVxoKZwaU9VsCd58MaNVuWEKAXx5uBcg JNCoReW93JYQ4tU75gC+850mpDAu4avtDMkY+6YnTGXPNLtuWZqyMmt1c8uSEDuO JOPu1mDvH3Zjw85/tt0RhV/Cy/jlgNygeOgoVlur7+rJgfc4xe6DPV2xrE0advRV oQws4ZHR3mQd+tx4WTd85+GVQqA== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3v4837gsb2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Dec 2023 03:50:52 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3BL3oplK029598 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Dec 2023 03:50:51 GMT Received: from [169.254.0.1] (10.49.16.6) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Wed, 20 Dec 2023 19:50:51 -0800 From: Bjorn Andersson Date: Wed, 20 Dec 2023 19:50:39 -0800 Subject: [PATCH 5/8] arm64: dts: qcom: sa8540p: Drop gfx.lvl as power-domain for gpucc Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20231220-sa8295p-gpu-v1-5-d8cdf2257f97@quicinc.com> References: <20231220-sa8295p-gpu-v1-0-d8cdf2257f97@quicinc.com> In-Reply-To: <20231220-sa8295p-gpu-v1-0-d8cdf2257f97@quicinc.com> To: Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , Taniya Das , Ulf Hansson , Johan Hovold , "Catalin Marinas" , Will Deacon CC: , , , , , , "Bjorn Andersson" X-Mailer: b4 0.12.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1703130649; l=761; i=quic_bjorande@quicinc.com; s=20230915; h=from:subject:message-id; bh=FyXuSqGng4f47GHwOCEENR6geEbAG+2vC15bKfDwvMg=; b=j8j83W8b+VgYaPg0iWmHha9NPlwXqPGbtPj1UoJqrWL/VDL+fuPCNpgMBYeBZEO7agGhEVtv/VVU v2GzWgOODTb3FhsZR1G7c5BybSoZj9hBuAM/Vew9yPHcRup47v6c X-Developer-Key: i=quic_bjorande@quicinc.com; a=ed25519; pk=VkhObtljigy9k0ZUIE1Mvr0Y+E1dgBEH9WoLQnUtbIM= X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: Fvoka6qlr1TE1RSBMtOyVK2btixZnJwc X-Proofpoint-ORIG-GUID: Fvoka6qlr1TE1RSBMtOyVK2btixZnJwc X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_02,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=800 suspectscore=0 mlxscore=0 malwarescore=0 clxscore=1015 bulkscore=0 priorityscore=1501 adultscore=0 spamscore=0 lowpriorityscore=0 phishscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312210026 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785862058151284631 X-GMAIL-MSGID: 1785862058151284631 The SA8295P and SA8540P uses an external regulator (max20411), and gfx.lvl is not provided by rpmh. Drop the power-domains property of the gpucc node to reflect this. Fixes: eec51ab2fd6f ("arm64: dts: qcom: sc8280xp: Add GPU related nodes") Signed-off-by: Bjorn Andersson Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sa8540p.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8540p.dtsi b/arch/arm64/boot/dts/qcom/sa8540p.dtsi index 96b2c59ad02b..b604404ebf64 100644 --- a/arch/arm64/boot/dts/qcom/sa8540p.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8540p.dtsi @@ -168,6 +168,8 @@ opp-2592000000 { }; &gpucc { + /delete-property/ power-domains; + status = "disabled"; }; From patchwork Thu Dec 21 03:50:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 181992 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp170373dyi; Wed, 20 Dec 2023 19:59:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IFpelUJkAQxN9DknufQKtsTvmZIRt8w9T3zOtYgOebP7/38QvSa1QsWswKMHuTfwQFoIvkc X-Received: by 2002:a17:902:e5c5:b0:1d3:fa1d:28d0 with SMTP id u5-20020a170902e5c500b001d3fa1d28d0mr1692499plf.68.1703131194245; Wed, 20 Dec 2023 19:59:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703131194; cv=none; d=google.com; s=arc-20160816; b=Hm3AMRf8lGU3xiKHNaKccf0J0PazzinZJGC1l3rXJH2Sr+V5i+VKqdCcyl69/lewEl /+T1iLfhPb9FnKkyX08tPHDSx5n08g/UDC1hord4S867yQUF5yiuXaxIxeUHOL8GWaIo U5bJ+JrXHxphBk2K4oLMf/OhMMESMoGF9Du4SzTziMLtXVUzeHgprW4Xq8MTBwZuv5Tb RDlhBLQjpdrDqqCSuGl3EwB6PO/oRDcyZUYLJr0gBkyfhWF7CDwYxUFsjcrGU8bRJ9WF ilCA52s8W56fp6EfQv13djEtMz5Byb5caQjQXQqeel6xy5VUYWisT/3j7S6QLW+wrn8s oiBA== 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=rr9r9gWxhO4lMOjEkKreNfvWKgKBiYqYX4s9TmL7zcQ=; fh=XqSeUNppgkSjudh11sLH2WLYddh9YzpfjtGCDC/t3Lk=; b=lkr0QNlpZDL/dqsfsNpuf1T6sba2PNpo3RmApW6MdpvAIyrAPhEMueMSt/zWEM5QJY pqDjG5xuUBpTkCvU5CnyCvuTfKNYbbpXKuRs3tNlA3gIj7OoXd/qf/MvZmIIuCgXULn3 SyVo45NnCXNlKNudrw+paq/HKzHfiKrkujLKvZ4FpYvW5cIo3WKKBZkcKtyafrUtnIiR ETRqRVyQN+6xIcJTlRMkUBmyMlUXEdVV6J4oGCvLMliMk/rcj9EKlQ+gqKxX7CqLU8ju 50EMNE5b5pFDQZUvXPqn/7+mpRKMXw8EWEUw0xD+tUMZlRvq65lXXgDNUJXFQLtr3Ter xy5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ZZtfraEM; spf=pass (google.com: domain of linux-kernel+bounces-7823-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7823-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id u11-20020a17090282cb00b001d3ec56c584si734103plz.569.2023.12.20.19.59.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 19:59:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7823-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ZZtfraEM; spf=pass (google.com: domain of linux-kernel+bounces-7823-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7823-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 09124288D3C for ; Thu, 21 Dec 2023 03:53:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AE32818049; Thu, 21 Dec 2023 03:51:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="ZZtfraEM" X-Original-To: linux-kernel@vger.kernel.org Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A9EE579DC; Thu, 21 Dec 2023 03:51:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BL3nDES020761; Thu, 21 Dec 2023 03:50:52 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:date:subject:mime-version:content-type :content-transfer-encoding:message-id:references:in-reply-to:to :cc; s=qcppdkim1; bh=rr9r9gWxhO4lMOjEkKreNfvWKgKBiYqYX4s9TmL7zcQ =; b=ZZtfraEMM+C9hJeHXHu0wsytwhZK/1knz38pGjYDyVntREPd2bKCgJDquDm f6Ia2tBGaCvZth9rdd7Il8u8Q2UtxRaDT/LxxQ0/flHVCNNWcVi+APikkWmyGtTB cvu5zygqR1+3m/67sA8JgOLRyco5W4z/PDaGWCsMcUGiLUXTgZktgpCp/ecOZq90 Fr5Z+i6jHOOBIQSiISZZ7g6xbcsakHgp8k9KQj3fJgCx6cadu9qyLLHELL4lu41q oOC7LXDlMQpzZlxGW8LTuvmu2TVkjq4c+rKrq8N7eyuttdxtbRtO37aOH1cDYRk3 WKAEX8ohqfk5+AKejMKd/xr+LyQ== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3v3r6ru9m7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Dec 2023 03:50:52 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3BL3opK2020560 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Dec 2023 03:50:51 GMT Received: from [169.254.0.1] (10.49.16.6) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Wed, 20 Dec 2023 19:50:51 -0800 From: Bjorn Andersson Date: Wed, 20 Dec 2023 19:50:40 -0800 Subject: [PATCH 6/8] arm64: dts: qcom: sa8295p-adp: add max20411 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20231220-sa8295p-gpu-v1-6-d8cdf2257f97@quicinc.com> References: <20231220-sa8295p-gpu-v1-0-d8cdf2257f97@quicinc.com> In-Reply-To: <20231220-sa8295p-gpu-v1-0-d8cdf2257f97@quicinc.com> To: Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , Taniya Das , Ulf Hansson , Johan Hovold , "Catalin Marinas" , Will Deacon CC: , , , , , , "Bjorn Andersson" , Bjorn Andersson X-Mailer: b4 0.12.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1703130649; l=1576; i=quic_bjorande@quicinc.com; s=20230915; h=from:subject:message-id; bh=iuhv7P68f++bs7xsess+Ut/fTJIye+b8NI9cCDTyLVc=; b=up+NYbS/7WM3RyIz183b67hkzTM4B+OxT3FeiOsRy7DKP/j7O7czuFnmznVDSKWIy3nQMV/XgEDy erOT+Ci2DAPf4unP6aUx+vpjqUlXheYer2PriM2JqsGSTG8WGsfU X-Developer-Key: i=quic_bjorande@quicinc.com; a=ed25519; pk=VkhObtljigy9k0ZUIE1Mvr0Y+E1dgBEH9WoLQnUtbIM= X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: TaqN9-nB1Vy7tNOm2EgLwry4Nc5tp4yW X-Proofpoint-GUID: TaqN9-nB1Vy7tNOm2EgLwry4Nc5tp4yW X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_01,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 bulkscore=0 mlxscore=0 mlxlogscore=988 clxscore=1015 malwarescore=0 suspectscore=0 spamscore=0 priorityscore=1501 lowpriorityscore=0 phishscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312210026 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785862494760729341 X-GMAIL-MSGID: 1785862494760729341 From: Bjorn Andersson The SA8295P ADP has a MAX20411 LDO regulator on I2C 12, supplying the VDD_GFX pads. Enable the bus and add the maxim,max20411 device on the bus. Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/sa8295p-adp.dts | 40 ++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8295p-adp.dts b/arch/arm64/boot/dts/qcom/sa8295p-adp.dts index fd253942e5e5..e16406c9c19d 100644 --- a/arch/arm64/boot/dts/qcom/sa8295p-adp.dts +++ b/arch/arm64/boot/dts/qcom/sa8295p-adp.dts @@ -266,6 +266,26 @@ &dispcc1 { status = "okay"; }; +&i2c12 { + pinctrl-names = "default"; + pinctrl-0 = <&qup1_i2c4_state>; + + status = "okay"; + + vdd_gfx: regulator@39 { + compatible = "maxim,max20411"; + reg = <0x39>; + + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <968750>; + + enable-gpios = <&pmm8540a_gpios 2 GPIO_ACTIVE_HIGH>; + + pinctrl-names = "default"; + pinctrl-0 = <&max20411_en>; + }; +}; + &mdss0 { status = "okay"; }; @@ -476,6 +496,10 @@ &pcie4_phy { status = "okay"; }; +&qup1 { + status = "okay"; +}; + &qup2 { status = "okay"; }; @@ -728,4 +752,20 @@ wake-n-pins { bias-pull-up; }; }; + + qup1_i2c4_state: qup1-i2c4-state { + pins = "gpio0", "gpio1"; + function = "qup12"; + + drive-strength = <2>; + bias-pull-up; + }; +}; + +&pmm8540a_gpios { + max20411_en: max20411-en-state { + pins = "gpio2"; + function = "normal"; + output-enable; + }; }; From patchwork Thu Dec 21 03:50:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 181988 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp168669dyi; Wed, 20 Dec 2023 19:53:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IEWYoDmxBVReNcv/QF9dSs/KcwxhTZYSoYf2Am8FTs0GtNrAlwD/0IWq9qmwsUoKay9lsKa X-Received: by 2002:a05:600c:a04:b0:40d:3ad5:7619 with SMTP id z4-20020a05600c0a0400b0040d3ad57619mr282052wmp.177.1703130812043; Wed, 20 Dec 2023 19:53:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703130812; cv=none; d=google.com; s=arc-20160816; b=UdtrU585F873hpvKcssOQnmoY94eWYDV9JnLgXD3UDi19FTbNkac1LkDtFufdvv/Xa 6QzuS75aE1hAqDojoxt+FHpxjvfSOqa3CXmxvD5cJuaBGVvclObvPHdUEBjwl7gQ4NSE bW6ReQNjiwbymd/oT/nEDJbqtpLANLbUBmzshh1GW3Lp39A8kp8dLKrUuzpU3sHYRsKf V1dUWOXPHHzass1DyIkc2hX0PwF/+PshMUIn/UaFZpbgPThysBaKX5vpG25wMSbxuvnq NiSwdasO4RegDUqJ8nvwq8zhtELfPlQ2hn16P6+pUF3CyxOqFMN5TfJd7mIxU48qT29K 01dw== 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=aut/tiDAO2tUCgUR2G5lGe3eLosmmgnnNK0nHtLu+N0=; fh=foPuD/1Jb/JHGIlIIMSam5lBCF16WurQwdJ9iwCwP6c=; b=siVDORG5NhUqJZjDxYGEdw5CMFHxYTqyBA5tYCG128JoGu9hJ195bsCuVh7Xa+WRuf ETpzzq09E+0Azv/ugBmbGNmoda/vzYNLXuHwGDF9SYtG7kW7NmWrouRj5up3S5BBJdgB CZvhfo9xxLCcEbPkt3b4FwVLbgMVKW0/rZ8LkoTttbdi1yssQ70GFIT3Y1UcIkP3akKS llO+d4nB1iF3p4kBQWjSdCLvkOBf2Jx0Ah3FdEnzmN66hMUfxBd7jQIu/cXDC6WIFPFo VEeZDtM7Yl9J1dypJB285U2RZEpkiK8RqQgOO8zaPjELWohA+7Abt/ruz1E5Lo+dHGjq r9Fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=lcrD0ujm; spf=pass (google.com: domain of linux-kernel+bounces-7825-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7825-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id g20-20020a170906349400b00a26859b759asi458620ejb.329.2023.12.20.19.53.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 19:53:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7825-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=lcrD0ujm; spf=pass (google.com: domain of linux-kernel+bounces-7825-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7825-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 7FD261F2306A for ; Thu, 21 Dec 2023 03:53:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 97EFF18C3F; Thu, 21 Dec 2023 03:51:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="lcrD0ujm" X-Original-To: linux-kernel@vger.kernel.org Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B0C525247; Thu, 21 Dec 2023 03:51:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BL3NegA004437; Thu, 21 Dec 2023 03:50:53 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:date:subject:mime-version:content-type :content-transfer-encoding:message-id:references:in-reply-to:to :cc; s=qcppdkim1; bh=aut/tiDAO2tUCgUR2G5lGe3eLosmmgnnNK0nHtLu+N0 =; b=lcrD0ujmm55GGTYmaxtEL0ETi2IUgV7PA/5SZBZnIrGs2rg0u97rJvLGIi0 Xg8Eofca2fJc373HO44DyewCBfSpbIjyAlm6q4a8FHKCIz4BEkuOjKkfGbvqHzuC k2sI3KTXt/6SYDfbyOGmbTDpM4kpqxwT2b5mqeyHlqRIHbn5sdMcng1NVeDNZ2lm PTdKjhrgJgzCu0d9MpiE9l8RrxjaGieF4SG6QmpZt2lG6ilpbrJ1pe23yCRMYBhx 0kOCj+Kbh4KOLYyZcHYHYMSZiiUcBxhIkB19GjK37alo08N+B4htoo7RADHCxMT7 sIdHuBW1Nz7xT9IS9q2WOoc14nQ== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3v4b5u8dkx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Dec 2023 03:50:52 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3BL3ophE003657 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Dec 2023 03:50:51 GMT Received: from [169.254.0.1] (10.49.16.6) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Wed, 20 Dec 2023 19:50:51 -0800 From: Bjorn Andersson Date: Wed, 20 Dec 2023 19:50:41 -0800 Subject: [PATCH 7/8] arm64: dts: qcom: sa8295p-adp: Enable GPU Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20231220-sa8295p-gpu-v1-7-d8cdf2257f97@quicinc.com> References: <20231220-sa8295p-gpu-v1-0-d8cdf2257f97@quicinc.com> In-Reply-To: <20231220-sa8295p-gpu-v1-0-d8cdf2257f97@quicinc.com> To: Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , Taniya Das , Ulf Hansson , Johan Hovold , "Catalin Marinas" , Will Deacon CC: , , , , , , "Bjorn Andersson" X-Mailer: b4 0.12.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1703130649; l=1206; i=quic_bjorande@quicinc.com; s=20230915; h=from:subject:message-id; bh=FIVhkgt4f5XgNMa0L0HXdUr8hNZtP1l3w8L+knzh2RI=; b=FJOcX8yo2xpLVsFePfmJNwiqePoAP+8HOqhBZhMVS8Q1BdraMa5PsXzvHqRP8ptJR/0fWMuTlBvg LwoOddljDHIoetXGORZgdsQix5VZV7ClTJZ3qt3CPu/6CRPL/gOd X-Developer-Key: i=quic_bjorande@quicinc.com; a=ed25519; pk=VkhObtljigy9k0ZUIE1Mvr0Y+E1dgBEH9WoLQnUtbIM= X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: dyQuP7S-MqVZlrwa3qTrhMuW1fH91PS3 X-Proofpoint-ORIG-GUID: dyQuP7S-MqVZlrwa3qTrhMuW1fH91PS3 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_02,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 priorityscore=1501 phishscore=0 mlxscore=0 suspectscore=0 bulkscore=0 spamscore=0 malwarescore=0 lowpriorityscore=0 impostorscore=0 mlxlogscore=865 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312210026 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785862094756147091 X-GMAIL-MSGID: 1785862094756147091 With the necessary support in place for supplying VDD_GFX from the MAX20411 regulator, enable the GPU clock controller, GMU, Adreno SMMU and the GPU on the SA8295P ADP. Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/sa8295p-adp.dts | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8295p-adp.dts b/arch/arm64/boot/dts/qcom/sa8295p-adp.dts index e16406c9c19d..7775c5f4d2e8 100644 --- a/arch/arm64/boot/dts/qcom/sa8295p-adp.dts +++ b/arch/arm64/boot/dts/qcom/sa8295p-adp.dts @@ -108,6 +108,13 @@ edp3_connector_in: endpoint { }; }; }; + + reserved-memory { + gpu_mem: gpu-mem@8bf00000 { + reg = <0 0x8bf00000 0 0x2000>; + no-map; + }; + }; }; &apps_rsc { @@ -286,6 +293,28 @@ vdd_gfx: regulator@39 { }; }; +&gpucc { + vdd-gfx-supply = <&vdd_gfx>; + status = "okay"; +}; + +&gmu { + status = "okay"; +}; + +&gpu { + status = "okay"; + + zap-shader { + memory-region = <&gpu_mem>; + firmware-name = "qcom/sa8295p/a690_zap.mdt"; + }; +}; + +&gpu_smmu { + status = "okay"; +}; + &mdss0 { status = "okay"; }; From patchwork Thu Dec 21 03:50:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 181990 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp168708dyi; Wed, 20 Dec 2023 19:53:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IGjXY8cj1qFyMtkoVXK5kMmX3xOuw4sl+TZvGWUNR/uNMuY2+PSnrqCjOsysKnhLuX0Rbo6 X-Received: by 2002:a05:6358:339e:b0:172:caa6:52d2 with SMTP id i30-20020a056358339e00b00172caa652d2mr891048rwd.29.1703130822905; Wed, 20 Dec 2023 19:53:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703130822; cv=none; d=google.com; s=arc-20160816; b=d22ieGX09XKt3+LzLZ4CR60QMZpqg3E2xk4YgozYkbY2BQ3PSHEq6jWcU+afzsW01a Ts6xlm25UI4IRnV9jAhsIDda5G2Oi6buJ75zZk8fG0/ikLqPoswBJnwKn/cFYaU0NT9P bo1OHm3SamAVLk9qW4yXcFtoqdy2aYoZXnXsP2MvrZCGclq1Gd3BkQCgalsevoZAo5Ca M9f7OkhV79sBDmXQ8ub+A0I5aoP838YHseT6VArdyOnFh5TCAl478kGqFJGfEn5vypsx tpo8H/E9LCgR1bcoOTBk+DysnDORVYgoq6P0sm4Yb/QkfZNQkEkSm8arbI+0yo4qQK7u 8PTA== 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=S++rYSCN+Zhvdk7MOdAERLqeroPAteS+ELCWSWqu7Vc=; fh=foPuD/1Jb/JHGIlIIMSam5lBCF16WurQwdJ9iwCwP6c=; b=KYBzfYiMFuyiZ1XF/zhPRojbR+llbJBKZqt5w154lgr2VtnKTlwX2v7z12JwUYki6W EIh4fZIrob8UvlrO5ag8B1nYsrW1Xv07vUU0lf5bi+ym0hws8L7wJw5YEMNj8pRNewBj S9iIAF32ahAKNlO/9oEKoowlVXLu4GaCuYhEWXqtE4uMp6v7a9lcCN6KP2JaYaEWnFJ1 fc/aLzLRm6b877Sk+y9CSAtDTefVPJDnpchoYUV5p4FWNe4h4Pm7RggsrnkoL2UEFPKd aGG5kIws+q47hmGdoNVio1OJJW/B99kgruchNW490nB/kkTF05Vwi19qOj7n+5VvHa+R G+3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=TFH9Mu7f; spf=pass (google.com: domain of linux-kernel+bounces-7826-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7826-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id il5-20020a17090b164500b0028bdb493d1esi1824950pjb.115.2023.12.20.19.53.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 19:53:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7826-ouuuleilei=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=@quicinc.com header.s=qcppdkim1 header.b=TFH9Mu7f; spf=pass (google.com: domain of linux-kernel+bounces-7826-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7826-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 E532BB23927 for ; Thu, 21 Dec 2023 03:53:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9A4971A708; Thu, 21 Dec 2023 03:51:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="TFH9Mu7f" X-Original-To: linux-kernel@vger.kernel.org Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 62A0AB654; Thu, 21 Dec 2023 03:51:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BL3Z33c016454; Thu, 21 Dec 2023 03:50:53 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:date:subject:mime-version:content-type :content-transfer-encoding:message-id:references:in-reply-to:to :cc; s=qcppdkim1; bh=S++rYSCN+Zhvdk7MOdAERLqeroPAteS+ELCWSWqu7Vc =; b=TFH9Mu7f43fpIr7Fii5gjvHFOjs3RWAIyFh3VnntJNiKBx9zYIk0Fc+YZdS HsuXEwFXx6PVkSHriEVIo9aJ9FgUw3EAyWwU23SHiH77mdexLF2yEzoTV1xwti8/ gxlMJkpnHjUpB+tyIWnWpq8m2jIfjv23Sofq0WhcZBvEfrtFBUUletfPRlN2GPVd 5lxrzcoFLYOIC1dQShZbWgfdbRsOrQWgrLAiwEQRuX9jgIKjigTVvV2Vfo500Av6 68CbYRZ0pDG7QeD7QfQdrgRrch/ND48gJUs1N7CvYfwXPjBIP4BnAC5RvqhReRAa Z5p17i56wBfAyqP9bKD0EP0vjdw== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3v3wr12k84-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Dec 2023 03:50:53 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3BL3oqrJ004602 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Dec 2023 03:50:52 GMT Received: from [169.254.0.1] (10.49.16.6) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Wed, 20 Dec 2023 19:50:51 -0800 From: Bjorn Andersson Date: Wed, 20 Dec 2023 19:50:42 -0800 Subject: [PATCH 8/8] arm64: defconfig: Enable MAX20411 regulator driver Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20231220-sa8295p-gpu-v1-8-d8cdf2257f97@quicinc.com> References: <20231220-sa8295p-gpu-v1-0-d8cdf2257f97@quicinc.com> In-Reply-To: <20231220-sa8295p-gpu-v1-0-d8cdf2257f97@quicinc.com> To: Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , Taniya Das , Ulf Hansson , Johan Hovold , "Catalin Marinas" , Will Deacon CC: , , , , , , "Bjorn Andersson" X-Mailer: b4 0.12.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1703130649; l=670; i=quic_bjorande@quicinc.com; s=20230915; h=from:subject:message-id; bh=unb+KmBC3PDXA2J/s/HHbtUD1oFS0hJ/byKzZ00/Jfw=; b=HHjMmAHWw9PSs2dYfX8aRLVDQkwSa+1ftCEgjo9hQBBYGA6UvG3BXO448RQ5/vQ4F4KroNdxaz6K nT+H70ycAE1c7lL5jWjkNrwWtBJmKsjsdw3Y6PjKmQ52JhOQL2yk X-Developer-Key: i=quic_bjorande@quicinc.com; a=ed25519; pk=VkhObtljigy9k0ZUIE1Mvr0Y+E1dgBEH9WoLQnUtbIM= X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: SlhIlja6p63QDVmjoiTmEG45uHdvq-14 X-Proofpoint-GUID: SlhIlja6p63QDVmjoiTmEG45uHdvq-14 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_01,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 phishscore=0 priorityscore=1501 impostorscore=0 mlxscore=0 adultscore=0 spamscore=0 mlxlogscore=787 bulkscore=0 clxscore=1015 malwarescore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312210026 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785862105659978445 X-GMAIL-MSGID: 1785862105659978445 The Qualcomm SA8295P ADP board uses a max20411 to power the GPU subsystem. Signed-off-by: Bjorn Andersson --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index ef1061089548..ec94a0c4fd03 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -751,6 +751,7 @@ CONFIG_REGULATOR_HI6421V530=y CONFIG_REGULATOR_HI655X=y CONFIG_REGULATOR_MAX77620=y CONFIG_REGULATOR_MAX8973=y +CONFIG_REGULATOR_MAX20411=m CONFIG_REGULATOR_MP8859=y CONFIG_REGULATOR_MT6315=m CONFIG_REGULATOR_MT6357=y