summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-am33xx/clk_synthesizer.h
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2019-10-30 15:43:26 +0800
committerIru Cai <mytbk920423@gmail.com>2019-10-30 15:43:26 +0800
commita899a6c0ed9a3066557fb170850f977b6bd7366f (patch)
tree78f7b1166fc1bd0265bcb61990130479528b09c4 /arch/arm/include/asm/arch-am33xx/clk_synthesizer.h
parent1a691f101632955a994a0198fc5498b108e97fbc (diff)
downloaduext4-a899a6c0ed9a3066557fb170850f977b6bd7366f.tar.xz
rm arch/arm/include/asm/arch-*
Diffstat (limited to 'arch/arm/include/asm/arch-am33xx/clk_synthesizer.h')
-rw-r--r--arch/arm/include/asm/arch-am33xx/clk_synthesizer.h42
1 files changed, 0 insertions, 42 deletions
diff --git a/arch/arm/include/asm/arch-am33xx/clk_synthesizer.h b/arch/arm/include/asm/arch-am33xx/clk_synthesizer.h
deleted file mode 100644
index 6579cc0..0000000
--- a/arch/arm/include/asm/arch-am33xx/clk_synthesizer.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * clk-synthesizer.h
- *
- * Clock synthesizer header
- *
- * Copyright (C) 2016, Texas Instruments, Incorporated - http://www.ti.com/
- */
-
-#ifndef __CLK_SYNTHESIZER_H
-#define __CLK_SYNTHESIZER_H
-
-#include <common.h>
-
-#define CLK_SYNTHESIZER_ID_REG 0x0
-#define CLK_SYNTHESIZER_XCSEL 0x05
-#define CLK_SYNTHESIZER_MUX_REG 0x14
-#define CLK_SYNTHESIZER_PDIV2_REG 0x16
-#define CLK_SYNTHESIZER_PDIV3_REG 0x17
-
-#define CLK_SYNTHESIZER_BYTE_MODE 0x80
-
-/**
- * struct clk_synth: This structure holds data neeed for configuring
- * for clock synthesizer.
- * @id: The id of synthesizer
- * @capacitor: value of the capacitor attached
- * @mux: mux settings.
- * @pdiv2: Div to be applied to second output
- * @pdiv3: Div to be applied to third output
- */
-struct clk_synth {
- u32 id;
- u32 capacitor;
- u32 mux;
- u32 pdiv2;
- u32 pdiv3;
-};
-
-int setup_clock_synthesizer(struct clk_synth *data);
-
-#endif