Skip to content

Commit 9ada969

Browse files
author
Lee Jones
committed
Merge branches 'ib-mfd-iio-touchscreen-clk-5.16', 'ib-mfd-misc-regulator-5.16' and 'tb-mfd-from-regulator-5.16' into ibs-for-mfd-merged
3 parents e7c8a5f + e68ce0f + eca8c5f commit 9ada969

22 files changed

Lines changed: 1094 additions & 523 deletions

‎Documentation/devicetree/bindings/clock/samsung,s2mps11.txt‎

Lines changed: 0 additions & 49 deletions
This file was deleted.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/clock/samsung,s2mps11.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Samsung S2M and S5M family clock generator block
8+
9+
maintainers:
10+
- Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
11+
12+
description: |
13+
This is a part of device tree bindings for S2M and S5M family of Power
14+
Management IC (PMIC).
15+
16+
The S2MPS11/13/15 and S5M8767 provide three(AP/CP/BT) buffered 32.768 kHz
17+
outputs. The S2MPS14 provides two (AP/BT) buffered 32.768 KHz outputs.
18+
19+
All available clocks are defined as preprocessor macros in
20+
dt-bindings/clock/samsung,s2mps11.h header.
21+
22+
See also Documentation/devicetree/bindings/mfd/samsung,s2mps11.yaml for
23+
additional information and example.
24+
25+
properties:
26+
compatible:
27+
enum:
28+
- samsung,s2mps11-clk
29+
- samsung,s2mps13-clk # S2MPS13 and S2MPS15
30+
- samsung,s2mps14-clk
31+
- samsung,s5m8767-clk
32+
33+
"#clock-cells":
34+
const: 1
35+
36+
clock-output-names:
37+
minItems: 3
38+
maxItems: 3
39+
description: Names for AP, CP and BT clocks.
40+
41+
required:
42+
- compatible
43+
- "#clock-cells"
44+
45+
additionalProperties: false
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/mfd/samsung,s2mpa01.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Samsung S2MPA01 Power Management IC
8+
9+
maintainers:
10+
- Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
11+
12+
description: |
13+
This is a part of device tree bindings for S2M and S5M family of Power
14+
Management IC (PMIC).
15+
16+
The Samsung S2MPA01 is a Power Management IC which includes voltage
17+
and current regulators, RTC, clock outputs and other sub-blocks.
18+
19+
properties:
20+
compatible:
21+
const: samsung,s2mpa01-pmic
22+
23+
interrupts:
24+
maxItems: 1
25+
26+
reg:
27+
maxItems: 1
28+
29+
regulators:
30+
$ref: ../regulator/samsung,s2mpa01.yaml
31+
description:
32+
List of child nodes that specify the regulators.
33+
34+
wakeup-source: true
35+
36+
required:
37+
- compatible
38+
- reg
39+
- regulators
40+
41+
additionalProperties: false
42+
43+
examples:
44+
- |
45+
#include <dt-bindings/interrupt-controller/irq.h>
46+
47+
i2c {
48+
#address-cells = <1>;
49+
#size-cells = <0>;
50+
51+
pmic@66 {
52+
compatible = "samsung,s2mpa01-pmic";
53+
reg = <0x66>;
54+
55+
regulators {
56+
ldo1_reg: LDO1 {
57+
regulator-name = "VDD_ALIVE";
58+
regulator-min-microvolt = <1000000>;
59+
regulator-max-microvolt = <1000000>;
60+
};
61+
62+
ldo2_reg: LDO2 {
63+
regulator-name = "VDDQ_MMC2";
64+
regulator-min-microvolt = <2800000>;
65+
regulator-max-microvolt = <2800000>;
66+
regulator-always-on;
67+
};
68+
69+
// ...
70+
71+
buck1_reg: BUCK1 {
72+
regulator-name = "vdd_mif";
73+
regulator-min-microvolt = <950000>;
74+
regulator-max-microvolt = <1350000>;
75+
regulator-always-on;
76+
regulator-boot-on;
77+
};
78+
79+
buck2_reg: BUCK2 {
80+
regulator-name = "vdd_arm";
81+
regulator-min-microvolt = <950000>;
82+
regulator-max-microvolt = <1350000>;
83+
regulator-always-on;
84+
regulator-boot-on;
85+
regulator-ramp-delay = <50000>;
86+
};
87+
88+
// ...
89+
};
90+
};
91+
};

0 commit comments

Comments
 (0)