From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=77.81.229.115 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795266454; b=dPRaDRp/JXgOPUxWHo3hHx1hg5WZ9LNCSlsYpXL5z8DHniBQETFA1MpKBp4ifI4D3Rv3 +SWUpjYaB86veJDhBfiNWxHOfN3dE82UZUYRRnNUJnD+pvfko5y7Laz2/wVyXUyusgjsq ZZ2ojg8YjH13MraGK1qezW3gOcyqZY7n0cstPfEDjThP4SMZ2fMmyv6HJ+/Tb57O3gRws GdFj24j1rJTvB62cec/rmL4XQuL8iYz37iRxoCrbEni4qQ5hf9E9UOSbfuI945/NBQXb/ w/m9gjPfQMsk7/Nv0RNO7VkRjghKTIck9Po0EEAqm85+vTlcjfYchryKbZ3ewDrrCbQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795266454; h=DMARC-Filter:Received:DKIM-Signature:From:Date:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding:Message-Id:References: In-Reply-To:To:Cc:X-Developer-Signature:X-Developer-Key; bh=frQf8GLkcVGcswIAKYodbKDOsPiVF8c8ULwA4X1Wha8=; b=AFw1n1w0xd2qpb5kcVtEk5A3j2my6jx6yt4sAG+4huEfUvn7LEhuOm4EO4L25k213dM9 cnWj9zHz5GEIHYV5miZr6OmfSHkmhZ5OgWXMsEHedr51OZvTd6CkykPgorNNiQwXAvZ4N OS0VX7lSWIhd8JuEyTa2KW42TTzUBDsKgGTZe3j0dI3DHPusgjA//zDYZHZ7ZlbDehyzM pP0m8ni3kfdA4dhFmzJ/XpHyGh9iC0QUGy+72cvdl/i4NHZ2HkUYadT6gu9bOvxsjjM5d T8PCVSJmSh9StxhDmXLFdexUIj2DDB4pEMveqdkbUyJDIAaZdYtZZqMClcZfKw+Th0Q== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=chaosmail.tech; spf=pass smtp.mailfrom=chaosmail.tech; dkim=pass header.d=chaosmail.tech header.i=@chaosmail.tech header.a=rsa-sha256 header.s=mail header.b=NM3bT+I1; arc=none smtp.remote-ip=77.81.229.115 Received: from chaosmail.tech (chaosmail.tech [77.81.229.115]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0C8A8606A32C; Sat, 21 Nov 2026 13:07:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 0C8A8606A32C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=chaosmail.tech Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chaosmail.tech Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=chaosmail.tech header.i=@chaosmail.tech header.a=rsa-sha256 header.s=mail header.b=NM3bT+I1 Received: by chaosmail.tech (Postfix) id DB9391C8558; Sat, 21 Nov 2026 13:07:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chaosmail.tech; s=mail; t=1795266445; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=frQf8GLkcVGcswIAKYodbKDOsPiVF8c8ULwA4X1Wha8=; b=NM3bT+I1EL4loouUBDZTDD1r3cx3H8JOvtOGl2+TqZLzwBdrJbCJafG2vpb+JTWIHmLSW0 22fr4YnfmGNkmXhWkQ7cZwlzDypdNmGny4Thumq3Yoxttv5sSY1KXXT8ELg1K1lBOYoG1x OE9BxO2KIOh6MsQVGPWaOoPYlzvfmok= From: Sasha Finkelstein Date: Sat, 21 Nov 2026 14:07:20 +0100 Subject: [PATCH v9 1/3] dt-bindings: usb: tps6598x: Add sn201202x/ACE3 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261121-tipd-ace3-v9-1-9a2f1327a330@chaosmail.tech> References: <20261121-tipd-ace3-v9-0-9a2f1327a330@chaosmail.tech> In-Reply-To: <20261121-tipd-ace3-v9-0-9a2f1327a330@chaosmail.tech> To: Sven Peter , Janne Grunau , Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heikki Krogerus Cc: asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sasha Finkelstein X-Developer-Signature: v=1; a=ed25519-sha256; t=1795266444; l=3409; i=k@chaosmail.tech; s=20241124; h=from:subject:message-id; bh=3D67anuuGjiqz8chLYGAhdIm3naiDe35Vv0iye7zhq8=; b=Tr3jCuQJnZNGFHPXKlk3HAJWMXpdSbBgvaqViBnok9cq2TS5vGn7iSlQod6+UhoUxI3Dkd0u9 EVFA2dHNvN/Dl+iPAJvdHFQK6bYWZu1imvKNZEGJUR279lXL8WIXonZ X-Developer-Key: i=k@chaosmail.tech; a=ed25519; pk=aSkp1PdZ+eF4jpMO6oLvz/YfT5XkBUneWwyhQrOgmsU= A variant of tps6598x that is attached to a SPMI bus and is found on Apple devices starting from the M3 series Reviewed-by: Rob Herring (Arm) Signed-off-by: Sasha Finkelstein --- .../devicetree/bindings/usb/apple,sn201202x.yaml | 78 ++++++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 79 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/apple,sn201202x.yaml b/Documentation/devicetree/bindings/usb/apple,sn201202x.yaml new file mode 100644 index 000000000000..133a71bbedb7 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/apple,sn201202x.yaml @@ -0,0 +1,78 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/apple,sn201202x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments sn201202x Type-C Power Delivery controller + +maintainers: + - Sasha Finkelstein + +description: | + Texas Instruments sn201202x Type-C Power Delivery controller + + A variant of tps6598x controller also known as Apple ACE3 + present on hardware with Apple SoCs starting from the M3. + +properties: + compatible: + enum: + - apple,sn201202x + + reg: + maxItems: 1 + + interrupts: + items: + - description: Primary irq used for tps6598x events + - description: Logical register selection completed + - description: Standby command completed + - description: Wakeup command completed + + interrupt-names: + items: + - const: irq + - const: select + - const: sleep + - const: wake + + connector: + $ref: /schemas/connector/usb-connector.yaml# + +required: + - compatible + - reg + - interrupts + - interrupt-names + +additionalProperties: false + +examples: + - | + #include + #include + spmi { + #address-cells = <2>; + #size-cells = <0>; + usb-pd@c { + compatible = "apple,sn201202x"; + reg = <0xc SPMI_USID>; + interrupts = <11 IRQ_TYPE_EDGE_RISING>, + <13 IRQ_TYPE_EDGE_RISING>, + <17 IRQ_TYPE_EDGE_RISING>, + <19 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "irq", "select", "sleep", "wake"; + + connector { + compatible = "usb-c-connector"; + label = "USB-C"; + + port { + typec_ep: endpoint { + remote-endpoint = <&otg_ep>; + }; + }; + }; + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 93abbb315065..6bf3e8f35095 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2736,6 +2736,7 @@ F: Documentation/devicetree/bindings/soc/apple/apple,t6000-pmgr-misc.yaml F: Documentation/devicetree/bindings/spi/apple,spi.yaml F: Documentation/devicetree/bindings/spmi/apple,spmi.yaml F: Documentation/devicetree/bindings/usb/apple,dwc3.yaml +F: Documentation/devicetree/bindings/usb/apple,sn201202x.yaml F: Documentation/devicetree/bindings/watchdog/apple,wdt.yaml F: Documentation/hwmon/macsmc-hwmon.rst F: arch/arm64/boot/dts/apple/ -- 2.56.1