From patchwork Fri Sep 6 15:54:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Farouk Bouabid X-Patchwork-Id: 13794401 Received: from AS8PR04CU009.outbound.protection.outlook.com (mail-westeuropeazon11011038.outbound.protection.outlook.com [52.101.70.38]) (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 85BC51D45F9; Fri, 6 Sep 2024 15:56:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.70.38 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725638163; cv=fail; b=QSLfCYfi2ud1XfgDk8HgoevXFDDEaHaN6FW/TTkvbZjJsVJeYQ+e9TobWIbdDQsKv34/4BfC3QkpX5vtczXflZfvcvtOA68AGk2Iexorn8tMMkja1C7bnSVyBFxOas6xoGPGCv0sFN+KrNemCzaMZpP03hj5/SEeiQsy22TxVLk= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725638163; c=relaxed/simple; bh=VyWkcMH1vIMrAshFDYbhv33bvEhtmogMG2bNAFhK2u4=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=j+ZnwOK6Xt0c+aiSs6zCHQE8C6YuBVOQSSsF+t20DyAmvSkaJTSRYhmCbA2AcTIatI6VPcojN92iEB1GFXNa8ZJuUxf5Ueqb+FTwPUxLZBTeWmEWHbZRqeYloBQw3MRo8M2MQgUSw9a8b2pBU5mH+dX7dCWNClyrobHATQgPR9E= 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=FIGZ8mtT; arc=fail smtp.client-ip=52.101.70.38 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="FIGZ8mtT" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=wSsVAg5lcpCpGlV3clQJ1LtzR5EleY8szti7Zlm8yL1A3OCsuI6o14pF2rpxAxwjK4EOjsi6zMsRbj2htIuFUZaCXDHpV9If2tCWu2tds8KdcnxRA3RSyVQMqzNCXaus59yaOcdKOwvl/m1RXTdUzA4Tg78zToQOzrndn4DCCdN3ErwgmGKaHYH6b3FQfJsuogFLujtQ2votnaKAUVb/DN/VCruzUrZJ2PShGXOCX8r7AhZbLlFpJ58w6RUZijUXtr5Re2pPVd+MEsRN8amH81YHjjMMmNzQvdheIHFvXuKo9ri9sEumCiWRDhJUX0F6NjGYIxrLJQOMvHfts3AvYw== 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=voNNhKaD+ElPqLKpeqOUXW/SqG0NmZKPUS3kht2YBocrvdXJgVP1RxoRBxiJbyQPGEqbUoSJF6LBqLudIT/GvEC537U08pK5VXZW0cpyRsLv5xxCfta9RS0lYwxji75+ebBxcwhyjRMvopl2adZ2HNcTMcodC5QyCKgxzfAp5lgNlLrXOuvOctEY1VvOK9wjmnlELx9C1UOFH0g19Uz3VHPozFgKNQP6BaD34mqU3dQDaIW6s54n3yUwSV64kpp84l6Ei6CC4DFJ+UBjVPTsDji6CmL3fSL6L/ceyWYhAjyxJAq5eVp1cR8jM9N0MX+GOWwG9Bqrx75OQM8WdHCMmQ== 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=FIGZ8mtToYhraPBzZEVJHZawBI7OQLpgIYbnpPKf1sHPwlj2u6vHI+68rR4fUEDf7QG+jcQGIPgiuR/Yu9n3WFf8XkxwDG+delA6hr/2xYaQFEsLpi/qk3t+xlGFLLDlybuveumC8roDRZ7xx8zg+cvZ2DHRs/jfTdq/wiEcv+w= 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 PAXPR04MB8319.eurprd04.prod.outlook.com (2603:10a6:102:1c3::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.17; Fri, 6 Sep 2024 15:55:51 +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; Fri, 6 Sep 2024 15:55:51 +0000 From: Farouk Bouabid Date: Fri, 06 Sep 2024 17:54:17 +0200 Subject: [PATCH v8 6/8] arm64: dts: rockchip: add tsd,mule-i2c-mux on rk3399-puma Message-Id: <20240906-dev-mule-i2c-mux-v8-6-dbd28a150e41@cherry.de> References: <20240906-dev-mule-i2c-mux-v8-0-dbd28a150e41@cherry.de> In-Reply-To: <20240906-dev-mule-i2c-mux-v8-0-dbd28a150e41@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-77eae X-ClientProxiedBy: VE1PR08CA0022.eurprd08.prod.outlook.com (2603:10a6:803:104::35) 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_|PAXPR04MB8319:EE_ X-MS-Office365-Filtering-Correlation-Id: c8f7b517-7e9a-4c01-b19c-08dcce8c61e4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|7416014|1800799024|52116014|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?erIvO1m5uqD8dCa4nEteRW5qJJ+f1ZK?= =?utf-8?q?+U+a50IRWTrgooXYdvXYsqBywBeXOCoyoKCLElsToU5e50MWaTyiWh4ehS8mOZ0iu?= =?utf-8?q?L0oC79ZyPysm/mHyeF2N40ytDXDhDi4pF4nLYHauGnb1K38K+D1Gfvkc8zZjYE0t9?= =?utf-8?q?nuy+LhWXDKDsBjXvAXs0BwsK2MIbLVANNLCd66RYot3unTWY4pBxA6/sCQqrcZtA0?= =?utf-8?q?J/xM5heLSDt0dJBe5rKIrbGnZhQ1N8saRNyrMObXbOWXHy1RSRPbJ4pyw2GZV2gXc?= =?utf-8?q?0cwhRJNTbibgrr9iB/JZvCa0yKzOq0cJTuMP5NCfI8kRRP4khnt855BljCPr2inMb?= =?utf-8?q?UWC2+d8A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?zZ9mHIOX7VhZV96bwgru5KzZg5m5PVdA0Pp/3DuJTMxnjjuhx1418SYppbYAJ/q0p?= =?utf-8?q?vivpmh3b69I+xiHUUiP4EXUaB02E7JmmxMaCxBFAIDG/B/0DuzTzP2005cpHC/tBp?= =?utf-8?q?j9RtRtj3PnzM4rn0UriLybBsXsfi19kns5hAvZJzVKvuJoweD44p9rk=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)(366016)(376014)(7416014)(1800799024)(52116014)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?WR4fkGP0T8zRi//Vn/6Kurv3j6Sl?= =?utf-8?q?C+mOa7btNIwclP7a+Rfzc5av4RtOho37wqrWinGPZBHOCyspIb37zfurw6mMVe4zo?= =?utf-8?q?UWa4imu4MP3cxi90RJ9v1kKn+fukX8UFfQzdZG/VVm/v6cfuvT1Rs1KwMAwHW/Bn2?= =?utf-8?q?NziE9iFtGRmvW+jPn/h6QpH3wVRWG9cTglxzqccY6+aUBfOukab73i94UEJBVHU90?= =?utf-8?q?gcgj+OgLjRP7nkOCUXERm/SF6t5XAc6sCg92S+7l2PA328gtaUA/28vvMZ17TChkp?= =?utf-8?q?ggQZQluxQsQm79pEBM/+RrcKW3FZmnIgxk1Yr8VJQp7asFO5OSDcmLDMpf7fCpuEX?= =?utf-8?q?53Dl+pCJzFhH4q8zKzMQkYNdNIjlq7V5im6pR0dVRlUma/bRejGJ+PhmwYAup0L0v?= =?utf-8?q?7pvImkJGy+Tiu1rcJu0dDZZAcpPxG8lfjpga/tb1ntPxrRxGtYcvpFNlArVOROeJV?= =?utf-8?q?f8l6q5kzfVfq87rMRY1pI5a/meWwN8smt4g34UDX4t0yPfErq9ltvqOX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utf-8?q?IJFQ/Y4F32CVwdVQLhVnemMIQNMJprxmIOO0VMMRMsapCJ5blqL+qbZO46wtzzPee?= =?utf-8?q?7c4rcPYVjMTxQR2PeflEJGy+19NJWyQjb4XWzfEWOxCyxW+gmCXN57c7FF4ikaiNi?= =?utf-8?q?KDsxQaxIsnUgI3GX6RwSlGJt7aLwT2xy4A=3D=3D?= X-OriginatorOrg: cherry.de X-MS-Exchange-CrossTenant-Network-Message-Id: c8f7b517-7e9a-4c01-b19c-08dcce8c61e4 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9562.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2024 15:55:51.3589 (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: MLZRHxnxkZgKRBy7WTvoO7p4OlUVfTefGrwce84GQmrOanUNe+5DOapZJpbpncjxul1BiVl6nhsyLzXyATlUzH1HG0mrXw1wp1oAW+oRJ14= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8319 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>; + }; + }; + }; }; };