Message ID | 20240708-dev-mule-i2c-mux-v5-5-71446d3f0b8d@cherry.de (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org> 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 134D5C3271E for <linux-rockchip@archiver.kernel.org>; Mon, 8 Jul 2024 16:14:50 +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=lqffTprTwWV3eapfv3qtD+tvJlJfz55RM86ypJMVK18=; b=21g0g2Z1TIopoxSsQjxIZo22cq LhEeQShGgLiuM21O1rXSkzp0WdYTbXGKQA7lQ9ozAe9mUANPe2tPNQuq7GKlHepKrcr9kkY8m7KFE 07MuOiP68uAAGGuMGxLYVefUj+dbGOzApR8qEcehZtRFr4kWwOo0Zq/VeIvYhorKnuC+IG6DXxPAo gp4FT2U/LXoP3CJB+FLHfcsRcEo7LnbNnRyJ9qdj4u+6mH8m0RhpDE5wqhfLug6Cq24sONM4pCANs Cap3lwJfvVlJD+Gl7JYYMxwq71sl16SE7h9XkP7+bkM+K4Nixqosw38ZQUmlad1yd5FYpF5Kl3rx7 7CMImagg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sQr0o-00000004Oe3-143Y; Mon, 08 Jul 2024 16:14:46 +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 1sQqzX-00000004Nxm-1M4u; Mon, 08 Jul 2024 16:13:28 +0000 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 <farouk.bouabid@cherry.de> 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 <andi.shyti@kernel.org>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Farouk Bouabid <farouk.bouabid@cherry.de>, Quentin Schulz <quentin.schulz@cherry.de>, Peter Rosin <peda@axentia.se>, Jean Delvare <jdelvare@suse.com>, Guenter Roeck <linux@roeck-us.net>, Heiko Stuebner <heiko@sntech.de> 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: 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?Bi3nd9Kejl6fgPr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fT4/v/phLEag2c3VwU219O1rnM9JZpO1NCYmEB9fHMbIWld578JD?= =?utf-8?q?husYNYU6WvGnKDEuqErUxTU2X/aMP9P/+1VPD1MQHuX6J/3uo9tlskWxYJr3kyja6?= =?utf-8?q?u0hdWVGB/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?Hx5puev8vSd41bWJIl3AK4gyGonKNrlx4hgvlbnyD6FTmDv967sHpiX4EUA7CEex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?= =?utf-8?q?gPRt5Ltd1E/MO+XmmvOziTrQfHvdmr9nld1nbcsKrWAFl/eIpyhTBcURIVQVA3uI7?= =?utf-8?q?sRe4iLvTYEWrgVhaMGN3QF88W6zgvHhrm//j2uff1ZAsLfaghO54l4iw0g9eetvJC?= =?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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240708_091327_409409_81FC87E3 X-CRM114-Status: GOOD ( 10.84 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms <linux-rockchip.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-rockchip>, <mailto:linux-rockchip-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-rockchip/> List-Post: <mailto:linux-rockchip@lists.infradead.org> List-Help: <mailto:linux-rockchip-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-rockchip>, <mailto:linux-rockchip-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" <linux-rockchip-bounces@lists.infradead.org> Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org |
Series |
Add tsd,mule-i2c-mux support
|
expand
|
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 {
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 <farouk.bouabid@cherry.de> --- arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-)