Skip to contentSkip to conversation

rtc: ds1307: add OF and ACPI entries for Epson RX8130

PATCH Applied Bastian Stender 3 participants 5 messages Oct 17, 2017 – Oct 26, 2017 Real time clock (RTC)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rtc: ds1307: add OF and ACPI entries for Epson RX8130

Make Epson RX8130 device tree and ACPI aware.

Fixes ee0981be7704 ("rtc: ds1307: Add support for Epson RX8130CE")
---
 drivers/rtc/rtc-ds1307.c | 5 +++++
 1 file changed, 5 insertions(+)
drivers/rtc/rtc-ds1307.c +5 -0
index e7d9215c9201..8e2cd45a2f96 100644
@@ -325,6 +325,10 @@ static const struct of_device_id ds1307_of_match[] = {
 		.compatible = "isil,isl12057",
 		.data = (void *)ds_1337
 	},
+	{
+		.compatible = "epson,rx8130",
+		.data = (void *)rx_8130
+	},
 	{ }
 };
 MODULE_DEVICE_TABLE(of, ds1307_of_match);
@@ -348,6 +352,7 @@ static const struct acpi_device_id ds1307_acpi_ids[] = {
 	{ .id = "PT7C4338", .driver_data = ds_1307 },
 	{ .id = "RX8025", .driver_data = rx_8025 },
 	{ .id = "ISL12057", .driver_data = ds_1337 },
+	{ .id = "RX8130", .driver_data = rx_8130 },
 	{ }
 };
 MODULE_DEVICE_TABLE(acpi, ds1307_acpi_ids);
Signature · 1 line
2.11.0
#1 lore raw
Quoted 3 lines · Bastian Stender

Make Epson RX8130 device tree and ACPI aware.

Fixes ee0981be7704 ("rtc: ds1307: Add support for Epson RX8130CE")

Fixes , really ? I don't think it's broken in any way without the ACPI entries.

Quoted 29 lines
---
 drivers/rtc/rtc-ds1307.c | 5 +++++
 1 file changed, 5 insertions(+)
drivers/rtc/rtc-ds1307.c +5 -0
index e7d9215c9201..8e2cd45a2f96 100644
@@ -325,6 +325,10 @@ static const struct of_device_id ds1307_of_match[] = {
 		.compatible = "isil,isl12057",
 		.data = (void *)ds_1337
 	},
+	{
+		.compatible = "epson,rx8130",
+		.data = (void *)rx_8130
+	},
 	{ }
 };
 MODULE_DEVICE_TABLE(of, ds1307_of_match);
@@ -348,6 +352,7 @@ static const struct acpi_device_id ds1307_acpi_ids[] = {
 	{ .id = "PT7C4338", .driver_data = ds_1307 },
 	{ .id = "RX8025", .driver_data = rx_8025 },
 	{ .id = "ISL12057", .driver_data = ds_1337 },
+	{ .id = "RX8130", .driver_data = rx_8130 },
 	{ }
 };
 MODULE_DEVICE_TABLE(acpi, ds1307_acpi_ids);
Signature · 12 lines
Best regards,
Marek Vasut

-- 
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
--- 
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
#2 lore raw
Quoted 7 lines · Marek Vasut
Quoted 3 lines · Bastian Stender

Make Epson RX8130 device tree and ACPI aware.

Fixes ee0981be7704 ("rtc: ds1307: Add support for Epson RX8130CE")

Fixes , really ? I don't think it's broken in any way without the ACPI entries.

I think it's incomplete without ACPI/OF support - all other devices do have entries there. But yes, it is not really a bug, so this can discarded.

Regards,
Bastian

Signature · 14 lines
Pengutronix e.K.
Industrial Linux Solutions
http://www.pengutronix.de/
Peiner Str. 6-8, 31137 Hildesheim, Germany
Amtsgericht Hildesheim, HRA 2686

-- 
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
--- You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
#3 lore raw
Quoted 11 lines · Bastian Stender
Quoted 7 lines · Marek Vasut
Quoted 3 lines · Bastian Stender

Make Epson RX8130 device tree and ACPI aware.

Fixes ee0981be7704 ("rtc: ds1307: Add support for Epson RX8130CE")

Fixes , really ? I don't think it's broken in any way without the ACPI entries.

I think it's incomplete without ACPI/OF support - all other devices do have entries there. But yes, it is not really a bug, so this can discarded.

Jupp, this patch is fine, it was just the "fixes" part which looked odd.

Signature · 12 lines
Best regards,
Marek Vasut

-- 
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
--- 
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
#4 lore raw
In reply to Bastian Stender

Hi,

Note that this has not been sent to the correct mailing list (please use a more recent kernel ;))

Quoted 8 lines · Bastian Stender

Make Epson RX8130 device tree and ACPI aware.

Fixes ee0981be7704 ("rtc: ds1307: Add support for Epson RX8130CE")
---
 drivers/rtc/rtc-ds1307.c | 5 +++++
 1 file changed, 5 insertions(+)

Applied, thanks.

Signature · 13 lines
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

-- 
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
--- 
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.