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: 13726837 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 3207EC3271E for ; Mon, 8 Jul 2024 16:15:33 +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=sbv7GtyopNeSNmLi5IabajTxJphMXKR2nhoZxxceCWc=; b=tJ7FEi1PLzJ0v8oariTXO4A1+n F1y3SCPff3nuVB18zZh0w5uPy0Y2S6D2hW3pJHv8E5gl62OIiVbeHlwh/hAInPqGNSOxdczlV56G2 HwPJWSnl/axeWlBchBfScyWaZIfwzaVSnPgl70qMHY2tVyFyKQvCguqCZxZzTo6ORdeWXXjdoatfr NUeTtWxHD5GHA+oIWX6yY5UoSk/d6SyDXsGJ5e+zOrt00WiFPwf3mlyo+lyHoht3PdK1Pql9gcU7l ddPLZDxZafs5mAXD43j+ii0qVZSRLnSEJaqrHsEU0AkDe9IWk+kz6e4VI/ev8zFIj/CiJGkW54sTj j1gyy5Qg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sQr1V-00000004P23-3ckS; Mon, 08 Jul 2024 16:15:29 +0000 Received: from mail-db8eur05on20722.outbound.protection.outlook.com ([2a01:111:f400:7e1a::722] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sQqzZ-00000004NyG-2u8c; Mon, 08 Jul 2024 16:13:31 +0000 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) 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/SrvtillIhY95V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fjjXQdq5VjfEC/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/VrJ0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fBGOG9SWFTxVZI26nGwy9nmB/qAUAJiFvSZVdemUX3oBTo9KRGUHqUk?= =?utf-8?q?2H0/k9VbZStRk60z7M4kBjHNc7d9Uu0OWUQCd6h65XbD6m7ZTsIEudYubcOTxW2d9?= =?utf-8?q?+FknfQRkz53KKmgtwEGZYlbloi0s15ruqQ=3D=3D?= X-OriginatorOrg: cherry.de X-MS-Exchange-CrossTenant-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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240708_091329_785102_21E15465 X-CRM114-Status: GOOD ( 10.82 ) 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/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>; + }; + }; + }; }; };