From patchwork Thu Feb 22 21:09:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marco Felsch X-Patchwork-Id: 205062 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp212080dyb; Thu, 22 Feb 2024 13:11:01 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXx0iWDQf4azqH+9OYcM7CBVU8cqBpuq3Ai5GhAF4ZxM/hta9NF/DbqOegzaUqDNKz8AFFFzkadhpU8Ht6HYXQQ1j2bKQ== X-Google-Smtp-Source: AGHT+IH2jfkY0tPnGp5yFG37kDJtw3fXiOmEuG4TYVvrVrmR0Ppfbhat1NY3T7ppUC3AdrLNtmB7 X-Received: by 2002:a17:906:483:b0:a3f:33b5:64dd with SMTP id f3-20020a170906048300b00a3f33b564ddmr14145eja.49.1708636261363; Thu, 22 Feb 2024 13:11:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708636261; cv=pass; d=google.com; s=arc-20160816; b=lf+gM9xlC4HzKeiPrO8RRuKTuAV5mY7BlzPAlV5TIWg9oN3UDd2zWbwUkmPuAos18B bCWXRXaSMrBr/li9UBr002iT0kAHB3BuddIe9tJd5OHG8itn9ge5fbXmq5BBxIds286K gL+rlnqeJwWun4Ke3ErLBE1NqsDZuhNY2SxRxNdgsVjmBKnurTmOBF0T/6SlVpW+cksM OndPILAGX19feHnVyu9RlDANCw5S1YM5nUb3ww3ecL+7L3eXyXjvyWK7VFf0AqkrqT7v tAicYHiRNZMa4kQtb2q8xaepH7bxaEPxyEYuwYdD9v5JCbeKw0w3Vk26hu+GCeut+yUK ZExA== 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=TYzzTWHB8MuJScwbh/51rVPBHWNS7qp7IHKMZre8xSU=; fh=FttDRjnFdpjso3V5tb3WR+hSGsT8UJL4OhhG9l/Cs7o=; b=eGlv6XGZ2KEcxqaLSDHxE/0oyEYwaA7vzWqmyFMqqfw7dHWHDsmlgriP8l3ujezBp0 tubhxqIGJP7VngtnfudJ0lAX5sc2XDF2TdP2Q9RtyirotGLQHWXisRMNARpvDu9Euwo5 4NYb6tySfgZn/8RuriOLzEtHnGA8AYw60Y7IrDdg05de0JF88Zdz8w6Wa+0HvA/sVcDM nDiNmZkK+CF4uLlQ0gD042s+AavpXP9NnQA1UlPX9H9r2WeyRtwijRKco/TiGBN/JlMq MjgrQ1BbQLBlWdhlyXCJrwLly3tBtg0KTBqlKmRdxmIzWQQRxdsDL+hpOn6uW8UYQECq juig==; 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-77366-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77366-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 v15-20020a170906180f00b00a3e95937621si3864368eje.449.2024.02.22.13.11.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 13:11:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-77366-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-77366-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77366-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 F38601F25916 for ; Thu, 22 Feb 2024 21:11:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6A0CF13BAD3; 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 641B312D1FD for ; 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=ZZKuWqKji+WoZXYL44CPM/kWp3vLbo+1ID/FP/9N2iM6zaS20km2Q/ggpMsJ0XuxKnl02OIGwenMP+5/DJdkVI11Lt+z8lPXc206ArYvZ/07JIgexw9sCME9hRUS6z/2gaJSRH+MxUoY98TRQYbUp48XLEi268TZk0o3YPStugU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708636171; c=relaxed/simple; bh=CP/W/KjoUJAC5u+lS9nh0tLDWDlSc3SWhNf/31pSLlo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ao0GashJ5H8rOnIFloUOx2EjVQJ/g2BHCj9CsAvqeJ3j+g9IUDatYOi9ybjNsttCDoko3oKPpGMx0G2vS4VEZRauA1VsjdoBPLRMX0u50NkqJcoO9zveTKhtjUO4E/QriB5rEMKy5FEUwq5MVt86PkCQBm8TdG4KUErQjOmBRPU= 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 ) id 1rdGJZ-0000lo-8L; Thu, 22 Feb 2024 22:09:09 +0100 From: Marco Felsch 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 2/4] usb: typec: tcpci: add generic tcpci fallback compatible Date: Thu, 22 Feb 2024 22:09:01 +0100 Message-Id: <20240222210903.208901-3-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: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: 1791634976039769157 X-GMAIL-MSGID: 1791634976039769157 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 Reviewed-by: Heikki Krogerus --- v3: - no changes 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);