Message ID | 20240215212852.1202339-3-m.felsch@pengutronix.de |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-67697-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp133853dyb; Thu, 15 Feb 2024 13:30:59 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWcw9pvJOPMjy4fLSjfe09lNNtTWCSedOEoAW4DbLkv2MDPrFxKkYnPdPLr8jRRKmMwAhq03loxk+LQypUP1hmcvV3w1g== X-Google-Smtp-Source: AGHT+IHfTCuB7x+HJarkic4UihoFfi+jWzIxcdqGOFlCjraXlMCtNe20bFUMW/A+mJt4jrQuaUbO X-Received: by 2002:a05:6358:5e86:b0:179:2d7b:26f3 with SMTP id z6-20020a0563585e8600b001792d7b26f3mr3557993rwn.3.1708032659617; Thu, 15 Feb 2024 13:30:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708032659; cv=pass; d=google.com; s=arc-20160816; b=LNjO4hup26VpDu8bkBsreE2iqzaowiqlx+HcyNBotamMG09BSinFFOXTfedhCFRE2n TMRivGIMhpzfZF5upirVo+gdd8SA2BctHyUYpQvZxrM/jZrE81yCejWQ0fYmXhPuAUBA fZN873PbivKs0nLnG9L0TOek1POx11Q4j8rddq/VbJqqvA1xf+Q9J9pbeyWkaZe0yXUK gCtSeO6SIPNIpnltfBGzXlPqXbgIumkN6irrspqKA49Y9pG1dRveLjOWqEL4JG8J4ivJ OEbws9yN70N8ggaFpRqZIkrrptkwHNm0eTjAo7J3V2EqVX4Kj9tZx0cYg3IWcJiLtAOv FbpQ== 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=wbZmQwH4ebYBuQYbDsOFndcJN1v8+LrG0H3Q6m1VilQ=; fh=/cbLjW7Rfwzb3I2vrEK+NHt6YgOcJ+Bp+XUtKNVrstM=; b=X8UL3x6gERqj+02VLsuZLfoH5ICGwYZ29t2DYZmL2Bb2HymilyxHxgor6b29sewfXO GVrM9+bvNgJvMSyZooZ3a7QZkuBaAH85ndecoQtYbGk75xilIk95gsRBQIv5hS6zaDmq qGJ4lPh444hQnLr0Ow3VNK6sTDNBALgSvLFxyYFPFIjrCiGHcKFvQHBQkvfN7e7j18mB uhQyNamlZrPeKGlLGP5NETb+Y9PjDb9rYMO4hiuihuRb6vnUikdVPEuHbLMKX5GamZsb MFfmGXRWOmxD1iTf30gg6S2yjfCkaXsQskGIr5GSL3yPoB1UBQPf2lpSO//aP9fRLazw iv0A==; 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-67697-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67697-ouuuleilei=gmail.com@vger.kernel.org" Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id t17-20020a05622a01d100b0042c71ec1dbesi2488728qtw.639.2024.02.15.13.30.59 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 13:30:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-67697-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-67697-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67697-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 9C1BC1C23C1E for <ouuuleilei@gmail.com>; Thu, 15 Feb 2024 21:30:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9ADD013DBBE; Thu, 15 Feb 2024 21:29:15 +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 C293F1419B1 for <linux-kernel@vger.kernel.org>; Thu, 15 Feb 2024 21:29:12 +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=1708032554; cv=none; b=dgdpSxBalK+VJ19PNZb7HHPu8Q5Rr1JaJlWMkvA9/8Fp6xH/R564dDRveLw5H+fp+S/4Xm4FJ23JmdeYibtIJstFG0mVaDQb9GxXqnlqqadXBtpSxEBd+O1LJvWwYo9jvRQ4xYJ39ktmS7ouA67E65R87Ml1z0Nv/rH46pY0I9I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708032554; c=relaxed/simple; bh=sCfsnKhY2IDm3v288y5GnenUdGuz2YCuAJ4RqWsCZlo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=rJ1Hz844yPratctP4qHuXuOLqPcDyNZ3K5r6wTjkl49+QKJC8HlcgB9Jw93M7wMMM197cVGUzEOAARYdpFRMF9vRelEQiQzE3+SVVYAMgGCIiBZxjLgadRcMlstkQL0vBhToqSj6923R/jZNW2HezIgZk4gtQpDLkL/Qva23t10= 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 1rajHr-0001xh-Gx; Thu, 15 Feb 2024 22:28:55 +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: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de Subject: [PATCH v2 2/4] usb: typec: tcpci: add generic tcpci fallback compatible Date: Thu, 15 Feb 2024 22:28:50 +0100 Message-Id: <20240215212852.1202339-3-m.felsch@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240215212852.1202339-1-m.felsch@pengutronix.de> References: <20240215212852.1202339-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: 1791002054047465844 X-GMAIL-MSGID: 1791002054047465844 |
Series |
USB-C TCPM Orientation Support
|
|
Commit Message
Marco Felsch
Feb. 15, 2024, 9:28 p.m. UTC
The driver already support the tcpci binding for the i2c_device_id so
add the support for the of_device_id too.
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
---
v2:
- no changes
drivers/usb/typec/tcpm/tcpci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/typec/tcpm/tcpci.c b/drivers/usb/typec/tcpm/tcpci.c index 0ee3e6e29bb1..7118551827f6 100644 --- a/drivers/usb/typec/tcpm/tcpci.c +++ b/drivers/usb/typec/tcpm/tcpci.c @@ -889,6 +889,7 @@ MODULE_DEVICE_TABLE(i2c, tcpci_id); #ifdef CONFIG_OF static const struct of_device_id tcpci_of_match[] = { { .compatible = "nxp,ptn5110", }, + { .compatible = "tcpci", }, {}, }; MODULE_DEVICE_TABLE(of, tcpci_of_match);