linux/drivers/mfd/rz-mtu3.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * MFD internals for Renesas RZ/G2L MTU3 Core driver
 *
 * Copyright (C) 2023 Renesas Electronics Corporation
 */

#ifndef RZ_MTU3_MFD_H
#define RZ_MTU3_MFD_H

#define MTU_8BIT_CH_0(_tier, _nfcr, _tcr, _tcr2, _tmdr1, _tiorh, _tiorl, _tbtm)

#define MTU_8BIT_CH_1_2(_tier, _nfcr, _tsr, _tcr, _tcr2, _tmdr1, _tior) \

#define MTU_8BIT_CH_3_4_6_7(_tier, _nfcr, _tsr, _tcr, _tcr2, _tmdr1, _tiorh, _tiorl, _tbtm) \

#define MTU_8BIT_CH_5(_tier, _nfcr, _tstr, _tcntcmpclr, _tcru, _tcr2u, _tioru, \
		      _tcrv, _tcr2v, _tiorv, _tcrw, _tcr2w, _tiorw) \

#define MTU_8BIT_CH_8(_tier, _nfcr, _tcr, _tcr2, _tmdr1, _tiorh, _tiorl) \

#define MTU_16BIT_CH_0(_tcnt, _tgra, _tgrb, _tgrc, _tgrd, _tgre, _tgrf)

#define MTU_16BIT_CH_1_2(_tcnt, _tgra, _tgrb)

#define MTU_16BIT_CH_3_6(_tcnt, _tgra, _tgrb, _tgrc, _tgrd, _tgre)

#define MTU_16BIT_CH_4_7(_tcnt, _tgra, _tgrb, _tgrc, _tgrd, _tgre, _tgrf, \
			  _tadcr, _tadcora, _tadcorb, _tadcobra, _tadcobrb)

#define MTU_16BIT_CH_5(_tcntu, _tgru, _tcntv, _tgrv, _tcntw, _tgrw)

#define MTU_32BIT_CH_1(_tcntlw, _tgralw, _tgrblw)

#define MTU_32BIT_CH_8(_tcnt, _tgra, _tgrb, _tgrc, _tgrd)

#endif