diff options
author | Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> | 2019-06-03 10:24:32 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2019-06-27 10:56:27 +0100 |
commit | 2a6a7aacd4e557a4c7007f8858bcc9654b098fea (patch) | |
tree | 3b0ecedd2e3c7acef6a8a6bdf4a2572454f4e124 /include/linux/mfd/rohm-generic.h | |
parent | a188339ca5a396acc588e5851ed7e19f66b0ebd9 (diff) |
mfd: regulator: clk: Split rohm-bd718x7.h
Split the bd718x7.h to ROHM common and bd718x7 specific parts
so that we do not need to add same things in every new ROHM
PMIC header. Please note that this change requires changes also
in bd718x7 sub-device drivers for regulators and clk.
Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Acked-by: Mark Brown <broonie@kernel.org>
Acked-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd/rohm-generic.h')
-rw-r--r-- | include/linux/mfd/rohm-generic.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/linux/mfd/rohm-generic.h b/include/linux/mfd/rohm-generic.h new file mode 100644 index 000000000000..bff15ac26f2c --- /dev/null +++ b/include/linux/mfd/rohm-generic.h @@ -0,0 +1,20 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* Copyright (C) 2018 ROHM Semiconductors */ + +#ifndef __LINUX_MFD_ROHM_H__ +#define __LINUX_MFD_ROHM_H__ + +enum { + ROHM_CHIP_TYPE_BD71837 = 0, + ROHM_CHIP_TYPE_BD71847, + ROHM_CHIP_TYPE_BD70528, + ROHM_CHIP_TYPE_AMOUNT +}; + +struct rohm_regmap_dev { + unsigned int chip_type; + struct device *dev; + struct regmap *regmap; +}; + +#endif |