Message ID | 20240222210903.208901-2-m.felsch@pengutronix.de |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-77365-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp212054dyb; Thu, 22 Feb 2024 13:10:59 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXDhnNzzsLgg1fkilVfGKxZoFuOGOieXbS0jZJ/jsa0+mAPpUj9f1NiWFp2L/qaKt5Nemx4BM1n3WDylWmvMdUqhdpLWg== X-Google-Smtp-Source: AGHT+IG0440cUtuyumWS5sO6CiEBsmY9sAnnboKxsmaCc62VPWzLKYZFHEexqKoVYfK72jY6Ug4z X-Received: by 2002:a2e:9e10:0:b0:2d2:36aa:ed02 with SMTP id e16-20020a2e9e10000000b002d236aaed02mr138308ljk.17.1708636258950; Thu, 22 Feb 2024 13:10:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708636258; cv=pass; d=google.com; s=arc-20160816; b=bEIIlNsuyyZuhzate18VJJI72+jGqZ54M9LKwiL8dQzggGbOoC0ab3EW1zFDXTg1de mcjxhlfkOrLMA/g8oX/SXXSXPxhF3cnayb/r18+T/oS1n1kuXP2T0ZsP7bTBIgmMtiM3 psITAi3nsypow35eGLpGWi4w3JnwKkhuClIR3PlRqVB4FEvbpGNLAFpUbaVhDyf2Pg7F LOCnHsuu1E0l91/Q60r9VGMYAQD0I9lCN3ymtNYpQx87CD6p1BtfT4lNjBYU+noXDGJY tZZ6gZuXGqZjtak21EAEhnZCAk6rLo0UdNtd+dlg8YAUP0gYspfyjrG7v+gLS6mPvyHc RRLw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=Pmb0L8lVn+q7+zIBR+9LHDbfDUYmJABE0op8LMhf1oE=; fh=FttDRjnFdpjso3V5tb3WR+hSGsT8UJL4OhhG9l/Cs7o=; b=UWpsmwWOITnHeIILYCMH7X2wcLf4xmn14aipkSElqi+eO4ySO948x5+x6PkZYbp1t5 g2mcpnweVXJmrxyL+Er+hcY9aqorlV/yVOLZglt/eqcDIqzEnPCDK7TMCl3RSfsAbg6F SBm0Hz3njms1I0Y/y3MgF6myxjPiKY+wh62muKq5e8BTSfiRJYl9N8Zb6y0ResWOr0Cj vMhgUP22b2OyO++GZzlhsJt5I+AwWzH3aVSQRS3bk+ZLf/nbhWL3c5m6tw830ZGIupPZ s3gL+kNxePVN81ye2OP2ukCnlgR/rKIj0T3uI3kdI62ugzTUu7JNrmrKPr2tBzPfH//8 +sfw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-77365-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77365-ouuuleilei=gmail.com@vger.kernel.org" Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id l26-20020a056402029a00b005642258f88fsi5283812edv.454.2024.02.22.13.10.58 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 13:10:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-77365-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-77365-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77365-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 8D2F71F24ADA for <ouuuleilei@gmail.com>; Thu, 22 Feb 2024 21:10:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 587AF13BACF; Thu, 22 Feb 2024 21:09:33 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (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 641EB12D1FE for <linux-kernel@vger.kernel.org>; Thu, 22 Feb 2024 21:09:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708636171; cv=none; b=azwfbI3KUJT1w1V0/GFIk7mUYHb4gNVT27FGdsbVvbGEPKY53WbGuunf9ASL2PqEqrLjcM9CCZaw2tQ/dfLqLeMSw6Jf7Sc6wdAAAgE3BEB+b9q9O3TGjwIhvgnwcPj9uXCWGII6wzr0+Fm/u2zAp8IZGFcnBeki7STi50bWjEU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708636171; c=relaxed/simple; bh=I3EW9Vuk0mnGohws0wZ3vlCFahdWLNd/taLlxlA1rao=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=JZ7Yj8By1UjMfM+RiF/lUuhRNY5abICZLaTQUo1HQuRxjxZCfWn4wFRguWHhbguTAMIWTZlbW5A6vSUv6CXiqpowJfO+BaJwtVI4othMhervRb0dBdeqLWibvC6Qn7dL86Kjh4mVXq8QfFzWjARvIL3MmmCi16OtvwjMSWqiIGQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from dude02.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::28]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from <m.felsch@pengutronix.de>) id 1rdGJZ-0000lo-03; Thu, 22 Feb 2024 22:09:09 +0100 From: Marco Felsch <m.felsch@pengutronix.de> To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux@roeck-us.net, heikki.krogerus@linux.intel.com, jun.li@nxp.com Cc: devicetree@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de Subject: [PATCH v3 1/4] dt-bindings: usb: typec-tcpci: add tcpci fallback binding Date: Thu, 22 Feb 2024 22:09:00 +0100 Message-Id: <20240222210903.208901-2-m.felsch@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240222210903.208901-1-m.felsch@pengutronix.de> References: <20240222210903.208901-1-m.felsch@pengutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:1101:1d::28 X-SA-Exim-Mail-From: m.felsch@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791634973880842043 X-GMAIL-MSGID: 1791634973880842043 |
Series |
USB-C TCPM Orientation Support
|
|
Commit Message
Marco Felsch
Feb. 22, 2024, 9:09 p.m. UTC
The NXP PTN5110 [1] is an TCPCI [2] compatible chip, so add the fallback
binding.
[1] https://www.nxp.com/docs/en/data-sheet/PTN5110.pdf
[2] https://www.usb.org/sites/default/files/documents/usb-port_controller_specification_rev2.0_v1.0_0.pdf
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
---
v3:
- use items
- adapt example
v2:
- rephrase commit message
Documentation/devicetree/bindings/usb/nxp,ptn5110.yaml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Comments
On 22/02/2024 22:09, Marco Felsch wrote: > The NXP PTN5110 [1] is an TCPCI [2] compatible chip, so add the fallback > binding. > Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/usb/nxp,ptn5110.yaml b/Documentation/devicetree/bindings/usb/nxp,ptn5110.yaml index eaedb4cc6b6c..65a8632b4d9e 100644 --- a/Documentation/devicetree/bindings/usb/nxp,ptn5110.yaml +++ b/Documentation/devicetree/bindings/usb/nxp,ptn5110.yaml @@ -11,7 +11,9 @@ maintainers: properties: compatible: - const: nxp,ptn5110 + items: + - const: nxp,ptn5110 + - const: tcpci reg: maxItems: 1 @@ -41,7 +43,7 @@ examples: #size-cells = <0>; tcpci@50 { - compatible = "nxp,ptn5110"; + compatible = "nxp,ptn5110", "tcpci"; reg = <0x50>; interrupt-parent = <&gpio3>; interrupts = <3 IRQ_TYPE_LEVEL_LOW>;