Message ID | 20240426-dev-mule-i2c-mux-v1-5-045a482f6ffb@theobroma-systems.com (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 A5893C4345F for <linux-arm-kernel@archiver.kernel.org>; Fri, 26 Apr 2024 16:51:24 +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=2qfaxdtJ2reLeW65QD2/ZS/cRlTn2bYHNpeb54EHYsc=; b=euoosrrVQ8HXw4hTkDkVt6OT2r C8GoxKLLaq7S+RoB/yrvGhoNVSAJIrEarXyrf+0hV9ded7iw01pnmbOkCpix0L6+r6KMLmkUNyKdi geBOTErvjXKW707joH19AgtSa4cplQAFA5AUwX0MzRtP+yzJLO+BhIdYy+2v+E+hE989yWyU6JXxQ u6hLrXW5Fsm4Fv/euuKp0Mu3P7BCP+YiWp1YqBl7ocgNk4Ei2xZi3G8AeDTbxvlwiEtMWj7g9GGVV ESCQxLxDtwOdZjySTdtZK2rMYbkKYFnitb2wVUPV0JR18YWarjXEyC/IsGEeb8MtaSTFLB9C7yuDE iripq7QA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s0On1-0000000DK2c-1zEI; Fri, 26 Apr 2024 16:51:11 +0000 Received: from mail-db3eur04on072a.outbound.protection.outlook.com ([2a01:111:f400:fe0c::72a] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s0OmZ-0000000DJdc-3hsS; Fri, 26 Apr 2024 16:50:45 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IcNiyYIDiPF6XPtDGfNVxXAPlApu+UsNl2anTryhuBFRD4NIQN8nTcxwn5hyprFCsSOeF/7p3y8Lq20cvey11QuaZ3LKzTqDGKmKQ7DUBL2vxEO6v8dDg0LUFWeldGGXHN9GoYUPUNqb47ZgTyiSf6CX/8b07Wc04cAUh35Ac8sw2Kfxgxvn9Zt8wTB5pBKV6E34a8OA+1+CFMe7kG4sYph4o8v6jvdk9aPQ7s7HLzvgS2E1FlhK86NFAkX3nrt/ha4Y4Jp9ZnIQg6vDCsw2j3nFVYjoW+v/vNnxnyp9PX7bTsGde1uokvt0r+5wV/yGp01TvogLOgKwaul5N/6iTg== 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=AfTD2b9CFw2rvlZSr6YZp8cWQ+HrjZKKM8wxPvSxOI8=; b=du6ePffiq1yidWmjb0cXuoKCD1zieSrKzJgfDtB6Y7MRu9h8PYNgsFdvN9tt/cwxhsbrYdWIZcpjjzEI9fyf3toA7aRsMz+0osu8ypm4XAWcZfiLn3Z1h6OVe7kH2ig3DNsQ4n5GizF3rAb3NO1q1J9x9OvScAVz5gNcqbYfhMjCI05sQYrkZ2EVzqRwPvVPPppFQ0f8O/mVRcmATJBVy/fsPSvcGgSmfsOeXUiDuf4g6lgf4ZvNbZp5ktVJGqdy1vB4eKjocnwBNiICNqLAm6GD8HxSCXfSLFdkvf8zGys+7cHYCVSSyM75CF4RUvBJZEWvtJqyqm9zmlbqHpPDag== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=theobroma-systems.com; dmarc=pass action=none header.from=theobroma-systems.com; dkim=pass header.d=theobroma-systems.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=theobroma-systems.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AfTD2b9CFw2rvlZSr6YZp8cWQ+HrjZKKM8wxPvSxOI8=; b=cAUaEvYF0hbRT/xtcbU307CXFjohDekS/YhoYl6+gZ3oLikr2sL4mEwP4M6w+WqKxTLYStSPnb+jUuwGWpapxZSGGLTvQf8QHv9jzPNDY/YQppFdSHxRWIn68uhStzPWcK/869VV+v8ccwjKmBBc3lYJwbDIDlpFKATD0Zdv3d+QB8vuCMGTrzZZQwQn1kM+wI74riqfv9dXATj/4CGvxL1rlh8FWCLOsvcP7mi61kmHtepd+1wwOS6vm3SyAMPt6KWuZIW+wosYJN8ZDqs6zX3lcHi09+sDAa0OIV70G8SycIUs52lg2PDqgh69nZfWaf2Hf6KcQKXr6lOaN/UMvA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=theobroma-systems.com; Received: from VE1PR04MB6382.eurprd04.prod.outlook.com (2603:10a6:803:122::31) by VI0PR04MB10230.eurprd04.prod.outlook.com (2603:10a6:800:240::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.44; Fri, 26 Apr 2024 16:50:30 +0000 Received: from VE1PR04MB6382.eurprd04.prod.outlook.com ([fe80::59d9:878d:65f0:3936]) by VE1PR04MB6382.eurprd04.prod.outlook.com ([fe80::59d9:878d:65f0:3936%4]) with mapi id 15.20.7472.044; Fri, 26 Apr 2024 16:50:30 +0000 From: Farouk Bouabid <farouk.bouabid@theobroma-systems.com> Date: Fri, 26 Apr 2024 18:49:36 +0200 Subject: [PATCH 5/7] arm64: dts: rockchip: add mule i2c mux (0x18) on rk3588-tiger Message-Id: <20240426-dev-mule-i2c-mux-v1-5-045a482f6ffb@theobroma-systems.com> References: <20240426-dev-mule-i2c-mux-v1-0-045a482f6ffb@theobroma-systems.com> In-Reply-To: <20240426-dev-mule-i2c-mux-v1-0-045a482f6ffb@theobroma-systems.com> 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>, Quentin Schulz <quentin.schulz@theobroma-systems.com>, 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, Farouk Bouabid <farouk.bouabid@theobroma-systems.com> X-Mailer: b4 0.13.0 X-ClientProxiedBy: VI1PR08CA0261.eurprd08.prod.outlook.com (2603:10a6:803:dc::34) To VE1PR04MB6382.eurprd04.prod.outlook.com (2603:10a6:803:122::31) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VE1PR04MB6382:EE_|VI0PR04MB10230:EE_ X-MS-Office365-Filtering-Correlation-Id: 2b884afe-464e-457a-c4d9-08dc6610fb56 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: =?utf-8?q?R7/Oip4pnCnAclh9uxa70RKK+FmCteb?= =?utf-8?q?rCMiSF9obNeY+jm/G9Rt3F1OWdTWz2J1XJZwW73vN5gcQQVIjUcFMZsYfEP/k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t?= =?utf-8?q?42NRZRI54wgtGdvk/8kXPtQL2rJVdmEhCcCE31Hnld/3Ed5vJvOPZwTEowbmMBYJf?= =?utf-8?q?A543YrQNRDWAmh4GqZaTLBR2pE/+WMehpHGaxjx8r3yWM19pCA5LC19npRtmHGAFH?= =?utf-8?q?S202vQppVe/CViUuaD33OqLUokuCpTdYjed9OMZAZ0ntWivDdRzuUjGvT+Sc0ay23?= =?utf-8?q?2ZRFQO/zDw4FhtaW9f/Wc9ymmXAzOZ9IeP3TamFBUoA81Q/1UyQNurIPE4vcTHcxO?= =?utf-8?q?PdIY99KXN7F7q5W+wY8ZrOZ1k+ZiNt5oC+yGdA8CUjJG45tlaajSCBtyBnuU0yR/k?= =?utf-8?q?ra/vNpaXxE8rYc+KZMrmDUYDxrqPMw7bnVw=3D=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)(376005)(52116005)(7416005)(1800799015)(366007)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?GRIccdeo+LbgJrooitVZWM+5uIvb?= =?utf-8?q?dF2qnDGNxlwvW3onbmlGTN8cjlJtyRwEaMeOViySrz5yhPHPnvddGvXm3W3MYIDIv?= =?utf-8?q?kc70VADLDlySgeBsA31dYNlydoZOjjKpn6NcSrL44nUwNC1pNvbIxoRoHDYJcgS78?= =?utf-8?q?SfLRdGiSW36b2i0LMv+KDiIYbbkPNCAfqzsp+EKQb6NK3ajd7Ozq/QdFrn4+mTfi/?= =?utf-8?q?69T4XG/05Ht5DPSASvWI91xV3kLEmHFKZqcltpGkhE7KgMrXFGoDTCagxV4/nd1gE?= =?utf-8?q?7NDYU51m6+ZELGk+f/fmnzWmkVXol5MGkwbaq5FGLJWrEd47Y8L4feMZ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PPXDvatgi?= =?utf-8?q?NxMXfGwa4sFW+QrLFbka/snQGYlT3C7UgN7DZgxOgT4j8jZkpcXIygezoWJkF8Gkh?= =?utf-8?q?WkPcc/OXYa5Og305A3TbyR6hskJntwOi+dLOB5394azMw3LskZKMhWxafaT7X3DNV?= =?utf-8?q?I9XqQboxMtCTWo7E3mpfNRhZkjTYqtdz7Z5CY2cRM032lKn7M36cOEIkfCDLbfQ9v?= =?utf-8?q?UTxRcEG6LqFbQaMb7qpQszURefJp3HSXJqX+wW1AlT1978yxbjONAlO+4b01JkpPy?= =?utf-8?q?uQzHjm4nOiWVu7+SV2y4jx62vAU9wSBvX+Id2U66/3dj0KdA9p4n/n13LZc2igN/V?= =?utf-8?q?kHjWpepFe6CdXeWthHQp/egTsFFEA8ByyywBqyjWSu1YBubkh7KIHG4=3D?= X-OriginatorOrg: theobroma-systems.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2b884afe-464e-457a-c4d9-08dc6610fb56 X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB6382.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Apr 2024 16:50:30.2782 (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: Ttrcv7kjfCJf3aysuDCp9c7S65BHCyQqzIZoDd57c3LjRgpDF7r99YUaMV5NMIVGQQWUOmtb5NaginVPtgasJYCoppIZagkNRg79/vCVBthXa6Hn51+FMSBLMVvZn024 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB10230 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240426_095044_121131_3C76873D X-CRM114-Status: GOOD ( 10.00 ) 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/rk3588-tiger.dtsi b/arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi index 1eb2543a5fde..5ed7d51717bb 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi @@ -12,6 +12,7 @@ / { compatible = "tsd,rk3588-tiger", "rockchip,rk3588"; aliases { + i2c10 = &i2c10; mmc0 = &sdhci; rtc0 = &rtc_twi; }; @@ -210,9 +211,23 @@ &i2c6 { clock-frequency = <400000>; status = "okay"; - fan@18 { - compatible = "ti,amc6821"; + i2c-mux@18 { + compatible = "tsd,mule-i2c-mux"; reg = <0x18>; + #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@theobroma-systems.com> --- arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-)