Skip to content

Commit 8cc6822

Browse files
WhatAmISupposedToPutHeregregkh
authored andcommitted
dt-bindings: spmi: Add Apple SPMI controller
Add bindings for the SPMI controller present on most Apple SoCs Reviewed-by: "Rob Herring (Arm)" <[email protected]> Reviewed-by: Sven Peter <[email protected]> Signed-off-by: Sasha Finkelstein <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Neal Gompa <[email protected]> Signed-off-by: Stephen Boyd <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent cdd18ef commit 8cc6822

File tree

2 files changed

+50
-0
lines changed

2 files changed

+50
-0
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/spmi/apple,spmi.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Apple SPMI controller
8+
9+
maintainers:
10+
- Sasha Finkelstein <[email protected]>
11+
12+
description: A SPMI controller present on most Apple SoCs
13+
14+
allOf:
15+
- $ref: spmi.yaml#
16+
17+
properties:
18+
compatible:
19+
items:
20+
- enum:
21+
- apple,t8103-spmi
22+
- apple,t6000-spmi
23+
- apple,t8112-spmi
24+
- const: apple,spmi
25+
26+
reg:
27+
maxItems: 1
28+
29+
required:
30+
- compatible
31+
- reg
32+
33+
unevaluatedProperties: false
34+
35+
examples:
36+
- |
37+
#include <dt-bindings/spmi/spmi.h>
38+
39+
spmi@920a1300 {
40+
compatible = "apple,t6000-spmi", "apple,spmi";
41+
reg = <0x920a1300 0x100>;
42+
#address-cells = <2>;
43+
#size-cells = <0>;
44+
45+
pmic@f {
46+
reg = <0xf SPMI_USID>;
47+
/* PMIC-specific properties */
48+
};
49+
};

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2283,6 +2283,7 @@ F: Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml
22832283
F: Documentation/devicetree/bindings/power/apple*
22842284
F: Documentation/devicetree/bindings/pwm/apple,s5l-fpwm.yaml
22852285
F: Documentation/devicetree/bindings/spi/apple,spi.yaml
2286+
F: Documentation/devicetree/bindings/spmi/apple,spmi.yaml
22862287
F: Documentation/devicetree/bindings/watchdog/apple,wdt.yaml
22872288
F: arch/arm64/boot/dts/apple/
22882289
F: drivers/bluetooth/hci_bcm4377.c

0 commit comments

Comments
 (0)