From patchwork Mon Jul 8 16:12: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: 13726836 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 C7E16C3271E for ; Mon, 8 Jul 2024 16:15:18 +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=ZSju25TKGZ55p/gVBb4GKd/s8n AdrNmpx9AGCRZZzeHTBMdOkyRJpK/X/wZR+p4NMcHOs8hs6pI/u35WKcCw/4D6nxHTQXtzwD0+1dm Zh7cBUyuhVrGi+5287R0ETLeyDCaj1hVglT3iXbqcWoT/QXJzAaMIN9+ow5AFYsB7l8dEGrMWB3Ov BXv4rkOuGxGgSoKIvE7zB3phQ8K1C7cff7dnyLAp9EhnNvxXRbGUGoaRyGDbD2LVdBRZiP/i6CxVs xGYMRWRvyx8Ftp5lLRWw4/L4wLD5d64d0e0rDvTYckCWLYcDYQHE0QOW5htf3WvkUYhEGGeCBlL9j bqz6ufUA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sQr1H-00000004OuX-2Pth; Mon, 08 Jul 2024 16:15:15 +0000 Received: from mail-am6eur05on20709.outbound.protection.outlook.com ([2a01:111:f403:2612::709] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sQqzZ-00000004Nxm-1NCg; Mon, 08 Jul 2024 16:13:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a6Xv/rbNLwaHAjfMl128vNUAzgWD28MsfuhnwWn6CkE7bUkULkC2fEo8nnxKiKfIKVlIXDZIi+HoqBE1loQzTNAUwnhKzLyrYKXGxIKdisPuVu+Tqq0VBU/iypOSR6KnywTgQSY9gS5B2kPO3E5LUiyoP82tqpC+C0/9U1Yrxu3nTWEV5HbnVd6oDyds3tddaii4e5ak9x18zgDcRRA56T9gkjrXydqi/m06ONf71hq5LqyYD9LFasYnZS3LJ+tJ6KZ81i3cnzlqgJtxLzYnRI3bVBCR4PI44xMhqiylzg9Rf73ay3EgwoyEfw8W7j3uKXFK/feOJsXss2qBfvf4Bg== 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=vi2HZwiFEVHtrJA2zjt1qkuKLdtn2l7f/q+3qLebRPw=; b=FSCladac6bDy9IXlU5BqaCLl7vrZRBXixfcSkL34wxMnAFmxbShuBoq6UXwaWU/BBCG04WLDkPyTlqOzvdzNcKExL/e5UMXXwLzdGMepr2WSoVBX9+jW6ZGxzvP9dvyKJfCU7moe5IFRGwj6up6NaydkKCSy4xyxbIJgJm0EL16LAei8MK5ePdP8RwkBKu9xiOUY/Pgu3NyenP1tgrwRAjBwtiDyJFWGdl4ayh3UpyUFh4MBgHndWQE0k3j58xyNWMrOhPBpIe8IUunYFh5DkyGG5VIQPd5VE84vble2S/JrI5CMNTnwJX74cYLhuMa1Ef5Uv8RKDvNYceiEQlmtOA== 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=dVksHG14lPI4JubCWWQIxwnPabJ4TXm0iUp1UMohc4BFjoBK3Ur/Qvji7juZuN7XbaUhawpNf5YigooEYkxht5EmZyEGDMaBYiZBMWC16irO+T3MEv7a3lFlpze1u7F2BmZNb6JuBLyvaD6y/K+wmWLGWytQ3lfemIrDpZHqOhg= 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:16 +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:16 +0000 From: Farouk Bouabid Date: Mon, 08 Jul 2024 18:12:18 +0200 Subject: [PATCH v5 7/8] arm64: dts: rockchip: add tsd,mule-i2c-mux on rk3588-tiger Message-Id: <20240708-dev-mule-i2c-mux-v5-7-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) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9562:EE_|GV1PR04MB9055:EE_ X-MS-Office365-Filtering-Correlation-Id: 6e39e594-6242-4e10-598d-08dc9f68dfc4 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?F5o2NzdTugefAY3U9O8A6rg1Y7DL7/m?= =?utf-8?q?PsDtJM5N6Uf438P3bcml3JNSENwHd65pQOmZ3eveOah6DWuisWh8dQ+ELxSmva9u8?= =?utf-8?q?q3t8BiDgn0WfkRxFetLI2pSb5Qeyhdi/bs7y8pNp5mjTZMFWUfWRuxyfVuclhBgZM?= =?utf-8?q?rlFm+ceNw4a4ge2U/Vbr/iudMwcNWxWfc42t5yfxfdKOQYDGBgb0ZgbFdMRcyK16J?= =?utf-8?q?Q1GAgnzwF3XnYvpNti8/ak5PD+hBSCR99qWRteBR+3Z5qU0uCh6RINk9qbrux62S9?= =?utf-8?q?L+mB3Jpi6nCKtfN9R7CF3rQbOjJTBEYkAI8InQdx0feo3W7xyy+bftCkk1Rp/F7Ly?= =?utf-8?q?9gFlqMCmAbU3MBHJ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pgLCOhS1VFWGhA7vWEd1E5JEef5Ayjt9WybXm?= =?utf-8?q?dnE5eI5bYjT8Vfc80Pm9WgcY/89sp1F72ib60JwSUm/TxoGoSdOkRbf5Tkp+Els4A?= =?utf-8?q?Y2P6nxMaakPS/ccwH5/LQLOhC9y05DRHse2BEBtaLIku+uqs6Dm4+dk=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?3ZlJuutIK5LgH4/GkxKzR7AcOTRP?= =?utf-8?q?ir5ZJj7LyFb5SeU+4OjSdIetKIwia/IEtl92tJX5IMVCHpDsYDrSKE4ibx059ITpW?= =?utf-8?q?BfxyLN3PU8cwCBjUr32edME9Ip5F+6j8V22gKM7d9hmQZkRmpo3OUqQhN7fu4L2zN?= =?utf-8?q?m5KpQMl6HW1e7eKuFf/KYkcLkjnpxA7bsnvr4XQKz113l5N6OjJOLiHagPdwsArHL?= =?utf-8?q?9CNEBXMO8kmaP9DcKjHQ4CdmAO5hOO0tPZ+C3n9N+skv3eS5grpb+dGnU2Qqczme7?= =?utf-8?q?thW/b5ZgBy/8IgveW8zrQEWprJDIx0xAjCHFvO94V1Yh9EoAb+KQMnm/ZPfAKUtQo?= =?utf-8?q?JLi7ataRNO/cJsBf17ojVi8CjagXe+tVSNAYem3/leV+FyX9FGCVk63AGTvZ/Yf46?= =?utf-8?q?yyf7GVwZDCAo74wVuUl1e8zkQef6XuhBbSJ0wGnZyJM1HEHa3KeANSc06mxrliy41?= =?utf-8?q?a0wCoD4NdniYK0KWgdAjjY27RISGLMr5dkpCbuGJt/qBCKR6UGTG3mNuj+LzXCHPk?= =?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K8kVY2gAekcdXIfIdF2UjtNef10Aib7ZDhqzKJYXFw90ZQxyR?= =?utf-8?q?5M8xtuQjrZ1QAqCzggAixjOEQNgfQm+5iZQYuO3qEam9TBIGGpC8SMFfrF35xOZkP?= =?utf-8?q?3et/8ioAyX5FEktx9iLLZyzsz/Jc6NdmDw=3D=3D?= X-OriginatorOrg: cherry.de X-MS-Exchange-CrossTenant-Network-Message-Id: 6e39e594-6242-4e10-598d-08dc9f68dfc4 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:16.0428 (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: kGr2+W5CaN9aooDeFZu3V2WXJKY8ju9TBGtWcZ4OKgHsRHudeJLq6l1YQGspKjBP2RYcDFgzAoWUdYQDsxfQwAfkmLF4Sz18mOcQSksuQ0Y= X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB9055 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240708_091329_418285_0F23FC2D X-CRM114-Status: GOOD ( 10.63 ) 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>; + }; + }; + }; }; };