Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp4554493pxv; Tue, 6 Jul 2021 03:55:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQANAaDh9xoGVAzTG4lG+4dXcperMcu6ytsfs1nM11SACeuXzMbxCNL7mLINxad7CCLNaG X-Received: by 2002:a05:6402:10d7:: with SMTP id p23mr22168537edu.74.1625568921469; Tue, 06 Jul 2021 03:55:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625568921; cv=none; d=google.com; s=arc-20160816; b=gOWnyA641WjE9u1WT44ME/PrU3uSUBJ8ufEnvN1i732zG+P/QEcKdOPxnPvICkL98+ +32W202jztBbQRA7yRk57PMkmpRjH/4x/btatNSWLlsu39u+wVaHGyJKA7TxBVFQ8Wu5 lvkLxZf3JZFGbUXwun+vaxd7/ihw7E33Eowxx95XxToktppaY8w0DROPWRAgYvX4LZK/ +vCA+DuZvS5/NPzt7lXNLU32MXPcXZJs1UAOAwXlHnXhb9E8R5bJCI4HpTKa5t8PnxeV mTuw6kPq8vb9/fq5TiEv1r/gvHVcAZxrr+wFlpkX22FOVggwxinqnQ3IxZ8nMGxdx+Pg Vr+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=BwujCQU52uufj03106RGl0byjIe1My+N311MbFxbJqE=; b=C9mJ2FFltw41Of2WpAl06YDmv2fotaS0oXw1/zDLPB6qpZtCGbc0JIY66NWgME2xvH Xb84013weKa73//0iMXRV26beQGD/Yw+qt3y7F+iRvcgbQMAsG1Gh283fFSOcvjrYpJy z0yR7wwSpCyheOLLb9BF/s8ya9/rHMh76fcZUAqt8sas23/Yo2AfkuGtPwb6Vwli3lTo NBIzePP7Npg9Tnw6OuUcPQMobZ6+2mjyRLRpjo1aOhoXFF2BSRgtF/Wk3+yA8c8lFGkF WumB2OllH+tor9Gff/ezf9G/cOG9/hToVBV18X1hEtDk0o4zgTm1hWon1ngxWWtXEwX6 my1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=OjziZu+l; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w3si14453734ejf.235.2021.07.06.03.54.58; Tue, 06 Jul 2021 03:55:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=OjziZu+l; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231828AbhGFKxx (ORCPT + 99 others); Tue, 6 Jul 2021 06:53:53 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:54486 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231642AbhGFKxw (ORCPT ); Tue, 6 Jul 2021 06:53:52 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 166Ap42N120321; Tue, 6 Jul 2021 05:51:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1625568664; bh=BwujCQU52uufj03106RGl0byjIe1My+N311MbFxbJqE=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=OjziZu+lDZUhKTS6KoiEqwJFNeclSGaNEowlVmxWM2jZadDXiolTS+rd4XEr2Pg+0 I23GxoSjj8PW0alrE9wAdmIwB/ZxNuryhe9WHn+cWQcj2UL/4ScOPgY3NPyc8tqYye Ye5iafIyluG0EpY95uoBkYz2LTKPJNfxv/h3ue88= Received: from DFLE106.ent.ti.com (dfle106.ent.ti.com [10.64.6.27]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 166Ap4rJ126321 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 6 Jul 2021 05:51:04 -0500 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Tue, 6 Jul 2021 05:51:03 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE110.ent.ti.com (10.64.6.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Tue, 6 Jul 2021 05:51:03 -0500 Received: from a0393678-ssd.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 166Aoar6015822; Tue, 6 Jul 2021 05:50:59 -0500 From: Kishon Vijay Abraham I To: Lorenzo Pieralisi , Arnd Bergmann , Rob Herring , Bjorn Helgaas CC: Lokesh Vutla , Kishon Vijay Abraham I , Greg Kroah-Hartman , Tom Joseph , , , , , Nadeem Athani Subject: [PATCH 5/5] misc: pci_endpoint_test: Add deviceID for AM64 and J7200 Date: Tue, 6 Jul 2021 16:20:35 +0530 Message-ID: <20210706105035.9915-6-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210706105035.9915-1-kishon@ti.com> References: <20210706105035.9915-1-kishon@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add device ID specific to AM64 and J7200 in pci_endpoint_test so that endpoints configured with those deviceIDs can use pci_endpoint_test driver. Signed-off-by: Kishon Vijay Abraham I --- drivers/misc/pci_endpoint_test.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/misc/pci_endpoint_test.c b/drivers/misc/pci_endpoint_test.c index 9740f2a0e7cd..707cf9d7e8c0 100644 --- a/drivers/misc/pci_endpoint_test.c +++ b/drivers/misc/pci_endpoint_test.c @@ -69,6 +69,8 @@ #define FLAG_USE_DMA BIT(0) #define PCI_DEVICE_ID_TI_AM654 0xb00c +#define PCI_DEVICE_ID_TI_J7200 0xb00f +#define PCI_DEVICE_ID_TI_AM64 0xb010 #define PCI_DEVICE_ID_LS1088A 0x80c0 #define is_am654_pci_dev(pdev) \ @@ -976,6 +978,12 @@ static const struct pci_device_id pci_endpoint_test_tbl[] = { { PCI_DEVICE(PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_J721E), .driver_data = (kernel_ulong_t)&j721e_data, }, + { PCI_DEVICE(PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_J7200), + .driver_data = (kernel_ulong_t)&j721e_data, + }, + { PCI_DEVICE(PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_AM64), + .driver_data = (kernel_ulong_t)&j721e_data, + }, { } }; MODULE_DEVICE_TABLE(pci, pci_endpoint_test_tbl); -- 2.17.1