From patchwork Mon Sep 2 16:38:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Farouk Bouabid X-Patchwork-Id: 13787507 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 D6570CD13CF for ; Mon, 2 Sep 2024 16:45:15 +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=xkqXbPxYg44peV4iVOTix7Ffuu5mQLM7+DHRpW1bZnU=; b=DSV12N6IoC4cuFcFfLHPR1NXbe AMHLFq1rZuDrX+0qWJstSRqzm6U+Ho5mBZJp2MiWYl6Fx0zSx/28SkT0n4mB3I/AKrkVvjDVVobrC OcormYhJnoE/ZjWreMpN93cSGSGRHR2IxE9+FeJJXUFXyS1Y+IxSai83sy65fLS71k9QdppWEdy4b U8S+o68a9dTZw4jApsBEsZEEE7kIllOqNoSoRCJybGaSzeflslfgoqtt1omcNKBjlPtl1TBYTQLSN epuHxmpBHetNsi1pERZo6ouiZrM4seFS8kpChwiyK8fCwXhQap799MG4y3r/MyGAH7nLZeTKPxHBc u7CpCZjg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1slAAz-0000000F4Kt-093J; Mon, 02 Sep 2024 16:45:13 +0000 Received: from mail-db5eur02on2062c.outbound.protection.outlook.com ([2a01:111:f403:2608::62c] helo=EUR02-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1slA4o-0000000F2et-0gzE; Mon, 02 Sep 2024 16:38:52 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=mK+9l/7VGmb7PfL5cg6Mn679IUxnHrFM8/7Do63IwtaZspcnzhUXJZfy0wGKwk8nkcfRk+N7dL6XWBlaCrsW7CrydZ7hDaDHyUf5WLaFIISx+L0zXPaJ+nq4S7sjMV2pZ2umdkExx0//1Apkoxi76Ro52DMw6QRsolRGhfwvjXIYOrUW/9XcBEd0v97jZ+PQCVJVqsRfhEUpi9DD2ATdqa2POTmz6TvpYukvLrTwcLfQsjw57YXhoEsIG7Acs5d/y5+HrAp7g9hjsqX44M6XvyCs/zzGpTfRFBrN7et3X2Bz4uGN0+2lIVbf+Al3BlE7R2snNMD6FY4Xr4+a0BJhhA== 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=XGwa/A4vBTysDmSS40p/93vepDiajPAWaGAkELG3XwM=; b=rYl64PqyCU3uF8whslEpWAW8HD2bAgKLUeqhD1cMR91L3T23ZN6M8NnqGi6NhQsJcnbxEOM/mjKmHsBp7N+JbzhyV5ZwqfhSN7SK1Zwq46hq190R74Mm6cX9mL3FcIFllKYq+Ja3lNMH1tQlKXY9Y9R/Yhv8wiLxdQ39Mxd1wwECxORM0MyA6gBBI1YU1vGBZmvRmISz1xOiEGcJ0b/U9xbBsYyo1plnWmP6Td1yHB5ZkE1w1Ic9ohoUYYBvM2K+furOazdNwp4kE4zlzxI29O9X9v72oLCW/TZ7sqb2tX3EWe3Qao+tC13fK2Pi4WGecUchfHL/fwL9JbSmRAWM8A== 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=XGwa/A4vBTysDmSS40p/93vepDiajPAWaGAkELG3XwM=; b=EM60eOWMWxqkMYpqhtSE/yC/c/iXCNDOzu3vh4wPwTDm8Fm0lK60/U0xk4J5bj/ifPLFJEvWmSjwyQChiAzCZSDUdkgWsjB+c3xCK70w8wxqhI22wrNfforjN2LAqNJjONKWmCSz0mjO/GnZjFCfBagH3u3hpxSzH83qbb/Wx/A= 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:38 +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:38 +0000 From: Farouk Bouabid Date: Mon, 02 Sep 2024 18:38:19 +0200 Subject: [PATCH v7 6/8] arm64: dts: rockchip: add tsd,mule-i2c-mux on rk3399-puma Message-Id: <20240902-dev-mule-i2c-mux-v7-6-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: d29bed12-bdaf-4cb3-1d55-08dccb6db21f 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?MOXKdV4SVpSugF7Mq70MJcri1dduY9M?= =?utf-8?q?ZsCY5sM71NjozDc8qg4g2onleO1kSwG7lKRCoqIuo1GLkPvwuD1VDMpBVnwCwLbjA?= =?utf-8?q?LDXQIo4G9rmT81C6dztsxnRpTTIXiNd73xDz37/NDEjxmxIr/zUS5No/zd5pvAoOU?= =?utf-8?q?8ynG2KQQU/T4DvZVb/YJ1S8+8FjJLD6okwLrBhx1K/rY2BYt+6PbU2S+n3w9gOoVw?= =?utf-8?q?44wA1YAnWE7xTJsKtLHjrbwkWqan9y1BPpZ1YxNiEUogTAZBBZQSSx35gB+hGwqFD?= =?utf-8?q?hoQramsN+nfgIyapZKCc99j//sNGl+P6QIOulzOdo/rQU/s9wyi7dQtIOABmy2+1m?= =?utf-8?q?hEU4zftu4lKqudoyR4fx+tbU0oWIv11+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KV5QdNL46Y+2SD7Z9tDw3GmQ?= =?utf-8?q?r/wwktte1TehMHGXE9TgKH1HIxxykSHfiZYGuUUJFgK8g5EaMujG2356T4G90DExZ?= =?utf-8?q?WMUP//XJZSPDhMERkHXVddy1IcLn8otsNP3cC3aQpqou2KrTPGoMwuY=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?a6bpFOPjl0/34nJJjp2qzX3ac5um?= =?utf-8?q?nbYlNqTAfUDWfhj5VmV7Xx4GlvgCMIjI5VlMrJmlxbCToZMI5TZWiviK9BbSpivf+?= =?utf-8?q?98vQ1Xor3e9WWJDcNYl52Lg7/RwA2bZkTWnR3T233mZoh2bqSlbIyDvn9kKCx0EtN?= =?utf-8?q?MXJhUmLFpLPxLk4Ok5mwVbLf6p0XLDkNHSHKLGVzRQ5UyfsU/keaPqilotXWO3yqm?= =?utf-8?q?IEBRr6E70zOEMu59th+6Y3ZD+gPuPG8D7AaaVWIEjO18U8x3MgWqxwUVNbZ9yYzpx?= =?utf-8?q?wmjcMx1FGJF7KCluwmYi4U8lPgo0hhSg3E8SCHWvr4tP1ExTWF2ZqLmIJWu91wnJV?= =?utf-8?q?Oitmj2fsCycI0XiPuAWde+M1oAs1gRRmEzHSAEt8F7QX1EsLuHakO+BPiGV7dwSSG?= =?utf-8?q?KqUZ2uZ73VfRk0rHTSji/6GxmxmvAAJnpIcNhTpgm5Dtto7iiwvtDjCU1LJDy9q+Q?= =?utf-8?q?fT1ECzSmdUDINkjIHr71b6wKRvi8ghD9VkQKIokt3kAx7fN8Xu/Ov04RD0Mfi+SaR?= =?utf-8?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ahXSsPx9F51mI/tx6JSan18De18MjqZp31V7wbIZeNMJinCal7uduGs?= =?utf-8?q?vJc2btFq8XJ6H7NmYy1doYKYo7Orpafkx4NGGZxo+lWmMB7/atD60Etskn54Bx4zi?= =?utf-8?q?3c9futnPHL4ZP5avO3yEV93JBZApAYnQ2w=3D=3D?= X-OriginatorOrg: cherry.de X-MS-Exchange-CrossTenant-Network-Message-Id: d29bed12-bdaf-4cb3-1d55-08dccb6db21f 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.0703 (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: ZHFxZiuqenWCzowmADPfSiuc55r7jV/fv9ymlE0e3qYqrnyxs+35S8mzJeUWpQqesaIM4Ygm2tQgaZD83M8Cex1UFrZ0GSg2DxGW9B7SOTo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB9645 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240902_093850_290936_3B9B44A4 X-CRM114-Status: GOOD ( 11.15 ) 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/rk3399-puma.dtsi | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi index ccbe3a7a1d2c..72a0bca57385 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi @@ -10,6 +10,7 @@ / { aliases { ethernet0 = &gmac; + i2c10 = &i2c10; mmc0 = &sdhci; }; @@ -378,14 +379,25 @@ &i2c7 { clock-frequency = <400000>; fan: fan@18 { - compatible = "ti,amc6821"; + compatible = "tsd,mule", "ti,amc6821"; reg = <0x18>; - #cooling-cells = <2>; - }; - 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>; + }; + }; + }; }; };