Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2074058lqz; Tue, 2 Apr 2024 06:41:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUBs5v2w0nIn7bd7tlAnMwG3iiKTRCgeDdv+SrPoqrXXoc6W98j9xkmVhccrD/LlUmnz4gVfKBnV/sPups0BN+shWUPuLAGQEKqQh7wKQ== X-Google-Smtp-Source: AGHT+IE1TjRrQEPRpTUt+FQSQ169TnrDRWA/ShfDy5EkodpzIllk5kHkp1hM+Naj7w4RHLqKoSOE X-Received: by 2002:a67:ff95:0:b0:476:daff:6d70 with SMTP id v21-20020a67ff95000000b00476daff6d70mr9278961vsq.33.1712065260956; Tue, 02 Apr 2024 06:41:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712065260; cv=pass; d=google.com; s=arc-20160816; b=NOzaQcI4wodCShdCmShi1n3XG3/5cZ0rWfgpOtAdttriJM8K4kXwO7zTSq0O3nkcDw KFncW7TF0PtlDaVSS5m9BNfz1A0JCSx2Mse2kwYpt1PZYR2cXYKSXoN++DH9lz1JrUuM lM4UQXFrmC2dZF1HnebcWv9m/LUW9kL8fUjY/65mgk2O0HRbNUFzWgllP2HwA0dCr46b SFeh2cINRsEsV3boMD3fmBFs9F0bJieWkmCzwCVd+69Yp3PytjuWYF+/SQbI117NyWqs 6UCeLRI6DRbYJMuXuLf+X3uGrO80tfx2uQTMZjFGjqNfZ3DWR1eyYUWxpVVwq2VkCQ+z QaTQ== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=FYRuLBePXm7LtfNGkqgUCLXwlzLbnGd18nDq4oZ216w=; fh=Z9OgthGJeFmQ4kBJNFAFXVxfFUmiPwdI1l/d4NOJJEU=; b=y8XbCnc2qzOiOrY1HGNAlyDV5NG2u+jvOt2PlYM701H50Sh9F0i8IEP48SP42CkxXy sMNQxEuQCM/yMs67ymXPDYl0kZx3T9mQbeaoZbY6IbjIc+r8OhNZ3J4WvxczVIJQ0L3P bjgGqOn9P5K9HE9tk4z8P9Hv6O8vpxmQyPdQ56J6Yigc0vN1VDDzrIYh7RXrE6I/8PDe qH0iuoDOBfdoCfqUCQVFVf82/uooPot3QphqB4aL3yREr0aCFNbnsLliss7XIFH6v5cX bht7wEXtljhBc7zg35Pz8aGZkggVDInaENtBi+g/eoyX4/om30vRjZ/XA2VltxQme4Ed BfJQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=awtvOC0Y; arc=pass (i=1 spf=pass spfdomain=marvell.com dkim=pass dkdomain=marvell.com dmarc=pass fromdomain=marvell.com); spf=pass (google.com: domain of linux-kernel+bounces-128061-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128061-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id m6-20020ab061c6000000b007e054ca5c67si1265735uan.76.2024.04.02.06.41.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 06:41:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-128061-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=awtvOC0Y; arc=pass (i=1 spf=pass spfdomain=marvell.com dkim=pass dkdomain=marvell.com dmarc=pass fromdomain=marvell.com); spf=pass (google.com: domain of linux-kernel+bounces-128061-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128061-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id A6F9C1C2193F for ; Tue, 2 Apr 2024 13:41:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0FCAB85285; Tue, 2 Apr 2024 13:40:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=marvell.com header.i=@marvell.com header.b="awtvOC0Y" Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) (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 AFF5684A52; Tue, 2 Apr 2024 13:40:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=67.231.148.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712065240; cv=none; b=PGYA6lCYO1/Nmmcv/IgrlFSrzQY5swyOXCqgeRSiB8ODlrfy7xQVkgLYO2UVyFBg1bQ+0zUatJ6G2wMmd5C7iDehvzp0AepK9vbNBTdFlwBuNku00ED0PFtlw1PE75cmat/Mjb7zWAw04SGUnND/6b+jDJER7hveMPtzPxOZGbI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712065240; c=relaxed/simple; bh=VizWeoyV8fCmRIIUh5AFwhFeslnWkcNQX9cGp4lK4H0=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=VBcmEROX7VBLrGrpGGIPqDVVGutebcSlQ2ShgnxBLe2DGFIiDeMd530huKMK4pskyyg2x3kpmmMvjLD1+NZLTX+XJlVjITDlO62tltTeHc+vNtKUqrixnedja0K4BhK+yNp8AuuO2J33RXx9Qrj6FKoliOv/xYJYO9Q0kkFeesI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=marvell.com; spf=pass smtp.mailfrom=marvell.com; dkim=pass (2048-bit key) header.d=marvell.com header.i=@marvell.com header.b=awtvOC0Y; arc=none smtp.client-ip=67.231.148.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=marvell.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=marvell.com Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 432C6uPH015314; Tue, 2 Apr 2024 06:40:24 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=pfpt0220; bh=FYRuLBeP Xm7LtfNGkqgUCLXwlzLbnGd18nDq4oZ216w=; b=awtvOC0YARYMDiqWBmRsvUsi cJd59di9Ef76crgdft5VuIOunAEql4y08OyBy1cSI9l7m0n2CfWyytFxjPVNXlwp 9fjmLLkmaewYO8VmFUiMKvrCnLbY7UbiFzBYPsWsALiARZ0uLYEJB4fD17ws6UWZ hmWtJ9n1/kMl5CDC/GeE5z3xtHFSIqska2IdrZQs/2OgCkRPVecpTNA/eb6tgJwA GtNx42CJPpbuKA9MNsZrWIigS0aA2xXnGUIs6AyftrHRURlzpizAOG35CvitCG9P 3UtMMCp8eFmY1rXjno3/00oeMfzRd1OM+cRDje7/l8Bceb85aZ79KRe9LBGf5A== Received: from dc5-exch05.marvell.com ([199.233.59.128]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3x8hr70c6y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 02 Apr 2024 06:40:24 -0700 (PDT) Received: from DC5-EXCH05.marvell.com (10.69.176.209) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Tue, 2 Apr 2024 06:40:23 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Tue, 2 Apr 2024 06:40:23 -0700 Received: from Dell2s-9.sclab.marvell.com (unknown [10.110.150.250]) by maili.marvell.com (Postfix) with ESMTP id 4E9563F706C; Tue, 2 Apr 2024 06:40:23 -0700 (PDT) From: Piyush Malgujar To: , , CC: , , , Piyush Malgujar Subject: [PATCH v6 0/4] i2c: thunderx: Marvell thunderx i2c changes Date: Tue, 2 Apr 2024 06:40:10 -0700 Message-ID: <20240402134018.2686919-1-pmalgujar@marvell.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: Q1mx1mtJXQQBTYmqb45Ssq0N-qhZEHAO X-Proofpoint-ORIG-GUID: Q1mx1mtJXQQBTYmqb45Ssq0N-qhZEHAO X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-02_06,2024-04-01_01,2023-05-22_02 The changes are for Marvell OcteonTX2 SOC family: - Handling clock divisor logic using subsytem ID - Support for high speed mode - Handle watchdog timeout - Added ioclk support Changes since V5: - Added "bitfield.h" header file in first patch to resolve implicit declaration issue of FIELD_GET reported by kernel test robot Changes since V4: - Proper alignment - Used bitops helpers as required - Patch description made more clear to understand - Removed unrelated code Changes since V3: - Removed the MAINTAINER file change from this series - Modified the commit message to include more details - Minor changes such as adding macros, comments modified to have more detail as required Changes since V2: - Respinning the series, no functional change - Added Marvell member in MAINTAINERS file - Added macro OTX2_REF_FREQ_DEFAULT for 100 MHz Changes since V1: - Addressed comments, added defines as required - Removed unnecessary code - Added a patch to support ioclk if sclk not present in ACPI table Piyush Malgujar (1): i2c: thunderx: Adding ioclk support Suneel Garapati (3): i2c: thunderx: Clock divisor logic changes i2c: thunderx: Support for High speed mode i2c: octeon: Handle watchdog timeout drivers/i2c/busses/i2c-octeon-core.c | 141 ++++++++++++++++------- drivers/i2c/busses/i2c-octeon-core.h | 53 +++++++-- drivers/i2c/busses/i2c-thunderx-pcidrv.c | 13 ++- 3 files changed, 152 insertions(+), 55 deletions(-) -- 2.43.0