diff options
author | Alain Volmat <alain.volmat@st.com> | 2020-02-03 20:52:08 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2020-02-26 13:06:42 +0300 |
commit | 419be8e1dfed5afa497ca320e1b65954820b48c2 (patch) | |
tree | e2fcf9a30defdeb424dbf922e3b0a413a779ee81 /drivers/i2c/i2c-dev.c | |
parent | 3a5ee18d2a32bda6b9a1260136f6805848e3839d (diff) | |
download | linux-419be8e1dfed5afa497ca320e1b65954820b48c2.tar.xz |
i2c: stm32f7: allow controller to be wakeup-source
Allow the i2c-stm32f7 controller to become a wakeup-source
of the system. In such case, when a slave is registered to the
I2C controller, receiving a I2C message targeting that registered
slave address wakes up the suspended system.
In order to be able to wake-up, the I2C controller DT node
must have the property wakeup-source defined and a slave
must be registered.
Signed-off-by: Alain Volmat <alain.volmat@st.com>
Reviewed-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/i2c-dev.c')
0 files changed, 0 insertions, 0 deletions