[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250425132727.5160-2-linux.amoon@gmail.com>
Date: Fri, 25 Apr 2025 18:56:21 +0530
From: Anand Moon <linux.amoon@...il.com>
To: Chanwoo Choi <cw00.choi@...sung.com>,
Krzysztof Kozlowski <krzk@...nel.org>,
Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>,
Rob Herring <robh@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Alim Akhtar <alim.akhtar@...sung.com>,
linux-kernel@...r.kernel.org (open list:MAXIM PMIC AND MUIC DRIVERS FOR EXYNOS BASED BO...),
linux-clk@...r.kernel.org (open list:COMMON CLK FRAMEWORK),
devicetree@...r.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS),
linux-arm-kernel@...ts.infradead.org (moderated list:ARM/SAMSUNG S3C, S5P AND EXYNOS ARM ARCHITECTURES),
linux-samsung-soc@...r.kernel.org (open list:ARM/SAMSUNG S3C, S5P AND EXYNOS ARM ARCHITECTURES)
Cc: Anand Moon <linux.amoon@...il.com>
Subject: [PATCH v1 01/10] dt-bindings: clock: Add RTC clock binding for Maxim MAX77686
Add device tree schema for the RTC clock in the Maxim MAX77686
family of PMICs. This binding defines the 32k clock generator
block, which includes three 32.768kHz crystal clock outputs
controllable via I2C.
The detailed binding information can be found in the MFD DT binding
documentation at bindings/mfd/maxim,max77686.yaml.
Signed-off-by: Anand Moon <linux.amoon@...il.com>
---
.../bindings/clock/maxim,max77686.yaml | 48 +++++++++++++++++++
1 file changed, 48 insertions(+)
create mode 100644 Documentation/devicetree/bindings/clock/maxim,max77686.yaml
diff --git a/Documentation/devicetree/bindings/clock/maxim,max77686.yaml b/Documentation/devicetree/bindings/clock/maxim,max77686.yaml
new file mode 100644
index 000000000000..72f11309f033
--- /dev/null
+++ b/Documentation/devicetree/bindings/clock/maxim,max77686.yaml
@@ -0,0 +1,48 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/clock/maxim,max77686.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Maxim MAX77686 family clock generator block
+
+maintainers:
+ - Anand Moon <linux.amoon@...il.com>
+
+description: |
+ Binding for Maxim MAX77686 32k clock generator block
+
+ This is a part of device tree bindings of MAX77686 multi-function
+ device. More information can be found in MFD DT binding
+ doc as follows:
+ bindings/mfd/maxim,max77686.yaml for MAX77686
+
+ The MAX77686 contains three 32.768khz crystal clock outputs that can
+ be controlled (gated/ungated) over I2C. Clocks are defined as
+ preprocessor macros in dt-bindings/clock/maxim,max77686.h.
+
+properties:
+ compatible:
+ enum:
+ - max77686-rtc
+
+ "#clock-cells":
+ const: 1
+
+ clock-output-names:
+ maxItems: 3
+ description: Names for AP, CP and BT clocks.
+
+required:
+ - compatible
+ - "#clock-cells"
+
+additionalProperties: false
+
+examples:
+ - |
+ max77686_osc: clocks {
+ compatible = "max77686-rtc";
+ #clock-cells = <1>;
+ clock-output-names = "32khz_ap", "32khz_cp", "32khz_pmic";
+ };
--
2.49.0
Powered by blists - more mailing lists