public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Fabio Estevam <festevam@gmail.com>
To: heiko@sntech.de
Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-rockchip@lists.infradead.org,
	Fabio Estevam <festevam@nabladev.com>,
	Stephen Boyd <sboyd@kernel.org>
Subject: [PATCH 01/11] dt-bindings: clock: rockchip: Add RV1103B clock and reset unit
Date: Fri,  6 Feb 2026 15:12:59 -0300	[thread overview]
Message-ID: <20260206181309.2696095-2-festevam@gmail.com> (raw)
In-Reply-To: <20260206181309.2696095-1-festevam@gmail.com>

From: Fabio Estevam <festevam@nabladev.com>

Add device tree bindings for the clock and reset unit for the RV1103B SoC.

Cc: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Fabio Estevam <festevam@nabladev.com>
---
 .../bindings/clock/rockchip,rv1103b-cru.yaml  | 63 +++++++++++++++++++
 1 file changed, 63 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/clock/rockchip,rv1103b-cru.yaml

diff --git a/Documentation/devicetree/bindings/clock/rockchip,rv1103b-cru.yaml b/Documentation/devicetree/bindings/clock/rockchip,rv1103b-cru.yaml
new file mode 100644
index 000000000000..fa7298955aea
--- /dev/null
+++ b/Documentation/devicetree/bindings/clock/rockchip,rv1103b-cru.yaml
@@ -0,0 +1,63 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/clock/rockchip,rv1103b-cru.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Rockchip RV1103B Clock and Reset Unit
+
+maintainers:
+  - Fabio Estevam <festevam@nabladev.com>
+  - Heiko Stuebner <heiko@sntech.de>
+
+description: |
+  The RV1103B clock controller generates and supplies clocks to various
+  controllers within the SoC and also implements a reset controller for SoC
+  peripherals.
+  Each clock is assigned an identifier and client nodes can use this identifier
+  to specify the clock which they consume. All available clocks are defined as
+  preprocessor macros in the dt-bindings/clock/rockchip,rv1103b-cru.h header
+  and can be used in device tree sources. Similar macros exist for the reset
+  sources in these files.
+  There are several clocks that are generated outside the SoC. It is expected
+  that they are defined using standard clock bindings with following
+  clock-output-names:
+    - "xin24m"   - crystal input                              - required
+    - "xin32k"   - rtc clock                                  - optional
+
+properties:
+  compatible:
+    enum:
+      - rockchip,rv1103b-cru
+
+  reg:
+    maxItems: 1
+
+  "#clock-cells":
+    const: 1
+
+  "#reset-cells":
+    const: 1
+
+  clocks:
+    maxItems: 1
+
+  clock-names:
+    const: xin24m
+
+required:
+  - compatible
+  - reg
+  - "#clock-cells"
+  - "#reset-cells"
+
+additionalProperties: false
+
+examples:
+  - |
+    clock-controller@20000000 {
+      compatible = "rockchip,rv1103b-cru";
+      reg = <0x20000000 0x81000>;
+      #clock-cells = <1>;
+      #reset-cells = <1>;
+    };
-- 
2.34.1


  reply	other threads:[~2026-02-06 18:13 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-06 18:12 [PATCH 00/11] ARM: rockchip: Add initial RV1103B and Omega4 board support Fabio Estevam
2026-02-06 18:12 ` Fabio Estevam [this message]
2026-02-07 10:54   ` [PATCH 01/11] dt-bindings: clock: rockchip: Add RV1103B clock and reset unit Krzysztof Kozlowski
2026-02-06 18:13 ` [PATCH 02/11] dt-bindings: clk: rockchip: Add RV1103B clock header Fabio Estevam
2026-02-06 20:15   ` Jonas Karlman
2026-02-07 11:00   ` Krzysztof Kozlowski
2026-02-07 11:01   ` Krzysztof Kozlowski
2026-02-06 18:13 ` [PATCH 03/11] clk: rockchip: Add clock controller for the RV1103B Fabio Estevam
2026-02-06 18:13 ` [PATCH 04/11] dt-bindings: pinctrl: Add RV1103B pinctrl support Fabio Estevam
2026-02-06 18:13 ` [PATCH 05/11] pinctrl: rockchip: " Fabio Estevam
2026-02-06 18:13 ` [PATCH 06/11] dt-bindings: mmc: rockchip-dw-mshc: Add compatible string for R1103B Fabio Estevam
2026-02-07 10:58   ` Krzysztof Kozlowski
2026-02-06 18:13 ` [PATCH 07/11] dt-bindings: serial: snps-dw-apb-uart: Add support for RV1103B Fabio Estevam
2026-02-07 10:59   ` Krzysztof Kozlowski
2026-02-07 11:09     ` Greg Kroah-Hartman
2026-02-06 18:13 ` [PATCH 08/11] dt-bindings: soc: rockchip: Add RV1103B IOC and GRF entries Fabio Estevam
2026-02-07 11:03   ` Krzysztof Kozlowski
2026-02-06 18:13 ` [PATCH 09/11] ARM: dts: rockchip: Add support for RV1103B Fabio Estevam
2026-02-06 18:13 ` [PATCH 10/11] dt-bindings: arm: rockchip: Add Onion RV1103B Omega4 Fabio Estevam
2026-02-07 10:56   ` Krzysztof Kozlowski
2026-02-06 18:13 ` [PATCH 11/11] ARM: dts: " Fabio Estevam
2026-02-06 20:50   ` Jonas Karlman
2026-02-07 10:55 ` [PATCH 00/11] ARM: rockchip: Add initial RV1103B and Omega4 board support Krzysztof Kozlowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260206181309.2696095-2-festevam@gmail.com \
    --to=festevam@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@nabladev.com \
    --cc=heiko@sntech.de \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=robh@kernel.org \
    --cc=sboyd@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox