From patchwork Thu Jul 25 13:27:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Farouk Bouabid X-Patchwork-Id: 13741922 Received: from AM0PR83CU005.outbound.protection.outlook.com (mail-westeuropeazon11020111.outbound.protection.outlook.com [52.101.69.111]) (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 3E63E19D8A4; Thu, 25 Jul 2024 13:28:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.69.111 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721914112; cv=fail; b=kzwu8BpvlOkDa55am7h8hkq8VHEeOF91h2mWD7fsvvbBYhhP4nipdqKsAWg6WJQgWA6RaPkxFyzPhY1n3r9dTsDbHKJmgVPYIt7dsuGShpjEivWhno48qXo2DS7OstTby8XsrVRi6mtDe1QVS1pNRSqMZF32gRZHJGXpFj5SJYg= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721914112; c=relaxed/simple; bh=ZqLxvdbON4HGIDwXyHoLXPvWlZD6EQcsY3ekUxJ7maw=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=iFb22wMJSziVTc5zOkIWR1GrZLKUq0OgR31pygUlYuKQLNFrDSAsx36qQbNLzFSH6QVziUvuHGoLaSSZC+Mxmbt6yBmJwmJSwm9gYoZy/xTc0qJe0/Cr+3We9AJ204cAS0PkBgSvmILC95EsmxfnWFVwM28fY51pA39e9BDshHU= 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=i3YzIZuz; arc=fail smtp.client-ip=52.101.69.111 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="i3YzIZuz" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=LK0sMfNbl40xnHjdPY/pgFAY2pYhCaUoSjgEaRnh7WgChVTtjBnpjaAfi+DM+jfFDv2sC6YNL0vr5eCLnSpe+sbcrqFQb/MddOK/3VCYhg0yRvg3TvebiqPOz4zsd2lofVPcLPFB3Hcuu7FP9byh2bcDt1Z+4hwYXEcGRQ3so0YsJS4oPQ+J14N/93kLoJj1NpX5b5GDTUQcnZw8uzP0XY4sDC4uAe0xL3apUsoup4YOchhJpGGn6fMr1ihrHD9pnvM2gm+RJfEkpibC/H7YrFoO+hoUGvfHFNH7T8FdxzZAgergAB9hg+dFxXvhj7uBCNvBwAww22PvmmynmjoacQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=MpOnVJ2Fq9UBRXgKUtAdUe3ZeBAX+dIsb/Jnqh7FOQ0=; b=XaXGDTHH5N4F222rM+Id7DMgXUxPhupQ45JOuU6Eno4ytpP0vzcYK/fkNCqtr1wZLawmOyXtYsYd6d6qlL3u/jrCrC5spNfoYDZEX1uAt07AKwgoQnrJkBdnrlglaJ9s4zXTLEKQswgBMsSZQfWTeIEFz5MNTh55Rc3sPtrq6UJyXp7y0S8a2pOOTSmuGV4x7iTxnL4rZKW77KkFwyLbnq1N9XEYiRrKyYUUxoc9GWj6/w9NAU4U4IJTKtZCq0roLZz52R002IWSjFtlCC48OSq3p0ssXIFxLA4wS0e/eNhNFzeFm5HQ6A5dHOpKULb6DETU2E73+Sm4iKv/oUIibA== 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=MpOnVJ2Fq9UBRXgKUtAdUe3ZeBAX+dIsb/Jnqh7FOQ0=; b=i3YzIZuzQJDEiQ4RYCFrDgpMkSKkoeRs9+/Ad4EZ9w7QQUzw+T+4PZjmB6LqPFNSdHoEneE3bWvLcK563DyhrvUXncmmOgrdGJt23ywQSEUunbRmavc/JYL/TSSMrJRFk2TgWvUtntg06HiwcQ+7e89jZwI+OhKPGJ9vUpMSC1M= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=cherry.de; Received: from DU0PR04MB9562.eurprd04.prod.outlook.com (2603:10a6:10:321::10) by DU4PR04MB10670.eurprd04.prod.outlook.com (2603:10a6:10:58d::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.28; Thu, 25 Jul 2024 13:28:22 +0000 Received: from DU0PR04MB9562.eurprd04.prod.outlook.com ([fe80::ad4d:8d53:1663:d181]) by DU0PR04MB9562.eurprd04.prod.outlook.com ([fe80::ad4d:8d53:1663:d181%4]) with mapi id 15.20.7784.016; Thu, 25 Jul 2024 13:28:22 +0000 From: Farouk Bouabid Date: Thu, 25 Jul 2024 15:27:54 +0200 Subject: [PATCH v6 8/8] arm64: dts: rockchip: add tsd,mule-i2c-mux on px30-ringneck Message-Id: <20240725-dev-mule-i2c-mux-v6-8-f9f6d7b60fb2@cherry.de> References: <20240725-dev-mule-i2c-mux-v6-0-f9f6d7b60fb2@cherry.de> In-Reply-To: <20240725-dev-mule-i2c-mux-v6-0-f9f6d7b60fb2@cherry.de> To: Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Farouk Bouabid , Quentin Schulz , Peter Rosin , Jean Delvare , Guenter Roeck , Heiko Stuebner Cc: linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org X-Mailer: b4 0.14.0 X-ClientProxiedBy: VI1P189CA0008.EURP189.PROD.OUTLOOK.COM (2603:10a6:802:2a::21) To DU0PR04MB9562.eurprd04.prod.outlook.com (2603:10a6:10:321::10) Precedence: bulk X-Mailing-List: linux-hwmon@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9562:EE_|DU4PR04MB10670:EE_ X-MS-Office365-Filtering-Correlation-Id: 77719568-08a0-47d1-b7eb-08dcacada7bd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|52116014|376014|7416014|366016|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?FUeyD9eTJWiENX1PVHCD4hCvKQGx+F7?= =?utf-8?q?x3aKsDsVeFIeecI8sDwDzalfZnSWjQAxz1XXHcTrbOivnT0eG1oaEVzyE69cR2feC?= =?utf-8?q?/sIZsFevB1YztJxenJ3QkpOLfsWIYmx8Ig0R/2n0QEwFpGQH6N8peqrVaxzsNH/dX?= =?utf-8?q?HaCmjMtWQPUwStluTFujy7asLbneMm4meeRdCkIRBJoS8k/xepptP0LrHalPiZtWD?= =?utf-8?q?a5uqWPskVXYfSEdxldtyjV0GOUnZISeX+6m8csbcG0FkW1UG3JybuCHNP6abq1qfE?= =?utf-8?q?mG8JUiU2IpaccuzB8ia0bIFKYDx/JoBI/cIbpcnsIdgARNIiAfFDgtFwzfiY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-8?q?gDX9lUed4wY+72ZtBugkGivlMAqJMogGOF2a4uSH+1IaKmBwvoDLt86WUWwOTsENl?= =?utf-8?q?gndhm1XuMsCUJUCsIcnad0siN8W4FUsIFAPVvl2Yu8fAIcsPdiChnY3+jR0aw4wyt?= =?utf-8?q?xGiCjiRSZ8ERKeeU0DcblRHCxY0vdCp+xa05dmy0Smo1jrdT6KPUY/g=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9562.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(52116014)(376014)(7416014)(366016)(921020)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?bcOx7ods8oidzc0euAkhngsJbqRX?= =?utf-8?q?3JoxmRefNxFs4eLgVmwGvGFNzMstYIrSCZNIZoHxLziGqh9mfPtCs3ZzP2WAFRV7c?= =?utf-8?q?DiHCVY7ao2M6BRLrempGdvG9/8h+pz4u5hUE0o8rCZmGx99UbuXQG+TCmgulAQ9L8?= =?utf-8?q?8JSZMfcfXPV8L9cIgfzmJZYAMQYLMRQJs1FP7L4Iw0R1IrPsVLCnt6wNIY1UleOv8?= =?utf-8?q?LPF5AE2RBNISS9nMutarIzVPcrJKzordUeZmCcj4a/mzpDj24k+6EsNvBuqD7E7+U?= =?utf-8?q?9HpULwe2vmGGDxpYi9HR1pxoPlupl4/IWv7Z4iDOqVI/IloBFmHo8f/iC5wixdJkQ?= =?utf-8?q?tTjzij8CCmuEj+XMbxuWRe6kQuh57rxg7+IFhHHHQKLwt8HMywI1P7GUgpU+yPxKD?= =?utf-8?q?SrlLjebC/NP39psvOvKg+4h4unkJQpKHVGxc8GLI7wQTR71d2pKvYbLUhrGKwB9ha?= =?utf-8?q?Ahy6HibocDb7f+S025B0goSUUt00gWxq7bUWF9EAhlt4c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AN++3tH/eO3quxuxI?= =?utf-8?q?ObWSor+zs2ocL6d0c6+rSBG2u/BVf9qWmRQaiOyss2Cw1AmcY6F3VbwE4Det1GzO1?= =?utf-8?q?IJGglvs0uo8IAMsDge1UTsLxsnCuuTz3BY1YuVhHknh/BfAZRz0xgXfaNZpzhfNdU?= =?utf-8?q?e9lO1FWmjFC6iBtMkITMkPbj0EokcG7srQ=3D=3D?= X-OriginatorOrg: cherry.de X-MS-Exchange-CrossTenant-Network-Message-Id: 77719568-08a0-47d1-b7eb-08dcacada7bd X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9562.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jul 2024 13:28:22.4531 (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: Hva0Dwl7eo/bT3kYiTon6aa/SBwxDeB0keg+nw1Khohzwj0YIMA23F3NfiSgsGQ3nwSNBMGdIb1AahGyJBqRuAMoiavPh+iUbjF/2h3viNs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU4PR04MB10670 Add the tsd,mule-i2c-mux alongside with the amc6821 (tsd,mule) and isl1208 as a default device on the mux. Signed-off-by: Farouk Bouabid --- arch/arm64/boot/dts/rockchip/px30-ringneck.dtsi | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/px30-ringneck.dtsi b/arch/arm64/boot/dts/rockchip/px30-ringneck.dtsi index bb1aea82e666..a683ed3e2fce 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; @@ -292,14 +293,25 @@ &i2c1 { clock-frequency = <400000>; fan: fan@18 { - compatible = "ti,amc6821"; + compatible = "tsd,mule", "ti,amc6821"; reg = <0x18>; - #cooling-cells = <2>; - }; - rtc_twi: rtc@6f { - compatible = "isil,isl1208"; - reg = <0x6f>; + 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>; + }; + }; + }; }; };