22 Aug, 2020

1 commit

  • Fix below warning when CONFIG_OF=n:

    drivers/regulator/stm32-vrefbuf.c:287:34: warning: ‘stm32_vrefbuf_of_match’ defined but not used [-Wunused-const-variable=]
    287 | static const struct of_device_id stm32_vrefbuf_of_match[] = {
    | ^~~~~~~~~~~~~~~~~~~~~~

    Signed-off-by: Jisheng Zhang
    Acked-by: Fabrice Gasnier
    Link: https://lore.kernel.org/r/20200821111755.4c461039@xhacker.debian
    Signed-off-by: Mark Brown

    Jisheng Zhang
     

04 Mar, 2020

1 commit

  • There maybe an overshoot, when disabling, then re-enabling vrefbuf
    too quickly. VREFBUF is used by ADC/DAC on some boards. When re-enabling
    too quickly, an overshoot on the reference voltage make the conversions
    inaccurate for a short period of time.
    - Don't put the VREFBUF in HiZ when disabling, to force an active
    discharge.
    - Enforce a 1ms OFF/ON delay

    Fixes: 0cdbf481e927 ("regulator: Add support for stm32-vrefbuf")

    Signed-off-by: Fabrice Gasnier
    Message-Id:
    Signed-off-by: Mark Brown

    Fabrice Gasnier
     

10 Oct, 2019

1 commit


31 May, 2019

1 commit

  • Based on 1 normalized pattern(s):

    license terms gnu general public license gpl version 2

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-only

    has been chosen to replace the boilerplate/reference in 161 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Allison Randal
    Reviewed-by: Alexios Zavras
    Reviewed-by: Steve Winslow
    Reviewed-by: Richard Fontana
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190528170027.447718015@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

28 Feb, 2019

1 commit


08 Feb, 2018

1 commit

  • stm32_vrefbuf_enable() wrongly checks VRR bit: 0 stands for not ready,
    1 for ready. It currently checks the opposite.
    This makes enable routine to exit immediately without waiting for ready
    flag.

    Fixes: 0cdbf481e927 ("regulator: Add support for stm32-vrefbuf")
    Signed-off-by: Fabrice Gasnier
    Signed-off-by: Mark Brown
    Cc: stable@vger.kernel.org

    Fabrice Gasnier
     

31 Aug, 2017

1 commit