Message ID | 20240618-dev-mule-i2c-mux-v4-6-5462d28354c8@cherry.de (mailing list archive) |
---|---|
State | Handled Elsewhere |
Headers | show
Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2116.outbound.protection.outlook.com [40.107.22.116]) (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 659F074070; Tue, 18 Jun 2024 16:09:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.116 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718727000; cv=fail; b=eGL8aFaOeOg6aejUIRJuPIly6RRBKwTsnWeWQUpRchuCfjQ2kUDj2J9A7r2nB4m5TUCtluu3KRLddXicMlIWNTSto+r1mBSccyO40Sptkqei9ohRikJN4LuvnrW0AOtNh3WfmizPfzkLSPMo7nvxsU64NQ0h9as81pY9WEBThn0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718727000; c=relaxed/simple; bh=B7R/wNDIkoPw7wHoKNBoTAYC21hWDp4ifLDHqIM/Do8=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=q0S6JaZNG9mNHIMIasbAR0e3i/8IYYwW68FyUZjVkkMo4TgF2VIuk0bnuaVl2tJ9+wAoAEzbqSiegTH2BDLPyWhzy3oHDRa8YJnyZ15bPSsggN5CBohAQ3t863SB2+WfWJG/Wi4GI4Dr46kZ5wh5dCor2FGvgnn2dUfRJWp843s= 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=bES4nJLt; arc=fail smtp.client-ip=40.107.22.116 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="bES4nJLt" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ii7JEL3PIanxN70pTmzgiJid4mra4tA1a25NAgxmhtJ0hDAt3tHTwZxmEDxFNLHLJhqesit+EvkmW4O9ub3oWn/HjShajpxKhuw5CSpMohsU7zgXu0AwYVKE0g/RWSaCw6N1pPc0ILGGLTKH99tgkKR6M7nQMH6fRQMlPgcH8XtrGatHUW2WAuBn10uUnykdMr0dogCrO/F4xgKGG7cI404aDrRXhAodkXuwblpw1yn8S/I13BWjPPGp0EAgI5uFuZBnLRofMbVZItGCqloaN/joy0Q+wlww9q0yg8PtA+ErbuiTcYIVpDLwvlPzPHziehGe1T7qXHLm6DAGzkKA5Q== 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=U48VhaRSJKHUsovJodHOiZjnFeQi2efRmK676Qk9A+A=; b=AU60FrT092ygGwnQrmMXD/xGXxIEmKPtTB2maK/ZN61Fvu70jlPNONvq/usPVSwhsGUitPLfTMcW1LMIOkJF23OfCItYCtNmXUKpmOlen8fned/uuziYSHojgxg+e3hxQ7YoyZG2vYB4H3Mmr3oPszQhTj5hc0BVwaBFSgfgTdk3rl7gZ7YSRg4Jk+iM3y16aaZbau7Eh8y1XF/H4gD5Z9Lk2ELANv6diEokgUwyzGJPiazdosP0o4bF3gG273bEUWDYx4EmKoN531aF3OxJPXtmhaNhJGTQ/ue4zR56Nfid3vFjKiuiXD/9rqIsx32QR/BY6Pwz+/R48ycWchtysQ== 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=U48VhaRSJKHUsovJodHOiZjnFeQi2efRmK676Qk9A+A=; b=bES4nJLtWz/C7igf/4IwqeT1cnj6fjH5ODsb+vM2zEkT81S1WT8X1znWjp1SdRSMX8OuqlbrLH4koHGH5owJIQJzo9d2ourC0tq45xU6q0CHIoqq/EJ/PBSWntB1mdz7Etf0KSfggpkaPytjMo6rr+LeckTPch88P1GwJbs5ofE= 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 VI2PR04MB10642.eurprd04.prod.outlook.com (2603:10a6:800:27f::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.30; Tue, 18 Jun 2024 16:09:50 +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.7677.030; Tue, 18 Jun 2024 16:09:50 +0000 From: Farouk Bouabid <farouk.bouabid@cherry.de> Date: Tue, 18 Jun 2024 18:06:48 +0200 Subject: [PATCH v4 6/9] arm64: dts: rockchip: add mule mfd (0x18) on rk3588-jaguar Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240618-dev-mule-i2c-mux-v4-6-5462d28354c8@cherry.de> References: <20240618-dev-mule-i2c-mux-v4-0-5462d28354c8@cherry.de> In-Reply-To: <20240618-dev-mule-i2c-mux-v4-0-5462d28354c8@cherry.de> To: Jean Delvare <jdelvare@suse.com>, Guenter Roeck <linux@roeck-us.net>, Andi Shyti <andi.shyti@kernel.org>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Lee Jones <lee@kernel.org>, Farouk Bouabid <farouk.bouabid@cherry.de>, Quentin Schulz <quentin.schulz@cherry.de>, Peter Rosin <peda@axentia.se>, Heiko Stuebner <heiko@sntech.de> Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org X-Mailer: b4 0.14.0 X-ClientProxiedBy: VI1PR07CA0286.eurprd07.prod.outlook.com (2603:10a6:800:130::14) To VE1PR04MB6382.eurprd04.prod.outlook.com (2603:10a6:803:122::31) Precedence: bulk X-Mailing-List: linux-hwmon@vger.kernel.org List-Id: <linux-hwmon.vger.kernel.org> List-Subscribe: <mailto:linux-hwmon+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-hwmon+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VE1PR04MB6382:EE_|VI2PR04MB10642:EE_ X-MS-Office365-Filtering-Correlation-Id: fafd6182-fcd2-4ed9-e51c-08dc8fb114c1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|52116011|7416011|376011|366013|1800799021|38350700011|921017; X-Microsoft-Antispam-Message-Info: =?utf-8?q?4D0e1rMm4ifBwi7Q2RzDzAqssq2cIb2?= =?utf-8?q?cmE1bz+LypuKigO++hfYGY3FMqGv+5KTd9BcSiZXouumYaqq/CTqSRG3z9Wp42UY0?= =?utf-8?q?ISgu7aXOL/tBiDM35TtWKIFzHgksYjUQqTLERUEEXnrGEQYjBOD3AHKON4oAxzRsf?= =?utf-8?q?HMjtRLsotcN1P0Ac9j9lkD+XfC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7CW5mWWAYT4ULQveKnuMiGIAWb2NhsBHqBC?= =?utf-8?q?kYhxJwWH9u91z2zbjitmPoZ6z0bli+5rbheOXvQvPZLSgnBCb32xpOgO9Z86984Gf?= =?utf-8?q?oXMuAJFYYS+KxG+LN8Ly3LacTSU4R9cebvq1K/H6UrpFb2qboPowgLPQsAbt6CUAZ?= =?utf-8?q?onPyvxEMKLisJLyjeGrhSLngvz19ThxbRmLXX4sAwldRmtjLaXDf6LITnSA06TqKD?= =?utf-8?q?d19TBsP6QT6Yq2PW7z5rYvTmunttKZ+FFeZ9MhLwd4+gACKR/W0wiv0fYYWBDlxVw?= =?utf-8?q?WN7d5NotB97r?= 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:(13230037)(52116011)(7416011)(376011)(366013)(1800799021)(38350700011)(921017);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?AfjUd8Hg6bAcFwmA3S4ooDYNMEYH?= =?utf-8?q?bw8gMH7pJlxIQjRsLJl1fOZhQpASvckpUFi0Z1uyNQ6gkTB1oOpc7546haeqfsd91?= =?utf-8?q?YOiVTb2KGzTU+hPZhpqOaniolBvKxj29viJoSVmKdLPKQMLaSGz7f4Ubh77+YfNDp?= =?utf-8?q?vbzvMuqmbrKut5dHWGyuQaGr8LRIpvERmgfB8uO5YUddenMWbnwxDpME+CuLBJYwn?= =?utf-8?q?7p9+M2RBePd/5pY0I1EN9YjqQ7Xcrl1E7w6ThgtS+ZmdPHJddb1gmUX0bZe1tc/A8?= =?utf-8?q?EJd8G6OsvdprzrUhybRbxNE9YIuzU79HopX8i7wOARYufyF43LmTJ3az3rzVfx+w/?= =?utf-8?q?O2w1apDqIsb6YpI/TwDinioBy73CgC4jbABYseiK58Tx9B051h2nAn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TcW82F2PzJCQABFOH?= =?utf-8?q?WdLlIx6G/L/fxsdaKRg/TBAL35/Q5IrMQ8rYVfQ+OcyZCrNcEp0NCqR290kv2aolZ?= =?utf-8?q?DSHYFLlpZmktvnj6WCa6ZEGZmcwpaOk3lbpakoy7lhEgZ82Qhg9MueJb4dVJ9vzY4?= =?utf-8?q?+3+cpPdYBm6YreBVc8RKFmMK63ZRv36w1vKLe0vSw5OWcs1tYocx1vfR16QMGKbFl?= =?utf-8?q?kz+tdXbAWg+Of8rJ1U4B6RvxTVaGRDjPm4sFrNTBqQP53ol+xg+lGTsCCVVODi30M?= =?utf-8?q?N1ST4L64lPwVPp7+S+qkxKfCieZ8fgPRfg=3D=3D?= X-OriginatorOrg: cherry.de X-MS-Exchange-CrossTenant-Network-Message-Id: fafd6182-fcd2-4ed9-e51c-08dc8fb114c1 X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB6382.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jun 2024 16:09:50.3127 (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: dyvPXUV2ZaWX4xdaLCEUwf7TH1kONlCRtXE9p6Fq0lZDVw+tjHly9BAqi08F115cZ64h8nZIEg2sz9j02PfRzNRlppVrQPB6edI0hGIjUd4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI2PR04MB10642 |
Series |
Add Mule MFD support
|
expand
|
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts b/arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts index 31d2f8994f85..9c296d2116d4 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; @@ -275,9 +276,33 @@ &i2c0 { pinctrl-0 = <&i2c0m2_xfer>; status = "okay"; - fan@18 { - compatible = "ti,amc6821"; + mule@18 { + compatible = "tsd,mule"; reg = <0x18>; + #address-cells = <1>; + #size-cells = <0>; + + fan: fan@18 { + compatible = "ti,amc6821"; + reg = <0x18>; + }; + + 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>; + }; + }; + }; }; vdd_npu_s0: regulator@42 { @@ -313,11 +338,6 @@ regulator-state-mem { regulator-off-in-suspend; }; }; - - rtc_twi: rtc@6f { - compatible = "isil,isl1208"; - reg = <0x6f>; - }; }; &i2c1 {
Mule emulates amc6821 and an I2C mux (mfd:0x18). The isl1208 is exposed behind this mux. Add the mux node and isl1208 as a default device. Signed-off-by: Farouk Bouabid <farouk.bouabid@cherry.de> --- arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts | 34 ++++++++++++++++++++------ 1 file changed, 27 insertions(+), 7 deletions(-)