From patchwork Sat Jun 26 10:28:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raviteja Narayanam X-Patchwork-Id: 12346399 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D8C71C49EA5 for ; Sat, 26 Jun 2021 10:32:30 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 9BD6261926 for ; Sat, 26 Jun 2021 10:32:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9BD6261926 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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=uljK1VmWuteGMyKna/WrqtX4RZ3nF3FofXTtBRorCy4=; b=CMs1JfOIeBL/B7 2GfCzpYauaGld5zu4ma4pjxXWjGQTegb8vkXB//nwmjzyh2WLqN3CWSE0sDAGYwZ7Eq7uqWxsp3NY oLkn2cKwo2iD0tax2LZkHPNVIUr9MfRrjeLPgX7jNnkiwTTBV9KSMz/dLYPq8evE5tmCwVbuhGQ1u 2ef9KssylUNtYmzeuAPeluCByr7HdaumXxveWyVZhMh4NVoWZ6knW/8rK9DnTeHTy/pnA4zGfKNuu t+Ls4a9eCorC6a1qW45MqzdQmK22HoPZV5sX9VcpeUb//vEgrNZPdBUN4k50nuJO5bhb7sA679XO7 pWlsh1xRyoyynyuldfQg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lx5Zv-003sZq-KT; Sat, 26 Jun 2021 10:30:24 +0000 Received: from mail-co1nam11on2087.outbound.protection.outlook.com ([40.107.220.87] helo=NAM11-CO1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lx5YR-003s9F-RO for linux-arm-kernel@lists.infradead.org; Sat, 26 Jun 2021 10:28:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TKwPNcNmZwWpWgtYjHLEeU66Y6Qkohvghru33uyC0b5YKSVkeUxh+w1rWRK+/FbiuDnOM4EA7lfVONR3EZ8fv6CmUbtnbrBdimjDnWKcAl0iwcot0wHfnQcuJDrgo1Agcw8k3XyBXm86h6GmpTEYnAlllUf+OnfXZaq8m0ROwWxY3+7tNJ6XyKyzq285nzQOOBcKucsEWi/S2ZEpK02dFuwQ3PLBf/89At3IFLDeeHpc//CGiMqRfBD6HjMy/62zXaLUX0LuGOlMnOLTGNuFm09/6wXF64viAYvEM+3geE5LH9Ieez9RIMTaTSzP4LCG6pPr9dUDo2y/biD3v8PWsg== 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-SenderADCheck; bh=4z9PqdnsvcQRvSwHqvaJQ0UEhrHpS+ZoJRyxzRYSW4k=; b=P3IcE8EhiohGTHaqK4OiAxeEedcqQnZu8DApFEPXU8QSIbNqfnqg412ggRdB2D490BdcmDC+++t3YI0/Z4FGFbcisoNHKlp9rWpT8iIZqqWG0i1pUXWhdMAOgPBRnAXYafiSHZvLRwWaHCzkJmZLFmn2DspoNQ9DeXfXtP5jxdEcFb6MYM+TW+CNGzI7p/QSvgPLs7AlNo+xwplEuLCm+su8FWZioBsqUpXQdrH9qRhT3x2jH1Jc5wodjfAP7KHvqVmXAp5MDlzT3GuDy30kBzgE2TOyd2DYJa3r0yO7TsV1aT8DzfoGk4/3+jzaKRcImjqTZCoQUgfJiMQuz5PvFQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.62.198) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=xilinx.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=xilinx.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=4z9PqdnsvcQRvSwHqvaJQ0UEhrHpS+ZoJRyxzRYSW4k=; b=JW9Xc0Ue3PmMRfBMCkdttZChavXX4FgG8uUUc4ZIa8SbTuH//Lt4WSUiQYDuKNU5LXxrC+tNDzwhyIT0gFuc3+CxPp6XBB7rBHOFFPpyC0w8JyGZ1f9r6Emr4PF4Z/OUub9prcheJ2SQ5BY9uPbOx4Zl5LpLp4ePu4RwDnhUVac= Received: from SA9PR11CA0027.namprd11.prod.outlook.com (2603:10b6:806:6e::32) by BN8PR02MB5748.namprd02.prod.outlook.com (2603:10b6:408:b0::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.20; Sat, 26 Jun 2021 10:28:45 +0000 Received: from SN1NAM02FT0005.eop-nam02.prod.protection.outlook.com (2603:10b6:806:6e:cafe::b5) by SA9PR11CA0027.outlook.office365.com (2603:10b6:806:6e::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.20 via Frontend Transport; Sat, 26 Jun 2021 10:28:45 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.199.62.198) smtp.mailfrom=xilinx.com; vger.kernel.org; dkim=none (message not signed) header.d=none; vger.kernel.org; dmarc=pass action=none header.from=xilinx.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-pvapexch02.xlnx.xilinx.com; Received: from xsj-pvapexch02.xlnx.xilinx.com (149.199.62.198) by SN1NAM02FT0005.mail.protection.outlook.com (10.97.4.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.4264.18 via Frontend Transport; Sat, 26 Jun 2021 10:28:45 +0000 Received: from xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Sat, 26 Jun 2021 03:28:37 -0700 Received: from smtp.xilinx.com (172.19.127.96) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server id 15.1.2176.2 via Frontend Transport; Sat, 26 Jun 2021 03:28:37 -0700 Received: from [10.140.6.6] (port=55646 helo=xhdappanad40.xilinx.com) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1lx5YC-000AWJ-9s; Sat, 26 Jun 2021 03:28:36 -0700 From: Raviteja Narayanam To: , CC: , , , , , Raviteja Narayanam Subject: [PATCH v2 06/10] i2c: xiic: Update compatible with new IP version Date: Sat, 26 Jun 2021 15:58:02 +0530 Message-ID: <20210626102806.15402-7-raviteja.narayanam@xilinx.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210626102806.15402-1-raviteja.narayanam@xilinx.com> References: <20210626102806.15402-1-raviteja.narayanam@xilinx.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f0672b42-0d4c-451a-76ab-08d9388d2dae X-MS-TrafficTypeDiagnostic: BN8PR02MB5748: X-Microsoft-Antispam-PRVS: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-Oob-TLC-OOBClassifiers: OLM:1122; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ErkzR78v4SgFsnihbalcVpAyPbUq7lbnB7rkd7OCbdkMiMV9hOD8PRWs2VkJfyHxkjuMKRjZ5sfS50sSm+nadVp/LqNMXDd37P6YjO2+LOMqPblokAlzl9+uspgp4AbeiGGn2OD/xmdJAIzuTHxCnJbssQDTTrbnhdRX6doFeTwjvMvoz8MBD/0vhwK1wE0SmtKXmhVCb73bZ3Cy1+GpVnZ+/q40jBV5dwukKnOofPcqBJdSGGeP1m1Jl5Y61eK1nAwxIAxsz3xoDjOX+isdxDEFcwsY8GGm80+xgc/CN/rATzNyDx+w7tAqGFnK01ozjMDb3Okmw1ZFZER67bKccoj/SucW4oe56igsXsgi6xnVF2AzSI70719WhWbkUmHbD3lB2dqzg/evoK7p5lhB6wVqtWuD8xuPp4kijVyeJi3DktC0WYNOmJWRgyf6XDrguQfVHxulP/6EiRXlIf+8IbKHqxXO+jQWozG16im7M8/nZJUpMoEw7YRm44uzqCwgZXCabOVJ5snmiK5gthoOOruCJZs3av2XKhNI1S+3YiI2ZnjY2E7RJLBFjrd8GLOuUVsaEmGauxP0kaAyuh9UYnu6lVTsc2agOYItDRW9wSOIqFmELWLcyx+CwMOmoktPNodBMUfhlKeTMEyjIwhyORhxYb9VYB3Y5KRZCKpeFOatZhhgPinVjWkBR+cs3O14 X-Forefront-Antispam-Report: CIP:149.199.62.198; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:xsj-pvapexch02.xlnx.xilinx.com; PTR:unknown-62-198.xilinx.com; CAT:NONE; SFS:(4636009)(376002)(136003)(346002)(396003)(39860400002)(46966006)(36840700001)(15650500001)(36860700001)(2906002)(36756003)(6666004)(70206006)(70586007)(6636002)(54906003)(426003)(336012)(26005)(2616005)(110136005)(8936002)(36906005)(4744005)(8676002)(186003)(1076003)(44832011)(356005)(478600001)(4326008)(9786002)(7636003)(316002)(5660300002)(82740400003)(82310400003)(7696005)(83380400001)(107886003)(47076005)(102446001); DIR:OUT; SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jun 2021 10:28:45.6788 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f0672b42-0d4c-451a-76ab-08d9388d2dae 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-pvapexch02.xlnx.xilinx.com] X-MS-Exchange-CrossTenant-AuthSource: SN1NAM02FT0005.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR02MB5748 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210626_032851_940928_C93F37F8 X-CRM114-Status: UNSURE ( 9.18 ) X-CRM114-Notice: Please train this message. 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 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. Added the new IP version to compatible. Signed-off-by: Raviteja Narayanam --- 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 72c46cdfa712..007a78215a90 100644 --- a/drivers/i2c/busses/i2c-xiic.c +++ b/drivers/i2c/busses/i2c-xiic.c @@ -1058,6 +1058,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);