Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4589782pxf; Tue, 16 Mar 2021 18:30:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjAYib7m7Cr8xJKLoJQuIrK1GnV/4Ij6O2GHx4QFr2WaSXlfGfwgSoiDST1bH2NW+6Xnit X-Received: by 2002:a17:906:e0d6:: with SMTP id gl22mr32361850ejb.444.1615944628868; Tue, 16 Mar 2021 18:30:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615944628; cv=none; d=google.com; s=arc-20160816; b=Jr4ajW04hzzL8Ex2Dgbw0JNsbUXFKbnGNJipjQM+6Kz7JL55uEWrZrUtxLyhDkeDxD yE0xOokhXo+Cq/uidoqQH4pf6WX2Iaba9BEGqxhKuHfXDNSCchcql5Sw4PRsEEs2Qi0O xUwmr9NvWi3BfuAcTzqvqnGu3mpsxrjfU/32Pdp5uwsOmk1tE2Xe13Xc7QHMNzpfeqN3 oHYSGaDIyW+1jJqsFWVfe5yASyTrJZJ/I5kB3f1wCtbJoWbKxA9/uH3qg65oE56Xbst1 mDW90HErlP9UugXIh+JYEpK4VQy43qjoe2ZdrjoOJa0RVuUzFpokV2LHh6DFY/fpAO2X ATaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dmarc-filter:sender:dkim-signature; bh=37Lq06s3g+b8PSQN+S/QrlFkk9CR1C0E/BlAVdOu0es=; b=o2tPbLfXjhl0Eg3JJ8X7jFQHaNBH2W9AsyohmPsClpL3mDyPkxiqZwIC7S46H7TqB3 KabsTHmxu1/4/Q+1/ppB9dyAQXbjjalRcQuuMjyTQ9x8wX2tPDFV45sEYiBEcLfq+Rdy macRqmbJyJWstfxmUJltOOOlwjkZ+w2L5je+pi7Vnx9C7v9Ma94Tg98nN6INi3WDRUWq lDHunH1JMBkW0OIBOeGKlwWzbWt74ayNmdJDmHGiwbeZOVYMEUrlV3g67ARi7oQ4xWJC gW5DlH4LpCNAWI3OKIHG7VX54LLiFnk9mD4hqzwxjldvB5ew+99Kt+wz+3e9COsYdh9w 3I8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=MusyGQwX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i8si14859575edy.129.2021.03.16.18.29.43; Tue, 16 Mar 2021 18:30:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=MusyGQwX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230526AbhCQB2Z (ORCPT + 99 others); Tue, 16 Mar 2021 21:28:25 -0400 Received: from a0.mail.mailgun.net ([198.61.254.59]:31672 "EHLO a0.mail.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230332AbhCQB17 (ORCPT ); Tue, 16 Mar 2021 21:27:59 -0400 X-Greylist: delayed 303 seconds by postgrey-1.27 at vger.kernel.org; Tue, 16 Mar 2021 21:27:53 EDT DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1615944479; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=37Lq06s3g+b8PSQN+S/QrlFkk9CR1C0E/BlAVdOu0es=; b=MusyGQwX7ftBY2HnzJMOVOxD5iAuxC4lW7HHzqDr9WXbibHYzgXCJqttAcAkN4zceJZMS6Vy unTsk8euqJFlDzIAGTu2+PJLdUGtVilwOEEffDomHimReToYuZV13dVNgfqU6hti58N95qI5 0ovd1AybpiflUPR2ZpXBwbJNCNo= X-Mailgun-Sending-Ip: 198.61.254.59 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n02.prod.us-west-2.postgun.com with SMTP id 605159f121031618f693abf8 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Wed, 17 Mar 2021 01:22:57 GMT Sender: tdas=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id DCF8EC43467; Wed, 17 Mar 2021 01:22:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 Received: from tdas-linux.qualcomm.com (unknown [202.46.22.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: tdas) by smtp.codeaurora.org (Postfix) with ESMTPSA id C9B1FC433C6; Wed, 17 Mar 2021 01:22:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org C9B1FC433C6 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=tdas@codeaurora.org From: Taniya Das To: Stephen Boyd , =?UTF-8?q?Michael=20Turquette=20=C2=A0?= Cc: Rajendra Nayak , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh@kernel.org, robh+dt@kernel.org, Taniya Das Subject: [PATCH v1 5/6] dt-bindings: clock: Add SC7280 VideoCC clock binding Date: Wed, 17 Mar 2021 06:52:21 +0530 Message-Id: <1615944142-12171-6-git-send-email-tdas@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1615944142-12171-1-git-send-email-tdas@codeaurora.org> References: <1615944142-12171-1-git-send-email-tdas@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add device tree bindings for video clock subsystem clock controller for Qualcomm Technology Inc's SC7280 SoCs. Signed-off-by: Taniya Das --- .../devicetree/bindings/clock/qcom,videocc.yaml | 4 +++- include/dt-bindings/clock/qcom,videocc-sc7280.h | 27 ++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 include/dt-bindings/clock/qcom,videocc-sc7280.h diff --git a/Documentation/devicetree/bindings/clock/qcom,videocc.yaml b/Documentation/devicetree/bindings/clock/qcom,videocc.yaml index 5672029..dc90d82 100644 --- a/Documentation/devicetree/bindings/clock/qcom,videocc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,videocc.yaml @@ -11,10 +11,11 @@ maintainers: description: | Qualcomm video clock control module which supports the clocks, resets and - power domains on SDM845/SC7180/SM8150/SM8250. + power domains on SDM845/SC7180/SC7280/SM8150/SM8250. See also: dt-bindings/clock/qcom,videocc-sc7180.h + dt-bindings/clock/qcom,videocc-sc7280.h dt-bindings/clock/qcom,videocc-sdm845.h dt-bindings/clock/qcom,videocc-sm8150.h dt-bindings/clock/qcom,videocc-sm8250.h @@ -23,6 +24,7 @@ properties: compatible: enum: - qcom,sc7180-videocc + - qcom,sc7280-videocc - qcom,sdm845-videocc - qcom,sm8150-videocc - qcom,sm8250-videocc diff --git a/include/dt-bindings/clock/qcom,videocc-sc7280.h b/include/dt-bindings/clock/qcom,videocc-sc7280.h new file mode 100644 index 0000000..c976d85 --- /dev/null +++ b/include/dt-bindings/clock/qcom,videocc-sc7280.h @@ -0,0 +1,27 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2021, The Linux Foundation. All rights reserved. + */ + +#ifndef _DT_BINDINGS_CLK_QCOM_VIDEO_CC_SC7280_H +#define _DT_BINDINGS_CLK_QCOM_VIDEO_CC_SC7280_H + +/* VIDEO_CC clocks */ +#define VIDEO_PLL0 0 +#define VIDEO_CC_IRIS_AHB_CLK 1 +#define VIDEO_CC_IRIS_CLK_SRC 2 +#define VIDEO_CC_MVS0_AXI_CLK 3 +#define VIDEO_CC_MVS0_CORE_CLK 4 +#define VIDEO_CC_MVSC_CORE_CLK 5 +#define VIDEO_CC_MVSC_CTL_AXI_CLK 6 +#define VIDEO_CC_SLEEP_CLK 7 +#define VIDEO_CC_SLEEP_CLK_SRC 8 +#define VIDEO_CC_VENUS_AHB_CLK 9 +#define VIDEO_CC_XO_CLK 10 +#define VIDEO_CC_XO_CLK_SRC 11 + +/* VIDEO_CC power domains */ +#define MVS0_GDSC 0 +#define MVSC_GDSC 1 + +#endif -- Qualcomm INDIA, on behalf of Qualcomm Innovation Center, Inc.is a member of the Code Aurora Forum, hosted by the Linux Foundation.