1. 28 12月, 2020 1 次提交
  2. 22 12月, 2020 1 次提交
  3. 16 12月, 2020 1 次提交
  4. 11 12月, 2020 2 次提交
  5. 10 12月, 2020 1 次提交
  6. 08 12月, 2020 3 次提交
  7. 05 12月, 2020 3 次提交
  8. 03 12月, 2020 2 次提交
  9. 01 12月, 2020 9 次提交
  10. 30 11月, 2020 1 次提交
  11. 26 11月, 2020 2 次提交
  12. 24 11月, 2020 4 次提交
    • J
      regulator: Kconfig: Fix REGULATOR_QCOM_RPMH dependencies to avoid build error · 34c5aa26
      John Stultz 提交于
      The kernel test robot reported the following build error:
      
      All errors (new ones prefixed by >>):
      
         xtensa-linux-ld: drivers/regulator/qcom-rpmh-regulator.o: in function `rpmh_regulator_vrm_get_voltage_sel':
         qcom-rpmh-regulator.c:(.text+0x270): undefined reference to `rpmh_write'
         xtensa-linux-ld: drivers/regulator/qcom-rpmh-regulator.o: in function `rpmh_regulator_send_request':
         qcom-rpmh-regulator.c:(.text+0x2f2): undefined reference to `rpmh_write'
         xtensa-linux-ld: drivers/regulator/qcom-rpmh-regulator.o: in function `rpmh_regulator_vrm_get_voltage_sel':
      >> qcom-rpmh-regulator.c:(.text+0x274): undefined reference to `rpmh_write_async'
         xtensa-linux-ld: drivers/regulator/qcom-rpmh-regulator.o: in function `rpmh_regulator_send_request':
         qcom-rpmh-regulator.c:(.text+0x2fc): undefined reference to `rpmh_write_async'
      
      Which is due to REGULATOR_QCOM_RPMH depending on
      QCOM_RPMH || COMPILE_TEST. The problem is that QOM_RPMH can now
      be a module, which in that case requires REGULATOR_QCOM_RPMH=m
      to build.
      
      However, if COMPILE_TEST is enabled, REGULATOR_QCOM_RPMH can be
      set to =y while QCOM_RPMH=m which will cause build failures.
      
      The fix here is to add (QCOM_RPMH=n && COMPILE_TEST) to the
      dependency.
      
      Feedback would be appreciated!
      
      Cc: Todd Kjos <tkjos@google.com>
      Cc: Saravana Kannan <saravanak@google.com>
      Cc: Andy Gross <agross@kernel.org>
      Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
      Cc: Rajendra Nayak <rnayak@codeaurora.org>
      Cc: Maulik Shah <mkshah@codeaurora.org>
      Cc: Stephen Boyd <swboyd@chromium.org>
      Cc: Liam Girdwood <lgirdwood@gmail.com>
      Cc: Mark Brown <broonie@kernel.org>
      Cc: linux-arm-msm@vger.kernel.org
      Reported-by: Nkernel test robot <lkp@intel.com>
      Signed-off-by: NJohn Stultz <john.stultz@linaro.org>
      Reviewed-by: NBjorn Andersson <bjorn.andersson@linaro.org>
      Link: https://lore.kernel.org/r/20201123222359.103822-1-john.stultz@linaro.orgSigned-off-by: NMark Brown <broonie@kernel.org>
      34c5aa26
    • C
      regulator: add SCMI driver · 0fbeae70
      Cristian Marussi 提交于
      Add a simple regulator based on SCMI Voltage Domain Protocol.
      Signed-off-by: NCristian Marussi <cristian.marussi@arm.com>
      ----
      v6 --> v7
      - add proper blank lines between semantic blocks
      - fix return value on error path of scmi_reg_is_enabled()
      - use generic Failure message on err path of info_get()
      - fix comment containing apostrophe
      
      v3 --> v4
      - using of_match_full_name core regulator flag
      - avoid coccinelle falde complaints about pointer-sized allocations
      
      v2 --> v3
      - remove multiple linear mappings support
      - removed duplicated voltage name printout
      - added a few comments
      - simplified return path in scmi_reg_set_voltage_sel()
      
      v1 --> v2
      - removed duplicate regulator naming
      - removed redundant .get/set_voltage ops: only _sel variants implemented
      - removed condexpr on fail path to increase readability
      
      v0 --> v1
      - fixed init_data constraint parsing
      - fixes for v5.8 (linear_range.h)
      - fixed commit message content and subject line format
      - factored out SCMI core specific changes to distinct patch
      - reworked Kconfig and Makefile to keep proper alphabetic order
      - fixed SPDX comment style
      - removed unneeded inline functions
      - reworked conditionals for legibility
      - fixed some return paths to properly report SCMI original errors codes
      - added some more descriptive error messages when fw returns invalid ranges
      - removed unneeded explicit devm_regulator_unregister from .remove()
      Link: https://lore.kernel.org/r/20201123202336.46701-4-cristian.marussi@arm.comSigned-off-by: NMark Brown <broonie@kernel.org>
      0fbeae70
    • G
      regulator: as3722: Fix fall-through warnings for Clang · b52b417c
      Gustavo A. R. Silva 提交于
      In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
      by explicitly adding a fallthrough pseudo-keyword instead of letting the
      code fall through to the next case.
      
      Link: https://github.com/KSPP/linux/issues/115Signed-off-by: NGustavo A. R. Silva <gustavoars@kernel.org>
      Link: https://lore.kernel.org/r/c0efb81064f71837f19408f65b52d155103ee514.1605896059.git.gustavoars@kernel.orgSigned-off-by: NMark Brown <broonie@kernel.org>
      b52b417c
    • C
      regulator: core: add of_match_full_name boolean flag · e7095c35
      Cristian Marussi 提交于
      During regulators registration, if .of_match and .regulators_node are
      defined as non-null strings in struct regulator_desc the core searches the
      DT subtree rooted at .regulators_node trying to match, at first, .of_match
      against the 'regulator-compatible' property and, then, falling back to use
      the name of the node itself to determine a good match.
      
      Property 'regulator-compatible', though, is now deprecated and falling back
      to match against the node name, works fine only as long as the involved
      nodes are named in an unique way across the searched subtree; if that's not
      the case, like when using <common-name>@<unit> style naming for properties
      indexed via 'reg' property (as advised by the standard), the above matching
      mechanism based on the simple common name will lead to multiple matches and
      the only viable alternative would be to properly define the now deprecated
      'regulator-compatible' as the node full name, i.e. <common-name>@<unit>.
      
      In order to address this case without using such deprecated binding, define
      a new boolean flag .of_match_full_name in struct regulator_desc to force
      the core to match against the node full-name instead of the plain name.
      Signed-off-by: NCristian Marussi <cristian.marussi@arm.com>
      Link: https://lore.kernel.org/r/20201119191051.46363-4-cristian.marussi@arm.comSigned-off-by: NMark Brown <broonie@kernel.org>
      e7095c35
  13. 19 11月, 2020 1 次提交
  14. 14 11月, 2020 7 次提交
  15. 13 11月, 2020 2 次提交