// SPDX-License-Identifier: GPL-2.0-or-later /* * wm8350-regmap.c -- Wolfson Microelectronics WM8350 register map * * This file splits out the tables describing the defaults and access * status of the WM8350 registers since they are rather large. * * Copyright 2007, 2008 Wolfson Microelectronics PLC. */ #include <linux/mfd/wm8350/core.h> /* * Access masks. */ static const struct wm8350_reg_access { … } wm8350_reg_io_map[] = …; static bool wm8350_readable(struct device *dev, unsigned int reg) { … } static bool wm8350_writeable(struct device *dev, unsigned int reg) { … } static bool wm8350_volatile(struct device *dev, unsigned int reg) { … } static bool wm8350_precious(struct device *dev, unsigned int reg) { … } const struct regmap_config wm8350_regmap = …;