From patchwork Mon Jul 8 16:12:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Farouk Bouabid X-Patchwork-Id: 1958044 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=cherry.de header.i=@cherry.de header.a=rsa-sha256 header.s=selector1 header.b=dWzl2WoQ; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:4601:e00::3; helo=am.mirrors.kernel.org; envelope-from=linux-i2c+bounces-4765-incoming=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from am.mirrors.kernel.org (am.mirrors.kernel.org [IPv6:2604:1380:4601:e00::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WHq2x6pWZz1xpd for ; Tue, 9 Jul 2024 02:15:05 +1000 (AEST) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 507491F21FF0 for ; Mon, 8 Jul 2024 16:15:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6449F14D2A6; Mon, 8 Jul 2024 16:13:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=cherry.de header.i=@cherry.de header.b="dWzl2WoQ" X-Original-To: linux-i2c@vger.kernel.org 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 57EEA14A619; Mon, 8 Jul 2024 16:13:27 +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=1720455209; cv=fail; b=tk2/bznoDIyjycr6Dg2MjIvsZSWULWcrUTMv8NITvun+vOOjXeBtSqNIxbS7wRwpWEDrM0hvJ+HLzTBNv7BKlVkxXCGn3cQU8W7ldDy+DnuHaRtIR2IhbSES25A4EyjFXdF670U9L6z04o4BiZqZD3kLmVj2zan6PLoPTst0czE= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720455209; c=relaxed/simple; bh=ZqLxvdbON4HGIDwXyHoLXPvWlZD6EQcsY3ekUxJ7maw=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=RvjgA5KvPD05Pagx4GcOqFNSEauAYGLAkeaMZaBcGL425xaBZhErcmXH7CSFXp9/jk/A8fTQIXfWgLlC50M7LUyYd6Wg3TUt3zcKbx6OY0FCULRMfQ1bhacbX8uaE3401k8DsGQIlhjxfU6uOAoGyWu3VkF2ERu8AS/oqpdmfjo= 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=dWzl2WoQ; 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 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DILS2hHwavnDJM8fgxnwZaFdr9oyqK24Vt+TLYMiT9zeRk2PiDrWXKHijj1lTvVXF5ohCsio2I+HVVxWtkHIsUB3+AYdEWyS/Td6YU+fy/BBbCe4RQRstEFRA/UrlaaucV9W9cH4Wly8SY+czqI+yWr6n3qDw62H92iTCnAx3o2svoZPqxQ9z4prFeHrRt0IAe2JUmRB23oP1/OOJiPghA9CUcDZJdWYTfrZDloG4LDnxWdVGF2zIe1Qe/6QOJEU9RR2dGNajn9uj/T2XPJDvty4x+eTG2HNS5ihife/+RQio0yQN+b7QlGKOwMucuXkRIlVZnpzB2OVhFJw9kyAxg== 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=MpOnVJ2Fq9UBRXgKUtAdUe3ZeBAX+dIsb/Jnqh7FOQ0=; b=d2hrX1uJyXHDmE7Q1+qitwUOCZqUVy+vE1iQ2TBszbS2Y1nFSE8r8Y3G5P/n48CH0fh77mdlVuaHOsi6v9ZDElAkkN15aXrcBBJ5sJB1nc4a50Psw1LTRadzc41G0Omxa9jLQligj0PVdySx1ehpmWlsvrcZzlGM+bAZS4vQ6UzqqmpTLF56vcpCotQHhTRchXpxkv2t83UsYTfL4038sGNf5XDAfSSsrqWbV9gwyBzZ5Y/c0BOg/9pf6tbpzZe26Y6rQcXm3QEsRvIrboWgiNZYSbNzY8EqWBtDgQZLmGpLjDAmiPyqhUJRqtfyQh7s4B5xjH+FGoS1izbvSCec6Q== 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=MpOnVJ2Fq9UBRXgKUtAdUe3ZeBAX+dIsb/Jnqh7FOQ0=; b=dWzl2WoQxnyK5MCGzU1jtLefTeNQ2J/jMsgzlnI97iYHTslR9FHNGZ469MpFsWs7IsDax/8SdHkLjthlDF6mRbAPEOT3zZ/MHD1cjeaz/YPjOkm9f8KbpfL6aK5hNCmvpa5Y1n2yp3P3R8ZguvJrlvnwpxrO0KYjCuid1h7Vj8U= 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:17 +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:17 +0000 From: Farouk Bouabid Date: Mon, 08 Jul 2024 18:12:19 +0200 Subject: [PATCH v5 8/8] arm64: dts: rockchip: add tsd,mule-i2c-mux on px30-ringneck Message-Id: <20240708-dev-mule-i2c-mux-v5-8-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-i2c@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: 4a3594ba-b66e-40f9-5138-08dc9f68e062 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?l6G603xBknFdPqSxv8eeleg4lDXsDKH?= =?utf-8?q?rnr/taeIP/d0dWanInHmucYH725zssaIe6TSqQHhiYu3u6P6bGjHxQYSCZh2sboYp?= =?utf-8?q?Y6X0IJPaX6ytqiIDlhZ32+82A1goaXB8AhNt+5mTWGQFdLCF+tq0ePbehH6Wki3xk?= =?utf-8?q?rpQxlM6OzIh+ep5fjkdOFx47YXrZEH9MatV9GBvdthSGLj4QTYlx9fBALB0z9w3I2?= =?utf-8?q?U9UnoxqPFUcLX8m8g+V9xOqcmFHG096KV52NUXzR6nvPQzRMxWVmlK5lxzT1nlBQA?= =?utf-8?q?idoSc5wihCp1k7YTZUgG7NiyOPPxL8WdcDJx8F8U1mmcWaP8ovS5vmYILUEazwMec?= =?utf-8?q?2/V/SrvtillIhY95V9r2nCVzpTnTPXqqrOLRJ1Hk7c77E9Y+lYxTnkljwCXsghEdL?= =?utf-8?q?byo76Q2UpZyOd3qnfc2wXbx5BzWgK12OBnBZCdlWt45XD0sphHp6wGHj/NbDNkf+N?= =?utf-8?q?mJ/NRxZv55UwPepfUvs7HxDbDkT+3pquMQrnN8SkibW7xinjV1xgeof/PrYO+p/MK?= =?utf-8?q?twjLvInwyN662YpFuRvGnWB2fO3j+GbNh9K0FD3ReUPDUwNEYKQr16twR2oRgvZWk?= =?utf-8?q?/q74UT61aIOHXIte+A3gm9Pyy4x0pfIM2tTPgMigqitzFQ07bIHrgMKE03tIynJKT?= =?utf-8?q?4AZoAgHC1/j/2XCZwcnkM+DMBnikRSV/SjC0/Tnvid3FLcSUVU4aJX0WDvFtPL2pI?= =?utf-8?q?w5NHIfQNpU/U9A1a8is/gusqNgi8nPcmEMeYIBuUSOyiBUzwFi4muXXvttErJ/Ehi?= =?utf-8?q?iGx35RkSFdZXVuf19+pQNDyFtNIlEmvBVYeQHdaYOipoufFJpHyeBntdHW0WkLmvm?= =?utf-8?q?mtAm8rxCZYO+vDXOveJsHJiXRpbrwNmY781OJAX6nIog6u/oXdqTdHYrnSvOVAlz5?= =?utf-8?q?zM8MzXh3VOr2YHpUOgDLtQVVJbkrypQal5zoblpevOuQvsTBijLcMBnAR78rjVcoy?= =?utf-8?q?ISVOWTwMMtIKryPbqU7e5Aul6KnJLjLFtXdX/jIkqyHzRdjVtsi7zvOilwL3uKTso?= =?utf-8?q?/qYxPmf/ICWeLmtkq6Z6+gONtZTKvNzZSLsSJ6jWC02UUsqhifBLL+s68gf/8FHtt?= =?utf-8?q?DktN8XANBNhi1vXkDjK2xwkLbnHkw8Nmawry9rUkmbv0kuSILpqy3UtS07LBjdM7E?= =?utf-8?q?YC3gPEayUBeXSow1h7GVWK/b15oNMwvbexVUOxufOqM7/6jh8t7oGdd5gS7iwYshQ?= =?utf-8?q?WTuKanqf7g0xsWpsdBtZwSlrCBH66By0WwLfjjXQdq5VjfEC/jf4SV8i9X3msJZpS?= =?utf-8?q?RI95xEWG4JPS9481+PefVHCAWFoYTYHxh/+wJgjmb8CtiSW7WGfVdAoZteFEQqGxg?= =?utf-8?q?oiLPuaouKNaFXVV1Vc47HlLBAzzA+EvMZK7IQyVps9C/15DdR8qhT6U=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?1Epjxxks2LI6UAt/VQS/qxjcYbzj?= =?utf-8?q?kHSqCHNibDWzuD5JWxvJQhX5kaKTKKQwkZfVTpN6zEiDPo5Dmgq0kvGponNs7lKDm?= =?utf-8?q?7ZXvrQsTLHQNNWRYlqOMXb1bitHJRbh/YtwtkRGA2Hly4+QWaAmxXEO+VDZa0QtEN?= =?utf-8?q?/XIlw2VLD5OzWVuror2vl8wNlfW9S+brLRDxrUj+ZdNy2VhQHnQjxXRgG9BfJL9PE?= =?utf-8?q?TzblGdlgbJWUYTPz3crxHyF/EfDhqY3/GfuD7xCI1NTP67G/0YLCcBNFuSmy4MtCg?= =?utf-8?q?k83HJdGbQh0Yy8XQ34O6f+5BSk6YqCj3fxhnwdQBfHC1l65YBdih3gYVek/bq6u0X?= =?utf-8?q?HIcblKIpznlb5gRmbIDAsfUl00z4j2M32m0BGpJ5tOegOhOFdBAi94O1iHnea/i+J?= =?utf-8?q?3/QdK/Dya3B1YIRXX8uop7p/QJjknamMzIKCvSeHZdgqMg2NyFcr/OknTzafE0CJb?= =?utf-8?q?ey4oS3AERO00WLd2PMMStHF8XW1pRQHXwzCKeqEnW+mT/olz9gpAoojpISi8nFReA?= =?utf-8?q?6/VrJ0dF4Zj2ZI1mfn1zETQvAMSJPcNeL3UC9LCLNatWAntADg1T+ovOrNn0DJSwT?= =?utf-8?q?LgCInqqHxxeANxo1usUxnAgeI70NR7RuJqBL8IeSXw7h8ENijfPkKBm6udZ2G3Qut?= =?utf-8?q?dVnXernAtrowQELtD0CvME80BrYDCNhYKseqC5BxMH8m78Y6Fa5KoNT/iPmIFaR7K?= =?utf-8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enant-Network-Message-Id: 4a3594ba-b66e-40f9-5138-08dc9f68e062 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:17.0607 (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: VAjHBOq8y2sZSz7ZjNAJNg6uKqNTRXZq6WYV0LL8wmEpPKp39xme/NLjpfEF5pxVf5DDdqS0qsdQQkkp3Ra3Fxzp8kfoHwboh6ZGL3BKEjY= 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/px30-ringneck.dtsi | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/px30-ringneck.dtsi b/arch/arm64/boot/dts/rockchip/px30-ringneck.dtsi index bb1aea82e666..a683ed3e2fce 100644 --- a/arch/arm64/boot/dts/rockchip/px30-ringneck.dtsi +++ b/arch/arm64/boot/dts/rockchip/px30-ringneck.dtsi @@ -9,6 +9,7 @@ / { aliases { + i2c10 = &i2c10; mmc0 = &emmc; mmc1 = &sdio; rtc0 = &rtc_twi; @@ -292,14 +293,25 @@ &i2c1 { clock-frequency = <400000>; fan: fan@18 { - compatible = "ti,amc6821"; + compatible = "tsd,mule", "ti,amc6821"; reg = <0x18>; - #cooling-cells = <2>; - }; - 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>; + }; + }; + }; }; };