From patchwork Fri Sep 6 15:54: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: 13794432 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 362D4CE7B0C for ; Fri, 6 Sep 2024 16:16:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To: In-Reply-To:References:Message-Id:Content-Transfer-Encoding:Content-Type: 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=Z7X6VHwyc7ENIxUNFQ8H6ZqCtiExpK5STM8GkBAPxkU=; b=qRkZtq6cxcqCko47oILGUtrqv7 wdJgOOvl/PtWJSCjXZMBHB1VKU3aqQRpEIv5Y0Yf1O+wbi4gie1CaDqojUgr26xhl/k1o2xdWG8GV ReApLeT9D0PBCfwq8hg9M68v50aHqKLCrzMYwNKy3GN8i7zD41YqFrIkaHayZIywU8LXD0J451hZP QaiI2aybBQ0cpqO3HekKancMaS0vaGYETbMYxNY0IaYwibcqhpjvkfg+jKma+TV1JjldM7FYO6IeC deKdZVc1A60+RsuCUt2b+Ly1pfapZXcf+/Mo+oj1jYQa4t2HwFQfxaeVgWzpHXv51P4PPLZpVdh4c aouPwbxg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1smbck-0000000CvAp-4812; Fri, 06 Sep 2024 16:15:50 +0000 Received: from mail-northeuropeazlp170130004.outbound.protection.outlook.com ([2a01:111:f403:c200::4] helo=DUZPR83CU001.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1smbJY-0000000CrL8-2R2I; Fri, 06 Sep 2024 15:56:01 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=JDV8WwVykZ1uhLnsFn9oQM8PG2wAiOhK+GKo1GKxeBhHMMpjFKLNRD3OsLOGTWf7xPQCQVrNTsMH2xNX/BtonmMGdcTKuw5g3++lGHGPspEcxeYSCcqqg6y9ruHFTkeEW9Rc4CM2UGjo21+fOTZiXTH2D+ES9ACaBkLMjPFFCL9pHe0+b85KDFr7oTY1Fr3pdmJ9jR51EH9s257xY1tYabPoFik8mr9IZfvl8dyhTllTK05vTwbq75ZrtGlxfyMUNBwXnZEyuYGWsXZAvFcz+WukLI7YpoLFlnTubp26RfPmNz9RyZQoNyy16JrbChV++AhrhyrWhMNSW0KZp0BYRQ== 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=X8ZI3MzoIgvg6Ff8ZOg+ZcNBqr1q8uMy6dBpIJHtXWlB8VORtV88q5LcdMTOmPXR5+ROiKBzB9d2S7FIbYGbIjM1T9oh5JYc+/dPYJfkOfXDE6Dilco/ofc3FmaVJkZvQ/dlJ8nMuKNhvF+09qCUmNMhdrXARRatFqlf3W69RrmbZBJDHJDtt+PgAqmGWthGU+WnBvern5nLS2xlcnRY9U8ccNWxK6WDqHYlp58ymKAmAuM5tjwacDZbQ+dPFz21egd0iCvkD0rHjklbOfaTqFgJ6mkIs42zbYXrm1PKwMIrOPJf3QTzyOCMHOvL8Jw3+c7H/sY9MYsTBd28VP79UA== 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=BJozGZPHUkkcsXa0jW/NyBVpw3E5tebUb+dMiLK0AzpqVWOSFoQqrlzZd1XotVJTR3gT3U7F/la9LGutZ2ITMQjkc7VkGXrTtLCeY5xm5BMl+iYy+bZgUQ3b8gFv/J2Zym5cFkIF1/fUdvtKt4obhGDIIPksFjdcFpq3HBx0bgI= 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:52 +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:52 +0000 From: Farouk Bouabid Date: Fri, 06 Sep 2024 17:54:18 +0200 Subject: [PATCH v8 7/8] arm64: dts: rockchip: add tsd,mule-i2c-mux on rk3588-tiger Message-Id: <20240906-dev-mule-i2c-mux-v8-7-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) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9562:EE_|PAXPR04MB8319:EE_ X-MS-Office365-Filtering-Correlation-Id: e1030996-48a3-4e8a-36ba-08dcce8c6263 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?bLsOpZ/JxixfOzDJEnqzEUTmgfWPBMZ?= =?utf-8?q?c6uWM7ZuCzcQaD/oLooKPtqDDOO1VCdjBhmsHCf8NmWmNQRQBvidU4jJlb39MNYMy?= =?utf-8?q?PhM4gUBw3YRJpCCNNmhh6CJcPLAqxszZe5peqRCFzZAJ44r01YhnPSMHidAPKI6ka?= =?utf-8?q?lArfHxqOif4ZXc3ZQ7M/B3AzJncJ8Dhba7FY9OoChbOFnHOMVvkpm8Zrh+gQ+pWIf?= =?utf-8?q?jPPjW8odOdo+VFDWnOMyUkdnS+wYAt5i1pQCB82jOjb5ZGx3VBr1MH83Z7EkLJy6t?= =?utf-8?q?jUGc1v6h3vN3+edhAOZZOQNpzJmFaKq2/jsj4bjf8ZSpjl0dMCUpSuHNWc/p2/1gF?= =?utf-8?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?utf-8?q?ycd8nV8ZbZ737cZCRPAmYMqSaHCMP55miL1awGowjeRkJKRV+WqYR+FsBzQfY84s4?= =?utf-8?q?gSaVi1lCiZ4t9Pod2sfeZ+ryHXQ6mHv/aXAADDCeCdmhm2jtzhbfMYH2jVhSbxobj?= =?utf-8?q?D01EprEK3TGNdga55Yjh9gj1t629/oCEuU4WNFXtAjZpaG/m5GGXC0Y=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?dkriVj2amktXaRibx3bjrm04m4yz?= =?utf-8?q?OEpRVHS8gJDJpJO46war0L0StmlYt8AeeixJWdEbpasEAQ1pPizzmzIoGbVuSOMSx?= =?utf-8?q?BFVwQ5kycI8T+xAHOtBTMvsVW4t0KMD1pyY1Ty1pFp5E5CYmnF4zPO808A1pkUcCp?= =?utf-8?q?JRV+v2+qYOfRlFyC/6dwUGA5FhZLFTcdeT3meVUJQtjBWV/nops4VG5V7LTNcSgx2?= =?utf-8?q?yiZfQviOVumGMqmviJVLHxb5HJXe7X9h4iv7CalKUXwU9w2uEYIEjJRd36o65jWRp?= =?utf-8?q?hoCyjtMPg1JwyGcXLCsnJplBw4LPOP0fslZkCEq2coXZrs+u7G+83yujJeb8lbHzm?= =?utf-8?q?FrkjprkCF118bu5x1gGohlCB3G21eG91hhzhkznP9Z/wkQ/ZXjU9UEjQgZikgq+uI?= =?utf-8?q?O3CVEeHLgJiKF8yL4kDrSXPpD70RKgmQyNtGViZllJ/d+FzS1R7ESZAdiVGbKb5pT?= =?utf-8?q?Z1WrKvQUSviRXZAAywV9qcf+jAimgg366NWk9bVerd9+7sEW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NLeKpCcVgj?= =?utf-8?q?QfZ4ExFeEN8gUXmDJKh1jp1I2xpGfLX7pn1XZPY+1k27pdbuacs5TxB/yr/ODFfzs?= =?utf-8?q?IzCnmddBa9O+VUU5H5WfT9PQSvN/M8Cs2FZnqpWURX4VYWq0MFvxrIP2CGfNAX7+t?= =?utf-8?q?pRxeUMmdgGIiOs+p7p+zMmaAu4IJy6aYjg=3D=3D?= X-OriginatorOrg: cherry.de X-MS-Exchange-CrossTenant-Network-Message-Id: e1030996-48a3-4e8a-36ba-08dcce8c6263 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:52.2147 (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: FwAAzsk/FgiFW5ZaUoXGd0qdTiwAG1ggJk7s/5Jl3gW/Sw2u3ZJon6DET6fK0ShJwjI5HFGdIJGXk/aWWhpgFGqIJv8bHcDv3Wx5LgEKc/s= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8319 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240906_085600_665488_2BEDABF1 X-CRM114-Status: GOOD ( 10.36 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=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>; + }; + }; + }; }; };