From patchwork Thu Jul 25 13:27:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Farouk Bouabid X-Patchwork-Id: 13741913 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 D4F42C3DA49 for ; Thu, 25 Jul 2024 13:32: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=gv+aQASMtPurM1XWgBDJ6yb6BPZRwVX/tqPV2v8z3/E=; b=GdUryjxUfmszmo4lOSZfUvno8h y/uqTD9NXR26LoMwdB7xBTQpWKAaal+1rYfHn7ZPtGJr/oBGrnNWySoXJxVPaO+k6Wes6k7XZffbw 90lQGHxHCCLjnhQUrQ0YV5gZ/iuSRUh4YfuGGz8Cn5pO/AIzhiIHRLwbKsOtJwTNPGujzsaYBMo+X bQNDuHXEz1sqUnLY7pWfmPaNojb5WJpGHsu2FZE+NwG3Oy4/xZrKb1wMtvzCkJSqdUk96f6KYzl85 pyP6qz+tiFueujwl0Pg5jXGTyRQhZg7X4ZWjx6PdiVzHuHIKIFRgvRAQYe38C2XGXafDW2Bu1Y1EJ T5/KN6WA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWyZp-000000016m5-0hPe; Thu, 25 Jul 2024 13:32:13 +0000 Received: from mail-westeuropeazlp170110003.outbound.protection.outlook.com ([2a01:111:f403:c201::3] helo=AS8PR04CU009.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWyWE-000000014Vt-36WF; Thu, 25 Jul 2024 13:28:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ocql6ckHW4sdoxEvVpfnWzJFI3E4jGXe1uDrF3yFzy6k9cX9whJG2UIM3nvEW1cv0REpzlIM/ySOz171lyWvYxnxB0+ZyaIbQyE9XLWE1ijCNVbMnOcAq4CelIf9fBi/d0Vs+1ZUJg2BPirm9vinrDgLuHm+5cmSnOMk5Zc2+hqxrQQ9tHzBfJrSvE40qVpOuLWSZTLwdQarZQnaQcB7q2SlqVRMnlSfTgVTeSOu+6DCoPvkJVq4je4EPyDzPGYBEFoyRjE0PmbS/gTVCMvwmK95xYamZra2/zIxlJEqOPgxvjj38Xo4bVDa+1+dmWgu4Tmncyd8re9tJM6wJzkOyg== 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=vi2HZwiFEVHtrJA2zjt1qkuKLdtn2l7f/q+3qLebRPw=; b=k3vSs3aHaVqZ4NH6/aqTygQudG69T5hFP8QH8Z62FjBINuTDI6IK0dtryz7LFab3Ihy8tWP0YRv+midFNQBOVSIF8o0npi3aPL64GvG1dVBSgg1gaQT330C38CK0vYkQVyXVduchhZSHDHwGVFlSalN9DzQd0zlEDURg0Ht8vBoyNy6yvqBsNnmGXAsj9UCDu8Ufq5wLvEqyyAcyVnfja2ORAsdun/eXjXsynpqH0VUu443oMJJl+lU1AVu4LDSL4YVgf+FaGmdXNWD+hGOY5Db/69ANck9aEoyjfFcsg+W+PlUBSbdQEUjCyEanAWujPYp8DMc3l8/4nD0jKk6/QQ== 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=vi2HZwiFEVHtrJA2zjt1qkuKLdtn2l7f/q+3qLebRPw=; b=KVSxAlShGzF2FjGcowfFYBKlTIFzOc7NZ/S21w2BidphB8kVBKS7dYDilEAK/YlWxgmmRLJ5u8zbEorzyJkHVT7XfaRb9WHVdUKj92pTbfwsYewj3uVb+j1Uk25yxxWIeUCBXxWTaRW5/pGb65kxmuxVjCPLPDmP9CYQvIdeF9Y= 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 DU4PR04MB10670.eurprd04.prod.outlook.com (2603:10a6:10:58d::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.28; Thu, 25 Jul 2024 13:28:21 +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.7784.016; Thu, 25 Jul 2024 13:28:21 +0000 From: Farouk Bouabid Date: Thu, 25 Jul 2024 15:27:53 +0200 Subject: [PATCH v6 7/8] arm64: dts: rockchip: add tsd,mule-i2c-mux on rk3588-tiger Message-Id: <20240725-dev-mule-i2c-mux-v6-7-f9f6d7b60fb2@cherry.de> References: <20240725-dev-mule-i2c-mux-v6-0-f9f6d7b60fb2@cherry.de> In-Reply-To: <20240725-dev-mule-i2c-mux-v6-0-f9f6d7b60fb2@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: VI1P189CA0008.EURP189.PROD.OUTLOOK.COM (2603:10a6:802:2a::21) To DU0PR04MB9562.eurprd04.prod.outlook.com (2603:10a6:10:321::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9562:EE_|DU4PR04MB10670:EE_ X-MS-Office365-Filtering-Correlation-Id: 96fa4c03-afef-4f8a-0cd9-08dcacada71d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|52116014|376014|7416014|366016|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?C3vkGLcQuS1sgyZNl8EqRSzmTgYFWO/?= =?utf-8?q?s4nzx0chrRAfP3VezChke1SGHKMI9Rv623WddBCVcQjJWKAHDrL0ls6SzmaslNNoJ?= =?utf-8?q?ADI9sNEuJuwCeTIKVHXFV5X3vZn/AQk4m6og7SabCeCYsDqZF2JrmLagjZ8RztmhQ?= =?utf-8?q?Ps+a7BJzY+NUS8k96Di+sbAoGY1FkWVLLarfbhwPXJVltXvsSG/rbsuGbMa/2yT0R?= =?utf-8?q?3OyShyO7LsM8r6ZqXOXOEAEKvqcyWaQiraDLKeDKvNy6sNjcTpiXuxwEN3iLQXsUT?= =?utf-8?q?QKl9PRYyMbOZZ9IKXNXZ0qGjr/ktdNvzOUdnWT/YiCkwlVh7pa+T7CO9WLM8aKf7i?=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Nimh?= =?utf-8?q?GyYD7DuhPWFM/RedNaQKgxPr6tEDaWeg+ysf4IlLqetUjyXQjS96KWbJQeFxoZZZJ?= =?utf-8?q?7JIYjAEXMP492/EpollQokZkVzs80dcFZEwI/myT/R1jTVycoSzfQll2pStJ2dw32?= =?utf-8?q?SOcOZX32ff5a14rXvqFa2+Ws8XSya5H6OV5DTIdZ+kzaAORTywAfo7Q=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)(52116014)(376014)(7416014)(366016)(921020)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?OlOixic5GTwXYX/O8EhNeL0RDK5Q?= =?utf-8?q?GnrhtKueMp/Kifqy1T7V4u2QY/5jYr/ShukePUvykitEbgTu8Y29GApBn6zQLjQwP?= =?utf-8?q?plktDzzXL35nZmYk/w1ihqcIwYpdN5GpLNH8JX7PFduGbxcu5ocGxIveJdkLoJ0o7?= =?utf-8?q?5IlJ8LuPd2dZAP7UKW3GoluaV0PfrDgoaDoYJAIpPBrNHqlAvHSpqOqdKd2o/pyjd?= =?utf-8?q?ikDBPfeUKUmjDR7pQS/77wAqLiqZ8lFEWSoCPykNHZrsWJu67VtiXD+eW5pohxlAz?= =?utf-8?q?stIJ7LrzQVt/5+jjp6wqI4xpoHnItaN0hF2aLzgeDH4dt71cQAbFjuLcT6qNS8bCP?= =?utf-8?q?96IjQbOnhf7s5t6k4cJCsTlh7Ho7MCMEzgNrfOcpEjEWeh6cwn5pg+8sNKEQ09040?= =?utf-8?q?dfh7ubIJVJ2wZ9NaLJYF42CgeA2ZxJLlMA0jLsKfkRBS5cSYEcO0qVIiqiZCjrZl6?= =?utf-8?q?rIxPvXbfZwDyRks0+oJXAjI2gatK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TfyaQ6YlnzFfYuSwZdpzaIsRMiWcjKnK?= =?utf-8?q?U4qmDKPeMtVd4ZS6q3obMEjU2YKBhTfGimHH0QK8YMydm+KPlFEC8NJyVEUM0IsRT?= =?utf-8?q?cD45H4e88ZVOupW9gDU25r/jFijed+1ZFipzgpUT+g7ZC5wmmwqzVIv3+kAl2gRIq?= =?utf-8?q?OgzIrJzq2JRbwLscFYdUaNnklRwaNGCbTg=3D=3D?= X-OriginatorOrg: cherry.de X-MS-Exchange-CrossTenant-Network-Message-Id: 96fa4c03-afef-4f8a-0cd9-08dcacada71d X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9562.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jul 2024 13:28:21.4505 (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: zdLQopNsjeArRxCFepN5u454DSi0y6paF5yo0z+iRE2tZTvAsUN5XBu7Z6mNwJ/OEgcpA1SfFmBdGPBGj+xWY1OeEVak+9J8Y30rMWhcY+o= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU4PR04MB10670 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240725_062830_967548_F2A586B8 X-CRM114-Status: GOOD ( 10.73 ) 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 --- 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>; + }; + }; + }; }; };