From patchwork Mon Jul 8 16:12: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: 13726844 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2130.outbound.protection.outlook.com [40.107.20.130]) (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 545C3149C57; Mon, 8 Jul 2024 16:13:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.130 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720455207; cv=fail; b=dOUTk6hgUEhqeKlBNLzNwar0RYFCRMJrz2BTHro6KN9OmWTEMAubcOYWYnQ3Oj34tjbI47vTTd75koz3YmgX1m0u4QOmDQrOk2SV0DbrCQ6IWt4IFEqTdKzUfIGQJOHY3IpzT2bUMrt2ncogz+KIqU4PLAiPJUznzS3JCSJtQMo= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720455207; c=relaxed/simple; bh=UtSI+Z4rhlvu720rD8lKlp9GhOla7RSxRM3ss3vsguA=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=LzVfnCMwG4Gam9QB2ic5zZ1b4rxL1tpNQSiiGKlpklAaC0kbjiaGaQLZSApEom3ljh8s4jBFK7AiIEBKmGSQVFYpjoGYKr4lQ+Kg+F+cfAsy3fxKGJCBHPX0SJUh2qoqEOBSjpPvl3EbCA0BggfAIZJHRMcliFNB1/3Pl5ZyQPc= 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=ju+qvyLw; arc=fail smtp.client-ip=40.107.20.130 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="ju+qvyLw" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a8ok65AecJML8/v4S0wiBK5AJc2bH618HtotQYrBqGTEEYMBdr2wVQi7mSFRtczsb6rfkPxrIQNJxuxMhS+iG4HQrxSRrMHUl/43ce3Tm7RASnvAmcxC0pGza5p9DypU1PClNSJ2m+WZLdycTUrDntVfoNqTNdqHVMPFeXYhHXTRaqRQXPPFQ8ICdE+AMUMBh1slh1HhfGbrRgtAUcYflR+RjbQcZMZA8J+bzQ1wf4awnjtwnawzaQgJMr+2EUN+R3zv4y+3aIOnx96PVfN4sBa2jJkL3EylZ6OOvihEbxPPLrzH5WfbprHPJWoVYth1GRgaB7R0SCOGNXKYKpQGjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=8i211aK1CQNyJCBZqzAK/lbL63CBSHQuaE0fah+7Cb0=; b=LYYsR4hnfSWrklrQudgIUl7U+i01Ffn4e0YOX3A28vjfreVht2sgdrZAp/JoaBs277HBbfY4d4KlRuf1j0TlCcwURKeuqxn/D2SDST7JVGcvLX4RDE20yizmlHprgynevIafmR4wojM9ixiMW/NifENDlmzIfnm1eATCTEgdK4sEfQFH92jyUv7nY0tgKxImk54VeEtOOS66kYtNlsjYfiPuZ5nK40dy6cN1tgztsAuQsk3fkp68Z/d1NN/qIPaeMBOR23Iq05QRkXZCt/6Ec6elimhi0jnEN8qjcMOx9g9WGGdpvY0/gg/YYVRu08ocxiIbF34etSWH+L4+T0BrSw== 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=8i211aK1CQNyJCBZqzAK/lbL63CBSHQuaE0fah+7Cb0=; b=ju+qvyLwPyzDFZtk3nlZgSfxdSmN9177+Xxyo/YRe7xb5BbTO8TrbY25C8ChEJWBWQbU27djn+ebOMeqZzQUe/8J8qEkak4TB8V20rt7tR6N8w//vok77gYENWcEbQgfJ0TBb0RnKA/WUHA/ZTu7KzcuRYf7KBa6ZOm2pyqOYE8= 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 GV1PR04MB9055.eurprd04.prod.outlook.com (2603:10a6:150:1e::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7741.35; Mon, 8 Jul 2024 16:13:15 +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.7741.033; Mon, 8 Jul 2024 16:13:15 +0000 From: Farouk Bouabid Date: Mon, 08 Jul 2024 18:12:17 +0200 Subject: [PATCH v5 6/8] arm64: dts: rockchip: add tsd,mule-i2c-mux on rk3399-puma Message-Id: <20240708-dev-mule-i2c-mux-v5-6-71446d3f0b8d@cherry.de> References: <20240708-dev-mule-i2c-mux-v5-0-71446d3f0b8d@cherry.de> In-Reply-To: <20240708-dev-mule-i2c-mux-v5-0-71446d3f0b8d@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: VE1PR03CA0057.eurprd03.prod.outlook.com (2603:10a6:803:118::46) 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_|GV1PR04MB9055:EE_ X-MS-Office365-Filtering-Correlation-Id: 40d2750d-7239-4373-3136-08dc9f68df3a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|7416014|52116014|376014|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?B88knj1voOjKEn0VwgAWHqLHMvMUv1T?= =?utf-8?q?5ZxX5DyL4de/pghuEyQjk0etpVpil6JXXaxaQNpqkcTxpOQnS+97Fxv9lGN9bhkfI?= =?utf-8?q?lXAOnWRQI/txpxqIwuna0ptDub9ABjAlwOf6276hg1lZqGhHFqSIN+GQ2KqoIx+kj?= =?utf-8?q?48SYgZN4Aj0XEexlRj86RpFxgBiyYGgKt1YwpuSzGALPvXCSPkn+z6XHHn6aIA74h?= =?utf-8?q?tKiuC36U6bBcI3RCyPhqJoDsPlVz8xnuD8ak9QNwFMREsJrjKu2+09KiwoWjxImIx?= =?utf-8?q?zfLbP1rl66lrNhVD4FwLa8tBzH3UkTgE8tMycswizV+6NgBDdecfEObIrvX/Zv+TA?= =?utf-8?q?krynhQyqK+rWMUwxCJbBW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kYYpYuRpTNQaGDTlK9fDbrnhFsqRXwyapgCkiWoDKSv5Wrv0K/?= =?utf-8?q?6TQsTGVQ7yzDjEepZ12WdROhZLvBllATqH7mB/WbdQJ98gep8gjVk2ggOSdyNh0fe?= =?utf-8?q?eJm6+V7gEHVx13e2+S6K7LUPPgMDehbpI8cMRnPV0AskITo35jw1e8Q=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)(7416014)(52116014)(376014)(921020)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?2Agawo+NHXutgGoQrTMTxQKYebaH?= =?utf-8?q?2o3vN9Ub6Y3UKDasBh58xLLpxAF8WclcGTH4cspLs0vRzUT4BiPxgAL1zTpn5TE5i?= =?utf-8?q?dr+hm8oCdr0EWWlHYL5k+L8SS8UgRJg+yNToiETHsd1fTbFTzvg/rhELftbZVRmN8?= =?utf-8?q?mumAjdxMv0v8ZNGYjX1ufym6FrIMT0q4t5dEtjTn7531NnUl1YclvCWeua+7Q+Rz4?= =?utf-8?q?bs80YzC6B49mfYA2parQpUNfe/4WU+MUCAoxjonADtlM80IKAC9upKa6byq9cRqgB?= =?utf-8?q?wnxo1n/cFnoIUYUxr4gI68VNp2KYUL63LiW2M47TgpzbPI5xydQzVuLBksms4Mry7?= =?utf-8?q?tgkepZE5b6+Zizm9DRm3XoQCOnJgjma2ps2IIhrm2b/YuFV9WILG1XIQPlIp8dL14?= =?utf-8?q?G6XfHaBeOEbSJzpKXPsK96mSa0q0/eu4kpNSnVxOHIAzdLeDX2BLHFR8o0zWsHIOY?= =?utf-8?q?neB2VaWfJXFqVIflmvSut4M5C+DQBDUcy+bIUxaV6XMPKhpvnDoiSKn+et7X18xu8?= =?ut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-8?q?3bQGOy1oUOxlLaN8jK0rJUlzU+//X9AOPp8cVWtIfo0OnaT39Rvi2OBu6k7qXQA8Q?= =?utf-8?q?5T4qOzd7Op+YiHZUFCSr7TFA9t/8dK1Nj+ESAoDY2m/7UzJnvJKHqO74JadwadG8W?= =?utf-8?q?N013uZl9Ae63Xrq8Xs2aFO8g6369CRwmqw=3D=3D?= X-OriginatorOrg: cherry.de X-MS-Exchange-CrossTenant-Network-Message-Id: 40d2750d-7239-4373-3136-08dc9f68df3a X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9562.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jul 2024 16:13:15.1106 (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: nOCbXcqN1x6pACrsr/HlcvHKpWGYhUiamk2NiH2a8U0dE/TvMGk+0nH29LMpdTndqwbjrf/lQmGw6TRqWAztzn6QBV1JIsbrq7P/Swbfprc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB9055 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/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>; + }; + }; + }; }; };