From patchwork Mon Sep 2 16:38:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Farouk Bouabid X-Patchwork-Id: 13787496 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2042.outbound.protection.outlook.com [40.107.20.42]) (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 EEF671C62B8; Mon, 2 Sep 2024 16:38:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.42 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725295128; cv=fail; b=Nra9OJr8wkzrmMD+3olFhp9qhn+/vkPlVVYlwxnV3ePwx/I/qtp0dUSfIbufMZDsZM96Z+tx8MTtC1US1EYV06NFySA027BB3NyWTn+BRgdMwwd5McR7x6qrtTn7QmnEVlbOILFgeSH+Lbqyz4M4s4sJXpMMvulIOpzPkdAGiRQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725295128; c=relaxed/simple; bh=S7s9qDoMVXGaFywXlkhz+h2UHx51YfqZuzNCpBeo5no=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=mNF+QeRcalRtqPkszOW8ZEbq2hhw9bzHAbTWa3j30I7gSzvDoLXJCc9fmy8/YV/N57aoXkO+CHssSp65c/Iri9QbJDbptj38RUSvGkxwFpu2N8ElLgt2DVya7+tDF1M9bqDKNyE5tA2cDiVlOjcs39FjidDTJ7ow09WLDZHe7N0= 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=H7pI6ddo; arc=fail smtp.client-ip=40.107.20.42 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="H7pI6ddo" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=bvW1t7WVBF/N1dCcQdKVx5F9YNKYLsaYCyLbPqbtySgqgh/LY7U2JxaJUU64JvkiyuHaUVVYl4oAHJjGjpHn88HKC1IU6k0kKGLud2eS70T7N0wqD5o4vN6vVsMd/hoX/17eP5tR+WWxCdQQzA6n7UKAfKxmiR9667JG6tmY1ndc5VsE6O4tSbRDyMjghNH9v6YuiPn0R1t3Q5n/K9gnGWUoi2aE0+LBmaTMQmLx3vVMCs3jT48qQ8VuuqeByriLkXAbrqiFA4Kv9fAodvIOKBoFE+Y8HeOyZ0/w+eIHvCW5u5UQw/0ouVW1Bi1g23N8mXZWOePjsmNPKE72Tqi9bA== 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=25dGd0E5AtCR8zFuoAAzxvVQNaW8OT1xvILoEmM433I=; b=aJ0wt7Hi8JE8hmOXwgwr4EyCNxj10DaRaMUhaRD6kX9fr3pxXlXcoBtljkjyRLdAHIJjNgtALsH1jz8a+dNs7O8jAiE3av9+2J46UOhq+E5VlIPzaGHqIbHPHB3xoipWKJVzSiz/OoIy/7fJ6/1aGeTx3G87FMYtvUH7jGGYSTmejVJRTVlwj5ttvN/yi1m07bXxNH3ZLpA1NQ9gnAYcuVCRfhduJ8qXYdXKebQJ56v3LWJGc1lD7bodRsDvnhatPHV1Hz9p5wdVPfukoDzFlNTkuQsR3XF6MKRNXNYgz3wrFk1meH3kl/tG2E/d2KOF5B+eV9v65ySbcdNQQqt0tw== 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=25dGd0E5AtCR8zFuoAAzxvVQNaW8OT1xvILoEmM433I=; b=H7pI6ddo4MGggt8gJjF6Jg5u0EMEyAyZAfH3Q3yF72k5alUGBlblPAbPrBStHceIe5NBQ+U7BhzC4ZnsVPpaYsb9Mp39CZExB4Ertjxsx8qWJG9jOIWsBkp5w6XpyUALRJa3TL2jV4ZKYRHX0iwebxlo6068KIVaE+lAadAHRds= 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:37 +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:37 +0000 From: Farouk Bouabid Date: Mon, 02 Sep 2024 18:38:18 +0200 Subject: [PATCH v7 5/8] arm64: dts: rockchip: add tsd,mule-i2c-mux on rk3588-jaguar Message-Id: <20240902-dev-mule-i2c-mux-v7-5-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) 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_|DB9PR04MB9645:EE_ X-MS-Office365-Filtering-Correlation-Id: 6a88b850-c54e-4e3f-f59e-08dccb6db19f 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?/cg9Zp1zdg9+lyU+1jzVLNBKhAy2EWD?= =?utf-8?q?+kVgIR99DtcqafJokoKghOUOb8yrwOv+Gn9mHAKd8cKN1CFixt1YQ5QODjlGoLKHe?= =?utf-8?q?qgd0a8VBMyRVaXhR3kkmhHIuQq5Y7WoAs0OeF+BXySFONetw64es30rqWZgAy7B5y?= =?utf-8?q?zvsPaey3cfDPhGzr3Ae4FT7jnjNa94o69P4s97JEZNC7yMXPXwWNlDrPpAHGTdQss?= =?utf-8?q?ZCkB6DbXfqyvExhAViNr877FR16ClbS3tybWd0GlRrrVadBQeRB3pHXXRYfaZv6el?= =?utf-8?q?H/8CqceA60yHCsBzAp5qg7tkKvqDlHqhdFRhwv+QX+HGnZIXWPbTmrQc92TLPi5hi?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gPj?= =?utf-8?q?bXgrOP78GOMxSua7/w9rtWz/mS9YTf2DQ85GItMjRUTrVd1eb9f5hbwrXrchhqpIN?= =?utf-8?q?wRn1Rq+5B86h7SBUao2AFywvnm/GOa4k0DqI00RNUiNRZr3IHoAAzuWMQIOwq2biy?= =?utf-8?q?+wcC246okk/oIN3DmLIEFha0hVzKUEqlo+Q0w6ZuCtaVawm0V14FJvY=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?xhIg4PN8Up5KFrQT1DKxRp3JpOMN?= =?utf-8?q?idwwoX/RgeJCkuRfk0EJGSixhoBa83b+qtKT9q4jZcprtQZ+58eEyccMLnhfqH0NQ?= =?utf-8?q?bq8kX44kmSjdzTZmO6Fs4QdlqyIohVRSVvAdelFGZrh78OMxI1SocWB2TWDZ1VfRU?= =?utf-8?q?DBhBXRsHVaAPD/0BtUIx3G3TZor54BmJD+qPS9KB/SltSK1W0DO0YTPCl/qdKhpJN?= =?utf-8?q?yDyFqSxds0JcbVbUazlhMGXBrn2CmVHKij81/zm3u9ChyoRTzSz8AdWyN/rJW6O/s?= =?utf-8?q?KNsUSXI7IidR1rKS0GFx1DJ6aCoZdTAfuBzQR3WflBf5TG+7ijsl0OU/02XRRDeol?= =?utf-8?q?cs2GgOsto5cOmqSup/oMREObGvnA69rBA3T8w3cGJX7daqeaDtE9LBeMHHFD4qw3H?= =?utf-8?q?0jaTf4GW7XASJwM/RWaWB+uGlmm5NVGikeaTuXguH3b28YFL6daUGiASs5ckk/Cuw?= =?utf-8?q?wND2D7xN//i7smtnQLtakcY3YvQb4ICVp7QJ1GS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rHEOariJMtwdCHbW3?= =?utf-8?q?OH0KcxvZyqYpuPTlos+jxFPIJIC3r5VOqpYMJ0DYzyfgen5O5DU9Q0yo/7i94+eGF?= =?utf-8?q?0niV30jkEmlH86vNZaHyixIbmv6jpenjF0lHb3ULHAwpCJIj14CjtCcDapmvp7zqL?= =?utf-8?q?Mxz6aF1Q9++VDN6PSUMy2Nyi9pcKEDvCIg=3D=3D?= X-OriginatorOrg: cherry.de X-MS-Exchange-CrossTenant-Network-Message-Id: 6a88b850-c54e-4e3f-f59e-08dccb6db19f 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:37.2370 (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: sQFY6Ir3nFGjqASOr7ONLLiVWFzusqKiMRz/q0ZesrHA3ufMgs5QyWI39tUVane8AW0O6UP9eUAZKqIcuLzo8hNuidbdRaww6LtdbmvkR68= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB9645 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-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 {