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

ARM: dts: vcu: define indexes for output clocks

The VCU System-Level Control has 4 output clocks. Define indexes for
these clocks to allow to reference them in the device tree.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Stephen Boyd <sboyd@kernel.org>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/20210121071659.1226489-2-m.tretter@pengutronix.de
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Michael Tretter and committed by
Stephen Boyd
bc6b9dc7 6ba7ea76

+15
+15
include/dt-bindings/clock/xlnx-vcu.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 + /* 3 + * Copyright (C) 2020 Pengutronix, Michael Tretter <kernel@pengutronix.de> 4 + */ 5 + 6 + #ifndef _DT_BINDINGS_CLOCK_XLNX_VCU_H 7 + #define _DT_BINDINGS_CLOCK_XLNX_VCU_H 8 + 9 + #define CLK_XVCU_ENC_CORE 0 10 + #define CLK_XVCU_ENC_MCU 1 11 + #define CLK_XVCU_DEC_CORE 2 12 + #define CLK_XVCU_DEC_MCU 3 13 + #define CLK_XVCU_NUM_CLOCKS 4 14 + 15 + #endif /* _DT_BINDINGS_CLOCK_XLNX_VCU_H */