From nobody Thu Nov 28 01:29:19 2024 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (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 0E7C6184522 for ; Mon, 7 Oct 2024 07:49:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=93.104.207.81 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728287394; cv=none; b=PCGTN1+0yFfJmUzaqPQfx6VI8UYKQbMrW48dc2kVkmuIFN0NFn/2z4TZFvR89f7wTUr/9AofKd0ipDKTWocencC4k1b4WMvpimzZszZBh3nzD6Z4Nssf5rFyFm/oyUxQSbXJxuTL6Otmmo2ScfYU6wGpA2CrLViB4cTuyXpRZDk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728287394; c=relaxed/simple; bh=2T8tYH30WRVaS1BnNkar9yqr9aelKhvVz6y0UmGBm6o=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ARH0TauPRuk092as/VvKgKOL493lOs7tQirY+eDz2WWW/qLKSZ26N5CmoUTz6AcHMFQlWB868V5ktClpqtzT65zodfZFBbUGF552AptXkbjof7HHkK6EBwr864WyE1E8W5pJUl3yRxqoJpz73yF6la+yanJ9w07jNL2/sD79omI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com; spf=pass smtp.mailfrom=ew.tq-group.com; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b=ALZQC8HI; dkim=fail (0-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b=p7zIY+GD reason="key not found in DNS"; arc=none smtp.client-ip=93.104.207.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="ALZQC8HI"; dkim=fail reason="key not found in DNS" (0-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b="p7zIY+GD" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1728287392; x=1759823392; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ANm8Z4Te3MXK2r5kc8MomW1f964Du2ZJDUS4MWPZa0Y=; b=ALZQC8HI03Oaz129Z1wXqTIBtLU7uX/yggwawbO8dFY2e2QrZspIe3w5 hRxhfZQj5PRSp+J4YbTHpSk+S2gtSuVJ1p7hlN3RCLGe03QjJxe9tpRlZ EDtsJCazxHE75/y+jsNaH+oPPaK2GJRf8hg3HRspzRAcPLFZvBVfjDfGI u6/rbFbkbyehZUw63QI/d59iTCALolb3w/11kj2s+Cqj3UXM3t8FPbZGQ TagzGiUyJUw6T2Ahq2T7ycP8nscQrzhswT8ilgz5RkPTWYBZUAugLuG6O QKl7JcEsHjb039Xx32amlt2lZXQkhJaWZ5qmnfvo0drTZ9P8vom0R+RVv w==; X-CSE-ConnectionGUID: T4OD8Tj8SweNORvPxuySdg== X-CSE-MsgGUID: 3Im8HEUUQ82M4qRDHWGykg== X-IronPort-AV: E=Sophos;i="6.11,183,1725314400"; d="scan'208";a="39297569" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 07 Oct 2024 09:48:43 +0200 X-CheckPoint: {6703925B-13-B2445409-D7D9D2C2} X-MAIL-CPID: B95D485A5DCFB51AC8B856AE57ADAD2E_0 X-Control-Analysis: str=0001.0A682F28.6703925B.00E3,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 2579116BCC1; Mon, 7 Oct 2024 09:48:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1728287319; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=ANm8Z4Te3MXK2r5kc8MomW1f964Du2ZJDUS4MWPZa0Y=; b=p7zIY+GDInShTcY9HBdR01RBFQvqcGjSkANoYm+7miLoEvguxq9QOSClpjq2DERS/KTSn5 z9CyyTdJZ/jEXG6/STQAQv1uz7iyTsOTNPSc6cwvIGEDThDK2LlqmH6fe6EqzSSt3qihWv qFTqKCoT8dJBc5p0N1fdjoE28rPvD6f6NBcHwygI0gDoH1GnBVKGoQQ8BYMWbt2KbhoqtV VoaMYpke9cbypm59D9Z+Vhn2d29DJG9Ms2sEGiOYwW4TJIDZDH7mYBXUvxDmPBYBDGFioa 4Al7D+uk78eQ+OOgkhOIrozIBG+ZmsF25nbki//ufwKXllJ56bd2ESp4TdSwZQ== From: Matthias Schiffer To: Lee Jones Cc: linux@ew.tq-group.com, linux-kernel@vger.kernel.org, Matthias Schiffer Subject: [PATCH v4 1/5] mfd: tqmx86: add board definitions for TQMx120UC, TQMx130UC and TQMxE41S Date: Mon, 7 Oct 2024 09:48:04 +0200 Message-ID: X-Mailer: git-send-email 2.46.2 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Last-TLS-Session-Version: TLSv1.3 This adds support for 3 new TQMx86 COMs: - TQMx120UC/TQMx130UC: COM Express Compact Type 6 modules with 12th and 13th Generation Intel Core CPUs ([1, 2]) - TQMxE41S: SMARC 2.1 module with Intel Atom x7000E and compatible CPUs [3] [1] https://www.tq-group.com/en/products/tq-embedded/x86-architecture/tqmx1= 20uc/ [2] https://www.tq-group.com/en/products/tq-embedded/x86-architecture/tqmx1= 30uc/ [3] https://www.tq-group.com/en/products/tq-embedded/x86-architecture/tqmxe= 41s/ Signed-off-by: Matthias Schiffer --- v2: no changes v3: no changes v4: no changes drivers/mfd/tqmx86.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/drivers/mfd/tqmx86.c b/drivers/mfd/tqmx86.c index fac02875fe7d9..e15b9be98c2db 100644 --- a/drivers/mfd/tqmx86.c +++ b/drivers/mfd/tqmx86.c @@ -35,11 +35,14 @@ #define TQMX86_REG_BOARD_ID_E39C2 7 #define TQMX86_REG_BOARD_ID_70EB 8 #define TQMX86_REG_BOARD_ID_80UC 9 +#define TQMX86_REG_BOARD_ID_120UC 10 #define TQMX86_REG_BOARD_ID_110EB 11 #define TQMX86_REG_BOARD_ID_E40M 12 #define TQMX86_REG_BOARD_ID_E40S 13 #define TQMX86_REG_BOARD_ID_E40C1 14 #define TQMX86_REG_BOARD_ID_E40C2 15 +#define TQMX86_REG_BOARD_ID_130UC 16 +#define TQMX86_REG_BOARD_ID_E41S 19 #define TQMX86_REG_BOARD_REV 0x01 #define TQMX86_REG_IO_EXT_INT 0x06 #define TQMX86_REG_IO_EXT_INT_NONE 0 @@ -132,6 +135,8 @@ static const char *tqmx86_board_id_to_name(u8 board_id,= u8 sauc) return "TQMx70EB"; case TQMX86_REG_BOARD_ID_80UC: return "TQMx80UC"; + case TQMX86_REG_BOARD_ID_120UC: + return "TQMx120UC"; case TQMX86_REG_BOARD_ID_110EB: return "TQMx110EB"; case TQMX86_REG_BOARD_ID_E40M: @@ -142,6 +147,10 @@ static const char *tqmx86_board_id_to_name(u8 board_id= , u8 sauc) return "TQMxE40C1"; case TQMX86_REG_BOARD_ID_E40C2: return "TQMxE40C2"; + case TQMX86_REG_BOARD_ID_130UC: + return "TQMx130UC"; + case TQMX86_REG_BOARD_ID_E41S: + return "TQMxE41S"; default: return "Unknown"; } @@ -154,11 +163,14 @@ static int tqmx86_board_id_to_clk_rate(struct device = *dev, u8 board_id) case TQMX86_REG_BOARD_ID_60EB: case TQMX86_REG_BOARD_ID_70EB: case TQMX86_REG_BOARD_ID_80UC: + case TQMX86_REG_BOARD_ID_120UC: case TQMX86_REG_BOARD_ID_110EB: case TQMX86_REG_BOARD_ID_E40M: case TQMX86_REG_BOARD_ID_E40S: case TQMX86_REG_BOARD_ID_E40C1: case TQMX86_REG_BOARD_ID_E40C2: + case TQMX86_REG_BOARD_ID_130UC: + case TQMX86_REG_BOARD_ID_E41S: return 24000; case TQMX86_REG_BOARD_ID_E39MS: case TQMX86_REG_BOARD_ID_E39C1: --=20 TQ-Systems GmbH | M=C3=BChlstra=C3=9Fe 2, Gut Delling | 82229 Seefeld, Germ= any Amtsgericht M=C3=BCnchen, HRB 105018 Gesch=C3=A4ftsf=C3=BChrer: Detlef Schneider, R=C3=BCdiger Stahl, Stefan Sch= neider https://www.tq-group.com/