Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp1157714pxv; Fri, 16 Jul 2021 03:02:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxfw8vNJMKWCTIEiLQ2fIO7/cFB0DNfj3QK1Ke0Xv7pQiiWm2aYdsFcRrWRqeYAaqBnp+U1 X-Received: by 2002:a02:aa8b:: with SMTP id u11mr8075377jai.43.1626429769260; Fri, 16 Jul 2021 03:02:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626429769; cv=none; d=google.com; s=arc-20160816; b=i3PLycSbeEfo8iiXiKNZrHmdBB1u/hTP9vDRokso4iB1aSJ8+Bz3QZOANVgmh2QVXb snxtJsGNurQmmorOhDTtMaNsl7Z0biPaJd0xoJhUXIz6piTdMFUJiSbrEZBu3ImDRfPk qTFQ5fZOT4E3f8wgFbU6/WSrSMKRwkDetv4sW2iVV5L8RpKC5PXQ33v4QI9A+Uqr66t1 mmvqH0/jXBhh9QBberF7kUglg63sYKsyaAaNFtDDM8T5G14Lxz4YvD1cCjmRqrWTtx0o /XMOlcmS5yMIc8OkEbBFriPwVh4Io+oHTm0kT8z86U1q3ZqogJzKF7C9Zk6wHwdO/VN1 Psfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-signature; bh=tiyUwbQP5/bDBlyRXNUxXz6rB+KN19LuV6Niuna3boI=; b=BWjnhzOPxQhxmXLWBOL4t0YlzommUnK42qeo9e7M09bXBdzHiBDsBUEmOkoqO+HC5h OspqqG1zV/B9TU0Cbvhh4sXW9fSNTfh10R+yiUfShhMadNBEfV0LsgJ3lHAySyQE9Vus r8SzWD+TB2wuu/leanrTino0ihemuYF2N9uWwK2sGMccvqCRfDG/r5cufJFMoMHokGgD GRedrGILnrsZapOrax0/dOArWIxaBBD2Qm9iR6sO7hU4kEygxL9CYACzgHnfmp8Qz4Ii u2AAaERFoTOa3SDjIcYMcWY/qF1dO9SQfbYf7aM8z0GRTqL7AwjJoY/MyAmIsNuvmHMh HX4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tq-group.com header.s=key1 header.b=oGuCxQQF; dkim=pass header.i=@tq-group.com header.s=key1 header.b=UH7k8VCA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tq-group.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g17si9424886jaq.116.2021.07.16.03.02.36; Fri, 16 Jul 2021 03:02:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@tq-group.com header.s=key1 header.b=oGuCxQQF; dkim=pass header.i=@tq-group.com header.s=key1 header.b=UH7k8VCA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tq-group.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237167AbhGPKEq (ORCPT + 99 others); Fri, 16 Jul 2021 06:04:46 -0400 Received: from mx1.tq-group.com ([93.104.207.81]:62527 "EHLO mx1.tq-group.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234167AbhGPKEQ (ORCPT ); Fri, 16 Jul 2021 06:04:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1626429682; x=1657965682; h=from:to:cc:subject:date:message-id; bh=tiyUwbQP5/bDBlyRXNUxXz6rB+KN19LuV6Niuna3boI=; b=oGuCxQQFV0ZazoTxj3is66sIk8n5g7uaxUEv/6LrB98pPKw/VV4mNyO9 xpPtxJXY+DV2gHGRX8DWM3erY7Fa8G3EcizbMmQ25+fYKeD8eM6ln7hai DKwzDzpgw+yrOB1y+aLzGAxAi+AncTBg22bm1TRsdxok3rO3Jd/U8E3cz j6RcNz6WT9Pj7MRMxBPumhlP5M8qnPNzBHJW7xngaIKvR662sm4H1Zqm4 mIhn3pAPiOD63nHwIEVvmgr5SEIEntYCBdVmOxLB5dvvSNycct4tuvQuo iOZTGPTM5rFkxMsU0+MTOh75hiXTEo4YLMhpZQTN9K4KZfCiXfQWXgr/I A==; X-IronPort-AV: E=Sophos;i="5.84,244,1620684000"; d="scan'208";a="18492074" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 16 Jul 2021 12:01:18 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Fri, 16 Jul 2021 12:01:18 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Fri, 16 Jul 2021 12:01:18 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1626429678; x=1657965678; h=from:to:cc:subject:date:message-id; bh=tiyUwbQP5/bDBlyRXNUxXz6rB+KN19LuV6Niuna3boI=; b=UH7k8VCAXWfgdKQW6xiHgaUnw20hcm0QKyNSFSaWjRcN2XHHIaqU6xUT zRlZWRqBagrkAcWUHJLL1F4DiUx2TwtgIrPzE3DXKIsJCnCQajT/jyFsl WAJkeQGSQoQ/I2EzEYr4Mbo6VUp+/Lw6O96XMtrYDkrdSjqHr8MRlQIO9 KOxlNZMpaExD/GiT/tmt/CGv7wVnBTWuIB5axUV0e+GHbAGHnNU8ItnR+ XSSUejQNdJ3RX4Mforyj7npj8y+beq2M/Af6X1lXVIw6s7BSjFemF5ZoV J+FA7QsprnFDcLtTDwz78vvBAKoGG0v/QsejVY8BmGK0sbt86cRHsNxel w==; X-IronPort-AV: E=Sophos;i="5.84,244,1620684000"; d="scan'208";a="18492073" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 16 Jul 2021 12:01:18 +0200 Received: from schifferm-ubuntu4.tq-net.de (schifferm-ubuntu4.tq-net.de [10.121.48.12]) by vtuxmail01.tq-net.de (Postfix) with ESMTPA id A4E1D280070; Fri, 16 Jul 2021 12:01:18 +0200 (CEST) From: Matthias Schiffer To: Linus Walleij , Bartosz Golaszewski , Lee Jones Cc: Andrew Lunn , Andy Shevchenko , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Matthias Schiffer Subject: [PATCH v3 5/7] mfd: tqmx86: add support for TQMx110EB and TQMxE40x Date: Fri, 16 Jul 2021 12:00:51 +0200 Message-Id: X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the board IDs for the TQMx110EB and the TQMxE40x family. All use a 24MHz LPC clock. Signed-off-by: Matthias Schiffer Reviewed-by: Andrew Lunn --- v2: - add more new modules - explicitly list each module for LPC clock v3: no changes drivers/mfd/tqmx86.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/drivers/mfd/tqmx86.c b/drivers/mfd/tqmx86.c index ff1bdb742e3f..9eb05b3ef573 100644 --- a/drivers/mfd/tqmx86.c +++ b/drivers/mfd/tqmx86.c @@ -35,6 +35,11 @@ #define TQMX86_REG_BOARD_ID_E39x 7 #define TQMX86_REG_BOARD_ID_70EB 8 #define TQMX86_REG_BOARD_ID_80UC 9 +#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_REV 0x21 #define TQMX86_REG_IO_EXT_INT 0x26 #define TQMX86_REG_IO_EXT_INT_NONE 0 @@ -127,6 +132,16 @@ static const char *tqmx86_board_id_to_name(u8 board_id) return "TQMx70EB"; case TQMX86_REG_BOARD_ID_80UC: return "TQMx80UC"; + case TQMX86_REG_BOARD_ID_110EB: + return "TQMx110EB"; + case TQMX86_REG_BOARD_ID_E40M: + return "TQMxE40M"; + case TQMX86_REG_BOARD_ID_E40S: + return "TQMxE40S"; + case TQMX86_REG_BOARD_ID_E40C1: + return "TQMxE40C1"; + case TQMX86_REG_BOARD_ID_E40C2: + return "TQMxE40C2"; default: return "Unknown"; } @@ -139,6 +154,11 @@ static int tqmx86_board_id_to_clk_rate(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_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: return 24000; case TQMX86_REG_BOARD_ID_E39M: case TQMX86_REG_BOARD_ID_E39C: -- 2.17.1