Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: mfd: Add Apple Mac System Management Controller

Add a DT binding for the Apple Mac System Management Controller.

Signed-off-by: "Russell King (Oracle)" <rmk+kernel@armlinux.org.uk>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Neal Gompa <neal@gompa.dev>
Signed-off-by: Sven Peter <sven@kernel.org>
Link: https://lore.kernel.org/r/20250610-smc-6-15-v7-3-556cafd771d3@kernel.org
Signed-off-by: Lee Jones <lee@kernel.org>

authored by

Russell King (Oracle) and committed by
Lee Jones
dbad7199 51bb1f6d

+80
+79
Documentation/devicetree/bindings/mfd/apple,smc.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/mfd/apple,smc.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Apple Mac System Management Controller 8 + 9 + maintainers: 10 + - Sven Peter <sven@kernel.org> 11 + 12 + description: 13 + Apple Mac System Management Controller implements various functions 14 + such as GPIO, RTC, power, reboot. 15 + 16 + properties: 17 + compatible: 18 + items: 19 + - enum: 20 + - apple,t6000-smc 21 + - apple,t8103-smc 22 + - apple,t8112-smc 23 + - const: apple,smc 24 + 25 + reg: 26 + items: 27 + - description: SMC area 28 + - description: SRAM area 29 + 30 + reg-names: 31 + items: 32 + - const: smc 33 + - const: sram 34 + 35 + mboxes: 36 + maxItems: 1 37 + 38 + gpio: 39 + $ref: /schemas/gpio/apple,smc-gpio.yaml 40 + 41 + reboot: 42 + $ref: /schemas/power/reset/apple,smc-reboot.yaml 43 + 44 + additionalProperties: false 45 + 46 + required: 47 + - compatible 48 + - reg 49 + - reg-names 50 + - mboxes 51 + 52 + examples: 53 + - | 54 + soc { 55 + #address-cells = <2>; 56 + #size-cells = <2>; 57 + 58 + smc@23e400000 { 59 + compatible = "apple,t8103-smc", "apple,smc"; 60 + reg = <0x2 0x3e400000 0x0 0x4000>, 61 + <0x2 0x3fe00000 0x0 0x100000>; 62 + reg-names = "smc", "sram"; 63 + mboxes = <&smc_mbox>; 64 + 65 + smc_gpio: gpio { 66 + compatible = "apple,smc-gpio"; 67 + gpio-controller; 68 + #gpio-cells = <2>; 69 + }; 70 + 71 + reboot { 72 + compatible = "apple,smc-reboot"; 73 + nvmem-cells = <&shutdown_flag>, <&boot_stage>, 74 + <&boot_error_count>, <&panic_count>; 75 + nvmem-cell-names = "shutdown_flag", "boot_stage", 76 + "boot_error_count", "panic_count"; 77 + }; 78 + }; 79 + };
+1
MAINTAINERS
··· 2339 2339 F: Documentation/devicetree/bindings/iommu/apple,sart.yaml 2340 2340 F: Documentation/devicetree/bindings/leds/backlight/apple,dwi-bl.yaml 2341 2341 F: Documentation/devicetree/bindings/mailbox/apple,mailbox.yaml 2342 + F: Documentation/devicetree/bindings/mfd/apple,smc.yaml 2342 2343 F: Documentation/devicetree/bindings/net/bluetooth/brcm,bcm4377-bluetooth.yaml 2343 2344 F: Documentation/devicetree/bindings/nvme/apple,nvme-ans.yaml 2344 2345 F: Documentation/devicetree/bindings/nvmem/apple,efuses.yaml