From patchwork Thu Jul 25 13:27:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Farouk Bouabid X-Patchwork-Id: 13741919 Received: from DB3PR0202CU003.outbound.protection.outlook.com (mail-northeuropeazon11021098.outbound.protection.outlook.com [52.101.65.98]) (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 76D7019D068; Thu, 25 Jul 2024 13:28:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.65.98 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721914109; cv=fail; b=dR7EgHDc7YrlktN5vJsfOyfaalP9ptjF1jJa77Gee/PYeIP6QYZU2dTGc4w8r6G9ITFfQg7F15PfEcUxzCiExXy2LjJF+s6EgVL5cmnxlwAgRYh1pVQWqGqmuz8FrwXy49ZxwdaIwiBjnaVIhS2adoUiuqEISdqCHgFGxPrbIhA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721914109; c=relaxed/simple; bh=z4FqVvzL9gYCTOPTU7KsKuOHbjSrV8y2DJ1eaJqNdZY=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=GMQIjl2XTAyYR6sJxRFtlxwJ8Il5Y63wP66hSYnJ6p60Gb46yheXP/qScocRN8WfxLQYJUXtivr3wZ+0b9mgEMWyQOFg0bTmsfLwU16NDBk0uOJ2lqBFUhNuTic6gpD0j5Ff2nGlGSnYwkLOdWcq13fzgjPtbi3rb5+KRyJi3nE= 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=jE/7Pgjp; arc=fail smtp.client-ip=52.101.65.98 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="jE/7Pgjp" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=P0Sp0XhLdLNrckxTmbjApHCY+d/YUiXbdIVzf7lN+/XpGD1POh9yPVnmp5Z4if2EYKWH3ESyRM9gRwWfQ36J2eoIUoXH33ayNAwTcWkM22jovbJTEVksTfxTiKUo+PlQ67998YHxeoI27M9QHlUfmPH7Rf7L0s5KK1MilG94Spcx4+bf0GFTxdmXLy0+vtcTsFoA2uwjO6JHRsW2QDS7CG0OhGVjMVay7sEP9IgpgA5f02rI4aIPMK+pc0aRlpY8lmqDEzUYYG5BRjN1jtqX8EpxqL/NYR5j2+t9VZL3AROFbqhwqSP1b4Fnqr/J6lmjUXnmOKxfS2fx6xvkdUBZyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=BOz94KksZbowomQ61lp6xZjrFFg4NqyshzZRPsQz5zg=; b=n+RamgmhlreBpj7mar/fxBw1oSZ75Gzys6SGSFkN27bVSsMb7u5Pg/QtgMPGszcDJ/3OkXntryjLEo+MINcPZgsuNDLIKIMW8Opx1CgfL/ciOAuGcVU60Uryrkc1/cpH9v2kQJYVpm5Nsd14HTNFzEPvWqQgZRjoSFYoBF5NQdhVDvds7Hi0QattXLLZjROT2OUoY2EUrpbZVGkiJ2G0HA+WX36OLkgGAw1/BS9ZHmwM1JxArpeAexe963f7PNLJs3TAoTCE7ogZtHK/TPyX6h9yDNyd6RDqcdFmzE3qFXgH1lRQg/Vbb0bxoQWNeU9apC3Omfg6t6TTkFgxeS737Q== 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=BOz94KksZbowomQ61lp6xZjrFFg4NqyshzZRPsQz5zg=; b=jE/7Pgjpb95EQ4PckqINBhdxwSINTa9AoAwx8XRwuVyCSA6CqECxGWz9WUtZtY3W9XDkkDja5J4gAapdrXrd3eNaFBAdrN1unWmeO+U2bIcNwa+6G3ZKn49AsaFVsKCrLbAWAajSQ8ZPLl95481mcuVdiKRQVjMWpUlu1ndp7D8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=cherry.de; Received: from DU0PR04MB9562.eurprd04.prod.outlook.com (2603:10a6:10:321::10) by DU4PR04MB10670.eurprd04.prod.outlook.com (2603:10a6:10:58d::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.28; Thu, 25 Jul 2024 13:28:19 +0000 Received: from DU0PR04MB9562.eurprd04.prod.outlook.com ([fe80::ad4d:8d53:1663:d181]) by DU0PR04MB9562.eurprd04.prod.outlook.com ([fe80::ad4d:8d53:1663:d181%4]) with mapi id 15.20.7784.016; Thu, 25 Jul 2024 13:28:19 +0000 From: Farouk Bouabid Date: Thu, 25 Jul 2024 15:27:51 +0200 Subject: [PATCH v6 5/8] arm64: dts: rockchip: add tsd,mule-i2c-mux on rk3588-jaguar Message-Id: <20240725-dev-mule-i2c-mux-v6-5-f9f6d7b60fb2@cherry.de> References: <20240725-dev-mule-i2c-mux-v6-0-f9f6d7b60fb2@cherry.de> In-Reply-To: <20240725-dev-mule-i2c-mux-v6-0-f9f6d7b60fb2@cherry.de> To: Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Farouk Bouabid , Quentin Schulz , Peter Rosin , Jean Delvare , Guenter Roeck , Heiko Stuebner Cc: linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org X-Mailer: b4 0.14.0 X-ClientProxiedBy: VI1P189CA0008.EURP189.PROD.OUTLOOK.COM (2603:10a6:802:2a::21) To DU0PR04MB9562.eurprd04.prod.outlook.com (2603:10a6:10:321::10) Precedence: bulk X-Mailing-List: linux-hwmon@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9562:EE_|DU4PR04MB10670:EE_ X-MS-Office365-Filtering-Correlation-Id: 93471893-51cf-44a9-6490-08dcacada5fe X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|52116014|376014|7416014|366016|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?E8curxPqsgaosNtWP8a0yV6HSMUTedU?= =?utf-8?q?w+0aNV/NiibW6mozXANN28TtWqV2ALfh66IxhiPoShvAv/I2VT0nwUclxQSjrHWGf?= =?utf-8?q?s8rwhWt4SpFHc9Gvd3gGsMxo2JB5iKZzRCclieqnkxkZelT0/CrqaTGyvq6+s2Lk8?= =?utf-8?q?t9CE3OS9ZbYjhW/A3EvgGd6+yx3lo9U5WMTo/PtjiRZD0NcpXBp/DNOGed6Ob+AAf?= =?utf-8?q?EUlwJoFgOo5SUSqAhfLTMRVfrMfGtzqJPl/jtGDWy428EkHBcccOv/rJ5c19pz4JW?= =?utf-8?q?s5wAOvQVhNlKdAVAeBkWdFrbA111s/I3/0pc/GlT2RBvqhsXToKaTam7PBK8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syK0kkg?= =?utf-8?q?0J1VelekL2VSasP6VmxmnGIGHIjmSqTIpA1ZRN59Hg+2TIM347PHtQolvbE91WUT0?= =?utf-8?q?zI7co9KncidAgManBXeO23uIodtwNht4m4+jBEsIXkhDkzRfmjSM9KM2C25Js0OxO?= =?utf-8?q?XWcz9oW+y+nH/ZhXdpsOYVp45jj2/WoWOCUWzGq8TfE5OE8zW+xQcTQ=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9562.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(52116014)(376014)(7416014)(366016)(921020)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?udQJc+LAC6mr5Qfyer+Q6emYAu18?= =?utf-8?q?d45jU13+6sSq6tOSwmu3vtXOMb61b0xlBOhdbatB+qCWhkhokPi37GuG1pnDN9/q0?= =?utf-8?q?iX3kMsffWTQ/wb5TGFbbQk6NvFsdohYm+Lf/4zmaCHmDFWtY+zwr9oSRzgeCJ0Kqt?= =?utf-8?q?dKO0sg3W70zu4sEFMJc34yGrnFcQkZx7D931BBSgDswqLRv0kKaEIe2AocybeakZR?= =?utf-8?q?NnocIbJ6KOvzdNBtMN/G+Gr+q2+qYzimTTYR9Pakp0d3aQqKnJ5aDLrFUgbRK10C9?= =?utf-8?q?MM/S4fcR2SixjYDb5hEg4mEXsOcKZj8cQV13HO5ShgiZwUtIBb0QImrvlo5XgtWo5?= =?utf-8?q?FdHTetImcT7g97PaojpUazbz7CnC60oTCWeIzmlYJ5/bUADoSptna2veve3d6FotU?= =?utf-8?q?cWRZOkEjs1ohTUNKbSwk368s0+QV003CfGp8Eg6ne+Fn8sB1ug+aodB9Ng4YebHmW?= =?utf-8?q?LfiwnYxk7dRrFLyUBcZNc18REpa8w2i5H0bCDoR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VWrp+kNA8+CWNQ+TScxT?= =?utf-8?q?nZM7t0EDB7eJC6TzGB62IYSl9RVy2huhp9CvDhSZ6OmnYE6qGbN81JlmgBjCgjY4k?= =?utf-8?q?rfVjyOpeVcnVVhDlteCx9+dzk7Hi+ze5Q7LQViTHaQcCWEhqM009bksKysNCac5M3?= =?utf-8?q?PwZroh4yLyJXgWPWYG1XNkR3oZgCEGzWIQ=3D=3D?= X-OriginatorOrg: cherry.de X-MS-Exchange-CrossTenant-Network-Message-Id: 93471893-51cf-44a9-6490-08dcacada5fe X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9562.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jul 2024 13:28:19.5078 (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: JbbVxIiLDU2+yLDLgSgTnJBsAFDloeBXUU8Pp6lTaog9e+uSA3TKMDlQLNSjvRdWo+iC92VfV9wZ/gVDlO4U52/1yb+NdNJ2ao88kmRyGXM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU4PR04MB10670 Add the tsd,mule-i2c-mux alongside with the amc6821 (tsd,mule) and isl1208 as a default device on the mux. Signed-off-by: Farouk Bouabid --- arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts b/arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts index 31d2f8994f85..56f87a603581 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; @@ -276,8 +277,25 @@ &i2c0 { status = "okay"; fan@18 { - compatible = "ti,amc6821"; + compatible = "tsd,mule", "ti,amc6821"; reg = <0x18>; + + i2c-mux { + compatible = "tsd,mule-i2c-mux"; + #address-cells = <1>; + #size-cells = <0>; + + i2c10: i2c@0 { + reg = <0x0>; + #address-cells = <1>; + #size-cells = <0>; + + rtc_twi: rtc@6f { + compatible = "isil,isl1208"; + reg = <0x6f>; + }; + }; + }; }; vdd_npu_s0: regulator@42 { @@ -313,11 +331,6 @@ regulator-state-mem { regulator-off-in-suspend; }; }; - - rtc_twi: rtc@6f { - compatible = "isil,isl1208"; - reg = <0x6f>; - }; }; &i2c1 {