diff options
author | Chen-Yu Tsai <wens@csie.org> | 2017-01-28 20:22:35 +0800 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-01-30 08:37:51 +0100 |
commit | 439b65c4bb66564e46a8df38c06863ee7cecb4e4 (patch) | |
tree | 61831f6418fc174e8441edb71b71fe2ccd41975e /drivers/clk/sunxi-ng/ccu-sun9i-a80-usb.h | |
parent | b8eb71dcdd0817ce75f2874301a068fb211dab41 (diff) | |
download | talos-op-linux-439b65c4bb66564e46a8df38c06863ee7cecb4e4.tar.gz talos-op-linux-439b65c4bb66564e46a8df38c06863ee7cecb4e4.zip |
clk: sunxi-ng: Add A80 USB CCU
Add support for the USB clock controls found on the A80.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'drivers/clk/sunxi-ng/ccu-sun9i-a80-usb.h')
-rw-r--r-- | drivers/clk/sunxi-ng/ccu-sun9i-a80-usb.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/drivers/clk/sunxi-ng/ccu-sun9i-a80-usb.h b/drivers/clk/sunxi-ng/ccu-sun9i-a80-usb.h new file mode 100644 index 000000000000..a184280ba854 --- /dev/null +++ b/drivers/clk/sunxi-ng/ccu-sun9i-a80-usb.h @@ -0,0 +1,25 @@ +/* + * Copyright 2016 Chen-Yu Tsai + * + * Chen-Yu Tsai <wens@csie.org> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#ifndef _CCU_SUN9I_A80_USB_H_ +#define _CCU_SUN9I_A80_USB_H_ + +#include <dt-bindings/clock/sun9i-a80-usb.h> +#include <dt-bindings/reset/sun9i-a80-usb.h> + +#define CLK_NUMBER (CLK_USB_HSIC + 1) + +#endif /* _CCU_SUN9I_A80_USB_H_ */ |