Message ID | 20240618-dev-mule-i2c-mux-v4-5-5462d28354c8@cherry.de (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org> 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 72539C2BB85 for <linux-rockchip@archiver.kernel.org>; Tue, 18 Jun 2024 16:10:50 +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:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=VdYeGC6TGPKCA9hVLGLeiheyXl9R42Omo1Kw7a7uKBY=; b=qSS+dSo9skHoD/+kaBJh0pQEBv SgVmGww9ZM7d7dWl0/uR3pY4YV4Ofp3XuTx7zn8JgVjfJJ3Ic0t35UqzdASW1Zw2BLY075KHIX8rg uV3rrFZ/PfUCJZUOlGP3pBwHnbSDlesEVkzUm6DZLjoUqnbf+DRDSVAn+7meuhy0s9ykrlgvTt/hb THzS/koKFJu376KfIVcs6POK1JjKEwYzE7OTMaDFHN+TOGqVwY+LO34ydVAvOZuhNhZ4Z9+JqYuYq vZLJQEo0LC2mOtD/0lZKCAEm4bzgLWH6nwlyOAXV1hHkiVEFeWIgBLOy9mg/hTIMfiXhbZYPAulXX kJc/AQZA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJbPy-0000000Flrs-3bx1; Tue, 18 Jun 2024 16:10:46 +0000 Received: from mail-am6eur05on20719.outbound.protection.outlook.com ([2a01:111:f403:2612::719] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJbPI-0000000FlMl-43cc; Tue, 18 Jun 2024 16:10:06 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Wbn4rePg7DvEI8OJouaBzqKDsxmgiQPvbf8Pas8qpBsU1EEBg95Dajv6PqOCeBpgMRskzS445Tk7IeDXTonY7L4uYX1Ve4j8CKVCTPlal6kJ+j5siEh6M9FmgMn5ymX+ZrsV7SquUpNZcdhN0mKO2shQQWK//NMrenOlUxBGrWlpXFVUb0D0XEdfxJUAlwYuUowPHsNXr7SEN4e31/DLdbe5lFYENCP4aqlKHCFwCszRfoD3A/Xh72a51tgj7glTZ0jP6C0tjNmuQ1XANCt7cXbVnC0vIA89y4V/67rvyoWIAgvy9yYpiP+sJrK5cEJWvEjVTDTWOnX1CPo1yxCX1g== 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=HNzqLlROhiUaVRtvwgh2JlueytI+aFRy0b6MpZJr3HM=; b=IohSgKjv4OspN7ykKursZYc6zY6DHKvWKDMDTrSdMWgkQlxrkWtGehbm/XvcK7T81n6wnZfqga+4LlEAIHANszSGUA1VyH/p7A5eLrU5t/nbEaBogftw8/i8k9QB9e2f+jHL/PA/XIdo5aq3zdyx+1VCgVlF5gczGFn0GBq5ktYtixKhcZixoXoXWfaEu3H6pc6HqPcnj+iv2rqrfwWrlez33O0WZL9kB3Oj1VLJavPOx1lRAoiGXSzBQVtcUpNc6oY7PwDNV9edCtHoRv2D98aDet/kSW2+vzrHhJbGM1+Ho+WJwhzPCDCkIUi8bIbtyyh/XF6IJf7cXI6HfSTWSw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cherry.de; dmarc=pass action=none header.from=cherry.de; dkim=pass header.d=cherry.de; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cherry.de; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HNzqLlROhiUaVRtvwgh2JlueytI+aFRy0b6MpZJr3HM=; b=krHicajRJ/i4D2ZijR82eHn/YR8p0nBi8yZiGvr3E2WS4kIz/i93zYF5O+KVQLVWufp7Cu9CkFXy2um+olf5TfEJltjxV6+ROzsQPNveXv+wk5TF+BGeUpSrhSg6Kx22Q48lTpCJ4PMqDbRw5M3WOSvxoZpIhRocNUs7vbQd7Fk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=cherry.de; Received: from VE1PR04MB6382.eurprd04.prod.outlook.com (2603:10a6:803:122::31) by VI2PR04MB10642.eurprd04.prod.outlook.com (2603:10a6:800:27f::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.30; Tue, 18 Jun 2024 16:09:50 +0000 Received: from VE1PR04MB6382.eurprd04.prod.outlook.com ([fe80::2a24:328:711:5cd6]) by VE1PR04MB6382.eurprd04.prod.outlook.com ([fe80::2a24:328:711:5cd6%5]) with mapi id 15.20.7677.030; Tue, 18 Jun 2024 16:09:50 +0000 From: Farouk Bouabid <farouk.bouabid@cherry.de> Date: Tue, 18 Jun 2024 18:06:47 +0200 Subject: [PATCH v4 5/9] mfd: simple-mfd-i2c: Add support for tsd,mule Message-Id: <20240618-dev-mule-i2c-mux-v4-5-5462d28354c8@cherry.de> References: <20240618-dev-mule-i2c-mux-v4-0-5462d28354c8@cherry.de> In-Reply-To: <20240618-dev-mule-i2c-mux-v4-0-5462d28354c8@cherry.de> To: Jean Delvare <jdelvare@suse.com>, Guenter Roeck <linux@roeck-us.net>, Andi Shyti <andi.shyti@kernel.org>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Lee Jones <lee@kernel.org>, Farouk Bouabid <farouk.bouabid@cherry.de>, Quentin Schulz <quentin.schulz@cherry.de>, Peter Rosin <peda@axentia.se>, Heiko Stuebner <heiko@sntech.de> Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org X-Mailer: b4 0.14.0 X-ClientProxiedBy: VI1PR07CA0286.eurprd07.prod.outlook.com (2603:10a6:800:130::14) To VE1PR04MB6382.eurprd04.prod.outlook.com (2603:10a6:803:122::31) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VE1PR04MB6382:EE_|VI2PR04MB10642:EE_ X-MS-Office365-Filtering-Correlation-Id: 65597078-c78c-4f8e-62ab-08dc8fb11490 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|52116011|7416011|376011|366013|1800799021|38350700011|921017; X-Microsoft-Antispam-Message-Info: =?utf-8?q?LH0DOhtwx8dYZOcY5LLiBSY7x+hWO7N?= =?utf-8?q?LTYEA9l/yzsmmCrvcAOuNWOQ44gKjjotx1dJke+ZK4rBZ+lzuCkFswZV3i18rsqOQ?= =?utf-8?q?iqFEJsX6rWco7X5+Xii0bRHnDPkEbUAWoo4R9Tr4eTsU/2CPzAcaZC0pnP0iM+Hy4?= =?utf-8?q?70f8ODrRCDEmW03GEeR74yzWXc5vniuCl2rV76AqRoCU8L2dddA8U6qOD5x6cYV43?= =?utf-8?q?nwsqI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jxtaqJzRL45nL5TLjdYb2svFhSsrGt1ZUDWAFmTS0eBgjK8lQn6lz?= =?utf-8?q?8XEAV3GG8kTeM8GDuIaSG7xAmVpaWy9z1LNB+UsYv0Mqkq7hR6gCPZLJ16rV2iaUM?= =?utf-8?q?w0cpobPRGgcmlmqBuZ3+l1j+QW1zkMCQSNxKXV1NEk3ZsTbe9QsAaZNCt1Yyb1lPi?= =?utf-8?q?bs3XYhyBY3I5sdx8lx+Qj3WEotWRR69FcJYtz7+4KvFdgsTwEzfgL4Upm32WEs7pD?= =?utf-8?q?MMBytRe7d3cU?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VE1PR04MB6382.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230037)(52116011)(7416011)(376011)(366013)(1800799021)(38350700011)(921017);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?TXB4xsVhgJ2kT8LrWmRnnvumY/zq?= =?utf-8?q?Rj/p4rb42snvcoba0MpaF3Vx5e1Xnk656OCcIB9im3/uBFjQdhQ5n4k0egqCVYaKp?= =?utf-8?q?zPDOBq+oduqTk3QcpKxw8iBwOqb7snwKI/yWclY2cDLOd8wxn2/YhWRE1V3DYT34e?= =?utf-8?q?BwiKw++UKxWeaJShSbHlXCqq84FAxvdJW6DwZV50atVP72Fm0c8Ke9yWZ8dS/nabA?= =?utf-8?q?9jl+W2cN2q8f8PZv5V1VWUxfaDhZTAVijhC2BKFVV3+y3kx6ea3vSF/Miv4JAPRpA?= =?utf-8?q?wHzkm17kd7NeGbpKpQVoIp8ZbbDIfDR6aG8PXTb3k83dg+35jZmVPWzLItVq9BNQx?= =?utf-8?q?oQUve8/s/7WWVtYu3ZO8TsQChsGt3zMI3XgJpfEzinA5+RP2BvSE737f39lwru3pr?= =?utf-8?q?ZSFdzYHXpdvWf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CV69HBY54l9qG9bRCKep8r4eXlHarqrqm6U0VEwhfyKfyJqMd9vAI7?= =?utf-8?q?rophFt6GUpQw6BO2P8abuDcLCuBjDvAKz6cTR1916G1HMof9eZylRsqX+TZ1JIKL2?= =?utf-8?q?NkbnIml2fFSAwRGu4R2BmRBf73dyXwMmAMUZUAywfBA9Dv4SaJGaDzq3/Cz7C9FvQ?= =?utf-8?q?HCRVCQnw0GhLHfjkQH544kG6/MJEY1rq8j3j94X/7jK76/amSc45Gp3LbcsfApHN9?= =?utf-8?q?mMMA4S3w81N5Rvsoxc/g1/qsqlvyPuOYYQ=3D=3D?= X-OriginatorOrg: cherry.de X-MS-Exchange-CrossTenant-Network-Message-Id: 65597078-c78c-4f8e-62ab-08dc8fb11490 X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB6382.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jun 2024 16:09:49.7784 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 5e0e1b52-21b5-4e7b-83bb-514ec460677e X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: gje6fofuReYxtTO73A4LPQBD/JKMApMbGEgrTn/2vLO/Autpo8uidGphK+NEnJJAF1FX1mDk0izu+Z6EyUuCxfj6zNL5fb3iaFmvXX6ZY3Q= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI2PR04MB10642 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240618_091005_400884_499C4644 X-CRM114-Status: GOOD ( 10.09 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms <linux-rockchip.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-rockchip>, <mailto:linux-rockchip-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-rockchip/> List-Post: <mailto:linux-rockchip@lists.infradead.org> List-Help: <mailto:linux-rockchip-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-rockchip>, <mailto:linux-rockchip-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" <linux-rockchip-bounces@lists.infradead.org> Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org |
Series |
Add Mule MFD support
|
expand
|
diff --git a/drivers/mfd/simple-mfd-i2c.c b/drivers/mfd/simple-mfd-i2c.c index 6eda79533208..1c5853868022 100644 --- a/drivers/mfd/simple-mfd-i2c.c +++ b/drivers/mfd/simple-mfd-i2c.c @@ -88,6 +88,7 @@ static const struct of_device_id simple_mfd_i2c_of_match[] = { { .compatible = "silergy,sy7636a", .data = &silergy_sy7636a}, { .compatible = "maxim,max5970", .data = &maxim_max5970}, { .compatible = "maxim,max5978", .data = &maxim_max5970}, + { .compatible = "tsd,mule" }, {} }; MODULE_DEVICE_TABLE(of, simple_mfd_i2c_of_match);
Mule is an MCU that emulates a set of I2C devices, among which an amc6821 device and an I2C mux that exposes more emulated devices. These two devices share the same I2C address. Only the I2C mux uses register (0xff) as a config register. Add a simple-mfd-i2c driver support for these two sub-devices. Signed-off-by: Farouk Bouabid <farouk.bouabid@cherry.de> --- drivers/mfd/simple-mfd-i2c.c | 1 + 1 file changed, 1 insertion(+)