From patchwork Wed Feb 15 13:32:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manikanta Guntupalli X-Patchwork-Id: 13141672 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6797FC636D4 for ; Wed, 15 Feb 2023 13:34:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=M4y94vXZ3C7UOjR1OQl2IWYyg/3aBh+cJBqFFPM64JY=; b=T0tLzXZ5qNGNzF fjMWprQFXilvYkaPIa+Qmh5UWv3ZRHBzQYFqBEIcKIEddHvrLF2b5V4LHXJTFsbMOtHRP3d198mDv tJk83wNHyZWNM/2HhtUONQFfFU0n7HgCAR/1QXgqRdnZAU/v03HOwyujl6HOfz0BMxgdwDJuGhMnJ zUa/jVkdB1mAPfe2SBV4GANV9tfWWD8/qLydpywcZdznYjVlJNghn9NXBwUATPdwoMJfCFImx5sXN Gox7i/dm6kZAq3lIo762kU5pJtQiaPdLjg6fMZA85Zz6LSVyKysT9WWdQXyjoyOWuCWaI7qcoH+/s ug3CexuqvW5Jt1GNNC6w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pSHuO-0061CQ-T9; Wed, 15 Feb 2023 13:33:17 +0000 Received: from mail-dm6nam11on2060d.outbound.protection.outlook.com ([2a01:111:f400:7eaa::60d] helo=NAM11-DM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pSHuM-0061Ac-1U for linux-arm-kernel@lists.infradead.org; Wed, 15 Feb 2023 13:33:15 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eeIjioxoUTQPE4ZVT76rF+/RbHBozV6eZy/JhrXFMkZrgVtd+Gkurca4tJImbXBvHEfZZPlUyMMBN8Ji1hrlxzMxGazICXG6sahPLJH5erAXK5aBspY2Npxz2LFYqQQSrUlMtQ0tDZz/VciuQeSwjtkGINVUfczqV1nR0Pqredfrj8ed303ROBkuC4HrxvsOkTJxt64TyvKxhxI6FbE6zxzZWPQFTCM8v02j45hKMBdX972Zqt1SdE9arD7oevqIHNNxrPQ89QUWnfAAGEb+M2+3FL4RWogwTl9fXBsdq7svQOj0vXnlDN5aojyjxEibfBbaqil+7ctO380ju7YITQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=6NntkIq1M06a9B+y/OJna6QefVd/HKbYhpe1gAyG6RY=; b=LiINGttGqQ5JeMFSALPYWtTssVSKv3aM+6j0LNopbqT7MTOE7TDOssc4CKCgmRGD1RnSHUjkuwqFbPVqKKMImED40ABKH2KuLD2da4P+QYL7hj40YiyRyi8MOjsU6q/WSR7o5P2T8w3lRqLrc+3vY3YICs2Y7M3nXuKJTBnpmlL94npBgfxAGQIwj6Ge/Nuz7udL3Mpv3XVEd1BRUsI2oZbEcx68YSVeIYSlov109JjmmCPvQ+0Th8IdbtA3hwHAp1OnIFuHUdtlsEimzU4PnBRPqNtfAVuCSBRH89bqk1MHT5Zo0nIzs5UD33NYEvLS89rshaFvdcaYwo/cZ5hpwg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.62.198) smtp.rcpttodomain=amd.com smtp.mailfrom=xilinx.com; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6NntkIq1M06a9B+y/OJna6QefVd/HKbYhpe1gAyG6RY=; b=FWfAlA3RHmsrffjnDzqkyA8JrklUmVSwEIpKCrc7IUwK3pPYh37leM05r8veFcLo9R/Yg3qQ9usVRcR3HLzBjQ45t+CyVHCnWnF1OLwNHXyNkG5brjuYs2PCbVI0GEToUwtQaxnm7CPx4/WDklv7fbAOxCxWe5+PETelHrf4IvI= Received: from BN7PR06CA0049.namprd06.prod.outlook.com (2603:10b6:408:34::26) by CO6PR02MB7748.namprd02.prod.outlook.com (2603:10b6:303:a6::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.26; Wed, 15 Feb 2023 13:33:10 +0000 Received: from BN1NAM02FT055.eop-nam02.prod.protection.outlook.com (2603:10b6:408:34:cafe::97) by BN7PR06CA0049.outlook.office365.com (2603:10b6:408:34::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.26 via Frontend Transport; Wed, 15 Feb 2023 13:33:09 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.199.62.198) smtp.mailfrom=xilinx.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.62.198 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.62.198; helo=xsj-pvapexch01.xlnx.xilinx.com; pr=C Received: from xsj-pvapexch01.xlnx.xilinx.com (149.199.62.198) by BN1NAM02FT055.mail.protection.outlook.com (10.13.2.163) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6111.12 via Frontend Transport; Wed, 15 Feb 2023 13:33:09 +0000 Received: from xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) by xsj-pvapexch01.xlnx.xilinx.com (172.19.86.40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Wed, 15 Feb 2023 05:32:54 -0800 Received: from smtp.xilinx.com (172.19.127.95) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server id 15.1.2507.16 via Frontend Transport; Wed, 15 Feb 2023 05:32:54 -0800 Received: from [172.23.64.3] (port=42320 helo=xhdvnc103.xilinx.com) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1pSHu1-0002ig-Ue; Wed, 15 Feb 2023 05:32:54 -0800 Received: by xhdvnc103.xilinx.com (Postfix, from userid 90444) id 022B61055BB; Wed, 15 Feb 2023 19:02:28 +0530 (IST) From: Manikanta Guntupalli To: , , , , , , , , CC: , , , , , Raviteja Narayanam Subject: [PATCH V6 2/3] i2c: xiic: Update compatible with new IP version Date: Wed, 15 Feb 2023 19:02:23 +0530 Message-ID: <1676467944-17426-3-git-send-email-manikanta.guntupalli@amd.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1676467944-17426-1-git-send-email-manikanta.guntupalli@amd.com> References: <1676467944-17426-1-git-send-email-manikanta.guntupalli@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN1NAM02FT055:EE_|CO6PR02MB7748:EE_ X-MS-Office365-Filtering-Correlation-Id: e48e83d1-2416-4eb8-759b-08db0f592dcb X-MS-Exchange-SenderADCheck: 0 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: uEeHQAg5GSyjYBzthvU+Xn6i/hZxaRgB9xj8WRoLDT8AD1dDTNwkYGsmg+IHkViwoZd3veS8kHA5d/3hEiXIq0qA/0Vl0CZKzISxDgr2nqqSDa8kvC9YdYNkVLD5u2Sa4aPcL1L3AuaUxUbhp/vCj88NMW6CG1hIHB3sgBR1aJlnV7yPrTSdP/BUyaw56iPjOEoTSkXFb+1SneNE/csGIBuyLZ3JPw/WtZnUhyiyOLXFjAqCVo7eL4UXDqI8nJRG61IoiKJpkSknRFMM8TlSZKHL0F2ETmQ2+/7Qw0TV2GydB6tE+ytOLWX+fLA9lEJ0R18bjlqGU6eLTyDCCW4pjfY4FehQxLHB1VP2SlSQ8NHOvnujja2muYluj97uLou0OacyLpXz1RIQIMc8Uz9uCuHd4fxo0DnBjo33TSeQwAeT9bSR6Zk2vOila/pxpGBRlxtmX1eitEV+zQwOS6+7fQ6j5ZUh76TFXQyTdsNCKMx71R9pMnaGjCjS9ewaC8GHNPVpFiLRlIiTYk2BfSkDBL8uGu6vbIu/9eeMvIUfQC86QXu2s1qLPIBMY6pjJlXIMjxmKf2zLhTGj8vI3tg7rK7vx8eM59D+H3O0eG2er6HMAm8Nqn7OtpGEh76KHIQD1yUMr+Ho76tGL3/RaIhVKYKxV691zNu2WhbDG/m2UC00Ls6RpHxPcx8jyNAwmmJ29hheUdEAIbUpHEt3djQ0nnM63kPZecYPF9IWY5bCamVYZoz7iA99F69kP9Kvx95X X-Forefront-Antispam-Report: CIP:149.199.62.198;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:xsj-pvapexch01.xlnx.xilinx.com;PTR:unknown-62-198.xilinx.com;CAT:NONE;SFS:(13230025)(376002)(136003)(396003)(346002)(39860400002)(451199018)(36840700001)(40470700004)(46966006)(2906002)(15650500001)(5660300002)(8936002)(7416002)(70586007)(70206006)(8676002)(4326008)(41300700001)(44832011)(316002)(54906003)(42186006)(110136005)(478600001)(36756003)(36860700001)(6666004)(107886003)(336012)(6266002)(26005)(186003)(42882007)(2616005)(83170400001)(7636003)(40480700001)(356005)(47076005)(82310400005)(83380400001)(40460700003)(82740400003)(102446001)(2101003);DIR:OUT;SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Feb 2023 13:33:09.6465 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e48e83d1-2416-4eb8-759b-08db0f592dcb X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.62.198];Helo=[xsj-pvapexch01.xlnx.xilinx.com] X-MS-Exchange-CrossTenant-AuthSource: BN1NAM02FT055.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR02MB7748 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230215_053314_116273_9E7CB831 X-CRM114-Status: GOOD ( 10.48 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Raviteja Narayanam Xilinx AXI I2C IP is updated with a bug fix for dynamic mode reads. Older IPs are handled with a workaround in which they are using xiic standard mode for all these effected use cases. Add the new IP version to compatible. Signed-off-by: Raviteja Narayanam Signed-off-by: Manikanta Guntupalli Acked-by: Michal Simek --- Changes since v1: none --- drivers/i2c/busses/i2c-xiic.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/i2c/busses/i2c-xiic.c b/drivers/i2c/busses/i2c-xiic.c index 8503b5016aaf..682b3567e83e 100644 --- a/drivers/i2c/busses/i2c-xiic.c +++ b/drivers/i2c/busses/i2c-xiic.c @@ -1074,6 +1074,7 @@ static const struct xiic_version_data xiic_2_00 = { #if defined(CONFIG_OF) static const struct of_device_id xiic_of_match[] = { { .compatible = "xlnx,xps-iic-2.00.a", .data = &xiic_2_00 }, + { .compatible = "xlnx,axi-iic-2.1", }, {}, }; MODULE_DEVICE_TABLE(of, xiic_of_match);