From patchwork Mon Jul 8 16:12:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Farouk Bouabid X-Patchwork-Id: 13726842 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 23B031487CE; Mon, 8 Jul 2024 16:13:23 +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=1720455205; cv=fail; b=Tp5choJXxOJIiq8gWy5qSuMjAuh1rOCmxNQ1HEc/7SPX5oEW2QyrL49hawZR0YhW7wB2u4dYciI7fwry/d7fw6Wc7oGTBtNeR24ZUNm1mcGZq+2hxs7cejMTqyLYtcTVQAl94kwRGLp7vO4BOEFkgjY3A8cxPseM14xfR4mZbtc= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720455205; c=relaxed/simple; bh=z4FqVvzL9gYCTOPTU7KsKuOHbjSrV8y2DJ1eaJqNdZY=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=uGsAlJpYKNY0zpOeS7W5mqKyI/tL3HdRaFEznyn914qtsjlnx0KArBj+23n2kA5LVHRpFIFvPvm8Zh6+Gz+kRDKfG/D7m9yQtu3VNPtIickQ1ieIhKi0F26O30mvUv5prd1JZ0pM8Bu+zGsDFVEF0vYIpit20FVpqpVcx2CHcgA= 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=SytKgKmR; 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="SytKgKmR" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MOQT82E/kMBI0VeIOqh7ZKKLoVngutQpl3GJ9lI6Xn1MnFoSFafP+pXGK0SFjxmfXsezWDRnzqF/OkivCjFrgx4IB5SO8GKv52k5q3lquPNUMcOfyPueCo+kJFNj5YQv5nX95Ja5Ig0GOjIaItWlqFkKTzvctpKyjP21n6RvK3T9gji23uYuWFSWMFQG43tiQOt9BQI0RMwNorGcZVy5KxqHxZWkAp1eOc41TNLyZ9VJhewZPW1bedrX83pcg4QjONmizn2VmDtqIxDXZhN0MolMYefjyiUQSBmZFp9qpLe6qI5wLlMLMDj4Zj5lTzTD54Rwyrtld/WbkvcrdmgZrw== 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=BOz94KksZbowomQ61lp6xZjrFFg4NqyshzZRPsQz5zg=; b=ZQIg+9U6Pai2XXhjPxTstRcGpsLRBMwOj/O6FAVX94QcDaBtiJ0Gjoo+FCzgTL48wF+aiyT70vHhYr+YbElQbb8dtP9Xn8LfWnulXMWVhtNpt8vOvEOZF1i5vhOIEkJh9FBfI9CZ1mnv3g9ObZcEG/GwjU8YX7sJv3KmnfnagsOQJfuX6gzHHqufpHTjIUquYa4twCd+y5rDbVJH4k2ehk+mmC+UdmelD+TaUy5/0Tq5EazWLX7ciIQhmJXkmgjFJdaHhAjfH+pXHhEF+dCVpA/PlShUoTTZE8hlJO+7XU0+Jsmoo1XxEYI4HDNd32hUOGG5+zCOcTPs/E6xZcYqdA== 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=BOz94KksZbowomQ61lp6xZjrFFg4NqyshzZRPsQz5zg=; b=SytKgKmROcVevsUQvNlb/BS9Rzi8lqyS+5PNr1N4NfhxHk2dkCkvBYgKk+Cqg9hqajG7oUUReAJ8QwrYhEG9nredFmbDsOUBSOoDSKNcOqZlnzYdgYDAPa47Tod9IEONvhqgXPECOGtOUdxm75ahaSId+IMAuwQdBadYAH9QOZw= 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:14 +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:14 +0000 From: Farouk Bouabid Date: Mon, 08 Jul 2024 18:12:16 +0200 Subject: [PATCH v5 5/8] arm64: dts: rockchip: add tsd,mule-i2c-mux on rk3588-jaguar Message-Id: <20240708-dev-mule-i2c-mux-v5-5-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: f62fe91c-3e69-452d-f8aa-08dc9f68deac 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?eGntt7Q468Y5ANYU4ocHeqK2/v+s6FO?= =?utf-8?q?qlOFN07cJwtvMJ5XdbP5n4FgVO57yykfdRQhBom1eEnyz+Q3yxLfgTqYRmgcyUBaE?= =?utf-8?q?6miSxQH0SW7Jz1NNExIZ31OZkXK3oYhF/dY2ZWUEjrqawV4tXiXa6zJxZkxlEogn/?= =?utf-8?q?lwKDSY9P3AkhehfxteC/wLZRIDjV288z7WpF9efSRjpgRqu0Wuk8WJRo3EoExunW2?= =?utf-8?q?Bi3nd9Kejl6fgPrHEZp6+qcFVf7wd2Uks8uiaY9eGpRhayuZCnDChbkZ1UZMZ9oUq?= =?utf-8?q?Xb+QGlyHMf3ZLahwYVq1wKOjsgLaUKUbgvoiFubKusj0c1iLjPUWqUNFEl5CoTQrS?= =?utf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WVGB/ejjE+F57kZSuDRs2lsp5ONthrKMI77hmlqHbfuiH6foh7abiEy5KqhnB?= =?utf-8?q?8qRdk4Bo8FdargFEeV7P2TUWo3B8+8hGW7WReNkq2hmm2UGDbUvYXMvfqvsQD5ZQR?= =?utf-8?q?xn66lF6VN8kJnluMaefcoo8YmxdqJ0HyWK8La1SE/3ZAhS0nEs6+cH8=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?0gUIUgpw6JaSy7LJlGh68l2vg1Kl?= =?utf-8?q?2ctWNGq1aH1rTbsEukgTfH48tpFGMPbBgNyZhLqZehcfT0V8P+9JTUIb+qIX7BRG8?= =?utf-8?q?UIEdJ3lHhAsR+abO9BlrDOBtgPPp6TOZa/qk3GgSrpPkJM/7QAcDm/IiGzgGZQaIY?= =?utf-8?q?4PJsw4BzzEBaHodL5VQxPZvA1h6vema9mcsmVXO3FcPDB5BK76LZowfVweM7dsG1E?= =?utf-8?q?CNeHFDTURxqhPt9WVQE4bS5BEjZnDozUo6FIPdGb51eA2EEOK+eOXVrsKuop+XCxV?= =?utf-8?q?WSiG+GvAEs5mWstguhMi9BD1u5qk/deZdfkTa6MRWWUua7rEH6pgdoFQ1Tzg0m+A2?= =?utf-8?q?Hx5puev8vSd41bWJIl3AK4gyGonKNrlx4hgvlbnyD6FTmDv967sHpiX4EUA7CEex5?= =?utf-8?q?K3Epmglq8El2Pl2fyqpDi+1nkxNIkdiy6hcEx74xDsXTmdjMdOqHv45S4fiZ1/otl?= =?utf-8?q?8VcGZhfp3COnYBlwzWpQcYziJ3flg4HdT8kbkOcn/yYQn0OC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O54l4iw0g9eetvJC?= =?utf-8?q?L7xcIAZewMmEdX6xO7ZMAd19koyYREOoycVpk89efjoXCI01U1ABtqhBiDX9z8XhW?= =?utf-8?q?Sft++JielkD6prxkZ13yDSe5EtfUdoKFUo9R75hyfXos/q97kUEe5zQ/ITjEVVsUi?= =?utf-8?q?wlS5kz9A/g63lrpU0P85QGyoorix1O2jow=3D=3D?= X-OriginatorOrg: cherry.de X-MS-Exchange-CrossTenant-Network-Message-Id: f62fe91c-3e69-452d-f8aa-08dc9f68deac 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:14.2158 (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: qW+xxWWtQ4qS3lITrv0aEJxRvwIs5yt2UvgaPQpoyi6hrQIhhCu3FCc1lYLDr1dCvfZgoLSgNMjWXHS6LfhLtSliXEwu5Ymrvtl2WcirCJ0= 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/rk3588-jaguar.dts | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts b/arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts index 31d2f8994f85..56f87a603581 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts @@ -32,6 +32,7 @@ button-bios-disable { aliases { ethernet0 = &gmac0; + i2c10 = &i2c10; mmc0 = &sdhci; mmc1 = &sdmmc; rtc0 = &rtc_twi; @@ -276,8 +277,25 @@ &i2c0 { status = "okay"; fan@18 { - compatible = "ti,amc6821"; + compatible = "tsd,mule", "ti,amc6821"; reg = <0x18>; + + 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>; + }; + }; + }; }; vdd_npu_s0: regulator@42 { @@ -313,11 +331,6 @@ regulator-state-mem { regulator-off-in-suspend; }; }; - - rtc_twi: rtc@6f { - compatible = "isil,isl1208"; - reg = <0x6f>; - }; }; &i2c1 {