Message ID | 20240506-dev-mule-i2c-mux-v2-7-a91c954f65d7@cherry.de |
---|---|
State | Superseded |
Headers | show
Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2134.outbound.protection.outlook.com [40.107.22.134]) (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 69689144D2E; Mon, 6 May 2024 12:24:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.134 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714998274; cv=fail; b=RyA3ZD0nDsBuXWqt2qLEBS/WD/taRqPVYQhCXvAszsHUWupsRoodum6HU8l7l4Ea1DInHeKLZ9X4Z8RXSTxgK8mu/xiR3PK1VxB1Cz6tRTEQwMehbL5IwAugSrAQ7KQeweImIQdwKV2eX9geEuMS2PnO8btfCkm/bf++P3J5WTg= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714998274; c=relaxed/simple; bh=bu3/kFk/5u3incaJRPSakwvL8ETOXOCGjkcyxwm4Kzc=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=PLKWuS/EetjrCwvyN6m6leCtpVc47TqQsX8Moq1zGPxJmH95vRXl4qNjFSst6GZliz3CPgYv1+bqYKZpk1lIWEd8cy2b6pktEcy/lUVVyNfp66bi8MRXbyqHaDUfpECGE4WfiqGUfGtqsQOPR2oDhzmmQWaDhaYcFBtBieq2WNs= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=cherry.de; spf=pass smtp.mailfrom=cherry.de; dkim=pass (1024-bit key) header.d=cherry.de header.i=@cherry.de header.b=kBn+oMNs; arc=fail smtp.client-ip=40.107.22.134 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=cherry.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cherry.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=cherry.de header.i=@cherry.de header.b="kBn+oMNs" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I/5uePzD5XCbuUCrjpYCO/ewaiEAnU6z8m4Y/gE8hVOsomKStvPWhJZGcyRxk6dgjiDcl2MZT1ee3zG5tJz1VVAHxo6htw2BELyVrQWrylctp8MHPbfCRoJP5JhDB+eaUPv14WJF5oiTO7VJw5Qlk7AuYaOrBZN76NXs1+Xlaw2xoICRtqKCJkI6CVGLQKSIVL1HyOmHq07/DRZsep97oRmvO4sJLqfdD/jMAmeK/3bPQYqZCP9/zPxKwYTAcsnlmVh6LlWykAZ0R/pteCCKvHJgahdEmxqPO+H8SO8IZoUqP5aLFrNaUTmQThOiccNEUOVKu4gKmhjOMvjdIUmQmg== 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=8PY3q5GBvcYpL+wae89VuyYkBsPvdoQ/tP1PV/CHqZ4=; b=dgameYgwcULaHwvptyA7knGEdtFwnWPbYkrXKT/3aCch/aTpdCArPOgRgmgfCh6jryAa426VwR7IRw1p32l+qlwn3FXV2Rnh6lTlk7LLtmEcdUojO2UTS0oqg10+/5MzEia/P0lUKSpp3VWBtBldjV7c8i59lY3iNXJzmfMXWEuB4+dRoodpRfkNnafd9Jna8XaZdQ09Kb5xh9n/zRYjMdjh8VTnwA7GG7UH7yKbzarZkq7HYuhmxyL5HZuB5BQf7alzv6/c7/nkXK0rqytiM7sjTFzAUw9vCUIzh+u7/WGuAstydUD8qqK+hh0+Oqfm+qY4OjRb1AYdD3kGD6VVvA== 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=8PY3q5GBvcYpL+wae89VuyYkBsPvdoQ/tP1PV/CHqZ4=; b=kBn+oMNs65S9oSwAoRWft/hoqdjXf/mCcHHgHNjYnozSm0+iWB2gn2q0srWh1+j5lsi9MLmKoHvfj5ZbRLxPcqS5GC0Kgsp/BOIECCrm6h+yij1gvD0HVnASSDIaG5iJb4LwUwtCiruJ6TUfNSvJPiKXgKNWqxn7o+6Tunx+D+4= 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 AS8PR04MB9512.eurprd04.prod.outlook.com (2603:10a6:20b:40f::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.41; Mon, 6 May 2024 12:24:22 +0000 Received: from VE1PR04MB6382.eurprd04.prod.outlook.com ([fe80::59d9:878d:65f0:3936]) by VE1PR04MB6382.eurprd04.prod.outlook.com ([fe80::59d9:878d:65f0:3936%4]) with mapi id 15.20.7544.029; Mon, 6 May 2024 12:24:22 +0000 From: Farouk Bouabid <farouk.bouabid@cherry.de> Date: Mon, 06 May 2024 13:37:58 +0200 Subject: [PATCH v2 7/7] arm64: dts: rockchip: add mule i2c mux (0x18) on rk3588-jaguar Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240506-dev-mule-i2c-mux-v2-7-a91c954f65d7@cherry.de> References: <20240506-dev-mule-i2c-mux-v2-0-a91c954f65d7@cherry.de> In-Reply-To: <20240506-dev-mule-i2c-mux-v2-0-a91c954f65d7@cherry.de> To: Wolfram Sang <wsa+renesas@sang-engineering.com>, Peter Rosin <peda@axentia.se>, Andi Shyti <andi.shyti@kernel.org>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Farouk Bouabid <farouk.bouabid@cherry.de>, Quentin Schulz <quentin.schulz@cherry.de>, Heiko Stuebner <heiko@sntech.de>, Quentin Schulz <quentin.schulz@theobroma-systems.com> Cc: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org X-Mailer: b4 0.13.0 X-ClientProxiedBy: VI1PR0102CA0103.eurprd01.prod.exchangelabs.com (2603:10a6:803:15::44) To VE1PR04MB6382.eurprd04.prod.outlook.com (2603:10a6:803:122::31) Precedence: bulk X-Mailing-List: linux-i2c@vger.kernel.org List-Id: <linux-i2c.vger.kernel.org> List-Subscribe: <mailto:linux-i2c+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-i2c+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VE1PR04MB6382:EE_|AS8PR04MB9512:EE_ X-MS-Office365-Filtering-Correlation-Id: 6f023787-ea0f-4ee5-8160-08dc6dc77292 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|366007|7416005|1800799015|52116005|376005|921011|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?Y7eZ0VekmoIQJgwuIWose3KBtUK0nKw?= =?utf-8?q?ZQojy9Ma8fj27cyq8qB6RpcWsGKaSpNdFkmhg9ku52bY6dEJGBrWoTwDGcIsz5wG8?= =?utf-8?q?n2ZcYv7NuThR9X9THHWkQqB2lJBdGq0ULh91s/o7cgyL3dpzOi49P5XeM6W0NAX1M?= =?utf-8?q?8I0mQROGM3BUGnq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pTeZNJbTjjwCy86z8spvFOaq1MJMxJ1PklwitN2/?= =?utf-8?q?Y1ZcExKOf76t2XMLkprSPRUDH51HS/lV4UZC1eqFPGLVsmuGbPqJByqbVIuNabt7d?= =?utf-8?q?AGB24PjbhX/JzC8Teay6HFYo3YPPTVetDCbC3oc50xByqzXrcHIALisW7z1Xsb3Cc?= =?utf-8?q?v/Qb2R6ZnzrMbch4xm5QfH7M7uH5YM6Gn/UimAebBx6od78UmiW4aENG8ULobmAV6?= =?utf-8?q?25d5X2WF6edDTyEIALOkslkiUXzFmB/pY9t63zZ/kNOooekSqh1lcsKk=3D?= 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:(13230031)(366007)(7416005)(1800799015)(52116005)(376005)(921011)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?0w0hPP7KVgDPXzaeGngrDxMKBVQa?= =?utf-8?q?gbIohbqh+g8kkFNX8JLpE4EL8a8ZU0nRYa8rPnz/u+C8e7OU7Je5vfDbHoZl5mMn4?= =?utf-8?q?cbV0j2gqOO4NsjGsQFut0s3dITN4zd6Wve0BgFxW1KACLspLaUGt8tULU6zol9N5N?= =?utf-8?q?qXGWN7kDGikTlPDE6luxKuPse3cYGbeWyq26qyDj2CAfsatH/dSogT/cEyjtVTaRy?= =?utf-8?q?a5wsXRo+jld3dIuHz1RWHIAeyjxOJmvd3Nnbq0ZhHcs9Do1oRUYP5IN/nupsaktCk?= =?utf-8?q?5W/t9K8PLgN56p4b2N0b1sJqZU3PmSCmdDJA9oPMFFGl/gXfWWVqvwJcH7MIDfqdp?= =?utf-8?q?DL4PH4jMPMmuktLrCKKazVNfKKdydMrgLbYWjwjzChhQrb57jitvqLUsbtzoiSzZs?= =?utf-8?q?Y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pLCHLUJ?= =?utf-8?q?xCu9UrNwGkiGOtukfh3gpTJIbzEZwLVoD5pSvW9c7HF0999U1Eej2B9XgJux+NnTx?= =?utf-8?q?F4k/AJNY+YHnnJuL067+eYgYPkbMVLgixBPyr162nUTnMNyT+e+wBaOoK8EtWuZn9?= =?utf-8?q?lD61UBSyXbhiKpX2mqJx1KyQJ9CjPE596LsKXVCvMetjyxC5W0V4tuh+CshiCN3yO?= =?utf-8?q?9+DuB7lfSrtqK3/0p1RLFexgxEWxysyUnirurHbTkeIslae/NElFCMOMEN1ot1n7w?= =?utf-8?q?sxtRSWYwrO/uLGazmXDmLGvObTIXPvkqkQ=3D=3D?= X-OriginatorOrg: cherry.de X-MS-Exchange-CrossTenant-Network-Message-Id: 6f023787-ea0f-4ee5-8160-08dc6dc77292 X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB6382.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 May 2024 12:24:16.8812 (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: UkAiFB5Cv2qFvSxvLJrf0UZRBWWXbkyfIcRjtP3Bwzny/59ZeTRymCWn5oVafHtaiOABCwFWtbrzCGTEo5VYrla6ankU17yx3zjsVXClZaE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9512 |
Series |
Add Mule I2C multiplexer support
|
expand
|
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts b/arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts index 39d65002add1..14f1322c162f 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts @@ -32,6 +32,7 @@ button-bios-disable { aliases { ethernet0 = &gmac0; + i2c10 = &i2c10; mmc0 = &sdhci; mmc1 = &sdmmc; rtc0 = &rtc_twi; @@ -249,9 +250,23 @@ &i2c0 { pinctrl-0 = <&i2c0m2_xfer>; status = "okay"; - fan@18 { - compatible = "ti,amc6821"; + i2c-mux@18 { + compatible = "tsd,mule-i2c-mux"; reg = <0x18>; + #address-cells = <1>; + #size-cells = <0>; + + i2c10: i2c@0 { + reg = <0x0>; + #address-cells = <1>; + #size-cells = <0>; + + fan: fan@18 { + compatible = "ti,amc6821"; + reg = <0x18>; + #cooling-cells = <2>; + }; + }; }; vdd_npu_s0: regulator@42 {
Mule emulates an i2c mux (address 0x18). The amc6821 is exposed behind this bus. Add the mux node and amc6821 as a default device. Signed-off-by: Farouk Bouabid <farouk.bouabid@cherry.de> --- arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-)