From patchwork Thu May 5 12:12:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Zapolskiy X-Patchwork-Id: 12839482 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0A08CC433EF for ; Thu, 5 May 2022 12:12:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359771AbiEEMQC (ORCPT ); Thu, 5 May 2022 08:16:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359807AbiEEMQA (ORCPT ); Thu, 5 May 2022 08:16:00 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 443A46412 for ; Thu, 5 May 2022 05:12:21 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id u23so1454008lfc.1 for ; Thu, 05 May 2022 05:12:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=wMFP9xbXKU9qCjb09rvKtkY9jzXqPLU9lN1rg4XJqsQ=; b=S/pUMf30RYMFaQtoD/1K2Y68O18XUwe9DaO1CArZIaAqINB1D/hsUlD29w4dhdQvsA 5gpIAAeSk1tXZ1DmvlGhb0UJ2YYbp35jIOEWvKPhuivbNmOHpJ1j0lrbnpc7ZSMvT6Wj pBz9krEOB5k0MeuVQRJdY3UcU6eKWkyHvFchQ3Dik6OIhkXbsCcKFzf+cuKrIlOO4w3U 0lX9NOKRdg+DPwObzVpcwf8fN03F3//KaWQNRcj7tDnAQUYDJCz9KfHliJweC4x8IcTD aTQn2lI//DTcxsECpig5cmdcsruAGToOxbNlLqgHw00juW6AZf8K+cJuhHdcxwRPHy8o O+Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=wMFP9xbXKU9qCjb09rvKtkY9jzXqPLU9lN1rg4XJqsQ=; b=4LnyEVzJoItLFDYHO1NAdoccGv2IRrINPkjk6tt5Bv6oGmJESe8ETo35au0YfkN1FS d2N8UDDuQae/hdPKXhUMOHDO+QsMmgkRLFish7joChXA8WOp+V1JeOWMR23FWwhNg23i 2T7Zj4TwUfQFSbh/geUalXpItRKy1tk5ZCriy3LFOGfXqc6qtuj9jmJh9dLPU/5ca+0h 2fzYIJFaXylKs7tY7wHSDigeisYabGJ14mareE8cDyYVcD0oA5fg6Mv4JiHjsqbXNGhS fRmirfRa5pe6lQE19dhgP2YYy38Kf3DkfbviDlIZO6U9XPlUGDHIOEKqa01hS7ftSVM6 7EnA== X-Gm-Message-State: AOAM532xG5I9yx3+IimyZvNzmiB7j0CWSkaq+shCfe2WyaGZD+rFIqRT dlDWmg4PnK4y6bYA5bYKUqEhNw== X-Google-Smtp-Source: ABdhPJxr0eQ/85GsrmsA9E2JLKS//xdW7Kxhu2fvHgtWeHURbQSMaXKS5eV7+I/JT3mgKA3/s1N9QA== X-Received: by 2002:a05:6512:301:b0:471:ecd0:ea24 with SMTP id t1-20020a056512030100b00471ecd0ea24mr17415641lfp.71.1651752739638; Thu, 05 May 2022 05:12:19 -0700 (PDT) Received: from localhost.localdomain (mobile-access-5672eb-224.dhcp.inet.fi. [86.114.235.224]) by smtp.gmail.com with ESMTPSA id g20-20020a056512119400b0047255d211fesm187454lfr.301.2022.05.05.05.12.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 May 2022 05:12:19 -0700 (PDT) From: Vladimir Zapolskiy To: Rob Herring , Bjorn Andersson Cc: Andy Gross , Stephen Boyd , Michael Turquette , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH v3 2/7] arm64: dts: qcom: sm8450: Add description of camera clock controller Date: Thu, 5 May 2022 15:12:13 +0300 Message-Id: <20220505121213.4121802-3-vladimir.zapolskiy@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220505121213.4121802-1-vladimir.zapolskiy@linaro.org> References: <20220505121213.4121802-1-vladimir.zapolskiy@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The change adds description of QCOm SM8450 camera clock controller. Signed-off-by: Vladimir Zapolskiy --- Changes from v2 to v3: * account a renamed header file. Changes from v1 to v2: * disabled camcc device tree node by default arch/arm64/boot/dts/qcom/sm8450.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi index 934e29b9e153..dc819f2f7651 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include @@ -1011,6 +1012,25 @@ IPCC_MPROC_SIGNAL_GLINK_QMP }; }; + camcc: clock-controller@ade0000 { + compatible = "qcom,sm8450-camcc"; + reg = <0 0x0ade0000 0 0x20000>; + status = "disabled"; + clocks = <&gcc GCC_CAMERA_AHB_CLK>, + <&rpmhcc RPMH_CXO_CLK>, + <&rpmhcc RPMH_CXO_CLK_A>, + <&sleep_clk>; + clock-names = "iface", + "bi_tcxo", + "bi_tcxo_ao", + "sleep_clk"; + power-domains = <&rpmhpd SM8450_MMCX>; + required-opps = <&rpmhpd_opp_low_svs>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + pdc: interrupt-controller@b220000 { compatible = "qcom,sm8450-pdc", "qcom,pdc"; reg = <0 0x0b220000 0 0x30000>, <0 0x174000f0 0 0x64>;