Re: [PATCH] rtc: rv3028: make rv3028 probeable from userspace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 27/03/2023 10:55:50+0200, Johannes Kirchmair wrote:
> With this commit, it will be possible to bind a rv3028 device from
> userspace
> 
> This is done by:
> echo rtc-rv3028 0x52 > /sys/bus/i2c/devices/i2c-XX/new_device
> 
> Signed-off-by: Johannes Kirchmair <johannes.kirchmair@xxxxxxxxxxx>
> ---
>  drivers/rtc/rtc-rv3028.c | 7 +++++++
>  1 file changed, 7 insertions(+)
> 

I applied it after fixing a merge issue and removing the rtc- prefix
from the i2c_device_id.


-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux