lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201810280457.kIpnKki4%fengguang.wu@intel.com>
Date:   Sun, 28 Oct 2018 04:30:02 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Matti Vaittinen <matti.vaittinen@...rohmeurope.com>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org,
        Mark Brown <broonie@...nel.org>
Subject: drivers//regulator/bd718x7-regulator.c:364:16: error: implicit
 declaration of function 'of_match_ptr'; did you mean 'hash_ptr'?

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   69d5b97c597307773fe6c59775a5d5a88bb7e6b3
commit: 2ece646c90c5b45dd76c76ea207a3f3459f2c472 regulator: bd718xx: rename bd71837 to 718xx
date:   4 weeks ago
config: x86_64-randconfig-s4-10280315 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout 2ece646c90c5b45dd76c76ea207a3f3459f2c472
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

>> drivers//regulator/bd718x7-regulator.c:364:16: error: implicit declaration of function 'of_match_ptr'; did you mean 'hash_ptr'? [-Werror=implicit-function-declaration]
       .of_match = of_match_ptr("BUCK1"),
                   ^~~~~~~~~~~~
                   hash_ptr
>> drivers//regulator/bd718x7-regulator.c:364:16: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
   drivers//regulator/bd718x7-regulator.c:364:16: note: (near initialization for 'bd71847_regulators[0].desc.of_match')
   drivers//regulator/bd718x7-regulator.c:364:16: error: initializer element is not constant
   drivers//regulator/bd718x7-regulator.c:364:16: note: (near initialization for 'bd71847_regulators[0].desc.of_match')
   drivers//regulator/bd718x7-regulator.c:365:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
       .regulators_node = of_match_ptr("regulators"),
                          ^~~~~~~~~~~~
   drivers//regulator/bd718x7-regulator.c:365:23: note: (near initialization for 'bd71847_regulators[0].desc.regulators_node')
   drivers//regulator/bd718x7-regulator.c:365:23: error: initializer element is not constant
   drivers//regulator/bd718x7-regulator.c:365:23: note: (near initialization for 'bd71847_regulators[0].desc.regulators_node')
   drivers//regulator/bd718x7-regulator.c:388:16: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
       .of_match = of_match_ptr("BUCK2"),
                   ^~~~~~~~~~~~
   drivers//regulator/bd718x7-regulator.c:388:16: note: (near initialization for 'bd71847_regulators[1].desc.of_match')
   drivers//regulator/bd718x7-regulator.c:388:16: error: initializer element is not constant
   drivers//regulator/bd718x7-regulator.c:388:16: note: (near initialization for 'bd71847_regulators[1].desc.of_match')
   drivers//regulator/bd718x7-regulator.c:389:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
       .regulators_node = of_match_ptr("regulators"),
                          ^~~~~~~~~~~~
   drivers//regulator/bd718x7-regulator.c:389:23: note: (near initialization for 'bd71847_regulators[1].desc.regulators_node')
   drivers//regulator/bd718x7-regulator.c:389:23: error: initializer element is not constant
   drivers//regulator/bd718x7-regulator.c:389:23: note: (near initialization for 'bd71847_regulators[1].desc.regulators_node')
   drivers//regulator/bd718x7-regulator.c:411:16: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
       .of_match = of_match_ptr("BUCK3"),
                   ^~~~~~~~~~~~
   drivers//regulator/bd718x7-regulator.c:411:16: note: (near initialization for 'bd71847_regulators[2].desc.of_match')
   drivers//regulator/bd718x7-regulator.c:411:16: error: initializer element is not constant
   drivers//regulator/bd718x7-regulator.c:411:16: note: (near initialization for 'bd71847_regulators[2].desc.of_match')
   drivers//regulator/bd718x7-regulator.c:412:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
       .regulators_node = of_match_ptr("regulators"),
                          ^~~~~~~~~~~~
   drivers//regulator/bd718x7-regulator.c:412:23: note: (near initialization for 'bd71847_regulators[2].desc.regulators_node')
   drivers//regulator/bd718x7-regulator.c:412:23: error: initializer element is not constant
   drivers//regulator/bd718x7-regulator.c:412:23: note: (near initialization for 'bd71847_regulators[2].desc.regulators_node')
   drivers//regulator/bd718x7-regulator.c:438:16: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
       .of_match = of_match_ptr("BUCK4"),
                   ^~~~~~~~~~~~
   drivers//regulator/bd718x7-regulator.c:438:16: note: (near initialization for 'bd71847_regulators[3].desc.of_match')
   drivers//regulator/bd718x7-regulator.c:438:16: error: initializer element is not constant
   drivers//regulator/bd718x7-regulator.c:438:16: note: (near initialization for 'bd71847_regulators[3].desc.of_match')
   drivers//regulator/bd718x7-regulator.c:439:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
       .regulators_node = of_match_ptr("regulators"),
                          ^~~~~~~~~~~~
   drivers//regulator/bd718x7-regulator.c:439:23: note: (near initialization for 'bd71847_regulators[3].desc.regulators_node')
   drivers//regulator/bd718x7-regulator.c:439:23: error: initializer element is not constant
   drivers//regulator/bd718x7-regulator.c:439:23: note: (near initialization for 'bd71847_regulators[3].desc.regulators_node')
   drivers//regulator/bd718x7-regulator.c:465:16: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
       .of_match = of_match_ptr("BUCK5"),
                   ^~~~~~~~~~~~
   drivers//regulator/bd718x7-regulator.c:465:16: note: (near initialization for 'bd71847_regulators[4].desc.of_match')
   drivers//regulator/bd718x7-regulator.c:465:16: error: initializer element is not constant
   drivers//regulator/bd718x7-regulator.c:465:16: note: (near initialization for 'bd71847_regulators[4].desc.of_match')
   drivers//regulator/bd718x7-regulator.c:466:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
       .regulators_node = of_match_ptr("regulators"),
                          ^~~~~~~~~~~~
   drivers//regulator/bd718x7-regulator.c:466:23: note: (near initialization for 'bd71847_regulators[4].desc.regulators_node')
   drivers//regulator/bd718x7-regulator.c:466:23: error: initializer element is not constant
   drivers//regulator/bd718x7-regulator.c:466:23: note: (near initialization for 'bd71847_regulators[4].desc.regulators_node')
   drivers//regulator/bd718x7-regulator.c:487:16: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
       .of_match = of_match_ptr("BUCK6"),
                   ^~~~~~~~~~~~
   drivers//regulator/bd718x7-regulator.c:487:16: note: (near initialization for 'bd71847_regulators[5].desc.of_match')
   drivers//regulator/bd718x7-regulator.c:487:16: error: initializer element is not constant
   drivers//regulator/bd718x7-regulator.c:487:16: note: (near initialization for 'bd71847_regulators[5].desc.of_match')
   drivers//regulator/bd718x7-regulator.c:488:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
       .regulators_node = of_match_ptr("regulators"),
                          ^~~~~~~~~~~~
   drivers//regulator/bd718x7-regulator.c:488:23: note: (near initialization for 'bd71847_regulators[5].desc.regulators_node')
   drivers//regulator/bd718x7-regulator.c:488:23: error: initializer element is not constant
   drivers//regulator/bd718x7-regulator.c:488:23: note: (near initialization for 'bd71847_regulators[5].desc.regulators_node')
   drivers//regulator/bd718x7-regulator.c:511:16: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
       .of_match = of_match_ptr("LDO1"),
                   ^~~~~~~~~~~~
   drivers//regulator/bd718x7-regulator.c:511:16: note: (near initialization for 'bd71847_regulators[6].desc.of_match')
   drivers//regulator/bd718x7-regulator.c:511:16: error: initializer element is not constant
   drivers//regulator/bd718x7-regulator.c:511:16: note: (near initialization for 'bd71847_regulators[6].desc.of_match')
   drivers//regulator/bd718x7-regulator.c:512:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
       .regulators_node = of_match_ptr("regulators"),
                          ^~~~~~~~~~~~
   drivers//regulator/bd718x7-regulator.c:512:23: note: (near initialization for 'bd71847_regulators[6].desc.regulators_node')
   drivers//regulator/bd718x7-regulator.c:512:23: error: initializer element is not constant
   drivers//regulator/bd718x7-regulator.c:512:23: note: (near initialization for 'bd71847_regulators[6].desc.regulators_node')
   drivers//regulator/bd718x7-regulator.c:537:16: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
       .of_match = of_match_ptr("LDO2"),
                   ^~~~~~~~~~~~
   drivers//regulator/bd718x7-regulator.c:537:16: note: (near initialization for 'bd71847_regulators[7].desc.of_match')
   drivers//regulator/bd718x7-regulator.c:537:16: error: initializer element is not constant
   drivers//regulator/bd718x7-regulator.c:537:16: note: (near initialization for 'bd71847_regulators[7].desc.of_match')
   drivers//regulator/bd718x7-regulator.c:538:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
       .regulators_node = of_match_ptr("regulators"),
                          ^~~~~~~~~~~~
   drivers//regulator/bd718x7-regulator.c:538:23: note: (near initialization for 'bd71847_regulators[7].desc.regulators_node')
   drivers//regulator/bd718x7-regulator.c:538:23: error: initializer element is not constant
   drivers//regulator/bd718x7-regulator.c:538:23: note: (near initialization for 'bd71847_regulators[7].desc.regulators_node')
   drivers//regulator/bd718x7-regulator.c:559:16: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
       .of_match = of_match_ptr("LDO3"),
                   ^~~~~~~~~~~~
   drivers//regulator/bd718x7-regulator.c:559:16: note: (near initialization for 'bd71847_regulators[8].desc.of_match')
   drivers//regulator/bd718x7-regulator.c:559:16: error: initializer element is not constant
   drivers//regulator/bd718x7-regulator.c:559:16: note: (near initialization for 'bd71847_regulators[8].desc.of_match')
   drivers//regulator/bd718x7-regulator.c:560:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion]

