Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp416559lqj; Sun, 2 Jun 2024 04:46:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWMjCSDlx3PFWNMPEQK03hJhmS4g8oPLkJuTebtGNvPBkLxJsUg3PQzE9XsKhXvomPeytJ8ft+fJJo9/VX0T2saYH5ogt1V2Q/lhxRnYA== X-Google-Smtp-Source: AGHT+IGh6ZRsJ+irIC9yvPf5C1AY/x7SAGrW5wPvtmLznRFKbQHhpsG7dwYD+ScGGVnqvLKWsvOl X-Received: by 2002:a05:6a00:1251:b0:702:4d89:75de with SMTP id d2e1a72fcca58-7024d89855amr6926587b3a.33.1717328779072; Sun, 02 Jun 2024 04:46:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717328779; cv=pass; d=google.com; s=arc-20160816; b=A2aoDlFC4Xx4NfUyWOp6kkx0PfOP1OqXPJVx9t/ciXTn+W5fdsp8rtP42Gh9wMr3tE 5Hm1KysArRqCTjW1qMbg35eA4orV275oJd9RBWRqwg3mF5KVsRgZ1p7IT1IfXAWl1ByF Mg4Z+lMxRcCfhNu06rl2rPN2wsnJMVOqOyyOMNfL60MVKaDx/oY7metqLajkeAstrFS6 wulCdMjrgaj7jWLyt4GJC4VhrYSVvfx7EvwnYrbiz9dQ+Dnk80yDyX4Pvzc2VNP9tIN9 hn3OgVc+WSoE4F0bCyJNAgv6UhqKD/X2fJ4ctp6HvXeO7GNBX9PSrZBbPuYGgWtwvuXR +1Vg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=NQg0UhSk2EZ0C6RKEJX8xxVV5b+m49TUFbA2iV97yq4=; fh=0gndh5D8cVsq/+ewYe6ugViwjp9FZoliiVJ7j3FCX+s=; b=D/IKV42Uea4Jp9jXQLeLByP3qkrQpmbw2i9rqjwlkwVSbXRYxSCaEB1vkFeY8fRDQf 8Wojrez7zMCLh68GnyUmIgR9eskfe0ZZd8t/kigyfolyUb+20FJCe4rqsc6cyGld6mz6 568fWqBXjgT34+Mxs3J2k3wnCUbIITWJCSgvf+OuTlqP5nW7RYYZgr80kPP2fLi/CFUj uEt2WhurbCRbM+PIRqHa6qCuLvD8ScqxUCfssvpA6fMgqIcwOkzIraYhzK7zQN4z1VU1 yF0XofCcLA8FOXgDVxZHu8kvabFDfCf5c6RJA4DUxvjAsmHEseEVdI9PXnbbXDcnZ6P5 Xe3g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="H/fRqIZ8"; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-198215-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198215-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d2e1a72fcca58-70242b0a34esi4842251b3a.156.2024.06.02.04.46.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jun 2024 04:46:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198215-linux.lists.archive=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="H/fRqIZ8"; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-198215-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198215-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 3579A2810F6 for ; Sun, 2 Jun 2024 11:46:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 129AB3EA9B; Sun, 2 Jun 2024 11:45:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="H/fRqIZ8" 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 C843D3BBF5; Sun, 2 Jun 2024 11:45:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717328732; cv=none; b=tyGOrZVr0yv3vwE+VJlP87uzsQg4CPeAePEmdRgtngnWhh1Arr50DQA2tgSVBfmSdyWH8L3WyLRMc9cjyNDZwAs/ItbPS8lHW+cBJXh+xobT5ZHaxJeYStGwYakOptLFdfUeu2IgdGrckkEnlSv1+S7/+JCk5YR4xN8djGHxX+k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717328732; c=relaxed/simple; bh=507ao6veJvos8djQ/vkxSB93Ylf4TIG2MPrbWPIoPeg=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=lXgFu4wdgKYO9Xba8vc7PXa0SPUrrFCescxSD0xxe66ItoVGAUIHTBeMmpxvDGdd8eMCrUPdB1lWavfMPCTiHG39SR4j8AWTe+32eM8nmqHWMlpNW1qC6F7drUMA3z+rWELbEu+QeqaYeAVFAB10Mzd+h0oCbLA7z4jG8XPK4p0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=H/fRqIZ8; arc=none smtp.client-ip=205.220.180.131 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.18.1.2/8.18.1.2) with ESMTP id 452BcNPA001940; Sun, 2 Jun 2024 11:45:27 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= NQg0UhSk2EZ0C6RKEJX8xxVV5b+m49TUFbA2iV97yq4=; b=H/fRqIZ8YIrg7Hdg DnTeQzC3f0PN3QhrF1QX848E2EqYa3tl1ZLGZnOOALKuLpOYk4iuuITY029H/6QA bJJVFP0aoos1fu7uPqE5dkNjBce8fVVtu3XojTwdutZ8zDRD7W06KF3NDX8Rg01h YUNiTvbiO+YWcu5NYEorKjhni2pck7h+YZeSEOoXyZUGUrTUlRJNAnVpBiW+Mg18 i5hlXzKc3BFXTVBpj2epKepkmqAzvwuPwtSCdqjUQa4UuBXeAK6cB003fcp5rkHw L2CqFYdTm1vcOlTv5tDF9fcBOnAmosV0sQDdkOB1qDqeLf0bPIWNo9aFbMhR3i1K iq6MJg== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yfw7dj0m9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 02 Jun 2024 11:45:26 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 452BjPRk021721 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 2 Jun 2024 11:45:25 GMT Received: from hu-jkona-hyd.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Sun, 2 Jun 2024 04:45:20 -0700 From: Jagadeesh Kona To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Konrad Dybcio CC: Vladimir Zapolskiy , , , , , Taniya Das , Jagadeesh Kona , "Satya Priya Kakitapalli" , Ajit Pandey , Imran Shaik , "Dmitry Baryshkov" Subject: [PATCH V4 3/8] clk: qcom: videocc-sm8550: Add support for videocc XO clk ares Date: Sun, 2 Jun 2024 17:14:34 +0530 Message-ID: <20240602114439.1611-4-quic_jkona@quicinc.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240602114439.1611-1-quic_jkona@quicinc.com> References: <20240602114439.1611-1-quic_jkona@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: QlfSzC1OQqJsdC1HWxPvlsHDTyPwGlSl X-Proofpoint-GUID: QlfSzC1OQqJsdC1HWxPvlsHDTyPwGlSl X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.12.28.16 definitions=2024-06-01_19,2024-05-30_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 mlxlogscore=999 impostorscore=0 malwarescore=0 phishscore=0 adultscore=0 clxscore=1015 bulkscore=0 priorityscore=1501 lowpriorityscore=0 spamscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406020099 Add support for videocc XO clk ares for consumer drivers to be able to request this reset. Fixes: f53153a37969 ("clk: qcom: videocc-sm8550: Add video clock controller driver for SM8550") Signed-off-by: Jagadeesh Kona Reviewed-by: Dmitry Baryshkov Reviewed-by: Konrad Dybcio --- drivers/clk/qcom/videocc-sm8550.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/qcom/videocc-sm8550.c b/drivers/clk/qcom/videocc-sm8550.c index d73f747d2474..25133cf5a2b8 100644 --- a/drivers/clk/qcom/videocc-sm8550.c +++ b/drivers/clk/qcom/videocc-sm8550.c @@ -10,7 +10,7 @@ #include #include -#include +#include #include "clk-alpha-pll.h" #include "clk-branch.h" @@ -380,6 +380,7 @@ static const struct qcom_reset_map video_cc_sm8550_resets[] = { [CVP_VIDEO_CC_MVS1C_BCR] = { 0x8074 }, [VIDEO_CC_MVS0C_CLK_ARES] = { .reg = 0x8064, .bit = 2, .udelay = 1000 }, [VIDEO_CC_MVS1C_CLK_ARES] = { .reg = 0x8090, .bit = 2, .udelay = 1000 }, + [VIDEO_CC_XO_CLK_ARES] = { .reg = 0x8124, .bit = 2, .udelay = 100 }, }; static const struct regmap_config video_cc_sm8550_regmap_config = { -- 2.43.0