Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: rtc: stm32: describe pinmux nodes

STM32 RTC is capable to handle 3 specific pins of the soc (out1, out2,
out2_rmp) and to outputs 2 signals (LSCO, alarm-a).

This feature is configured thanks to pinmux nodes and pinctrl framework.
This feature is available with compatible st,stm32mp1-rtc and
st,stm32mp25-rtc only.

Signed-off-by: Valentin Caron <valentin.caron@foss.st.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20240722160022.454226-2-valentin.caron@foss.st.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

authored by

Valentin Caron and committed by
Alexandre Belloni
5b19519d 8400291e

+28
+28
Documentation/devicetree/bindings/rtc/st,stm32-rtc.yaml
··· 53 53 override default rtc_ck parent clock phandle of the new parent clock of rtc_ck 54 54 maxItems: 1 55 55 56 + patternProperties: 57 + "^rtc-[a-z]+-[0-9]+$": 58 + type: object 59 + $ref: /schemas/pinctrl/pinmux-node.yaml 60 + description: | 61 + Configuration of STM32 RTC pins description. STM32 RTC is able to output 62 + some signals on specific pins: 63 + - LSCO (Low Speed Clock Output) that allow to output LSE clock on a pin. 64 + - Alarm out that allow to send a pulse on a pin when alarm A of the RTC 65 + expires. 66 + additionalProperties: false 67 + properties: 68 + function: 69 + enum: 70 + - lsco 71 + - alarm-a 72 + pins: 73 + enum: 74 + - out1 75 + - out2 76 + - out2_rmp 77 + 56 78 allOf: 57 79 - if: 58 80 properties: ··· 90 68 91 69 clock-names: false 92 70 71 + patternProperties: 72 + "^rtc-[a-z]+-[0-9]+$": false 73 + 93 74 required: 94 75 - st,syscfg 95 76 ··· 107 82 clocks: 108 83 minItems: 2 109 84 maxItems: 2 85 + 86 + patternProperties: 87 + "^rtc-[a-z]+-[0-9]+$": false 110 88 111 89 required: 112 90 - clock-names