summaryrefslogtreecommitdiffstats
path: root/drivers/clk/meson/gxbb-aoclk.h
blob: c514493d989a63b5969aeb78d6f04a20afd908e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Copyright (c) 2017 BayLibre, SAS
 * Author: Neil Armstrong <narmstrong@baylibre.com>
 */

#ifndef __GXBB_AOCLKC_H
#define __GXBB_AOCLKC_H

#define NR_CLKS	7

/* AO Configuration Clock registers offsets */
#define AO_RTI_PWR_CNTL_REG1	0x0c
#define AO_RTI_PWR_CNTL_REG0	0x10
#define AO_RTI_GEN_CNTL_REG0	0x40
#define AO_OSCIN_CNTL		0x58
#define AO_CRT_CLK_CNTL1	0x68
#define AO_RTC_ALT_CLK_CNTL0	0x94
#define AO_RTC_ALT_CLK_CNTL1	0x98

struct aoclk_cec_32k {
	struct clk_hw hw;
	struct regmap *regmap;
};

#define to_aoclk_cec_32k(_hw) container_of(_hw, struct aoclk_cec_32k, hw)

extern const struct clk_ops meson_aoclk_cec_32k_ops;

#include <dt-bindings/clock/gxbb-aoclkc.h>
#include <dt-bindings/reset/gxbb-aoclkc.h>

#endif /* __GXBB_AOCLKC_H */
pan>3-3/+3 | * xen: fix poll misannotationAl Viro2018-02-011-1/+1 | * smc: missing poll annotationsAl Viro2018-02-011-1/+1 * | Merge tag 'xtensa-20180211' of git://github.com/jcmvbkbc/linux-xtensaLinus Torvalds2018-02-111-0/+2 |\ \ | * | xtensa: fix build with KASANMax Filippov2018-02-111-0/+2 * | | Merge tag 'nios2-v4.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds2018-02-113-10/+8Star |\ \ \ | |/ / |/| | | * | nios2: defconfig: Cleanup from old Kconfig optionsKrzysztof Kozlowski2018-02-112-2/+0Star | * | nios2: dts: Remove leading 0x and 0s from bindings notationMathieu Malaterre2018-02-111-8/+8 * | | Merge tag 'pci-v4.16-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds2018-02-101-2/+3 |\ \ \ | * | | powerpc/pci: Fix broken INTx configuration via OFAlexey Kardashevskiy2018-02-101-2/+3 * | | | Merge tag 'for-linus-20180210' of git://git.kernel.dk/linux-blockLinus Torvalds2018-02-1012-63/+212 |\ \ \ \ | * \ \ \ Merge branch 'for-linus' into testJens Axboe2018-02-0712-63/+212 | |\ \ \ \ | | * | | | block, bfq: add requeue-request hookPaolo Valente2018-02-071-25/+82 | | * | | | bcache: fix for data collapse after re-attaching an attached deviceTang Junhui2018-02-073-7/+11 | | * | | | bcache: return attach error when no cache set existTang Junhui2018-02-071-2/+3 | | * | | | bcache: set writeback_rate_update_seconds in range [1, 60] secondsColy Li2018-02-073-2/+7 | | * | | | bcache: fix for allocator and register thread raceTang Junhui2018-02-072-4/+18 | | * | | | bcache: set error_limit correctlyColy Li2018-02-073-3/+4 | | * | | | bcache: properly set task state in bch_writeback_thread()Coly Li2018-02-072-3/+8 | | * | | | bcache: fix high CPU occupancy during journalTang Junhui2018-02-073-15/+36 | | * | | | bcache: add journal statisticTang Junhui2018-02-073-0/+24 | | * | | | block: Add should_fail_bio() for bpf error injectionHoward McLauchlan2018-02-061-1/+10 | | * | | | blk-wbt: account flush requests correctlyJens Axboe2018-02-061-1/+9 | * | | | | Merge branch 'master' into testJens Axboe2018-02-07