[PATCH 01/12] ARM: dts: define indexes for output clocks

Michal Simek michal.simek at xilinx.com
Wed Dec 2 09:33:36 EST 2020



On 16. 11. 20 8:55, Michael Tretter wrote:
> 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 at pengutronix.de>
> ---
>  include/dt-bindings/clock/xlnx-vcu.h | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
>  create mode 100644 include/dt-bindings/clock/xlnx-vcu.h
> 
> diff --git a/include/dt-bindings/clock/xlnx-vcu.h b/include/dt-bindings/clock/xlnx-vcu.h
> new file mode 100644
> index 000000000000..1ed76b9563b6
> --- /dev/null
> +++ b/include/dt-bindings/clock/xlnx-vcu.h
> @@ -0,0 +1,15 @@
> +/* SPDX-License-Identifier: GPL-2.0 */
> +/*
> + * Copyright (C) 2020 Pengutronix, Michael Tretter <kernel at pengutronix.de>
> + */
> +
> +#ifndef _DT_BINDINGS_CLOCK_XLNX_VCU_H
> +#define _DT_BINDINGS_CLOCK_XLNX_VCU_H
> +
> +#define CLK_XVCU_ENC_CORE		0
> +#define CLK_XVCU_ENC_MCU		1
> +#define CLK_XVCU_DEC_CORE		2
> +#define CLK_XVCU_DEC_MCU		3
> +#define CLK_XVCU_NUM_CLOCKS		4
> +
> +#endif /* _DT_BINDINGS_CLOCK_XLNX_VCU_H */
> 

Missing vcu in subject but I can handle it myself if others patches are
fine. If not please fix it in v2.

Thanks,
Michal



More information about the linux-arm-kernel mailing list