From patchwork Fri Apr 26 16:49:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Farouk Bouabid X-Patchwork-Id: 13645098 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 DD24FC4345F for ; Fri, 26 Apr 2024 16:51:43 +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=eVcOeJYnfQPTnyA7C/DOzU2gLoD+Ju7vNfXTe+TddhE=; b=sxxyyZM5zh92dl+RcEtJu+RJiW gI55c+GKvQK+ZGQ9Mxp7YYBHOWNI5PCOC2FTDxezoaIUCzzmNzxFxOa28g/aUzT3/ZP6rTRmhxFOm DD54x2ngPmICT6AyPGiClO5Up0bUUM2xZDN63ugeTuwpEL7QX+WgN70Aq74sEhL6f/3bVGeowiBH8 eZdQXNIdb7nvUn5qjkS8TNErv1N8mNSCSXrAPXGY33irpjhKFJXiB+7EakUPSjx1EJU0h3fwh6cm0 DpoyQbIKntT8L7jfNLitT6fDya32w71o+xy2hNkoSEq8iwyxKx4aPxOT6Zt4+UReWpq+6j5NUcxuX R8+Pyfdw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s0OnK-0000000DKFk-16hS; Fri, 26 Apr 2024 16:51:30 +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 1s0Omc-0000000DJdc-0waG; Fri, 26 Apr 2024 16:50:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eIaY3MlzYvxRteoLJeLDCQeKDodR1V5XovAdHvZXfLnY1MpRXvj03rdJFHOjK5L8NdP+ciJezI8uo5lhdG8O2xWtJNd7bP+X+Cz3WiX9Cus7MUCarhGPh86IL7QvxAiAlsCKadvPdRv7DHBPrkBodojIOsytTUbF6ZkJoTWPxgbCReH1H1yieceRllVqKBTx8NtK+WhD6j7LY3OnPxKMqAK1DQ3E6ffYUAqkLPumQ7lDNYjWgO1tGXE4C/dh/tJmAwFXvrgT3uiq21x+S4Di1QP7fMijb4PIh8qTK/PDpACgw3sg3RokDNDsOootTGRdiAcjVvX4e8tjjaJoPPwZNQ== 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=6+tqej12iMLgAtLjL8uwuk5pk924kUdFrETt8Sox3po=; b=TbcEN9HJL30P2izlpv0+bSHaoct/tDzt4GA83SSvucBjTaUpE+hJooVKxL05akn0mWnvQMYm5CwH/KYnmx0oQFgbo3tTYM7qacj4XrpPyvJw5wzACcWDjYIBq5woYEsAejAiIdRjUYTdPAaSuV2abVTZh7Wl+xckdtdsmQt7PSz7v/awjmFYnOwbJiawHObx/DQzoir0VgoEYa0jnNh6tO6Wj98fACqeAAf3RdHmf6pIargopgiKz2yJOBi6zuiQLckv0/lRKGpmk6MChtkvp2vMobOxiYHxAu2OTs/jBPiChL7CdPFJVivF6YTUrCb+jyxQ7LJTT35MqoasEJAVFA== 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=6+tqej12iMLgAtLjL8uwuk5pk924kUdFrETt8Sox3po=; b=cObI1hfnV790bAxSqR+tUcyLrSg0d3pjShQEK8I35KlZSR8QJ2CMe7kRG+QVv6dWyIGpYkoH1wIgYtMeQ+azS33UZz8ej16AjRYNK5bFFLwNodbHb4zU9DEkcr82E0ACHrSoLUq6nf4UTIv5cDw8lH1TyZdJaGnEknjprR5Kfpp35CNoB2ADMk20yxozpIPkUjr505WT/0nKcF17xQ/W7GRwAVNW1OyChr1sS/i89O/LCdWsXKmMLNUjHuz7lTKSvOE60F15YICj73RoFBFHbU8KIG/LHHo2oTbT4MH5TaDlKJQrZV1EINOrjk0LX10yuj/QnnGmsfALea0tC95ckw== 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:32 +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:32 +0000 From: Farouk Bouabid Date: Fri, 26 Apr 2024 18:49:38 +0200 Subject: [PATCH 7/7] arm64: dts: rockchip: add mule i2c mux (0x18) on rk3588-jaguar Message-Id: <20240426-dev-mule-i2c-mux-v1-7-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 , Peter Rosin , Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Quentin Schulz , Heiko Stuebner 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 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: b8513748-6e6a-4b56-fde7-08dc6610fc85 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: =?utf-8?q?ZisOZlesz8X0FDIMNky1TgqjLBQFz7L?= =?utf-8?q?07eZO8etCcLoJ4luTSvn6im3gqFU1kYUivq3NxkfNpVNlsZISDkLfjz1qYElRqTan?= =?utf-8?q?szAOlx9ArqUvvCYp2w+jgjvj3zg5rpL3OO0sFVo97AJPsXYO1EsK4Qd9DdXLi6nYt?= =?utf-8?q?IOmtx5DGTmtox7yEliD2DS1BI63B6Ng29PeS4pscqEC6syZNwiylxnBNLNmhYwm5D?= =?utf-8?q?bkK3Y0kYsfxEYj3eq3JB3sf04Yq4DOYbPJARBApcsoRDgsk1P3mX5j3z2IcC/uIyB?= =?utf-8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kkyx6EjY/5foIQx2c5marv6J9Q00np5J38yimr732DjtijX3Sym/2?= =?utf-8?q?v8OiA0UHnHywM7JJ4rX5smXdQAaavISZ4sJ7Fkl/hHiizM4tNdSRAnR4wLn1DakCp?= =?utf-8?q?fTkOqTt9ThmaWspgeCu0Q/SBjUR8xwJDhyw=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?Xpk1exRJlcV6dr9prgqtqK32k9cF?= =?utf-8?q?AfCscohlPKdrZXJ1N8Wj8NzEUljMkjkpTjQZrKbTZj4tmxe7H2an7dIfq6d6a9/hc?= =?utf-8?q?AWtHoBUaVTohQMN2sMtU24h1P2U8zRETdjDeVuJny6iCKYCsmF6XfkKz8ra2VZOXQ?= =?utf-8?q?/c/BgTyXAh9gf8rX4pgmrQc3fgSqKtq75yk1YsvvCTblMtkIQ6bDBFwzEkyo7wSSf?= =?utf-8?q?z8Y9JqRpynwNYtdIaseHDZwpm9Fi5KjZA9Z4nyYO+HJHIJLry0APuhweDWOXRzTkC?= =?utf-8?q?0kx1Unjgm+teo0H5HEZjT8BlLfcbkYyel2B0y4pzzSaH03cJlc8juH2gH6abLbJbI?= =?utf-8?q?4tyrFpV//unEnB6zP/svtagXiHvYtKoAqSMi2IoKPlk4gBjey2E9mTdIJugUGHFsj?= =?utf-8?q?NPzW6ygDWAChK/Oinvzfkw28ZAuyQKkHtCJeDXVMdreMMcPyeggECYj9zeob6FCYn?= =?utf-8?q?iC9whzpFSlYQkt1WrBaB9Dsgj0wyKyc7Ov2XCZtroeuV0fCB1wlo0XTSg6igKxxr/?= =?utf-8?q?qSS/J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RQsXabc55obdsu2ipiyh8KP7strPEienav0c3l/NmVEUPXoH2J3suPl?= =?utf-8?q?wL/UgJ6pm/3Dy70lCqA+wFO+5y92Iu/x0rVViZHqNukz83zfTKY90IACeCdVz3cEd?= =?utf-8?q?2L2RCsn2SvZ4B7NQq32bvV7ZFXZhXEUBzkgbcHf5F2DwRH0KAYvER38=3D?= X-OriginatorOrg: theobroma-systems.com X-MS-Exchange-CrossTenant-Network-Message-Id: b8513748-6e6a-4b56-fde7-08dc6610fc85 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:32.2888 (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: VlGWb623iCzuCMvWkEUcYLCz6jqnHsT2gCKroLsIHShQHHFyFVEsbawc2z6edXDIl0ZK1TLYRg6B7hdDrYC9amPphhDwhLSp/IuflN41/IXMJCaZ5Hcy0LppO0Dyfdvr X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB10230 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240426_095046_507938_F58EDD2E X-CRM114-Status: GOOD ( 10.08 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 --- arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts b/arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts index 39d65002add1..14f1322c162f 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; @@ -249,9 +250,23 @@ &i2c0 { pinctrl-0 = <&i2c0m2_xfer>; 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>; + }; + }; }; vdd_npu_s0: regulator@42 {