vim +364 drivers//regulator/bd718x7-regulator.c

494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  359  
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  360  static const struct bd718xx_regulator_data bd71847_regulators[] = {
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  361  	{
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  362  		.desc = {
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  363  			.name = "buck1",
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14 @364  			.of_match = of_match_ptr("BUCK1"),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  365  			.regulators_node = of_match_ptr("regulators"),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  366  			.id = BD718XX_BUCK1,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  367  			.ops = &bd718xx_dvs_buck_regulator_ops,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  368  			.type = REGULATOR_VOLTAGE,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  369  			.n_voltages = BD718XX_DVS_BUCK_VOLTAGE_NUM,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  370  			.linear_ranges = bd718xx_dvs_buck_volts,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  371  			.n_linear_ranges =
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  372  				ARRAY_SIZE(bd718xx_dvs_buck_volts),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  373  			.vsel_reg = BD718XX_REG_BUCK1_VOLT_RUN,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  374  			.vsel_mask = DVS_BUCK_RUN_MASK,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  375  			.enable_reg = BD718XX_REG_BUCK1_CTRL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  376  			.enable_mask = BD718XX_BUCK_EN,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  377  			.owner = THIS_MODULE,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  378  		},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  379  		.init = {
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  380  			.reg = BD718XX_REG_BUCK1_CTRL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  381  			.mask = BD718XX_BUCK_SEL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  382  			.val = BD718XX_BUCK_SEL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  383  		},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  384  	},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  385  	{
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  386  		.desc = {
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  387  			.name = "buck2",
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  388  			.of_match = of_match_ptr("BUCK2"),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  389  			.regulators_node = of_match_ptr("regulators"),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  390  			.id = BD718XX_BUCK2,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  391  			.ops = &bd718xx_dvs_buck_regulator_ops,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  392  			.type = REGULATOR_VOLTAGE,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  393  			.n_voltages = BD718XX_DVS_BUCK_VOLTAGE_NUM,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  394  			.linear_ranges = bd718xx_dvs_buck_volts,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  395  			.n_linear_ranges = ARRAY_SIZE(bd718xx_dvs_buck_volts),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  396  			.vsel_reg = BD718XX_REG_BUCK2_VOLT_RUN,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  397  			.vsel_mask = DVS_BUCK_RUN_MASK,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  398  			.enable_reg = BD718XX_REG_BUCK2_CTRL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  399  			.enable_mask = BD718XX_BUCK_EN,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  400  			.owner = THIS_MODULE,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  401  		},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  402  		.init = {
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  403  			.reg = BD718XX_REG_BUCK2_CTRL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  404  			.mask = BD718XX_BUCK_SEL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  405  			.val = BD718XX_BUCK_SEL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  406  		},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  407  	},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  408  	{
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  409  		.desc = {
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  410  			.name = "buck3",
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  411  			.of_match = of_match_ptr("BUCK3"),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  412  			.regulators_node = of_match_ptr("regulators"),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  413  			.id = BD718XX_BUCK3,
a4bfc2c2 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  414  			.ops = &bd718xx_pickable_range_buck_ops,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  415  			.type = REGULATOR_VOLTAGE,
a4bfc2c2 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  416  			.n_voltages = BD71847_BUCK3_VOLTAGE_NUM,
a4bfc2c2 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  417  			.linear_ranges = bd71847_buck3_volts,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  418  			.n_linear_ranges =
a4bfc2c2 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  419  				ARRAY_SIZE(bd71847_buck3_volts),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  420  			.vsel_reg = BD718XX_REG_1ST_NODVS_BUCK_VOLT,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  421  			.vsel_mask = BD718XX_1ST_NODVS_BUCK_MASK,
a4bfc2c2 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  422  			.vsel_range_reg = BD718XX_REG_1ST_NODVS_BUCK_VOLT,
a4bfc2c2 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  423  			.vsel_range_mask = BD71847_BUCK3_RANGE_MASK,
a4bfc2c2 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  424  			.linear_range_selectors = bd71847_buck3_volt_range_sel,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  425  			.enable_reg = BD718XX_REG_1ST_NODVS_BUCK_CTRL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  426  			.enable_mask = BD718XX_BUCK_EN,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  427  			.owner = THIS_MODULE,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  428  		},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  429  		.init = {
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  430  			.reg = BD718XX_REG_1ST_NODVS_BUCK_CTRL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  431  			.mask = BD718XX_BUCK_SEL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  432  			.val = BD718XX_BUCK_SEL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  433  		},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  434  	},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  435  	{
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  436  		.desc = {
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  437  			.name = "buck4",
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  438  			.of_match = of_match_ptr("BUCK4"),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  439  			.regulators_node = of_match_ptr("regulators"),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  440  			.id = BD718XX_BUCK4,
a4bfc2c2 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  441  			.ops = &bd718xx_pickable_range_buck_ops,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  442  			.type = REGULATOR_VOLTAGE,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  443  			.n_voltages = BD71847_BUCK4_VOLTAGE_NUM,
a4bfc2c2 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  444  			.linear_ranges = bd71847_buck4_volts,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  445  			.n_linear_ranges =
a4bfc2c2 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  446  				ARRAY_SIZE(bd71847_buck4_volts),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  447  			.enable_reg = BD718XX_REG_2ND_NODVS_BUCK_CTRL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  448  			.vsel_reg = BD718XX_REG_2ND_NODVS_BUCK_VOLT,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  449  			.vsel_mask = BD71847_BUCK4_MASK,
a4bfc2c2 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  450  			.vsel_range_reg = BD718XX_REG_2ND_NODVS_BUCK_VOLT,
a4bfc2c2 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  451  			.vsel_range_mask = BD71847_BUCK4_RANGE_MASK,
a4bfc2c2 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  452  			.linear_range_selectors = bd71847_buck4_volt_range_sel,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  453  			.enable_mask = BD718XX_BUCK_EN,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  454  			.owner = THIS_MODULE,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  455  		},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  456  		.init = {
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  457  			.reg = BD718XX_REG_2ND_NODVS_BUCK_CTRL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  458  			.mask = BD718XX_BUCK_SEL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  459  			.val = BD718XX_BUCK_SEL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  460  		},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  461  	},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  462  	{
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  463  		.desc = {
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  464  			.name = "buck5",
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  465  			.of_match = of_match_ptr("BUCK5"),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  466  			.regulators_node = of_match_ptr("regulators"),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  467  			.id = BD718XX_BUCK5,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  468  			.ops = &bd718xx_buck_regulator_nolinear_ops,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  469  			.type = REGULATOR_VOLTAGE,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  470  			.volt_table = &bd718xx_3rd_nodvs_buck_volts[0],
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  471  			.n_voltages = ARRAY_SIZE(bd718xx_3rd_nodvs_buck_volts),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  472  			.vsel_reg = BD718XX_REG_3RD_NODVS_BUCK_VOLT,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  473  			.vsel_mask = BD718XX_3RD_NODVS_BUCK_MASK,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  474  			.enable_reg = BD718XX_REG_3RD_NODVS_BUCK_CTRL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  475  			.enable_mask = BD718XX_BUCK_EN,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  476  			.owner = THIS_MODULE,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  477  		},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  478  		.init = {
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  479  			.reg = BD718XX_REG_3RD_NODVS_BUCK_CTRL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  480  			.mask = BD718XX_BUCK_SEL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  481  			.val = BD718XX_BUCK_SEL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  482  		},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  483  	},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  484  	{
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  485  		.desc = {
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  486  			.name = "buck6",
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  487  			.of_match = of_match_ptr("BUCK6"),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  488  			.regulators_node = of_match_ptr("regulators"),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  489  			.id = BD718XX_BUCK6,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  490  			.ops = &bd718xx_buck_regulator_ops,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  491  			.type = REGULATOR_VOLTAGE,
dd2be639 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  492  			.n_voltages = BD718XX_4TH_NODVS_BUCK_VOLTAGE_NUM,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  493  			.linear_ranges = bd718xx_4th_nodvs_buck_volts,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  494  			.n_linear_ranges =
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  495  				ARRAY_SIZE(bd718xx_4th_nodvs_buck_volts),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  496  			.vsel_reg = BD718XX_REG_4TH_NODVS_BUCK_VOLT,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  497  			.vsel_mask = BD718XX_4TH_NODVS_BUCK_MASK,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  498  			.enable_reg = BD718XX_REG_4TH_NODVS_BUCK_CTRL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  499  			.enable_mask = BD718XX_BUCK_EN,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  500  			.owner = THIS_MODULE,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  501  		},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  502  		.init = {
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  503  			.reg = BD718XX_REG_4TH_NODVS_BUCK_CTRL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  504  			.mask = BD718XX_BUCK_SEL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  505  			.val = BD718XX_BUCK_SEL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  506  		},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  507  	},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  508  	{
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  509  		.desc = {
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  510  			.name = "ldo1",
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  511  			.of_match = of_match_ptr("LDO1"),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  512  			.regulators_node = of_match_ptr("regulators"),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  513  			.id = BD718XX_LDO1,
a4bfc2c2 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  514  			.ops = &bd718xx_pickable_range_ldo_ops,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  515  			.type = REGULATOR_VOLTAGE,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  516  			.n_voltages = BD718XX_LDO1_VOLTAGE_NUM,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  517  			.linear_ranges = bd718xx_ldo1_volts,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  518  			.n_linear_ranges = ARRAY_SIZE(bd718xx_ldo1_volts),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  519  			.vsel_reg = BD718XX_REG_LDO1_VOLT,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  520  			.vsel_mask = BD718XX_LDO1_MASK,
a4bfc2c2 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  521  			.vsel_range_reg = BD718XX_REG_LDO1_VOLT,
a4bfc2c2 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  522  			.vsel_range_mask = BD718XX_LDO1_RANGE_MASK,
a4bfc2c2 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  523  			.linear_range_selectors = bd718xx_ldo1_volt_range_sel,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  524  			.enable_reg = BD718XX_REG_LDO1_VOLT,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  525  			.enable_mask = BD718XX_LDO_EN,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  526  			.owner = THIS_MODULE,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  527  		},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  528  		.init = {
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  529  			.reg = BD718XX_REG_LDO1_VOLT,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  530  			.mask = BD718XX_LDO_SEL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  531  			.val = BD718XX_LDO_SEL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  532  		},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  533  	},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  534  	{
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  535  		.desc = {
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  536  			.name = "ldo2",
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  537  			.of_match = of_match_ptr("LDO2"),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  538  			.regulators_node = of_match_ptr("regulators"),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  539  			.id = BD718XX_LDO2,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  540  			.ops = &bd718xx_ldo_regulator_nolinear_ops,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  541  			.type = REGULATOR_VOLTAGE,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  542  			.volt_table = &ldo_2_volts[0],
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  543  			.vsel_reg = BD718XX_REG_LDO2_VOLT,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  544  			.vsel_mask = BD718XX_LDO2_MASK,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  545  			.n_voltages = ARRAY_SIZE(ldo_2_volts),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  546  			.enable_reg = BD718XX_REG_LDO2_VOLT,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  547  			.enable_mask = BD718XX_LDO_EN,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  548  			.owner = THIS_MODULE,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  549  		},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  550  		.init = {
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  551  			.reg = BD718XX_REG_LDO2_VOLT,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  552  			.mask = BD718XX_LDO_SEL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  553  			.val = BD718XX_LDO_SEL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  554  		},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  555  	},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  556  	{
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  557  		.desc = {
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  558  			.name = "ldo3",
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  559  			.of_match = of_match_ptr("LDO3"),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  560  			.regulators_node = of_match_ptr("regulators"),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  561  			.id = BD718XX_LDO3,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  562  			.ops = &bd718xx_ldo_regulator_ops,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  563  			.type = REGULATOR_VOLTAGE,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  564  			.n_voltages = BD718XX_LDO3_VOLTAGE_NUM,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  565  			.linear_ranges = bd718xx_ldo3_volts,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  566  			.n_linear_ranges = ARRAY_SIZE(bd718xx_ldo3_volts),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  567  			.vsel_reg = BD718XX_REG_LDO3_VOLT,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  568  			.vsel_mask = BD718XX_LDO3_MASK,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  569  			.enable_reg = BD718XX_REG_LDO3_VOLT,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  570  			.enable_mask = BD718XX_LDO_EN,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  571  			.owner = THIS_MODULE,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  572  		},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  573  		.init = {
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  574  			.reg = BD718XX_REG_LDO3_VOLT,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  575  			.mask = BD718XX_LDO_SEL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  576  			.val = BD718XX_LDO_SEL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  577  		},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  578  	},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  579  	{
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  580  		.desc = {
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  581  			.name = "ldo4",
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  582  			.of_match = of_match_ptr("LDO4"),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  583  			.regulators_node = of_match_ptr("regulators"),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  584  			.id = BD718XX_LDO4,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  585  			.ops = &bd718xx_ldo_regulator_ops,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  586  			.type = REGULATOR_VOLTAGE,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  587  			.n_voltages = BD718XX_LDO4_VOLTAGE_NUM,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  588  			.linear_ranges = bd718xx_ldo4_volts,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  589  			.n_linear_ranges = ARRAY_SIZE(bd718xx_ldo4_volts),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  590  			.vsel_reg = BD718XX_REG_LDO4_VOLT,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  591  			.vsel_mask = BD718XX_LDO4_MASK,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  592  			.enable_reg = BD718XX_REG_LDO4_VOLT,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  593  			.enable_mask = BD718XX_LDO_EN,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  594  			.owner = THIS_MODULE,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  595  		},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  596  		.init = {
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  597  			.reg = BD718XX_REG_LDO4_VOLT,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  598  			.mask = BD718XX_LDO_SEL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  599  			.val = BD718XX_LDO_SEL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  600  		},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  601  	},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  602  	{
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  603  		.desc = {
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  604  			.name = "ldo5",
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  605  			.of_match = of_match_ptr("LDO5"),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  606  			.regulators_node = of_match_ptr("regulators"),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  607  			.id = BD718XX_LDO5,
a4bfc2c2 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  608  			.ops = &bd718xx_pickable_range_ldo_ops,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  609  			.type = REGULATOR_VOLTAGE,
a4bfc2c2 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  610  			.n_voltages = BD71847_LDO5_VOLTAGE_NUM,
a4bfc2c2 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  611  			.linear_ranges = bd71847_ldo5_volts,
a4bfc2c2 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  612  			.n_linear_ranges = ARRAY_SIZE(bd71847_ldo5_volts),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  613  			.vsel_reg = BD718XX_REG_LDO5_VOLT,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  614  			.vsel_mask = BD71847_LDO5_MASK,
a4bfc2c2 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  615  			.vsel_range_reg = BD718XX_REG_LDO5_VOLT,
a4bfc2c2 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  616  			.vsel_range_mask = BD71847_LDO5_RANGE_MASK,
a4bfc2c2 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  617  			.linear_range_selectors = bd71847_ldo5_volt_range_sel,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  618  			.enable_reg = BD718XX_REG_LDO5_VOLT,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  619  			.enable_mask = BD718XX_LDO_EN,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  620  			.owner = THIS_MODULE,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  621  		},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  622  		.init = {
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  623  			.reg = BD718XX_REG_LDO5_VOLT,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  624  			.mask = BD718XX_LDO_SEL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  625  			.val = BD718XX_LDO_SEL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  626  		},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  627  	},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  628  	{
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  629  		.desc = {
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  630  			.name = "ldo6",
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  631  			.of_match = of_match_ptr("LDO6"),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  632  			.regulators_node = of_match_ptr("regulators"),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  633  			.id = BD718XX_LDO6,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  634  			.ops = &bd718xx_ldo_regulator_ops,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  635  			.type = REGULATOR_VOLTAGE,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  636  			.n_voltages = BD718XX_LDO6_VOLTAGE_NUM,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  637  			.linear_ranges = bd718xx_ldo6_volts,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  638  			.n_linear_ranges = ARRAY_SIZE(bd718xx_ldo6_volts),
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  639  			/* LDO6 is supplied by buck5 */
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  640  			.supply_name = "buck5",
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  641  			.vsel_reg = BD718XX_REG_LDO6_VOLT,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  642  			.vsel_mask = BD718XX_LDO6_MASK,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  643  			.enable_reg = BD718XX_REG_LDO6_VOLT,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  644  			.enable_mask = BD718XX_LDO_EN,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  645  			.owner = THIS_MODULE,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  646  		},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  647  		.init = {
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  648  			.reg = BD718XX_REG_LDO6_VOLT,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  649  			.mask = BD718XX_LDO_SEL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  650  			.val = BD718XX_LDO_SEL,
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  651  		},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  652  	},
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  653  };
494edd26 drivers/regulator/bd71837-regulator.c Matti Vaittinen 2018-09-14  654  

:::::: The code at line 364 was first introduced by commit
:::::: 494edd266b945f36908184433dd36eda1719cdb0 regulator/mfd: Support ROHM BD71847 power management IC

:::::: TO: Matti Vaittinen <matti.vaittinen@...rohmeurope.com>
:::::: CC: Mark Brown <broonie@...nel.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (30260 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