lkml.org 
[lkml]   [2022]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v1 8/9] pwm: lpss: Add a comment to the bypass field
    Date
    Add a comment to the bypass field based on the commit b997e3edca4f
    ("pwm: lpss: Set enable-bit before waiting for update-bit
    to go low").

    Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
    ---
    drivers/pwm/pwm-lpss.h | 5 +++++
    1 file changed, 5 insertions(+)

    diff --git a/drivers/pwm/pwm-lpss.h b/drivers/pwm/pwm-lpss.h
    index 832cb86996d7..35e570067fc6 100644
    --- a/drivers/pwm/pwm-lpss.h
    +++ b/drivers/pwm/pwm-lpss.h
    @@ -29,6 +29,11 @@ struct pwm_lpss_boardinfo {
    unsigned long clk_rate;
    unsigned int npwm;
    unsigned long base_unit_bits;
    + /*
    + * Some versions of the IP may stuck in the state machine if enable
    + * bit is not set, and hence update bit will show busy status till
    + * the reset. For the rest it may be otherwise.
    + */
    bool bypass;
    /*
    * On some devices the _PS0/_PS3 AML code of the GPU (GFX0) device
    --
    2.35.1
    \
     
     \ /
      Last update: 2022-09-06 22:03    [W:2.443 / U:0.360 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site