From patchwork Wed Mar 13 11:08:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Satya Priya Kakitapalli X-Patchwork-Id: 13591316 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 CBC1E47A74; Wed, 13 Mar 2024 11:09:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710328156; cv=none; b=OLzxVEChZH7tdF8awIvyInJVxI2Zff9QEupZ+veSHQxSy7qVBZMbhLzVLwKO1G8c8PoAyJ4PQsPFSIaICeWMu12wl3QeyITEVHiUHU2w02+lU5YhQ0RGCvTAW7D+4kARBOx63e3VLbDWrcJ2zRqdlhy0uBadPV+oyyUYb2Pnf0E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710328156; c=relaxed/simple; bh=c4pT6PvjDMpeiAGrjGjctTU2RfRQAJgzGAUdsGZFgrw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=TuWbGXVohP+JaAQHijoiLeostOZHaoW/KQG0iYqg6byA/gqkeX+zqmTjvHvLvhHDxWheQm4Wl/RjKFdhdkbGA0P7oFLMUX+LxVme/5UhC+iMa6q2cV+uIgYWuImd7oiZtk+Ws4EiGPZLykBPz01ehv1FwtPQcEwsrXqwLnSSHgM= 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=DqASpK1h; arc=none smtp.client-ip=205.220.168.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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="DqASpK1h" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 42D7jBoe031525; Wed, 13 Mar 2024 11:09:11 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=/RY/DEwsyprCrQmcpWFIziiKAvbJlwtp/QOiUjoBjvs =; b=DqASpK1hkTm1NVRthXxVffiOCeAu0i3Ru0Dv6PHg3vvpEH5JiAMcIps6b4+ vrFXIUbXcTMvckgbli6ocp3wg7eniphspKAxUbUpeJtxxWacBP/fYxzLoH2eb2zT 69hmNUaXNH5IrWZA+DwEzJf6JfSUek0/LUbHkhapmN3E+nKtl/aNtzl2NANKlH0G c0UI0Abl8pUKEjzTlqeQNKReY92wE9gAwEnHOc9A2MocIgZITLMzqpU7Mf6IAFoQ DV4KZg6OIDVPNvOQwytlwyXSecdaaNw0i9Ng2/VFuYSaPj9jiB2KGuX3fjY+asBV opT/qrIfdqTGgSDszhgJX3m9a9A== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3wu815rdkj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 13 Mar 2024 11:09:11 +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 42DB9Aef017977 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 13 Mar 2024 11:09:10 GMT Received: from hu-skakitap-hyd.qualcomm.com (10.80.80.8) 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, 13 Mar 2024 04:09:05 -0700 From: Satya Priya Kakitapalli Date: Wed, 13 Mar 2024 16:38:27 +0530 Subject: [PATCH 1/3] dt-bindings: clock: qcom: Update SM8150 videocc bindings Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20240313-videocc-sm8150-dt-node-v1-1-ae8ec3c822c2@quicinc.com> References: <20240313-videocc-sm8150-dt-node-v1-0-ae8ec3c822c2@quicinc.com> In-Reply-To: <20240313-videocc-sm8150-dt-node-v1-0-ae8ec3c822c2@quicinc.com> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , Michael Turquette , "Stephen Boyd" CC: Ajit Pandey , Imran Shaik , Taniya Das , "Jagadeesh Kona" , , , , , Satya Priya Kakitapalli X-Mailer: b4 0.12.4 X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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: RBfzm5g8xSA-AI8Tirq6kPIcbrz-lWdH X-Proofpoint-ORIG-GUID: RBfzm5g8xSA-AI8Tirq6kPIcbrz-lWdH X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-13_07,2024-03-12_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 phishscore=0 adultscore=0 malwarescore=0 mlxlogscore=789 suspectscore=0 clxscore=1015 impostorscore=0 bulkscore=0 lowpriorityscore=0 priorityscore=1501 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2402120000 definitions=main-2403130083 Update the videocc device tree bindings for sm8150 to align with the latest convention. Fixes: 35d26e9292e2 ("dt-bindings: clock: Add YAML schemas for the QCOM VIDEOCC clock bindings") Signed-off-by: Satya Priya Kakitapalli --- Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml | 1 + Documentation/devicetree/bindings/clock/qcom,videocc.yaml | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml b/Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml index bad8f019a8d3..e00fdc8ceaa4 100644 --- a/Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml @@ -20,6 +20,7 @@ properties: enum: - qcom,sm8450-videocc - qcom,sm8550-videocc + - qcom,sm8150-videocc reg: maxItems: 1 diff --git a/Documentation/devicetree/bindings/clock/qcom,videocc.yaml b/Documentation/devicetree/bindings/clock/qcom,videocc.yaml index 6999e36ace1b..28d134ad9517 100644 --- a/Documentation/devicetree/bindings/clock/qcom,videocc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,videocc.yaml @@ -17,7 +17,6 @@ description: | include/dt-bindings/clock/qcom,videocc-sc7180.h include/dt-bindings/clock/qcom,videocc-sc7280.h include/dt-bindings/clock/qcom,videocc-sdm845.h - include/dt-bindings/clock/qcom,videocc-sm8150.h include/dt-bindings/clock/qcom,videocc-sm8250.h properties: @@ -26,7 +25,6 @@ properties: - qcom,sc7180-videocc - qcom,sc7280-videocc - qcom,sdm845-videocc - - qcom,sm8150-videocc - qcom,sm8250-videocc clocks: @@ -75,7 +73,6 @@ allOf: enum: - qcom,sc7180-videocc - qcom,sdm845-videocc - - qcom,sm8150-videocc then: properties: clocks: From patchwork Wed Mar 13 11:08:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Satya Priya Kakitapalli X-Patchwork-Id: 13591317 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 1B485482C9; Wed, 13 Mar 2024 11:09:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710328160; cv=none; b=ZgEX2BvYTySxgUwNCTY/79R61ct+yZrHRJ3pjzrP35paSGZXmT3VoWvw02qL4G2QDJGlLu1Gq6CVrWvT4+hft2XgNyFbvDpZUIfKKaeuDRXcTNyiDEcohJ0v4ssT5mz5Kgj8/DZO4441J+DU/JE64qGHec+rf/aro/PheQqHMts= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710328160; c=relaxed/simple; bh=JCnLwcrTKgTY9i0OvXg+VN9D6vYgq+9YDeZyE7ywI8Q=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=nwBfZjwc9q9m9xpjNkNs2yKtbb9ooPrSZCnKky1bNBnaHx2ETTNQhws/CDhhLqWZY+tNWuDSDKmAhefbBt6R6SlSDO7EjCMu8TWzU4sU1E5e/8r6xpN3Qscos76wHIg0diZtRrVigyqlXZr6jf+i9of0rZYvVNqNL+oJMzDK0XA= 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=OYk9x0EP; arc=none smtp.client-ip=205.220.168.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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="OYk9x0EP" 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 42DAvTBC006554; Wed, 13 Mar 2024 11:09:15 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=tw0UkAYi81GfGQNJCgFCDn6r3Unprkn+tqqLNjnq9E8 =; b=OYk9x0EPD0IXLJwaD79sg6t8msWtKsbQqyznMiBro0E1U0erLUDAyM5IBcB zvfpUbTfI/9ninECf4rQk5JQ8VPuyM9il5Im8/lizdZE/IhQKvC225I44qVibdkn 0+d3Goqma2rvxXt6OoU6KdUCpAuT/nQOGS70r/081RD3b4jzEpCBk5+QC5Es7EmX 0sIe+VYctfcCW4VtJY67VtT/Tk4+9p7lS3IbPkP2NOE51C2Myd3APZbrpWryoStY 7xBQDh5GMvOx1cGEOhhndUv4Vvc+tP64z4Crp9B7Z/DZLePqvATGbXDrBa4T+ydw SCce5IDMbLB7XVYCQtN/j0JM31A== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3wuam5g1me-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 13 Mar 2024 11:09:15 +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 42DB9EKf010175 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 13 Mar 2024 11:09:14 GMT Received: from hu-skakitap-hyd.qualcomm.com (10.80.80.8) 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, 13 Mar 2024 04:09:09 -0700 From: Satya Priya Kakitapalli Date: Wed, 13 Mar 2024 16:38:28 +0530 Subject: [PATCH 2/3] clk: qcom: videocc-sm8150: Add index based clk lookup Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20240313-videocc-sm8150-dt-node-v1-2-ae8ec3c822c2@quicinc.com> References: <20240313-videocc-sm8150-dt-node-v1-0-ae8ec3c822c2@quicinc.com> In-Reply-To: <20240313-videocc-sm8150-dt-node-v1-0-ae8ec3c822c2@quicinc.com> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , Michael Turquette , "Stephen Boyd" CC: Ajit Pandey , Imran Shaik , Taniya Das , "Jagadeesh Kona" , , , , , Satya Priya Kakitapalli X-Mailer: b4 0.12.4 X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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: G_l3NxeOJZ9ZGEPH2uqqwzK8FAzljgll X-Proofpoint-ORIG-GUID: G_l3NxeOJZ9ZGEPH2uqqwzK8FAzljgll X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-13_07,2024-03-12_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 mlxlogscore=999 impostorscore=0 adultscore=0 mlxscore=0 priorityscore=1501 phishscore=0 spamscore=0 bulkscore=0 lowpriorityscore=0 malwarescore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2402120000 definitions=main-2403130083 Add support to look up for clocks using index instead of fw_name. Signed-off-by: Satya Priya Kakitapalli --- drivers/clk/qcom/videocc-sm8150.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/clk/qcom/videocc-sm8150.c b/drivers/clk/qcom/videocc-sm8150.c index a0329260157a..2b788a03c5ed 100644 --- a/drivers/clk/qcom/videocc-sm8150.c +++ b/drivers/clk/qcom/videocc-sm8150.c @@ -19,6 +19,10 @@ #include "reset.h" #include "gdsc.h" +enum { + DT_BI_TCXO, +}; + enum { P_BI_TCXO, P_VIDEO_PLL0_OUT_MAIN, @@ -49,7 +53,7 @@ static struct clk_alpha_pll video_pll0 = { .hw.init = &(struct clk_init_data){ .name = "video_pll0", .parent_data = &(const struct clk_parent_data){ - .fw_name = "bi_tcxo", + .index = DT_BI_TCXO, }, .num_parents = 1, .ops = &clk_alpha_pll_trion_ops, @@ -63,7 +67,7 @@ static const struct parent_map video_cc_parent_map_0[] = { }; static const struct clk_parent_data video_cc_parent_data_0[] = { - { .fw_name = "bi_tcxo" }, + { .index = DT_BI_TCXO }, { .hw = &video_pll0.clkr.hw }, }; From patchwork Wed Mar 13 11:08:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Satya Priya Kakitapalli X-Patchwork-Id: 13591318 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 DDA1C482ED; Wed, 13 Mar 2024 11:09:24 +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=1710328166; cv=none; b=dU9fxpVeex6a6YnkFqqILZtvx2A9VUwaCPUCdHQtZQaaAQKsfSFDQEczI8uXT6OZQMyd8mXkKjBb11hvDJpyuX+2/DQTMu4USXLx5K9xm8TU8dBNDL9e3zDxexY1+ozlVP3aatMaABU0kDZ77QwQNQdHPOVBerHbgudZuXUO6BE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710328166; c=relaxed/simple; bh=jLNaAE3Yw7kO17B5vGn9GF8++TVebQCY4rVgMnYSvfI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=t7yAfVSwpUmwPhV/E83kGnNjTD1pZSzq67ejTuI+iQpMZPIqgvYVJWEGXxBhlnP+AKJxT1J6p41gkH158ag6kAV4bKJA8htJldOYxzmWSR1mZUS+P/vq1XYFyKBBSWHV2zC8vVjzPYW4fJHWE6K8NH0RkUL+TLmFdahQMLn9G9Q= 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=hffXvi7+; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="hffXvi7+" Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 42DASe0Q008006; Wed, 13 Mar 2024 11:09:20 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=7VTV+rg8RNhyqzK5hvhyUkSaGiJkgLM5rEBNxy6AxuE =; b=hffXvi7+ti03iYL8DjgEyUhIJnfnn0QWTmPfZ7KHFtQ++ua+Io3UfysAy7C fJjfKtcalSogRrRRdm+KGuw0R9N7xYAAPB1YAFI0pDpyKwvJM6gy8wYfDTFH2dg0 c9KuOAxGv2Mq72rcHKOOcx8oLhjMXcTBBbQJT6TU2VbJi3rVOS09s5OsGaic1o8r tOFs9ASkB0Bz0OZKKBNZjSvkDR64l7J9DwMeTiC2zdum/AZ42iy6ZHQ8cfEP1bjw Bcy7YfY2raiL5sjUs8OcaIEjdrSIpsF/iXX6dMN0wjWWvrILlduX5uqwBfnBwMC9 f0ejrNYVGATlsCWQVRHpF5xkXLg== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3wu2j3903d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 13 Mar 2024 11:09:20 +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 42DB9JSB028168 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 13 Mar 2024 11:09:19 GMT Received: from hu-skakitap-hyd.qualcomm.com (10.80.80.8) 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, 13 Mar 2024 04:09:14 -0700 From: Satya Priya Kakitapalli Date: Wed, 13 Mar 2024 16:38:29 +0530 Subject: [PATCH 3/3] arm64: dts: qcom: sm8150: Add video clock controller node Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20240313-videocc-sm8150-dt-node-v1-3-ae8ec3c822c2@quicinc.com> References: <20240313-videocc-sm8150-dt-node-v1-0-ae8ec3c822c2@quicinc.com> In-Reply-To: <20240313-videocc-sm8150-dt-node-v1-0-ae8ec3c822c2@quicinc.com> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , Michael Turquette , "Stephen Boyd" CC: Ajit Pandey , Imran Shaik , Taniya Das , "Jagadeesh Kona" , , , , , Satya Priya Kakitapalli X-Mailer: b4 0.12.4 X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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: KSJ64PZU73_NA1sweCky8fKM73ysDKiT X-Proofpoint-GUID: KSJ64PZU73_NA1sweCky8fKM73ysDKiT X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-13_07,2024-03-12_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 adultscore=0 malwarescore=0 impostorscore=0 suspectscore=0 lowpriorityscore=0 bulkscore=0 spamscore=0 clxscore=1015 phishscore=0 mlxscore=0 mlxlogscore=946 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2402120000 definitions=main-2403130083 Add device node for video clock controller on Qualcomm SM8150 platform. Signed-off-by: Satya Priya Kakitapalli --- arch/arm64/boot/dts/qcom/sa8155p.dtsi | 4 ++++ arch/arm64/boot/dts/qcom/sm8150.dtsi | 13 +++++++++++++ 2 files changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8155p.dtsi b/arch/arm64/boot/dts/qcom/sa8155p.dtsi index ffb7ab695213..9e70effc72e1 100644 --- a/arch/arm64/boot/dts/qcom/sa8155p.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8155p.dtsi @@ -38,3 +38,7 @@ &rpmhpd { */ compatible = "qcom,sa8155p-rpmhpd"; }; + +&videocc { + power-domains = <&rpmhpd SA8155P_CX>; +}; diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index a35c0852b5a1..6573c907d7e2 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include @@ -3715,6 +3716,18 @@ usb_2_dwc3: usb@a800000 { }; }; + videocc: clock-controller@ab00000 { + compatible = "qcom,sm8150-videocc"; + reg = <0 0x0ab00000 0 0x10000>; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&gcc GCC_VIDEO_AHB_CLK>; + power-domains = <&rpmhpd SM8150_MMCX>; + required-opps = <&rpmhpd_opp_low_svs>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + camnoc_virt: interconnect@ac00000 { compatible = "qcom,sm8150-camnoc-virt"; reg = <0 0x0ac00000 0 0x1000>;