Re: [PATCH] hwspinlock: Remove unused (devm_)hwspin_lock_request

2024-10-30 Thread Baolin Wang
m_hwspin_lock_request_specific() call instead. Remove it. Similarly, the none-devm variant isn't used. Remove it, and the referring documentation. Signed-off-by: Dr. David Alan Gilbert LGTM. Thanks. Reviewed-by: Baolin Wang

Re: [RFC PATCH 3/4] rtc: Add one offset seconds to expand RTC range

2018-01-02 Thread Baolin Wang
On 2 January 2018 at 17:50, Alexandre Belloni wrote: > On 02/01/2018 at 13:10:07 +0800, Baolin Wang wrote: >> From our investigation for all RTC drivers, 1 driver will be expired before >> year 2017, 7 drivers will be expired before year 2038, 23 drivers will be >> expired

Re: [RFC PATCH 1/4] rtc: Introduce one interface to save the RTC hardware time range

2018-01-02 Thread Baolin Wang
Hi Alexandre, On 2 January 2018 at 15:47, Alexandre Belloni wrote: > Hi Baolin, > > Could you have a look at > https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git/commit/?h=rtc-ranges > > My approach has multiple advantages as it works for 64-bit counters and > the range can be upd

[RFC PATCH 3/4] rtc: Add one offset seconds to expand RTC range

2018-01-01 Thread Baolin Wang
RTC hardware could get interpreted as times from 2070 to 2099, but the interpretation of dates between 2000 and 2069 would not change. Signed-off-by: Baolin Wang --- drivers/rtc/class.c | 53 +++ drivers/rtc/interface.c |

[RFC PATCH 1/4] rtc: Introduce one interface to save the RTC hardware time range

2018-01-01 Thread Baolin Wang
expand the RTC range in next patches by adding one offset. Signed-off-by: Baolin Wang --- drivers/rtc/class.c | 13 ++ drivers/rtc/interface.c | 62 +++ include/linux/rtc.h |9 +++ 3 files changed, 84 insertions(+) diff --git a

[RFC PATCH 2/4] rtc: sysfs: Export the valid range supported by RTC hardware

2018-01-01 Thread Baolin Wang
We have introduced one interface to get the RTC range, so this patch exports the valid range supported by RTC hardware to userspace. Signed-off-by: Baolin Wang --- Documentation/rtc.txt |2 ++ drivers/rtc/rtc-sysfs.c | 30 ++ 2 files changed, 32 insertions

[RFC PATCH 4/4] rtc: sc27xx: Add the get_range interface

2018-01-01 Thread Baolin Wang
Add the get_range interface for sc27xx RTC driver to tell the RTC core what is the valid range for RTC hardware device. Signed-off-by: Baolin Wang --- drivers/rtc/rtc-sc27xx.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/rtc/rtc-sc27xx.c b/drivers/rtc/rtc-sc27xx.c

[PATCH] Documentation: mmc: Add the introduction for mmc-utils

2016-03-19 Thread Baolin Wang
This patch introduces one mmc test tool called mmc-utils, which is convenient if someone want to exercise and test MMC/SD devices from userspace. Signed-off-by: Baolin Wang --- Documentation/mmc/00-INDEX |2 ++ Documentation/mmc/mmc-tools.txt | 34

[RFC v2] Documentation: mmc: Add the introduction for mmc-utils

2016-03-19 Thread Baolin Wang
This patch introduces one mmc test tools called mmc-utils, which is convenient if someone wants to exercise and test MMC/SD devices from userspace. Signed-off-by: Baolin Wang --- Documentation/mmc/00-INDEX |2 ++ Documentation/mmc/mmc-tools.txt | 34