Skip to content

Commit

Permalink
dt-bindings: clock: Introduce SC7180 QCOM Video clock bindings
Browse files Browse the repository at this point in the history
Add device tree bindings for video clock controller for
Qualcomm Technology Inc's SC7180 SoCs.

Signed-off-by: Taniya Das <tdas@codeaurora.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lkml.kernel.org/r/1577428714-17766-6-git-send-email-tdas@codeaurora.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
  • Loading branch information
Taniya Das authored and Stephen Boyd committed Jan 5, 2020
1 parent 35d26e9 commit 4cc62eb
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions Documentation/devicetree/bindings/clock/qcom,videocc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ description: |
properties:
compatible:
enum:
- qcom,sc7180-videocc
- qcom,sdm845-videocc

clocks:
Expand Down
23 changes: 23 additions & 0 deletions include/dt-bindings/clock/qcom,videocc-sc7180.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2019, The Linux Foundation. All rights reserved.
*/

#ifndef _DT_BINDINGS_CLK_QCOM_VIDEO_CC_SC7180_H
#define _DT_BINDINGS_CLK_QCOM_VIDEO_CC_SC7180_H

/* VIDEO_CC clocks */
#define VIDEO_PLL0 0
#define VIDEO_CC_VCODEC0_AXI_CLK 1
#define VIDEO_CC_VCODEC0_CORE_CLK 2
#define VIDEO_CC_VENUS_AHB_CLK 3
#define VIDEO_CC_VENUS_CLK_SRC 4
#define VIDEO_CC_VENUS_CTL_AXI_CLK 5
#define VIDEO_CC_VENUS_CTL_CORE_CLK 6
#define VIDEO_CC_XO_CLK 7

/* VIDEO_CC GDSCRs */
#define VENUS_GDSC 0
#define VCODEC0_GDSC 1

#endif

0 comments on commit 4cc62eb

Please sign in to comment.