Message ID | 20240611-dev-mule-i2c-mux-v3-6-08d26a28e001@cherry.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=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 BF541C27C5E for <linux-arm-kernel@archiver.kernel.org>; Tue, 11 Jun 2024 11:46:04 +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=2tPfXrhpDcbdFoI9LHqeKrrgNT1wLFZ4WFt5KI6L0Jg=; b=dWdDO/jy7SJnn5zKQ22Elj6WqE hShZzbQN8cMFG1A+Gg5QXHL50nPrEgX8wPsomXn0p+aIaJ5jztDshlfpfDgFAoXB8wY8pjtf9OzrX EopyHHd9jPQyWlTfYa8l0p4zB1iXdpNMM9uB/RsXbnq3BNU8q40ZBmR5vYARmWahrzmuPRKGU909S 5zv9Msfm3y36S2HLzwgbYpcmLwr8Qe2BbcG8iB7OkouMNV5tRF2oguVnvzqdr/717gz8JVRwHDkC8 IrRVtKCEPkLqLD0VVlIRXH9CnXAlaPvIEH3OQWcPkZZ+8rtfxjM9h37NAgmRpIBZcgxpYAOFMclTb zcnSpWgw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sGzwk-00000008iQO-27Fu; Tue, 11 Jun 2024 11:45:50 +0000 Received: from mail-am6eur05on2070e.outbound.protection.outlook.com ([2a01:111:f403:2612::70e] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sGzvl-00000008hdQ-0Sec; Tue, 11 Jun 2024 11:44:51 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CyXeJw8sg2Jz2ljUCB/6zyAhHBlYV8Gm+UOQ19wWZAWgpLc2wqQjHsiqoRVCCaVPybqYTw6gQPzAifBfE71/JItOi3RguetAwoRCTxvZJn8c8DhN5jTFuoc4fxKVZP6CnxCDasVqPOkjx8JuMCyt/DPQgeMje4BmfFCi8slFVxv8wrN3kseaSlMhISOW/UWaziEkWO/STIl+OY6MLpTaUjNA36rOVOTrMpbwKiCk2NPDU2dUcVMCGlbdXFh1zjlFuc8u5PExT/B7SdfgCXABgOFriWd6zrU4/Gc+5c4dezLKg6Zghq7+GnwvwPOUwf1yvVxqkYA0XiCVzX5n+0FPqw== 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=m1gRCrH2jGALy4cXjww2muIP1NpMPlSQNBJ1FAxNmxc=; b=TLI/aLKphCfj0HwctzqeCjNV4dkhmNS3wZ+EuGexf/jd2fhqo0nXRS2qX59dXXnxyApHS+JQpzNWR02ceUEVG2XUXDwyxo/eM7R07pdwak7WqEBAJ5Rtsdp1THJFBZC6ByotvUgiZMas/Q1TjZTmFT6vC0OgwRuqjzEpJG7c36UXPtqmyM/0SotAAzrKIau0ZjSVRtv9F0JST2mYbhJaGLZ7ujMoexLnHDME+g8VFm6+Bxl49S9Ly1lHSNUhl+hHrHx9ON4vuBelhoV8jB47bMJETNNsl1Ks5h0trAM6ymIt44lPNJc+aXbylMllc3f6lE9BAqp0Tkqz6NjK8w2Ydg== 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=m1gRCrH2jGALy4cXjww2muIP1NpMPlSQNBJ1FAxNmxc=; b=Kxb65jeIoNI1gsv4vMcBKKl8BE3NBlJEsUZ4bmOZuYXbfs5ROqdCRp97Oqbt+4N2xMRT6+Vab4SO9pUcQ2fYpJ4bpKjUkh/n/3YU+LFKmZBpTeUQK1JwJ1x3rV66S3JigJKnMF+hYsIu7JTM0zIhqKAKX5MAus468X3ZOErR4rw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=cherry.de; Received: from VE1PR04MB6382.eurprd04.prod.outlook.com (2603:10a6:803:122::31) by GVXPR04MB10301.eurprd04.prod.outlook.com (2603:10a6:150:1dd::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.36; Tue, 11 Jun 2024 11:44:33 +0000 Received: from VE1PR04MB6382.eurprd04.prod.outlook.com ([fe80::2a24:328:711:5cd6]) by VE1PR04MB6382.eurprd04.prod.outlook.com ([fe80::2a24:328:711:5cd6%5]) with mapi id 15.20.7633.036; Tue, 11 Jun 2024 11:44:33 +0000 From: Farouk Bouabid <farouk.bouabid@cherry.de> Date: Tue, 11 Jun 2024 13:43:57 +0200 Subject: [PATCH v3 6/7] arm64: dts: rockchip: add mule i2c mux (0x18) on px30-ringneck Message-Id: <20240611-dev-mule-i2c-mux-v3-6-08d26a28e001@cherry.de> References: <20240611-dev-mule-i2c-mux-v3-0-08d26a28e001@cherry.de> In-Reply-To: <20240611-dev-mule-i2c-mux-v3-0-08d26a28e001@cherry.de> To: Wolfram Sang <wsa+renesas@sang-engineering.com>, Peter Rosin <peda@axentia.se>, Andi Shyti <andi.shyti@kernel.org>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Farouk Bouabid <farouk.bouabid@cherry.de>, Quentin Schulz <quentin.schulz@cherry.de>, Heiko Stuebner <heiko@sntech.de> Cc: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org X-Mailer: b4 0.13.0 X-ClientProxiedBy: VI1PR0902CA0050.eurprd09.prod.outlook.com (2603:10a6:802:1::39) To VE1PR04MB6382.eurprd04.prod.outlook.com (2603:10a6:803:122::31) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VE1PR04MB6382:EE_|GVXPR04MB10301:EE_ X-MS-Office365-Filtering-Correlation-Id: 4f0f6ad5-84e4-449d-c92d-08dc8a0bdbda X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|52116005|1800799015|376005|7416005|366007|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?6z6im6x9bOofYllRVkr7l7H+iWnTiEw?= =?utf-8?q?v8+6XygN20cThZPGT0eUC6yEioXQBA4H2q8hXNpKmIMSWVOkJe6hXcXp3RgxLIeFP?= =?utf-8?q?6otW/VB6lsMqT1AP+UAkyN85asONGFKlgsyjltifOsZi5qk0kw4KOZOVZbZ5tSC0i?= =?utf-8?q?fVkUh80EndPlSlMo/BiyWICReeAFS94r9xHwYTv8XiBe/g8289c2Ns9M8Yd62Lc2l?= =?utf-8?q?db/AZ0dVoHj64e4TvCnZDlJms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t02TtTbZR7jh7anQjWZycSIPEerqn?= =?utf-8?q?9AxzbIVc2RO3mH9ZnEA1Gl7IX8r49GeJYVBww0yDDJQwEEBM9vIr3RGvnmIMwUUpX?= =?utf-8?q?6K9e0L3okbmMtFmjGcNzCAAtVYpRdBp9j4Y459LlI94j1tMV4b+bbHUjg5l82HDlj?= =?utf-8?q?AtTTyOKlIUA4WHJxCY0mhzH3NKJe+z/2Ywq/tdH9oYtHp21hWbxqDF0Y=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VE1PR04MB6382.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(52116005)(1800799015)(376005)(7416005)(366007)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?hhiOfc5BLUL2pPVJuZ08mUtmYCWD?= =?utf-8?q?dj3PVmBupK2knSzCB5/y2Ja/TCbT4JrvL7fdS9GRdGtgiZa4q8uyEUEUo5tfGm4AL?= =?utf-8?q?WO7Us+dhK5O1Lbt/uMWgBuQE0nfWeAQaKoISV47tuF1iMXbPrTT2vXxDTZAYJFqe7?= =?utf-8?q?pJ4+yK9fDXOq19qggJse3K7kPs/DzWhlxhP80EOt4OcpfD9R66FTu/XV0YvnbNRYH?= =?utf-8?q?63/GCZtIELAjLP9H9pq2OC7cDTLDA9H/Dp3mCQWAN9DPinaytEq7scHXYeBGtXhj9?= =?utf-8?q?6lIUlYeo1K5wCp5CbVopqL+Sc67GiiyoQWBAQuSHlMhvM8HZqakmvlpO7lzz+ftCr?= =?utf-8?q?oAW21p+267kO2kcgj+dyBiaxNQk8w/exQoG8495eoRcORh9ew7MdgTonrEFmNEYzd?= =?utf-8?q?Mz7WiGbo+qOopvPa70Ew1VgAjztLcluBqvDO040SCodNaxBg7ZY/mtbpHaadVocHw?= =?utf-8?q?0fofoufM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X1PZhQ6cCzC7xaACKT/XYiHs9zJDjqOSFgvT+pHwEDxEbS5B4Gz2B?= =?utf-8?q?Iqq2aQABW+0XgkORxg9Fvk6SK8v0kPj27DQTB+d3f+Tvr4oSfNpTyWmUL1V4hh2pV?= =?utf-8?q?GiqA6w1h1tdP9Rnda4W6NfEJLN9V4Wp4FjykHPs+FI8F0QNjvWy4K3Q3kzrs1soDO?= =?utf-8?q?Pf+mBChEWjZLTpiIcDb+3b1il+oUraIbtA=3D=3D?= X-OriginatorOrg: cherry.de X-MS-Exchange-CrossTenant-Network-Message-Id: 4f0f6ad5-84e4-449d-c92d-08dc8a0bdbda X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB6382.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jun 2024 11:44:32.7857 (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: jyt4bQqnh4LStxKfYCWAsPjw45/08Bvrnw0H+MdI9O4SrQsOylHVOdLDFb7MFD9UPikWlEuHyVapmxKjVlYCs6M42ZVwt9HNcEa5B1KxEBE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR04MB10301 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240611_044449_229624_C97B5E84 X-CRM114-Status: GOOD ( 10.58 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
Add Mule I2C multiplexer support
|
expand
|
diff --git a/arch/arm64/boot/dts/rockchip/px30-ringneck.dtsi b/arch/arm64/boot/dts/rockchip/px30-ringneck.dtsi index bb1aea82e666..eea906379983 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; @@ -291,10 +292,23 @@ &i2c1 { /* SE05x is limited to Fast Mode */ clock-frequency = <400000>; - fan: fan@18 { - compatible = "ti,amc6821"; + i2c-mux@18 { + compatible = "tsd,mule-i2c-mux"; reg = <0x18>; - #cooling-cells = <2>; + #address-cells = <1>; + #size-cells = <0>; + + i2c10: i2c@0 { + reg = <0x0>; + #address-cells = <1>; + #size-cells = <0>; + + fan: fan@18 { + compatible = "ti,amc6821"; + reg = <0x18>; + #cooling-cells = <2>; + }; + }; }; rtc_twi: rtc@6f {
Mule emulates an I2C mux (address 0x18). The amc6821 is exposed behind this bus. Add the mux node and amc6821 as a default device. Signed-off-by: Farouk Bouabid <farouk.bouabid@cherry.de> --- arch/arm64/boot/dts/rockchip/px30-ringneck.dtsi | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-)