From patchwork Fri Sep 6 15:54:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Farouk Bouabid X-Patchwork-Id: 13794403 Received: from AS8PR04CU009.outbound.protection.outlook.com (mail-westeuropeazon11011038.outbound.protection.outlook.com [52.101.70.38]) (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 9B0EC1D47D6; Fri, 6 Sep 2024 15:56:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.70.38 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725638165; cv=fail; b=k035z9wKnIaB23Ujw39eN1g48TvitGe/TIF1R+tWaFxcsyAokyls9pguD0vEthnB4jmp2vkr25MDEsOPz/D4bUM7LWuPIiAgfEbISvQ5BwnVfEJtln8dknQvn5DkXpr2VyY8LARSlEuEIBerjNGZDoNvRcLH3NEf6T1r68wrH3g= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725638165; c=relaxed/simple; bh=S5gfqC7sX+8XZxAdQxPuq5dXYPddWbTQ4lHWPmSun3M=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=rtnc37eEaVRaGMZz1TXasIizEnbSoy3j9ou6omiDih84K42FGWXmvn79xT8RKxaw6YtZa1yWMC4OAsyQ1ThMOJ5agXEM96OSVt+6eOAXQeGP2FsZOVmuqTMsiI+ND5EzAKJWU8TYRzKmcxFvGF0qgGtghloV0395MAuxYKa38Y8= 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=l5A4FmrI; arc=fail smtp.client-ip=52.101.70.38 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="l5A4FmrI" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=dYLJVB27Dez73Ct1HKeg0Lq9cPP06Nr+9TwdVaJkVADsoe5edcf9icU/SG4VuSqG0qyUG3Miy/+zm5C9WytgLLGIs4Iw/d31ZNvcrAf2ZeuNbPQlSbCr7duvDVzln9ImzrqHAMz3Wtkm1MecD8vHVYQxEWxi4gVVaMl1w6x+l8q/Nb8QlBQM+HcQR4+ytlp8knfsgqDMnVoZLJ8E7fin7WaIJLL6NbH06yHFGOHZLml1XapxLAAu65PK8/BWGbBYW1LE8oz4ebZlL1si+dm31SLcsV16cs84kkt58BYMKys4r/MUUdMhcHN6N/3KPjhOV/6IkjhCZ3uB6JZMd0+zPw== 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=V1fn9iDRBSjSdXhY0cbjh9VmUKMYVtZKCtUPqs0YcAM=; b=K6va0orL+/S6Sm6FDtSG5avnSKelAIU56rqCeORbXTlwIk1cqmus/NKZu9oBIF1wpDZQdQnkynb9fQ4vUZF/6niKsKgNMq+lTkPaB9LQW8SlJGCSNDm7DB7PpKaQR4tgdP0QRzu96XUjsjMEAItWHfqhyuSxOK43zUYj10nGUMO18GgeSP9baOYX8aqmm+hYO/debmfPe8NA/0ykKsKB+odnPvvJT2OXQ+nOxMeTMrYq9OpbOXE7hkYeZzaxOh7rw6dip9g1kw6ncxo1JeOVAdKWbZTasEzAF81lIiFSCgOh6icIHF8kVdipiF/v9+z40HzJXAQQPBEwDGdSc5Y1Og== 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=V1fn9iDRBSjSdXhY0cbjh9VmUKMYVtZKCtUPqs0YcAM=; b=l5A4FmrIVyorySOh2fm9bvIgVsUxfhTXrcaV98dUcX+mmKq1+XukzZqZwGgn9Bmgskthud/aU42/cmzHH4tDkAL8UvesqIiNXr52TXAdXZ3BsA3DNeOFLx/M8fR/R3xLvHLXQRs60elq+8qVeoHGADGnoytXk+o8jNhZQEf2N5A= 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 PAXPR04MB8319.eurprd04.prod.outlook.com (2603:10a6:102:1c3::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.17; Fri, 6 Sep 2024 15:55:53 +0000 Received: from DU0PR04MB9562.eurprd04.prod.outlook.com ([fe80::ad4d:8d53:1663:d181]) by DU0PR04MB9562.eurprd04.prod.outlook.com ([fe80::ad4d:8d53:1663:d181%6]) with mapi id 15.20.7918.020; Fri, 6 Sep 2024 15:55:53 +0000 From: Farouk Bouabid Date: Fri, 06 Sep 2024 17:54:19 +0200 Subject: [PATCH v8 8/8] arm64: dts: rockchip: add tsd,mule-i2c-mux on px30-ringneck Message-Id: <20240906-dev-mule-i2c-mux-v8-8-dbd28a150e41@cherry.de> References: <20240906-dev-mule-i2c-mux-v8-0-dbd28a150e41@cherry.de> In-Reply-To: <20240906-dev-mule-i2c-mux-v8-0-dbd28a150e41@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.15-dev-77eae X-ClientProxiedBy: VE1PR08CA0022.eurprd08.prod.outlook.com (2603:10a6:803:104::35) 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_|PAXPR04MB8319:EE_ X-MS-Office365-Filtering-Correlation-Id: e07982fe-44a9-46a4-c44a-08dcce8c62e5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|7416014|1800799024|52116014|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?6i9xz0+AZ0v3LcKe9LtEuW66CkzUNfN?= =?utf-8?q?zUafeQnEwiFE1defiFcvHfUca80UqRTQVw6PLwVOHkYfqAc8ZgsE78UaPkrRBWoeF?= =?utf-8?q?Mo/DGUTI1652EjAte6gCTmLZ0AFRmmQ2VUV+rimpxx/y5MuavwJ/u63f1Ezm5mUi1?= =?utf-8?q?p2U+UIhVe5yX8dyfRpuf57FoLVUuU+o5dFDXD1F/IAnzg9dWKsCMg/1p4K/IGCCgq?= =?utf-8?q?h98Y0I3Fd0joQLw179zbFOSNrCyJnlu6kqA9s3dgFc2nIQgvR9G4aCYCPe5BduBBu?= =?utf-8?q?MO9Zod2/aUEru0TDH0aEI1LvvWGVZITsckVDx7VibqEvdpcwpY0UNFtPMHEF/eGc0?= =?utf-8?q?9SMonop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aSQr/8kS04AZG2yyV3GoO4qJcjiZ32GMzN4oZgMKWgJxLMGR?= =?utf-8?q?lhK6jNiC7l8H7TNn2/bIJFDo7zegGjkvtLNoESxWkXsxxJAF8U17EFy+Knfl/qwmi?= =?utf-8?q?943O2DMQ1ThIqHyXERalU07Tk02K6Cyi/IIxXJA0raHT0eAxvA/R5Ag=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)(366016)(376014)(7416014)(1800799024)(52116014)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?X3Af0LPZHXUdo2giZKwIIPpfS6IO?= =?utf-8?q?cIvWQv14rH+Sbb5Ckbo1mAE5K7nXODSa/dPmWmCTUTG9udFzY/AphwMrNAzDE2jxh?= =?utf-8?q?q/3XImVNmlV/x8xH4KYCbXF7x7dOLk3hsm/MWoqSIpeSLtNltYf5bmhTEVUticzPO?= =?utf-8?q?7QGZhuHT82sfGIVpDRG8n/gong7buTEoO/ysydiT/scsKFFnA0vPu8z7bWLsFvk8W?= =?utf-8?q?9WknwkLPmyVaNv4hE+Z0CBiCnEfl7PC7ITlppCPfWExRDskxoHtRsZRiTgiOF2aHr?= =?utf-8?q?EajXaGgx7aT8uNLor5t/1Ecs35sI5s2UgVniCNFinKFWSAOwerN6IbwQdpEEV03pQ?= =?utf-8?q?70P4GpBatmlaqHRwiGqN7znV0xycDYlAX+ARGKH+SKwO6udHIXL6fKtXcH6oauqq4?= =?utf-8?q?grNI2FJmnO8x6NfICzeyK+qmH4uT/d7BK/ovPCiagmOwcPWVlsNrXhgDWVKi383oi?= =?utf-8?q?7kXmoEXsGsYcMEmcwbTY01WKB2ncCqK43q13vzPSoMgs+VkV1rK9MLwFPevkiFqT2?= =?ut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LqPlQz52fD00Hjmmu89UAOS+CNFVpnNkWC+tMI0m+c7LGUXXbwT14Rn3xt?= =?utf-8?q?8jwxI38IuBMZkTBJ1xHJ6I53uTDrnoVR2iGjzMcztg1MFu0OBMk5/HbP/8xDM/xoz?= =?utf-8?q?dk4vZUlFmZdKCooQ/CvfmwigtBCtDCBh2w=3D=3D?= X-OriginatorOrg: cherry.de X-MS-Exchange-CrossTenant-Network-Message-Id: e07982fe-44a9-46a4-c44a-08dcce8c62e5 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9562.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2024 15:55:53.0505 (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: E3Vps5GHWs7Y64NjK1OqU95uVd7iqxTWYgIPpwKwy3z1DOl3cI9jr6ccf/ZcN//v4FTEsjhDF9FYbGAUejzPyuBOlRWDFiXCuhngDh6sef8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8319 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 --- Notes: Merge after patches 1,2,3,4 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>; + }; + }; + }; }; };