Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: clock: add SM8150 QCOM Graphics clock bindings

Add device tree bindings for graphics clock controller for
Qualcomm Technology Inc's SM8150 SoCs.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20200709135251.643-8-jonathan@marek.ca
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Jonathan Marek and committed by
Stephen Boyd
f793e454 23e2653e

+36 -1
+3 -1
Documentation/devicetree/bindings/clock/qcom,gpucc.yaml
··· 11 11 12 12 description: | 13 13 Qualcomm graphics clock control module which supports the clocks, resets and 14 - power domains on SDM845/SC7180. 14 + power domains on SDM845/SC7180/SM8150. 15 15 16 16 See also: 17 17 dt-bindings/clock/qcom,gpucc-sdm845.h 18 18 dt-bindings/clock/qcom,gpucc-sc7180.h 19 + dt-bindings/clock/qcom,gpucc-sm8150.h 19 20 20 21 properties: 21 22 compatible: 22 23 enum: 23 24 - qcom,sdm845-gpucc 24 25 - qcom,sc7180-gpucc 26 + - qcom,sm8150-gpucc 25 27 26 28 clocks: 27 29 items:
+33
include/dt-bindings/clock/qcom,gpucc-sm8150.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 + /* 3 + * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved. 4 + */ 5 + 6 + #ifndef _DT_BINDINGS_CLK_QCOM_GPU_CC_SM8150_H 7 + #define _DT_BINDINGS_CLK_QCOM_GPU_CC_SM8150_H 8 + 9 + /* GPU_CC clock registers */ 10 + #define GPU_CC_AHB_CLK 0 11 + #define GPU_CC_CRC_AHB_CLK 1 12 + #define GPU_CC_CX_APB_CLK 2 13 + #define GPU_CC_CX_GMU_CLK 3 14 + #define GPU_CC_CX_SNOC_DVM_CLK 4 15 + #define GPU_CC_CXO_AON_CLK 5 16 + #define GPU_CC_CXO_CLK 6 17 + #define GPU_CC_GMU_CLK_SRC 7 18 + #define GPU_CC_GX_GMU_CLK 8 19 + #define GPU_CC_PLL1 9 20 + 21 + /* GPU_CC Resets */ 22 + #define GPUCC_GPU_CC_CX_BCR 0 23 + #define GPUCC_GPU_CC_GFX3D_AON_BCR 1 24 + #define GPUCC_GPU_CC_GMU_BCR 2 25 + #define GPUCC_GPU_CC_GX_BCR 3 26 + #define GPUCC_GPU_CC_SPDM_BCR 4 27 + #define GPUCC_GPU_CC_XO_BCR 5 28 + 29 + /* GPU_CC GDSCRs */ 30 + #define GPU_CX_GDSC 0 31 + #define GPU_GX_GDSC 1 32 + 33 + #endif