~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/linux/regulator/act8865.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/linux/regulator/act8865.h (Architecture m68k) and /include/linux/regulator/act8865.h (Architecture sparc64)


  1 /* SPDX-License-Identifier: GPL-2.0-only */         1 /* SPDX-License-Identifier: GPL-2.0-only */
  2 /*                                                  2 /*
  3  * act8865.h  --  Voltage regulation for activ      3  * act8865.h  --  Voltage regulation for active-semi act88xx PMUs
  4  *                                                  4  *
  5  * Copyright (C) 2013 Atmel Corporation.            5  * Copyright (C) 2013 Atmel Corporation.
  6  */                                                 6  */
  7                                                     7 
  8 #ifndef __LINUX_REGULATOR_ACT8865_H                 8 #ifndef __LINUX_REGULATOR_ACT8865_H
  9 #define __LINUX_REGULATOR_ACT8865_H                 9 #define __LINUX_REGULATOR_ACT8865_H
 10                                                    10 
 11 #include <linux/regulator/machine.h>               11 #include <linux/regulator/machine.h>
 12                                                    12 
 13 enum {                                             13 enum {
 14         ACT8600_ID_DCDC1,                          14         ACT8600_ID_DCDC1,
 15         ACT8600_ID_DCDC2,                          15         ACT8600_ID_DCDC2,
 16         ACT8600_ID_DCDC3,                          16         ACT8600_ID_DCDC3,
 17         ACT8600_ID_SUDCDC4,                        17         ACT8600_ID_SUDCDC4,
 18         ACT8600_ID_LDO5,                           18         ACT8600_ID_LDO5,
 19         ACT8600_ID_LDO6,                           19         ACT8600_ID_LDO6,
 20         ACT8600_ID_LDO7,                           20         ACT8600_ID_LDO7,
 21         ACT8600_ID_LDO8,                           21         ACT8600_ID_LDO8,
 22         ACT8600_ID_LDO9,                           22         ACT8600_ID_LDO9,
 23         ACT8600_ID_LDO10,                          23         ACT8600_ID_LDO10,
 24 };                                                 24 };
 25                                                    25 
 26 enum {                                             26 enum {
 27         ACT8865_ID_DCDC1,                          27         ACT8865_ID_DCDC1,
 28         ACT8865_ID_DCDC2,                          28         ACT8865_ID_DCDC2,
 29         ACT8865_ID_DCDC3,                          29         ACT8865_ID_DCDC3,
 30         ACT8865_ID_LDO1,                           30         ACT8865_ID_LDO1,
 31         ACT8865_ID_LDO2,                           31         ACT8865_ID_LDO2,
 32         ACT8865_ID_LDO3,                           32         ACT8865_ID_LDO3,
 33         ACT8865_ID_LDO4,                           33         ACT8865_ID_LDO4,
 34         ACT8865_REG_NUM,                           34         ACT8865_REG_NUM,
 35 };                                                 35 };
 36                                                    36 
 37 enum {                                             37 enum {
 38         ACT8846_ID_REG1,                           38         ACT8846_ID_REG1,
 39         ACT8846_ID_REG2,                           39         ACT8846_ID_REG2,
 40         ACT8846_ID_REG3,                           40         ACT8846_ID_REG3,
 41         ACT8846_ID_REG4,                           41         ACT8846_ID_REG4,
 42         ACT8846_ID_REG5,                           42         ACT8846_ID_REG5,
 43         ACT8846_ID_REG6,                           43         ACT8846_ID_REG6,
 44         ACT8846_ID_REG7,                           44         ACT8846_ID_REG7,
 45         ACT8846_ID_REG8,                           45         ACT8846_ID_REG8,
 46         ACT8846_ID_REG9,                           46         ACT8846_ID_REG9,
 47         ACT8846_ID_REG10,                          47         ACT8846_ID_REG10,
 48         ACT8846_ID_REG11,                          48         ACT8846_ID_REG11,
 49         ACT8846_ID_REG12,                          49         ACT8846_ID_REG12,
 50         ACT8846_REG_NUM,                           50         ACT8846_REG_NUM,
 51 };                                                 51 };
 52                                                    52 
 53 enum {                                             53 enum {
 54         ACT8600,                                   54         ACT8600,
 55         ACT8865,                                   55         ACT8865,
 56         ACT8846,                                   56         ACT8846,
 57 };                                                 57 };
 58                                                    58 
 59 /**                                                59 /**
 60  * act8865_regulator_data - regulator data         60  * act8865_regulator_data - regulator data
 61  * @id: regulator id                               61  * @id: regulator id
 62  * @name: regulator name                           62  * @name: regulator name
 63  * @init_data: regulator init data                 63  * @init_data: regulator init data
 64  * @of_node: device tree node (optional)           64  * @of_node: device tree node (optional)
 65  */                                                65  */
 66 struct act8865_regulator_data {                    66 struct act8865_regulator_data {
 67         int id;                                    67         int id;
 68         const char *name;                          68         const char *name;
 69         struct regulator_init_data *init_data;     69         struct regulator_init_data *init_data;
 70         struct device_node *of_node;               70         struct device_node *of_node;
 71 };                                                 71 };
 72                                                    72 
 73 /**                                                73 /**
 74  * act8865_platform_data - platform data for a     74  * act8865_platform_data - platform data for act8865
 75  * @num_regulators: number of regulators used      75  * @num_regulators: number of regulators used
 76  * @regulators: pointer to regulators used         76  * @regulators: pointer to regulators used
 77  */                                                77  */
 78 struct act8865_platform_data {                     78 struct act8865_platform_data {
 79         int num_regulators;                        79         int num_regulators;
 80         struct act8865_regulator_data *regulat     80         struct act8865_regulator_data *regulators;
 81 };                                                 81 };
 82 #endif                                             82 #endif
 83                                                    83 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php