From patchwork Thu Feb 9 11:37:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manikanta Guntupalli X-Patchwork-Id: 13134430 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 EF988C61DA4 for ; Thu, 9 Feb 2023 11:39:09 +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=vhevP3xDOJqYW8ZnqU33yx/fYriVddH+6PvlwZgj/I8=; b=gw2BfXtRdIJ15/ yYDIwrBu7ki57MWx/FMH3bgIdv/awO44vmG3NyJ0rFJ0KM4mV2B1F9Cz0XC0vscuIPbyKtarKbB7A dBocg3cLqpP1aru9JhWc8VNX9nQwjXTEyJ9p30+ql87htpWHcMJO/WfX6StaPL1uVn1tokeAft4RR b17axtlmwMHyxN+VVCmptvymcfh4jid1cV0nXrImuF5Dln/pBfo48K/DHNTt1Ur62ve2s2Qke/12/ Ul82Xb1jjEN2/ndQzzmul2RZcMiAAFEp+1eRkYxGEGD2oEdtk+DioR/tjT5rXag1Zzqxq1rwo6UwA SgqBOvNiMxAioA4kvtmg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQ5Ff-001LC5-3C; Thu, 09 Feb 2023 11:38:07 +0000 Received: from mail-bn8nam11on20601.outbound.protection.outlook.com ([2a01:111:f400:7eae::601] helo=NAM11-BN8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQ5Fb-001LAU-M6 for linux-arm-kernel@lists.infradead.org; Thu, 09 Feb 2023 11:38:04 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NqAY3LPKpLOWpnrySsu3PgPU5Gr2a2gBkRiMWpEuShj9iT6zjH7u3UVoBPb4kzfa2UBncIUp4f72c6quF8p2ZiDDMcXG1Aw8rGc+MhMJFQrUvkRdsMMbIuOgvxm17WdLqrhjjzcoyUanAkroGT+IEnrtQavO9ce7AEj5OSw9D2IKYsdgzDL+uVCF1QqDwNGESAJwg91bRX8vp3jSe+9cPYf1m/8cfEHwOu+CjgOgGhvoX4aa892Bcmxeo34LfjESafCSq4RnaV3WsXW0Stz7h+dzyW0hGPh/ChDm7NoQhNaBA72OekIAk9IeFCfOdfHCCs6laE5BOt0BNU4G+Tlwgw== 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=qEVsbWMhvskk0tDHfRtWjbb5khEKp1SDVyrJPV5vf04=; b=X/Q8KEbdGTeFBaZSaBlKKe05rpWp19PNVIh6T+I2skOTU6gyChdQzQ1LMt9E02tSFWngEQ9AfgxyAb/8wouN6ZaE6Ox6klRwYwsd794A3TaEY27q2NzCv+IyEe5obz06SexiSSx453TkQQrAUO/VKJ5f4cMWY3WivXibTe5wXnD/3oBENPEdeU3JjPfi4z7mH5fQMtTxGkQUKFravisawvFnldi3fv11Wyc8SJFLb9Xe3Tm+TUIYIE8TDi0aObSvCQTxuBXK6ONZGlQF1xtuJKfLg4pckizY8HO2iqeAfmK3RE/FyyR5a2iGE2AQC5weUvZr6d4rEs7BxsFwY4BmnA== 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=qEVsbWMhvskk0tDHfRtWjbb5khEKp1SDVyrJPV5vf04=; b=fPc4xec45CBoc3pdwKImTGSI3xkH42/xQAXflyyRZMH3+i976BieCAKep62JQgClQD3d/4VPDEIYumHd91vX9hknhfM5bEqeKat3rMKhkbn9LuG5zv94FwC4kLGUbVoJ+Xe16mSgyo7buPKPA3weYSTQ8PuOKkkDIGjXOaFB/sM= Received: from DM6PR06CA0025.namprd06.prod.outlook.com (2603:10b6:5:120::38) by BL3PR02MB8185.namprd02.prod.outlook.com (2603:10b6:208:338::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.34; Thu, 9 Feb 2023 11:37:59 +0000 Received: from DM3NAM02FT027.eop-nam02.prod.protection.outlook.com (2603:10b6:5:120:cafe::b) by DM6PR06CA0025.outlook.office365.com (2603:10b6:5:120::38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.19 via Frontend Transport; Thu, 9 Feb 2023 11:37:58 +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-pvapexch02.xlnx.xilinx.com; pr=C Received: from xsj-pvapexch02.xlnx.xilinx.com (149.199.62.198) by DM3NAM02FT027.mail.protection.outlook.com (10.13.5.130) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6086.19 via Frontend Transport; Thu, 9 Feb 2023 11:37:58 +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.2507.16; Thu, 9 Feb 2023 03:37:56 -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; Thu, 9 Feb 2023 03:37:56 -0800 Received: from [172.23.64.3] (port=47173 helo=xhdvnc103.xilinx.com) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1pQ5FT-0007SE-QM; Thu, 09 Feb 2023 03:37:56 -0800 Received: by xhdvnc103.xilinx.com (Postfix, from userid 90444) id 1AEFE1055BB; Thu, 9 Feb 2023 17:07:31 +0530 (IST) From: Manikanta Guntupalli To: , , , , , , , , CC: , , , , , Raviteja Narayanam Subject: [PATCH V5 2/3] i2c: xiic: Update compatible with new IP version Date: Thu, 9 Feb 2023 17:07:25 +0530 Message-ID: <1675942646-31006-3-git-send-email-manikanta.guntupalli@amd.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1675942646-31006-1-git-send-email-manikanta.guntupalli@amd.com> References: <1675942646-31006-1-git-send-email-manikanta.guntupalli@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM3NAM02FT027:EE_|BL3PR02MB8185:EE_ X-MS-Office365-Filtering-Correlation-Id: d537d8e2-4de4-43b5-9395-08db0a9217fa X-MS-Exchange-SenderADCheck: 0 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: SDJg5qtDSlMkDYf8d3ufPKEI3/v8ubmUV1nStq4H9phLFLKLu4QllmiLyGGZ/C0KBuLiUMP+QXee5xUkU2A/00XMKI0BZmYZ2h+PtdDSTtaFela3fD0tM91Nh5aeGl73AHgtpGntMjVR2pKgqSYITkichpm4xYU7tc2EOq1Pn6MptogVlyYNITttVvjxeIv786kxtNS2/obbxgTsMMLfLV2Dsqdmrfw+fzxf3h3mDzzGVv9Ncj+3be6dL8EchDsd5QIQuEJ4bR7gGC2wrzNP7/szSJQwVI3k/NZ4CwfLvw1189onpup4kC7s0BepNO51ckUYeIvq/jl+/Yijssywc9FUQ121oOWpB05TB/O6jyTYYrU3Owggg954IIP7K1ZAJTtSXRVoD9XK9l7bVWyFHaQ/f6Bc8Wy2/g8R+itN7zd+IQX76YhgkMJ4L0SHJIjPaGS0TPCft5yQJPIB6IvXFPXkxS7fb0DradfCXICvBmCIDvyFj6HfJlebhaJywBc4NJs1AtoJM+EbVTFzk8cWDrRDc4ps2nbEUr/t2gy/KDRI3W5/q7aYuwuM1qCW1kUtzRNN2S9uvg+N0pWnuR8SZ0rVfJiI1vvb7VAcSvWiKfrljYkzII8bIGENcPRIhQirV+IRpSE9/aXLJhSOIherWCswvN6ILu5SMo4GLQdhCwG+SoCzGBC1MDWLvQOSwsko+z8N8iqRt+K4h8HXir+90iFatX7QFZBDWX109uQyp3WMnIHI4BKbf72Dgg6o4EV8 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:(13230025)(376002)(136003)(346002)(39860400002)(396003)(451199018)(40470700004)(36840700001)(46966006)(40480700001)(316002)(42882007)(36860700001)(42186006)(478600001)(47076005)(83380400001)(110136005)(336012)(54906003)(36756003)(2616005)(15650500001)(40460700003)(356005)(26005)(6266002)(186003)(44832011)(5660300002)(7416002)(70206006)(70586007)(4326008)(82310400005)(41300700001)(8676002)(8936002)(6666004)(107886003)(2906002)(7636003)(83170400001)(82740400003)(102446001)(2101003);DIR:OUT;SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Feb 2023 11:37:58.5920 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d537d8e2-4de4-43b5-9395-08db0a9217fa 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: DM3NAM02FT027.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR02MB8185 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230209_033803_753924_195ADC79 X-CRM114-Status: GOOD ( 10.00 ) 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 --- 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);