Skip to contentSkip to conversation

dt-bindings: rtc: haoyu,hym8563: document vdd-supply

PATCH In review pjh456 3 participants 4 messages Nov 20 – Nov 21

Subsystems (2)
lore
Share & tools
lore

pjh456

author
#0 lore raw

PATCH v4 1/1 dt-bindings: rtc: haoyu,hym8563: document vdd-supply

The HYM8563 is supplied through its VDD pin. Add an optional vdd-supply property so a board can describe the regulator connected to it.

The property is optional because some boards connect VDD to an always-on rail. Describing the supply also lets fw_devlink order the RTC probe after its regulator.

---
v4: rewrite the commit message, move the AI disclosure below --- and
drop the version links. No code changes.
v3: use the generic "vdd-supply: true" form and show the supply in the
example; reword the rationale around the hardware instead of the fw_devlink ordering; replace the non-standard "Assisted-by:" trailers with a disclosure paragraph in the commit message.
v2: rename vcc-supply to vdd-supply, matching the datasheet pin name.

The patch was tested on the Purple Pi OH: cold boot, same kernel Image, only the DTB changed. With vdd-supply, 3/3 boots registered hym8563 as rtc0 at ~0.6 s. Without it, 2/2 boots failed with -110 at ~1.37 s because the RTC probed before the i2c3 pull-up rail (vccio_acodec) reached 3.3 V at ~1.60 s.

AI assistance: I used the HYM8563 datasheet and the board schematic as inputs, and drafted this change with help from Qwen3.8 Flash Next and DeepSeek V4.1 Flash through the OpenCode coding agent; Gemini 4 Hydrogen was used to cross-check the schematic in Google AI Studio. I reviewed the result, ran dt_binding_check, and tested it on the board.

 Documentation/devicetree/bindings/rtc/haoyu,hym8563.yaml | 3 +++
 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/rtc/haoyu,hym8563.yaml +3 -0
index 0b9f39ef0edc..ce9712e2c406 100644
@@ -29,6 +29,8 @@ properties:
   wakeup-source:
     description: Enables wake up of host system on alarm.
 
+  vdd-supply: true
+
 allOf:
   - $ref: rtc.yaml
 
@@ -52,5 +54,6 @@ examples:
             reg = <0x51>;
             interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
             #clock-cells = <0>;
+            vdd-supply = <&rtc_vdd>;
         };
     };

base-commit: 7e1392a42ea288d70a266f6553fe06f57f8647ea

Signature · 1 line
2.56.1
#1 lore raw
Sashiko has reviewed this patch and found no issues.
Quoted 9 lines

The HYM8563 is supplied through its VDD pin. Add an optional vdd-supply property so a board can describe the regulator connected to it.

The property is optional because some boards connect VDD to an always-on rail. Describing the supply also lets fw_devlink order the RTC probe after its regulator.

Sashiko has reviewed this patch and found no issues.

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
#2 lore raw
In reply to pjh456
Quoted 9 lines · On Fri, Nov 20, 2026 at 07:35:01PM +0800, pjh456 wrote:

The HYM8563 is supplied through its VDD pin. Add an optional vdd-supply property so a board can describe the regulator connected to it.

The property is optional because some boards connect VDD to an always-on rail. Describing the supply also lets fw_devlink order the RTC probe after its regulator.

What did the LLM tool ask you to do in regards of the commit msg?

What did I ask you to read - which document? What is there about DCO?

So at this point you are about to be treated as a bot.

Best regards,
Krzysztof

#3 lore raw
Quoted 9 lines · Krzysztof Kozlowski

What did the LLM tool ask you to do in regards of the commit msg?

What did I ask you to read - which document? What is there about DCO?

So at this point you are about to be treated as a bot.

Best regards,
Krzysztof

I'm very sorry for the noise. To answer your questions directly:

1. The LLM tool told me it cannot sign the DCO and that I must write the commit message and sign it myself. I did not do that for v4; the message was still based on the LLM draft and I just changed a few words.

2. I have read Documentation/process/submitting-patches.rst as you instructed. I understand that Signed-off-by certifies that I have the right to submit the patch and take full legal responsibility. I misunderstood "known identity" and signed with my GitHub handle "pjh456" multiple times.

3. I am definitely a human. I didn't mean to ignore your requests; I was slow to understand them, and I am sorry for the initial rapid patches.

I will rewrite the commit message myself, using the hardware rationale and the A/B test results. I will use my real name in both From and Signed-off-by. The AI disclosure will remain strictly below the --- line as you asked.

Sorry for wasting your time.

Best regards,
Peng Junhao