Message ID | 20240611-dev-mule-i2c-mux-v3-4-08d26a28e001@cherry.de |
---|---|
State | New |
Headers | show
Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2097.outbound.protection.outlook.com [40.107.22.97]) (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 4DBB417BB2B; Tue, 11 Jun 2024 11:44:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.97 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718106281; cv=fail; b=pcCALquipcb7rh9W1YNr+4+mVrp4jOJo17kTDcfd3h7BWju1nEmPZpmZMzEBLW6GRQI6EG2sg7mRjpTKD3cDtLemN0j/HPsNIFXf7MQ007sALMU6TMuaUIKVTE4x0u8Euge+akL4u3EAR4t6UOcVSDM4UtBnPkV7xOllKqhL1ZA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718106281; c=relaxed/simple; bh=vhC1usf6aAKwa44qET5gnHFYGBkgbSm6Lk2JzIlNLcY=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=EINlBDUS20SbfBFo6mHWZHdEE75jWll1wCu2yAI8BGJyP5UeZEIT9lMqm3CWXoBtmkzj3iTcilwmuyTSzpGPvLiFTOY9rLPZy925tbxdWX4xY+rTJLaTvw49dYBNF8DU+3i7nfRlrp9rooNokYaElGqCXCYuBCM3V0tKyl/iCi4= 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=nNdmiDvF; arc=fail smtp.client-ip=40.107.22.97 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=cherry.de header.i=@cherry.de header.b="nNdmiDvF" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Iv/qnxzmzgN17AkKX5dYDg1tcdR8mL9i80Y+qmxoDztssd0xPviNVMVe8Z1acd0nuPe6vZfvslVPISljx5Z2eLq+0G9nlG17wHajdv48Xa/MUAk5d0HVNx5ROe6d0aIIevJ02BsMf20FHivCwNyGkVrkuzizRghv4A7x8hQWe+Tr0wh2sJforYyC6gMi1vtFS+qummLGFA5gHJQiuRnQkrERb9HIfHSBN3Pau2AV5BRJCt5ADhTbS2RLBSD18mYq/pbYMrstfI5PrgqEdAZJAr93IoxJz5/6VR4/EEMTiPe6CPSzVACw3wLnkBeqV/O+h180NPwIvSXmYwJA4fl5nw== 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=sAKZwqSDccjmur5hLkm1VaeNdFGpJbQRsK80k2PwSmc=; b=PsRNYcxFsYdz9NE1rDfTfnfWKWkk0FMITmaiqF57Unv87yAoWMgMA1fuvKnjNlbscJ1cKz8bBwP4LwNJ+RJSXiDTQn7KzcS2Un5XVBMZGl0JNCi2RMgYx5VscrxnAfGEn8/KytMbFdvA1uaMI9gvgVv4gpZ+Nq6E8iyaPEnMBZosaXa2NXyPGmTG6FHZvINTVJRyOHTJLaQrYUOFerPQBimmPn5kzH4+Geaa4PaN+jtgxSi+03QVQ5FwlQvM9QOWOg3HaGwd2rXlHoahfVcdYavUr3fzrRdIge1AVb5b70uLKjNAqc748H4hgYgPo/4o2IFk7iaFHS6MVVP9bx3Hcw== 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=sAKZwqSDccjmur5hLkm1VaeNdFGpJbQRsK80k2PwSmc=; b=nNdmiDvF+8jcn1PDlXgBGAnqKuKq7xcdkBptyaAIqswSEVIW+0WtcjXTeaoEK2yWqi/FUKmZtW7tTpnY49B/F/4cnu8D/fmzgSTAVEjmDyvALHkpJ1xZEfapdbrVcbCbmDq4uZHOya9ErMbFVY2xSeE4bwSWOKf/CDUM/3So5n4= 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:30 +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:30 +0000 From: Farouk Bouabid <farouk.bouabid@cherry.de> Date: Tue, 11 Jun 2024 13:43:55 +0200 Subject: [PATCH v3 4/7] arm64: dts: rockchip: add mule i2c mux (0x18) on rk3399-puma Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240611-dev-mule-i2c-mux-v3-4-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) Precedence: bulk X-Mailing-List: linux-i2c@vger.kernel.org List-Id: <linux-i2c.vger.kernel.org> List-Subscribe: <mailto:linux-i2c+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-i2c+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VE1PR04MB6382:EE_|GVXPR04MB10301:EE_ X-MS-Office365-Filtering-Correlation-Id: 081e17de-9f20-4438-6690-08dc8a0bdb04 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?/JLpLZ8FuxslQ12nZ564XUFHdQ+pmdv?= =?utf-8?q?BsKrUjOci3vIkOE9hcA52cOfs3rLswSbkPEBeGlBeJXxENFy/0ws4lXUg1R3pV3vP?= =?utf-8?q?26VeCut8mGZHkXLhy+VBc26tbkXwAdaVHBxuq1b4Pgc2RPEu+H6mrB1fgGUU7tv7C?= =?utf-8?q?ithboU1o5INo67AGlhjBRgxUBp1rQyzIDBerqcSifd5cShkX4CRt4uWmuGt7GpLP8?=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E8fN?= =?utf-8?q?T56/h5kG0xPdFQdpE+8ibrLu09CpPyYeHCobOCEl8rxdG2jxPR6s3FfPa84EC1RIC?= =?utf-8?q?fdLsqrjNjkpA39f0OYFfIuNecMMuDZV/pi+7sytLrrxuGNGXfpLL77kKGMffuwhUn?= =?utf-8?q?L7wSi59yD6FgmsenITJ4GwvpvNXoCaIwD3d2kQPPxpMaXAWCOjfmZJBHBbynMKDvi?= =?utf-8?q?ytcsa4/CK9iMHXbJr5biZKKG8Fd/HSsg/eWld84YfHB9EcSAMdHftCTE=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?eIgPqAH0bzIGPnFrZmWkB+XzD6DT?= =?utf-8?q?+KH91iZm6aGEZ+6r2VT5oLmvV3fN2SqNcRdBAB8krY5vsfFFdkHk5n1CwMBf3/Qxz?= =?utf-8?q?bPvGVvhnmLPpIFkld9nTkCnyS7BiNd0G+0MZNBfxeRYuvivb4jQsbvDRrsvYmLpaF?= =?utf-8?q?Z5CjLA0MLsgSrIQjXKeGBvpJ0lF25IRkXXn4BU5ildCsLYT4F5+jOSVsWnfrcpZOe?= =?utf-8?q?ZGal/f/1RMuqLKCVCNZZvnC45vLix6O22v3YRbGt9Wcui4HMWoCPSmVcCDls3qgAb?= =?utf-8?q?fAwxlMp4wIkBpd+xaDF6jSeM9HKQjGX6AEvxoCUgnxm6Qe7g3d/3u0ljg/42DjLVZ?= =?utf-8?q?KouRMZ054SqjWk51GejMxf9C/mDBTcrDR2rt1YWFbP4dDCx7dlSyRDfGRT3n6FtVQ?= =?utf-8?q?L0yLjyCh1aQ16lpqfPUW4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JHPA7LXKfktxjSQrjHMqIGaFh5GX4vwqqeFdr1DYnW5VmzdN3LOKqIqe882e+I?= =?utf-8?q?arVOkXwkm+o4zHARx/DOfDYvHyu4QdTVtPujyBheRnRF48YmG6RK4AoNZMeEkM462?= =?utf-8?q?IPDhNa1rjIAGkHTkI2vgxew7oB/dWoDujXPPiozsLI/F/AApu4AWAQlOQsJKYVSLZ?= =?utf-8?q?1SXIhnF0aWe0HfqLUnSFaPSe1S2gt9UO0/bHd/9DY9eyc1RxICWS7EMfi4Nq8rrHn?= =?utf-8?q?15NSF/saELFCSyNM9Vo2cFuVIPbCgZZqsw=3D=3D?= X-OriginatorOrg: cherry.de X-MS-Exchange-CrossTenant-Network-Message-Id: 081e17de-9f20-4438-6690-08dc8a0bdb04 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:30.7856 (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: rpyjcm/3+Go6lIcp+rdMVQUHsRIgVzpVUWLK0KyaaV4DR7dn9SpMNTX3rydCA32Md6RVGxtDPHBBMsMmKtSl5Dqbeyh3f/x2mgdExHk+N0s= X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR04MB10301 |
Series |
Add Mule I2C multiplexer support
|
expand
|
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi index c08e69391c01..e7313be24c1a 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi @@ -10,6 +10,7 @@ / { aliases { ethernet0 = &gmac; + i2c10 = &i2c10; mmc0 = &sdhci; }; @@ -357,10 +358,23 @@ &i2c7 { status = "okay"; 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/rk3399-puma.dtsi | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-)