linux/drivers/mfd/intel-lpss.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Intel LPSS core support.
 *
 * Copyright (C) 2015, Intel Corporation
 *
 * Authors: Andy Shevchenko <[email protected]>
 *          Mika Westerberg <[email protected]>
 */

#ifndef __MFD_INTEL_LPSS_H
#define __MFD_INTEL_LPSS_H

#include <linux/bits.h>
#include <linux/pm.h>

/*
 * Some DSDTs have an unused GEXP ACPI device conflicting with I2C4 resources.
 * Set to ignore resource conflicts with ACPI declared SystemMemory regions.
 */
#define QUIRK_IGNORE_RESOURCE_CONFLICTS
/*
 * Some devices have misconfigured clock divider due to a firmware bug.
 * Set this to force the clock divider to 1:1 ratio.
 */
#define QUIRK_CLOCK_DIVIDER_UNITY

struct device;
struct resource;
struct software_node;

struct intel_lpss_platform_info {};

int intel_lpss_probe(struct device *dev,
		     const struct intel_lpss_platform_info *info);
void intel_lpss_remove(struct device *dev);

extern const struct dev_pm_ops intel_lpss_pm_ops;

#endif /* __MFD_INTEL_LPSS_H */