From patchwork Mon Sep 2 16:38:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Farouk Bouabid X-Patchwork-Id: 13787513 Return-Path: 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 1F382CA0ED3 for ; Mon, 2 Sep 2024 16:46:10 +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=5cUgZ4MI4/QgTlQ3b9Wlls6Asq5XVvDzXc3qKRIWCwc=; b=YDFstye7EGfDbejWKknJEzCmvH ypncAFYwMBc3jFsjeRIKpQAx+f+lUwDrxb+K9MIe9D1tHZPEEM4LAKqr2CjNkF0LEezV2DfgBcY4H WJBdxWwoyI7dnnWbsp+UTHR8lj1cPEVNedgQDjmCXwBV4tYsI1nmjckixvjrKuvou6pu+vP3l3E7H 0sqWS60JN9eI5ZI3FLAKI1m400rZyMAhFRRAMuKsgIufQVRM41nD0qMLyyw3wQd82TkCPlKcxq3oZ sgztJQMPpp0AzZchenU4cmu+wE/WWrLj/Cf9aM32deDayPL+zQSmbzC6xzznsRdqF+Xx7Q/le1dRg CEkU61uw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1slABr-0000000F4VP-1YvZ; Mon, 02 Sep 2024 16:46:07 +0000 Received: from mail-vi1eur05on2061a.outbound.protection.outlook.com ([2a01:111:f403:2613::61a] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1slA4p-0000000F2ex-0Mbj; Mon, 02 Sep 2024 16:38:52 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=xDL8witCXTi4T+cx0gXcQlYQJyg1TIXkhLPizY22zEeRail/OnnTJhzRn/38QQrMbWVGBpG0zEpX9SLiwJcXEE66xRD5++1nITZC0IoOqoKbjaeXFpgq6lUljMXcIV/lHf0CJdyHOgS+8NdXCLCkfF8LG0iOwKzxifLNJID0tzh4BzRM6K42CfYfoJSqc6llYtyMfbTeQ71ctorJziL09RoaBlzy6GpczyioE+AQUAjRYd0Y/fZRhvHTOXYUuDYzhp24tf5un40W9weexqFNuWOHWKim2Pf0KNt0x1pEWBJ/3Wc2FUROPEGtzta4EfTAV1Hg7O61zcf02g7Fyg5Q9A== 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=Z7X6VHwyc7ENIxUNFQ8H6ZqCtiExpK5STM8GkBAPxkU=; b=pAOIACtxHZOnF+4WmLtuQNaPLvfSZxhXAL01YfmxKmwWVrIpXmRPWb6iH7BSLI6d/LFCysRKpnpf6zyXl4vt6L2tEAZsN7UsHVdvqXNHbEXDPO+7VPpar2uB/UoDCnHJlAExk0m3QmGwHjWhMQVpRJUaZSKzk2Mmr3Ws6xMgURFA0wYDNz5ULp9yqiqyc46klgG9uu4lHQhqpIUGHH18bOWg0fl+MpJm7O/3zanwMllRGKGmZGGMuR8cGb4RLSSxy0bHkIYl2yAlAbg0wjo+K2VavmaGUTb6dtCGlFYf36fGsOB2ZxziTI5uxOi+WTRAKZq0v+lFYRir+0qsEEG2wg== 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=Z7X6VHwyc7ENIxUNFQ8H6ZqCtiExpK5STM8GkBAPxkU=; b=G/yPXcN+ZWlQyuqP6WkTMlBIH7VTZx4+pfVJalBJVeL1V/DLh1uCRq0aA13VqjVrz0OcQbeaqfkE1z2aTpzv5aedIo1wcK6SytqxGP7eG6jTioXOxopTvTA/O2TK/ClM+Ye5yU+L79aYqqMQjKGnX7sgvTQVjAfX5ZVnTCyccJk= 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 DB9PR04MB9645.eurprd04.prod.outlook.com (2603:10a6:10:309::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.24; Mon, 2 Sep 2024 16:38:39 +0000 Received: from DU0PR04MB9562.eurprd04.prod.outlook.com ([fe80::ad4d:8d53:1663:d181]) by DU0PR04MB9562.eurprd04.prod.outlook.com ([fe80::ad4d:8d53:1663:d181%6]) with mapi id 15.20.7918.020; Mon, 2 Sep 2024 16:38:39 +0000 From: Farouk Bouabid Date: Mon, 02 Sep 2024 18:38:20 +0200 Subject: [PATCH v7 7/8] arm64: dts: rockchip: add tsd,mule-i2c-mux on rk3588-tiger Message-Id: <20240902-dev-mule-i2c-mux-v7-7-bf7b8f5385ed@cherry.de> References: <20240902-dev-mule-i2c-mux-v7-0-bf7b8f5385ed@cherry.de> In-Reply-To: <20240902-dev-mule-i2c-mux-v7-0-bf7b8f5385ed@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.15-dev-99b12 X-ClientProxiedBy: VI1PR0502CA0001.eurprd05.prod.outlook.com (2603:10a6:803:1::14) To DU0PR04MB9562.eurprd04.prod.outlook.com (2603:10a6:10:321::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9562:EE_|DB9PR04MB9645:EE_ X-MS-Office365-Filtering-Correlation-Id: 44846e44-518c-4b8e-78c2-08dccb6db29f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|52116014|7416014|376014|38350700014|921020; X-Microsoft-Antispam-Message-Info: =?utf-8?q?/kmf2rHrHQVVfDrvvtqONeii7h9Ewyf?= =?utf-8?q?FBFXpUO66MvSL7rVmnm2/m5C0MgyiSP4PqK9iCSoGlIpm+dwdYgZPpBU1jaspU9Q9?= =?utf-8?q?YVaz/yS9KaYWqoq6aITH62YR8MpphglUjRqGa5EfQIqxAhdJAl1Bd9bLrRVJe2YrZ?= =?utf-8?q?luCJlMULIQKZbpxVTcx5y91AXcabvw9jbzoCj8tNojqPLOHifx3kff/U9pvA964hB?= =?utf-8?q?VVeBJwVQpzoZaXPzHlQqTBAQ5oESytMdl2t5UHaM5xntF2iVMhuKn7dogw8YVVxis?= =?utf-8?q?Cn+eBdmeue0t1h3e4cQGnUzCuAYTio9Y6SucdU/l496dHMsID52z230Rg5nujX5aa?= =?utf-8?q?c+b+ESWOC4VSXx9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4/Cp0Z265JaS/SlPyA1JkiLixZES5H2UGzxeWyUYk5Dd7sqqDVCB4T?= =?utf-8?q?cum5By5xLcyCED3giU8col3kShvPMJFitUjOl+1K8TIoZhy98xqdJ2CLiraKlYSwy?= =?utf-8?q?X8eRB2CwbHEDSk71QLZ8kVAkVnE/Zee5xIqE5x8nf+UVBz+LVIS92lQ=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)(366016)(52116014)(7416014)(376014)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?XG5tXE+DgOVVDrR9kdXnJfnx0fSw?= =?utf-8?q?AFtgbdDDqIFNK7W0QJXYtd09POyAubh/raCPp0vi/gGQqeHjO3U5WPIHenrfCkFRk?= =?utf-8?q?20h1+BZG+wrcdjgBjH1iT0huuQ4NezM/spKBd8h3LSxOoQOZISIaluHdoUPSfQiWI?= =?utf-8?q?KpuO3KHSAJUYTD41RjqMrvx8YYkG6Kl4m0Las8JUlQSx510PYvOGhVBotesrM5Q1K?= =?utf-8?q?cwvT/EfRG1LdQXRLIccpkT65o7Fqp3cjEuSVBTE9NRr303XFyMrttUsxJagCbzqyF?= =?utf-8?q?hgnTb+HcbOe9mAfZdDN5ncvcCDm8jxVGVnWAozpMhkn48/W+Hp2xuVXGdriSaiPm1?= =?utf-8?q?xiDlYdeWapFgL5un+Yv2bCLDBmlCESaVmj1iSh+J7kZR7n1Vnf4py9NlwnHJr4rEE?= =?utf-8?q?oN4+TXYuP/Nsz+Gk6Oh/bW/AnOHnXwZYfwAi2uI7e+iVNRJoEDu/Cv/lJ+LRzlEL9?= =?utf-8?q?599j+RbLfp/UAxBiVU6xOBnvk1+fdIS2qaIBUay1iOt4cXIduleOgG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ueEG5d?= =?utf-8?q?MUECvoAt1FNAel8y9PB5zG4PsMGGmKeIajyhum1dzp85kvk3ZK3ZHEKkIErGKwfuM?= =?utf-8?q?sdydoKB33PmhUlZRDEzFjvvBrec1ayiJkmkL7RfwlQzavc8pWPJYkLwXsK19ta5tt?= =?utf-8?q?TRnAxjqPNF/onxyZYonu2Wgk6GTKb6L9Wg=3D=3D?= X-OriginatorOrg: cherry.de X-MS-Exchange-CrossTenant-Network-Message-Id: 44846e44-518c-4b8e-78c2-08dccb6db29f X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9562.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Sep 2024 16:38:38.9269 (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: ahJrkzmjRPL+cqE7fNGy/a3q0Hm52r00s7IT75Vz2PZilgft4qT3nFgrvt21YDCcH4Gee9Yq2j7QdEcNoI83ZvcdN4cBcjh9P5eBNnSrY/w= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB9645 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240902_093851_165468_58D35371 X-CRM114-Status: GOOD ( 10.84 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org 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 --- Notes: Merge after patches 1,2,3,4 arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi b/arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi index 615094bb8ba3..a02f1178c60c 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi @@ -12,6 +12,7 @@ / { compatible = "tsd,rk3588-tiger", "rockchip,rk3588"; aliases { + i2c10 = &i2c10; mmc0 = &sdhci; rtc0 = &rtc_twi; }; @@ -224,13 +225,25 @@ &i2c6 { status = "okay"; fan@18 { - compatible = "ti,amc6821"; + compatible = "tsd,mule", "ti,amc6821"; reg = <0x18>; - }; - rtc_twi: rtc@6f { - compatible = "isil,isl1208"; - reg = <0x6f>; + 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>; + }; + }; + }; }; };