linux-stable/include/dt-bindings
Claudiu Beznea cdfd5daf90 dt-bindings: clock: renesas,r9a08g045-vbattb: Document VBATTB
The VBATTB IP of the Renesas RZ/G3S SoC controls the clock for RTC,
the tamper detector and a small general usage memory of 128B.

The VBATTB controller controls the clock for the RTC on the Renesas
RZ/G3S. The HW block diagram for the clock logic is as follows:

           +----------+ XC   `\
RTXIN  --->|          |----->| \       +----+  VBATTCLK
           | 32K clock|      |  |----->|gate|----------->
           | osc      | XBYP |  |      +----+
RTXOUT --->|          |----->| /
           +----------+      ,/

One could connect as input to this HW block either a crystal or
an external clock device. This is board specific.

After discussions w/ Stephen Boyd the clock tree associated with this
hardware block was exported in Linux as:

input-xtal
  xbyp
  xc
     mux
        vbattclk

where:
- input-xtal is the input clock (connected to RTXIN, RTXOUT pins)
- xc, xbyp are mux inputs
- mux is the internal mux
- vbattclk is the gate clock that feeds in the end the RTC

to allow selecting the input of the MUX though assigned-clock DT
properties, using the already existing clock drivers and avoid adding
other DT properties.

This allows select the input of the mux based on the type of the
connected input clock:
- if the 32768 crystal is connected as input for the VBATTB,
  the input of the mux should be xc
- if an external clock device is connected as input for the VBATTB the
  input of the mux should be xbyp

Add bindings for the VBATTB controller.

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Link: https://lore.kernel.org/20241101095720.2247815-2-claudiu.beznea.uj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
2024-11-03 11:43:21 +01:00
..
arm dt-bindings: arm: qcom,ids: Add IDs for SM7325 family 2024-08-15 15:52:05 -05:00
ata dt-bindings: use capital "OR" for multiple licenses in SPDX 2023-08-23 15:00:31 -05:00
bus treewide: change my e-mail address, fix my name 2021-04-09 14:54:23 -07:00
clock dt-bindings: clock: renesas,r9a08g045-vbattb: Document VBATTB 2024-11-03 11:43:21 +01:00
display dt-bindings: use capital "OR" for multiple licenses in SPDX 2023-08-23 15:00:31 -05:00
dma dt-bindings: dma: fsl-edma: Add fsl-edma.h to prevent hardcoding in dts 2023-12-21 21:41:06 +05:30
firmware dt-bindings: firmware: qcom: scm: Updating VMID list 2023-08-11 13:10:59 -07:00
gce dt-bindings: mailbox: mediatek,gce-mailbox: Add support for MT6795 2023-05-04 00:53:42 -05:00
gpio dt-bindings: pinctrl: Add support for Amlogic T7 SoCs 2023-09-25 15:49:08 +02:00
i2c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 498 2019-06-19 17:09:53 +02:00
i3c dt-bindings: i3c: add header for generic I3C flags 2024-07-26 14:21:30 +02:00
iio dt-bindings: iio: adc: add AD4695 and similar ADCs 2024-08-03 10:13:37 +01:00
input dt-bindings: input: cros-ec-keyboard: Add keyboard matrix v3.0 2024-07-01 11:43:05 +08:00
interconnect Char/Misc and other driver changes for 6.12-rc1 2024-09-26 10:13:08 -07:00
interrupt-controller dt-bindings: interrupt-controller: arm,gic: add ESPI and EPPI specifiers 2024-09-13 14:01:34 -05:00
leds - Core Frameworks 2024-05-22 10:49:54 -07:00
mailbox dt-bindings: mailbox: qcom-ipcc: Add GPDSP0 and GPDSP1 clients 2024-08-14 21:55:24 -05:00
media media: dt-bindings: media: Add macros for video interface bus types 2022-11-25 08:41:45 +00:00
memory dt-bindings: mediatek: mt8188: Add binding for MM & INFRA IOMMU 2023-08-07 14:15:45 +02:00
mfd dt-bindings: mfd: Dual licensing for st,stpmic1 bindings 2024-07-04 17:38:41 +01:00
mips treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
mux dt-bindings: ti-serdes-mux: Deprecate header with constants 2023-07-25 06:30:03 -05:00
net dt-bindings: net: dp8386x: Add MIT license along with GPL-2.0 2024-06-07 12:16:22 +01:00
nvmem dt-bindings: microchip-otpc: document Microchip OTPC 2022-07-08 15:45:04 +02:00
phy dt-bindings: phy: qcom,sc8280xp-qmp-pcie-phy: document PHY AUX clock on SM8[456]50 SoCs 2024-04-05 22:34:00 +05:30
pinctrl dt-bindings: pinctrl: Add pinctrl for Sophgo CV1800 series SoC. 2024-08-26 11:09:56 +02:00
pmu include: dt-bindings: add Performance Monitoring Unit for Exynos 2019-11-06 12:03:59 +09:00
power dt-bindings: power: Add support for RK3576 SoC 2024-08-20 11:08:26 +02:00
pwm dt-bindings: pwm: Add binding for RPi firmware PWM bus 2021-03-22 17:59:52 +01:00
regulator regulator: Add STM32MP25 regulator bindings 2024-07-05 14:45:25 +02:00
reset dt-bindings: clock, reset: fix top-comment indentation rk3576 headers 2024-09-09 16:13:05 -07:00
soc dt-bindings: soc: fsl: cpm_qe: Add QUICC Engine (QE) TSA controller 2024-09-03 07:49:18 +02:00
sound ASoC: audio-graph-port: add link-trigger-order 2024-06-26 17:47:55 +01:00
spmi treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
thermal dt-bindings: thermal: mediatek: Fix thermal zone definitions for MT8188 2024-07-15 13:31:39 +02:00
usb dt-bindings: connector: Add PD rev 2.0 VDO definition 2021-06-04 11:43:01 +02:00
watchdog dt-bindings: watchdog: aspeed-wdt: Add aspeed,reset-mask property 2023-10-29 19:45:10 +01:00