[PATCH] rtc: sd2405al: Add I2C address.

Tóth János via B4 Relay posted 1 patch 10 months ago
drivers/rtc/rtc-sd2405al.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
[PATCH] rtc: sd2405al: Add I2C address.
Posted by Tóth János via B4 Relay 10 months ago
From: Tóth János <gomba007@gmail.com>

It is common to include the I2C address of the device in the source
file.

Signed-off-by: Tóth János <gomba007@gmail.com>
---
It is common to include the I2C address of the device in the source file.
---
 drivers/rtc/rtc-sd2405al.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/rtc/rtc-sd2405al.c b/drivers/rtc/rtc-sd2405al.c
index 00c3033e8079..708ea5d964de 100644
--- a/drivers/rtc/rtc-sd2405al.c
+++ b/drivers/rtc/rtc-sd2405al.c
@@ -5,7 +5,9 @@
  * Datasheet:
  * https://image.dfrobot.com/image/data/TOY0021/SD2405AL%20datasheet%20(Angelo%20v0.1).pdf
  *
- * Copyright (C) 2024 Tóth János <gomba007@gmail.com>
+ * I2C slave address: 0x32
+ *
+ * Copyright (C) 2024-2025 Tóth János <gomba007@gmail.com>
  */
 
 #include <linux/bcd.h>

---
base-commit: 0af2f6be1b4281385b618cb86ad946eded089ac8
change-id: 20250407-rtc-sd2405al-i2c-addr-392d58e8567d

Best regards,
-- 
Tóth János <gomba007@gmail.com>


Re: [PATCH] rtc: sd2405al: Add I2C address.
Posted by Alexandre Belloni 4 months ago
On Mon, 07 Apr 2025 13:48:49 +0200, Tóth János wrote:
> It is common to include the I2C address of the device in the source
> file.
> 
> 

Applied, thanks!

[1/1] rtc: sd2405al: Add I2C address.
      https://git.kernel.org/abelloni/c/75b002a38d4f

Best regards,

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