diff options
| author | John Keeping <jkeeping@inmusicbrands.com> | 2026-01-08 18:47:48 +0000 |
|---|---|---|
| committer | Sasha Levin <sashal@kernel.org> | 2026-03-04 07:21:17 -0500 |
| commit | 9b1dd3dd53dc5231cd6a6905f760410d5afd022f (patch) | |
| tree | f23e5eb0934a3888f4bc41ef0c20e079f2b5ed19 /tools/lib/python/kdoc | |
| parent | 5edf78ec421aa8286b18fd56d912771bab10a1b8 (diff) | |
rtc: pcf8563: use correct of_node for output clock
[ Upstream commit a380a02ea3ddc69c1c1ccca3882748dee33ec3d3 ]
When switching to regmap, the i2c_client pointer was removed from struct
pcf8563 so this function switched to using the RTC device instead. But
the RTC device is a child of the original I2C device and does not have
an associated of_node.
Reference the correct device's of_node to ensure that the output clock
can be found when referenced by other devices and so that the override
clock name is read correctly.
Cc: stable@vger.kernel.org
Fixes: 00f1bb9b8486b ("rtc: pcf8563: Switch to regmap")
Signed-off-by: John Keeping <jkeeping@inmusicbrands.com>
Link: https://patch.msgid.link/20260108184749.3413348-1-jkeeping@inmusicbrands.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
