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: 13794402 Received: from DB3PR0202CU003.outbound.protection.outlook.com (mail-northeuropeazon11011064.outbound.protection.outlook.com [52.101.65.64]) (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 93E321D47A1; Fri, 6 Sep 2024 15:56:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.65.64 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725638164; cv=fail; b=NqlDMar+yY3NMRCTswZl2koT/EBQuWopadk3cmJAUdhRX7x8MSktJbyiwyfcwXg4uJy6xCWdM5UimSfRNq77lH2W1OE2E1hl6W+JWmvZFcfLtc1ieHHO5PT5KdlAMPfnoInc/8K40UpQbe5l8ZSFCcXTVRIFLLBBwk5ze1SPP7I= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725638164; c=relaxed/simple; bh=i/M8yJPcY03Ki2kkWdHjugHPVbN0du7sMp9K4aXl/4s=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=t5jgeA4Egba//zQ6jX7j1xayRt2VsL0WWfg/sCP2PYn+pNVTvux9bIWdCxcsKZs0G6Y08vhV0kSQFj+pXlnVFf6M7U0Pt8PR/IYlt0VnLKZfiDYbqP9fUjt6PLz5rLllqHedPuJ8bH1DFs+JcyNGgRYzTXkg86DXS6TGuz+kNBU= 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=BJozGZPH; arc=fail smtp.client-ip=52.101.65.64 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="BJozGZPH" 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) 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: 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/jsj4bjf8ZS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DT78j4fe4Gnl4MVZJlxOAr1arCNlW?= =?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?Z1WrKvQUSviR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in66MoAV/Fkk8CLEWRmcYdZzqOyM835xOWNLeKpCcVgj?= =?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 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>; + }; + }; + }; }; };