Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1795981rdb; Mon, 8 Jan 2024 10:23:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IFsVx4ZHbLOQ+Ox4Zj7WR0SjqhKryyhiu9Ik/Q/3DPa5sI/6JcpJ41EtWiYJTmmbRxUsfr9 X-Received: by 2002:a17:907:2cf5:b0:a28:7fe8:8b29 with SMTP id hz21-20020a1709072cf500b00a287fe88b29mr1744527ejc.68.1704738237151; Mon, 08 Jan 2024 10:23:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704738237; cv=none; d=google.com; s=arc-20160816; b=pUfja4RKqAVcjygiU9beulSqPgYYG3AajBS3+u3vgYd0qokgEfQLLSDTHd9gtky+Pf 1ihCl0TjgDHqtVMLcLyK0+sjxs7owSVx1Kc2BQ31i+zfoSuFqhdc39Trn6TKRSY815Me S4Uic0eWN97X9EV0OaYiXQEHHsEgHnlGfwDEiMHYeV67AARCvaILqMQHGvjTCS+FESiI HwdBDxKoENlsl6GrG+UXvAQIR+bQl9i+Yg93cRqkfySM02u4XvDhhF33KcehzgAZikAD XnA7+F5EZfBLtWYH8Ea1V13pm8zwWVn7Vxh0MoLSMlbl2h0csgaErhvBEqyvADddqezz jF+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=uHY3fQLsNHWDaKV+dXru0SBvr/s3dbPl29fFLxwGtjg=; fh=C+r17MvSlSs5MnWJTzAwQIh7+xrrDRNd+XDjP8/MiFg=; b=s7MH6s09ffrMk+wvjTRzwwJmkl9YTJLbGMfNgXBJz1/yeRKQYAJJOnrcBK3AKEiyEp +NdradhtMZV8q6RSpL1c8EBlr3cZPFxK+uIlMU37M8LBRoME+eyTT3Y1sq9KAgRUL5v/ 5JGUpuBrCWATTNe1lG0ffjrSzvz/GR5wa5IGG50jLxjCj9e+obmVx1zwl5b1fHaL73B1 C7cODkbDFbuQYsNolL7ERFVO1GIhJH4+faM9Q6Qo5uJ9EG4L7QQUM6vDmsN0UqIuqUxw BkgHIW4c1/NbZ6hq/wpxPt8MDS63r9jqKUPNRArLfwp1hpx+He22Msn3SymydUHCL/dL 2oxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=pqpNI8Rj; spf=pass (google.com: domain of linux-kernel+bounces-19954-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19954-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id dv20-20020a170906b81400b00a1af9c5d853si115627ejb.166.2024.01.08.10.23.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 10:23:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19954-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=pqpNI8Rj; spf=pass (google.com: domain of linux-kernel+bounces-19954-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19954-linux.lists.archive=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 E12561F23BEB for ; Mon, 8 Jan 2024 18:23:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0CDE354FB1; Mon, 8 Jan 2024 18:23:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="pqpNI8Rj" 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 DBB6454F9C; Mon, 8 Jan 2024 18:23:21 +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 (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 408IHepa024137; Mon, 8 Jan 2024 18:23:11 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=qcppdkim1; bh=uHY3fQLsNHWDaKV+dXru0 SBvr/s3dbPl29fFLxwGtjg=; b=pqpNI8Rjihhn5C/FPeVII7fBTbYbpwp9BkbEf B1v9CFO1Xl5uLWoR9Ulo7ijKPYf75Xa8OOBGMFdROFV5J3GBVG82JkJdmIpJi3rL KPjlELd95b5sJBojSZp0ClrQYEfdl8U+tfeXSwEsKo4/Wd4SYowsEkuehmILglCU Wo5I6G9TV5GGIwTuSD8aK74Q4UmeW4d1NGuX0eAKEdfbmWGq6UrqFoyCenTQq9zE +ejwKDOK9Ld6MAyNsWSQ+9WuoJyz1bw2aEz0ji74Qku0Dz6PoFlAlxae5/5gk8bH jRgGeUi3tfMcwX3uCwCHhZx1Ug86Bc6fkzyLvFsBJWqTMf45g== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vgfwjry3u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 08 Jan 2024 18:23:11 +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 408INApm012620 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 8 Jan 2024 18:23:10 GMT Received: from hu-bjorande-lv.qualcomm.com (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; Mon, 8 Jan 2024 10:23:09 -0800 Date: Mon, 8 Jan 2024 10:23:08 -0800 From: Bjorn Andersson To: Konrad Dybcio CC: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Taniya Das , Ulf Hansson , Johan Hovold , Catalin Marinas , Will Deacon , , , , , , , "Dmitry Baryshkov" Subject: Re: [PATCH v2 3/8] clk: qcom: gpucc-sc8280xp: Add external supply for GX gdsc Message-ID: <20240108182308.GL1315173@hu-bjorande-lv.qualcomm.com> References: <20231220-sa8295p-gpu-v2-0-4763246b72c0@quicinc.com> <20231220-sa8295p-gpu-v2-3-4763246b72c0@quicinc.com> <0d20be70-7db2-4d8b-aecb-5256a42ba62e@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="us-ascii" Content-Disposition: inline In-Reply-To: <0d20be70-7db2-4d8b-aecb-5256a42ba62e@linaro.org> X-ClientProxiedBy: nalasex01a.na.qualcomm.com (10.47.209.196) 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: AWHDRG9Pdm-ZMgbxBVL6ZrxrNndmMuFG X-Proofpoint-GUID: AWHDRG9Pdm-ZMgbxBVL6ZrxrNndmMuFG 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 bulkscore=0 clxscore=1015 impostorscore=0 lowpriorityscore=0 phishscore=0 mlxlogscore=778 suspectscore=0 priorityscore=1501 mlxscore=0 malwarescore=0 adultscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2401080154 On Wed, Dec 27, 2023 at 02:07:52AM +0100, Konrad Dybcio wrote: > On 22.12.2023 05:39, Bjorn Andersson wrote: > > 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. > > > > Reviewed-by: Dmitry Baryshkov > > Signed-off-by: Bjorn Andersson > > --- > Worth noting the regulator framework will create a virtual supply > for the normal 8280 > You're right. No functional harm, but that's not very nice. I don't think we have any benefit from having a dummy supply, if the DT author failed to provide a proper one, so it seems reasonable to switch gdsc to devm_regulator_get_optional(). Regards, Bjorn > Reviewed-by: Konrad Dybcio > > Konrad