From patchwork Fri May 19 15:55:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagadeesh Kona X-Patchwork-Id: 9584 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1345985vqo; Fri, 19 May 2023 09:07:12 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6G8LLHi9/jtWSmNf+KcM1Dgzv74d5N7f/CipGaMJ2hejvv9Hj6AnHodzUoTSoBb4n3YoSL X-Received: by 2002:a17:902:8d8a:b0:1ad:7bc5:b9ea with SMTP id v10-20020a1709028d8a00b001ad7bc5b9eamr2606627plo.60.1684512431782; Fri, 19 May 2023 09:07:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684512431; cv=none; d=google.com; s=arc-20160816; b=EqMZBQCEo81cHWvPpMODjcfBLJYphxugXpa5NnPk2FfJJHVuJlz2v62l8LppdQdT2k hxKk0Nv4vh/I0t+XkQ4S7AXzAAQ0z4aQFz/6eZciuCXB5COH59Vx+YdYxMNT7dM2cL1J oq9fX53cTaBwFOqdqnTXZkCYskFVNrt4zzCAqya5V3SdxllVbyCIJmMNNwKusCGT34kQ k1Q049WOOg2w/g5uYSVedWDZ8rySVeUzctbrxvt2VXpJp/duHAh7xTqFB9T8m8zc6Ex2 aVlz3nHH9eJs15ZZr0qlky8y7qXTv4Oq01zO1onEQoZw4Q6jJ3W3fkXLc91+cJU5ijU0 V9Zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Ir5dN+oTdbW+JR+3BqIxqPzQO7UKaVyQxIbd3sYGDc8=; b=AFNYdqKwfDWWYYXXynkxPIBcGpdZJC8ncUTJwdid+K8jwu9Ifgf1AQAEMeL1jNqw61 mOCYH8TEDskZp74agwBB0Dl77S9IJIrpy2wUN/121o6ESEr0+vE9d5uXUBuIA+H/0SC1 iwp7dd8pHDnBQIo5+wMMP7Vg2NCUkCzH4pZKbAy5EZrPS+92NGYzDamWqFhEFcF7Yj/3 brdLIwWbnQK2VYb30DbRPHYIto+mQHnN8WlWK5XtKS/694FiWfIStapM9tDAQp85vkEc agVZgswp/qU3Fdhba50pIzEq0fUrP6MDhuC4Iv3/IvmU1mGti+wE2SL2bgHd/mxvcXA5 vuEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="LT/VNA4v"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 9-20020a170902c24900b001ac6430f68csi3824402plg.96.2023.05.19.09.06.57; Fri, 19 May 2023 09:07:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="LT/VNA4v"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232286AbjESP5G (ORCPT + 99 others); Fri, 19 May 2023 11:57:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230251AbjESP5F (ORCPT ); Fri, 19 May 2023 11:57:05 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04D65FE; Fri, 19 May 2023 08:57:03 -0700 (PDT) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34JEJl8U020360; Fri, 19 May 2023 15:57:00 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=Ir5dN+oTdbW+JR+3BqIxqPzQO7UKaVyQxIbd3sYGDc8=; b=LT/VNA4vtefSyn5SRRedm2dY7F+vQsBF2Ehs4uAYYqsa0oSEkOJQXv3vM4LeRhZ4F7B3 z7KMhhaT3/9PaDVeBDY2HBk7Ys163mWQUWTMTzppGInLol44sZaXD9NATkvq/YNujfJR tA+2zbmxRqXRAFdIJqmrrIWjH3kIyD6Y+u2LFLVKTOT6fF7zR14g2a7f1oACtXVaxctL GAqdkbfnTZ416/8/67Yfc1Yt/D7+z75EpyoBm25pvBv8ehKaiBVFVP1LRE758eFkgKE8 T1cpDqNqylE+tcMB1tLNWuIzGVjpA52OlJemz3VMnmLpAWY7Z0WuTFL0TCB5zthjk+wt pw== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qp57y10s6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 19 May 2023 15:57:00 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 34JFuxxv023410 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 19 May 2023 15:56:59 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.986.42; Fri, 19 May 2023 08:56:54 -0700 From: Jagadeesh Kona To: Andy Gross , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: Bjorn Andersson , Konrad Dybcio , , , , , Taniya Das , "Jagadeesh Kona" , Satya Priya Kakitapalli Subject: [PATCH 0/4] Add camera clock controller support for SM8550 Date: Fri, 19 May 2023 21:25:58 +0530 Message-ID: <20230519155602.6642-1-quic_jkona@quicinc.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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-GUID: lbL1ZCNEt8-lfYA2VjfniPKRJYYXgv5w X-Proofpoint-ORIG-GUID: lbL1ZCNEt8-lfYA2VjfniPKRJYYXgv5w X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-19_11,2023-05-17_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=922 phishscore=0 spamscore=0 lowpriorityscore=0 malwarescore=0 mlxscore=0 clxscore=1011 priorityscore=1501 bulkscore=0 impostorscore=0 suspectscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305190135 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766339308012804187?= X-GMAIL-MSGID: =?utf-8?q?1766339308012804187?= Add bindings, driver and devicetree node for camera clock controller on SM8550. Depends on [1] for lucid ole pll ops definition [1] https://patchwork.kernel.org/project/linux-clk/list/?series=746186&state=%2A&archive=both Jagadeesh Kona (4): clk: qcom: clk-alpha-pll: Add support for rivian ole pll ops dt-bindings: clock: qcom: Add SM8550 camera clock controller clk: qcom: camcc-sm8550: Add camera clock controller driver for SM8550 arm64: dts: qcom: sm8550: Add camera clock controller .../bindings/clock/qcom,sm8550-camcc.yaml | 82 + arch/arm64/boot/dts/qcom/sm8550.dtsi | 15 + drivers/clk/qcom/Kconfig | 7 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/camcc-sm8550.c | 3572 +++++++++++++++++ drivers/clk/qcom/clk-alpha-pll.h | 4 + include/dt-bindings/clock/qcom,sm8550-camcc.h | 187 + 7 files changed, 3868 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/qcom,sm8550-camcc.yaml create mode 100644 drivers/clk/qcom/camcc-sm8550.c create mode 100644 include/dt-bindings/clock/qcom,sm8550-camcc.h