dt-binding: pcf85063: Add an entry for pca85073a
Subsystems (2)
PATCH 1/2 dt-binding: pcf85063: Add an entry for pca85073a
From: Fabio Estevam <[email protected]>
The PCA85073A RTC has the same programming model as the PCF85063A.
Add a compatible entry for it.
--- Documentation/devicetree/bindings/rtc/nxp,pcf85063.txt | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/rtc/nxp,pcf85063.txt +1 -0
@@ -2,6 +2,7 @@ Required properties: - compatible: Should one of contain: + "nxp,pca85073a", "nxp,pcf85063", "nxp,pcf85063a", "nxp,pcf85063tp",
Signature · 1 line
2.25.1
PATCH 2/2 rtc: pcf85063: Add a compatible entry for pca85073a
From: Fabio Estevam <[email protected]>
The PCA85073A RTC has the same programming model as the PCF85063A.
Add a compatible entry for it.
Tested on a custom i.MX6SX based board.
--- drivers/rtc/rtc-pcf85063.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/rtc/rtc-pcf85063.c +2 -0
@@ -650,6 +650,7 @@ static int pcf85063_probe(struct i2c_client *client) }static const struct i2c_device_id pcf85063_ids[] = { + {"pca85073a" ,PCF85063A }, {"pcf85063" ,PCF85063 }, {"pcf85063tp" ,PCF85063TP }, {"pcf85063a" ,PCF85063A },
@@ -660,6 +661,7 @@ MODULE_DEVICE_TABLE(i2c, pcf85063_ids);#ifdef CONFIG_OF static const struct of_device_id pcf85063_of_match[] = { + { .compatible ="nxp,pca85073a" , .data = &pcf85063_cfg[PCF85063A ] }, { .compatible ="nxp,pcf85063" , .data = &pcf85063_cfg[PCF85063 ] }, { .compatible ="nxp,pcf85063tp" , .data = &pcf85063_cfg[PCF85063TP ] }, { .compatible = "nxp,pcf85063a", .data = &pcf85063_cfg[PCF85063A] },
Signature · 1 line
2.25.1
Quoted 11 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
The PCA85073A RTC has the same programming model as the PCF85063A.
Add a compatible entry for it.
Signed-off-by Fabio Estevam <[email protected]>--- Documentation/devicetree/bindings/rtc/nxp,pcf85063.txt | 1 + 1 file changed, 1 insertion(+)
Quoted 8 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
The PCA85073A RTC has the same programming model as the PCF85063A.
Add a compatible entry for it.
[...]
Applied, thanks!
[1/2] dt-binding: pcf85063: Add an entry for pca85073a
commit: bb9b98071eacc5f195fe3e7cb0c7664df4cff60f
[2/2] rtc: pcf85063: Add a compatible entry for pca85073a
commit: aabfe05a824585f64a0620f131841f12ee259a20Best regards,
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com