/* * System Control Driver * * Copyright (C) 2012 Freescale Semiconductor, Inc. * Copyright (C) 2012 Linaro Ltd. * * Author: Dong Aisheng <dong.aisheng@linaro.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. */ #ifndef __LINUX_MFD_SYSCON_H__ #define __LINUX_MFD_SYSCON_H__ #include <linux/err.h> #include <linux/errno.h> struct device_node; #ifdef CONFIG_MFD_SYSCON extern struct regmap *syscon_node_to_regmap(struct device_node *np); extern struct regmap *syscon_regmap_lookup_by_compatible(const char *s); extern struct regmap *syscon_regmap_lookup_by_pdevname(const char *s); extern struct regmap *syscon_regmap_lookup_by_phandle( struct device_node *np, const char *property); #else
static inline struct regmap *syscon_node_to_regmap(struct device_node *np) { return ERR_PTR(-ENOTSUPP); }Contributors
Person | Tokens | Prop | Commits | CommitProp | |
peter chen | peter chen | 20 | 95.24% | 1 | 50.00% |
philipp zabel | philipp zabel | 1 | 4.76% | 1 | 50.00% |
Total | 21 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
peter chen | peter chen | 20 | 95.24% | 1 | 50.00% |
philipp zabel | philipp zabel | 1 | 4.76% | 1 | 50.00% |
Total | 21 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
peter chen | peter chen | 20 | 95.24% | 1 | 50.00% |
philipp zabel | philipp zabel | 1 | 4.76% | 1 | 50.00% |
Total | 21 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
peter chen | peter chen | 25 | 96.15% | 1 | 50.00% |
philipp zabel | philipp zabel | 1 | 3.85% | 1 | 50.00% |
Total | 26 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
peter chen | peter chen | 92 | 54.76% | 1 | 14.29% |
dong aisheng | dong aisheng | 51 | 30.36% | 1 | 14.29% |
alexander shiyan | alexander shiyan | 12 | 7.14% | 1 | 14.29% |
philipp zabel | philipp zabel | 4 | 2.38% | 1 | 14.29% |
arnd bergmann | arnd bergmann | 3 | 1.79% | 1 | 14.29% |
sylwester nawrocki | sylwester nawrocki | 3 | 1.79% | 1 | 14.29% |
tushar behera | tushar behera | 3 | 1.79% | 1 | 14.29% |
Total | 168 | 100.00% | 7 | 100.00% |