Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp596185rdb; Thu, 22 Feb 2024 13:10:52 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXkzxg5qi5h1Zf2QasX8MU6I9ksiQ14b+EHlQs0VCSbmkXL4K9nLNtUxitajk1oGZUbMoGaPjMTBHdy4uZhJXTAuvlGqJ5q2k4r5yrmYQ== X-Google-Smtp-Source: AGHT+IH9Fc3P2skbvCTrnSQyn60CUJR+HaIahNbxy7eQsSZQu3VaK7rpmrAHWSjEjG9zjiXAPeGj X-Received: by 2002:a17:902:b283:b0:1db:efef:f912 with SMTP id u3-20020a170902b28300b001dbefeff912mr47702plr.2.1708636251983; Thu, 22 Feb 2024 13:10:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708636251; cv=pass; d=google.com; s=arc-20160816; b=BLTkjjMZKdjgboXsOne7kfYwD0O1WotA1bEqGdRg5qBW4BgZY8qrClL3+NhItPLtjj tddk4rbZcovrI5fbisSgY4XtgYjg07RYWq/ZHtIYRR9fk2DdeEgfcPuRUEf+ybKI54QZ NBTwVweU5zXtiyTLsccDaDQV3khOUWZ78Qq97UGbU8z5aERPY3dFB7tCfv0+1bqp7VrY uucfCKM9AySaDHCFlmDR94av/1boc3j6gpjAj2qFAkPBvHRBb3ARJmlR41g45zsHfFrd jKrIRb17JQiPWuLnCfuAGlCGckIjUiBHzZWhmNIW4V1arjIdDo7wNBQY9AC9cPziGiP9 3hUA== 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-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77366-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id b9-20020a170902d50900b001db7d1afd64si11108389plg.342.2024.02.22.13.10.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 13:10:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-77366-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-77366-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77366-linux.lists.archive=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 1DA182852DB for ; Thu, 22 Feb 2024 21:10:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 537D113790D; Thu, 22 Feb 2024 21:09:32 +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 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 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 --- 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); -- 2.39.2