clk: sunxi-ng: Add common infrastructure

Start our new clock infrastructure by adding the registration code, common
structure and common code.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Michael Turquette <mturquette@baylibre.com>
Link: lkml.kernel.org/r/20160629190535.11855-3-maxime.ripard@free-electrons.com
This commit is contained in:
Maxime Ripard
2016-06-29 21:05:23 +02:00
zatwierdzone przez Michael Turquette
rodzic c0692d68a8
commit 1d80c14248
9 zmienionych plików z 293 dodań i 0 usunięć

Wyświetl plik

@@ -0,0 +1,15 @@
#ifndef _CCU_MULT_H_
#define _CCU_MULT_H_
struct _ccu_mult {
u8 shift;
u8 width;
};
#define _SUNXI_CCU_MULT(_shift, _width) \
{ \
.shift = _shift, \
.width = _width, \
}
#endif /* _CCU_MULT_H_ */