From nobody Sun Feb 8 17:37:44 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F109425524D; Wed, 5 Mar 2025 20:26:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741206406; cv=none; b=Sh4ZRxtQNWQrjnkU3q89MXTs2nJTU6Cz3EVHSjq7kkOHIo/11VPp8UXgB/goZzbj5U0qcjDf4uWVoRtL2zE5wtAwtCTfjTbp7zHQBxb9WgKG67zloT5Jhct3lOPP5oYI25SYKk/1WALXq0VYamj5vV5Cyo28tunGFR/FS53C5WQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741206406; c=relaxed/simple; bh=0Ss8o6p9OpxjRooVXnCwtLf8ZlT4HLr0yLlZ/0eVlz8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=DzJ2xdxaPuZkqsF4ZRZJbLdh8b7l7bhyWg5XbdNG89i2V9eht73WlaeUfLUj93NUm0WH50kzpjeBGwB9pS0Rb50ZCulTr90GvD5MaEEo+iVcUyvr3ODwD9Gkc2oREeXIOS6QJvjXpxhGSXUARJmMlph8CYK7o304tdKIwPMhN5w= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=HaFsi8qD; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="HaFsi8qD" Received: by smtp.kernel.org (Postfix) with ESMTPS id 812D5C4CEE7; Wed, 5 Mar 2025 20:26:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1741206405; bh=0Ss8o6p9OpxjRooVXnCwtLf8ZlT4HLr0yLlZ/0eVlz8=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=HaFsi8qDt7Nu9vvTolC3BwFEy6Cw604CuOmHSUsiSwWULnMJ1wDKIBXqMMnsxzc7m UhcxXox3TYkpK2iQZ32R0Dfjt1l/V9wvq7LM3TE1PDCRLlyXw7+R7xkLMCArMhE74w DbRXj3kD5TtkAP26zozNViBiSO/Ldq/FJC7COoNVp+CzBHvJ8ndh8ZIGvmUOqinHB5 WCeobUFcwybdT0dWF8VFHLkpPz6TRNtvdMpfjONuwNHWWJiWHUA3VLTkrVijUexuWJ WIYFWPy9eqMBW02UVKZHe/ip96/7gkP1j2hJ4bd0D2ZRCF6Rp8rrZ5Uv2gB4f2Vse1 z3HLoBfRu65+g== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 695AEC282DE; Wed, 5 Mar 2025 20:26:45 +0000 (UTC) From: Sasha Finkelstein via B4 Relay Date: Wed, 05 Mar 2025 21:26:39 +0100 Subject: [PATCH 1/3] dt-bindings: spmi: Add Apple SPMI controller Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250305-spmi-v1-1-c98f561fa99f@gmail.com> References: <20250305-spmi-v1-0-c98f561fa99f@gmail.com> In-Reply-To: <20250305-spmi-v1-0-c98f561fa99f@gmail.com> To: Sven Peter , Janne Grunau , Alyssa Rosenzweig , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Sasha Finkelstein X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1741206403; l=2492; i=fnkl.kernel@gmail.com; s=20241124; h=from:subject:message-id; bh=KNCBkhvO52J1kQqvsaBk59bvzteIeD2Qg+hhwDOkSh8=; b=5o0WZ1+c0ucvdM6/lf9SLYn/flQjuj4eWosyV4AxUFxiT4FxuzkMZec1i08klmCfEx8z9wf/4 ATiUt9Vffn2B0+YTjEQYhTnH48l4lXt5vU448Lw2lGvREW9KrEGKqpR X-Developer-Key: i=fnkl.kernel@gmail.com; a=ed25519; pk=aSkp1PdZ+eF4jpMO6oLvz/YfT5XkBUneWwyhQrOgmsU= X-Endpoint-Received: by B4 Relay for fnkl.kernel@gmail.com/20241124 with auth_id=283 X-Original-From: Sasha Finkelstein Reply-To: fnkl.kernel@gmail.com From: Sasha Finkelstein Add bindings for the SPMI controller present on most Apple SoCs Signed-off-by: Sasha Finkelstein Reviewed-by: Rob Herring (Arm) --- .../devicetree/bindings/spmi/apple,spmi.yaml | 56 ++++++++++++++++++= ++++ MAINTAINERS | 1 + 2 files changed, 57 insertions(+) diff --git a/Documentation/devicetree/bindings/spmi/apple,spmi.yaml b/Docum= entation/devicetree/bindings/spmi/apple,spmi.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6404af8adec52f4631200c48956= f4c1695e88a39 --- /dev/null +++ b/Documentation/devicetree/bindings/spmi/apple,spmi.yaml @@ -0,0 +1,56 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spmi/apple,spmi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple SPMI controller + +maintainers: + - Sasha Finkelstein + +description: A SPMI controller present on most Apple SoCs + +allOf: + - $ref: spmi.yaml# + +properties: + compatible: + items: + - enum: + - apple,t8103-spmi + - apple,t6000-spmi + - apple,t8112-spmi + - const: apple,spmi + + reg: + maxItems: 1 + +required: + - compatible + - reg + +patternProperties: + "pmu@[0-9a-f]$": + type: object + + description: + PMIC properties, which are specific to the used SPMI PMIC device(s). + +unevaluatedProperties: false + +examples: + - | + #include + + spmi@920a1300 { + compatible =3D "apple,t6000-spmi", "apple,spmi"; + reg =3D <0x920a1300 0x100>; + #address-cells =3D <2>; + #size-cells =3D <0>; + + pmu@f { + reg =3D <0xf SPMI_USID>; + /* PMIC-specific properties */ + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 8e0736dc2ee0e33544fa373a4978b7dae18c040c..271ff8110df83c2d4fe7fbbfffc= 0a72259460bc5 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2236,6 +2236,7 @@ F: Documentation/devicetree/bindings/pci/apple,pcie.y= aml F: Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml F: Documentation/devicetree/bindings/power/apple* F: Documentation/devicetree/bindings/pwm/apple,s5l-fpwm.yaml +F: Documentation/devicetree/bindings/spmi/apple,spmi.yaml F: Documentation/devicetree/bindings/watchdog/apple,wdt.yaml F: arch/arm64/boot/dts/apple/ F: drivers/bluetooth/hci_bcm4377.c --=20 2.48.1