linux/drivers/pmdomain/actions/owl-sps.c

// SPDX-License-Identifier: GPL-2.0+
/*
 * Actions Semi Owl Smart Power System (SPS)
 *
 * Copyright 2012 Actions Semi Inc.
 * Author: Actions Semi, Inc.
 *
 * Copyright (c) 2017 Andreas Färber
 */

#include <linux/mod_devicetable.h>
#include <linux/of_address.h>
#include <linux/platform_device.h>
#include <linux/property.h>
#include <linux/pm_domain.h>
#include <linux/soc/actions/owl-sps.h>
#include <dt-bindings/power/owl-s500-powergate.h>
#include <dt-bindings/power/owl-s700-powergate.h>
#include <dt-bindings/power/owl-s900-powergate.h>

struct owl_sps_domain_info {};

struct owl_sps_info {};

struct owl_sps {};

#define to_owl_pd(gpd)

struct owl_sps_domain {};

static int owl_sps_set_power(struct owl_sps_domain *pd, bool enable)
{}

static int owl_sps_power_on(struct generic_pm_domain *domain)
{}

static int owl_sps_power_off(struct generic_pm_domain *domain)
{}

static int owl_sps_init_domain(struct owl_sps *sps, int index)
{}

static int owl_sps_probe(struct platform_device *pdev)
{}

static const struct owl_sps_domain_info s500_sps_domains[] =;

static const struct owl_sps_info s500_sps_info =;

static const struct owl_sps_domain_info s700_sps_domains[] =;

static const struct owl_sps_info s700_sps_info =;

static const struct owl_sps_domain_info s900_sps_domains[] =;

static const struct owl_sps_info s900_sps_info =;

static const struct of_device_id owl_sps_of_matches[] =;

static struct platform_driver owl_sps_platform_driver =;

static int __init owl_sps_init(void)
{}
postcore_initcall(owl_sps_init);