From patchwork Fri Sep 6 15:54:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Farouk Bouabid X-Patchwork-Id: 826340 Received: from DB3PR0202CU003.outbound.protection.outlook.com (mail-northeuropeazon11011064.outbound.protection.outlook.com [52.101.65.64]) (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 6F82D1D4179; Fri, 6 Sep 2024 15:56:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.65.64 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725638162; cv=fail; b=pY/qZZ4D2YP87Lust+sD2KuSvZGrGU5QccArdeis6hcSgFWyWUNi4LbDuWz9McKOsK008oWMg1PSQzs84rR1bk6c8HLlF5P5tX317MRIUoB1kr4vM49jnP+ue7BfoE/pt3uR2Tg7YF88M4yiR5IvXAEg3jsM0tmsLMPmo1tfQnw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725638162; c=relaxed/simple; bh=S7s9qDoMVXGaFywXlkhz+h2UHx51YfqZuzNCpBeo5no=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=JCLnbM9O+XnsGqetJOmZLvg7adajITRrJVfOODjHwSVLVqRTrG++VWOUI/unQom838YFuaCE5rTebtbwC6GOYiU8pL442Yb5Z80101LMtE8LtTqSTLzTLTdKq6F+qmHsIQL1X+T2YsqH/g+hRH5poZ/P5yqet+dKtvONEK9kC7A= 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=NqClS21b; arc=fail smtp.client-ip=52.101.65.64 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="NqClS21b" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=dczkVQK4Bl1FGyN2g4v6QpU25ZhB5H6nHOxw8ArcJPjFnvJP05P3TsL0gn1Ni4tBzdfk1tRf3P7NM03RSe3m6RmXel/r6XITYihdhicB177T0uqeylOkO1LQwPv5ChivJ7fld6q04Hhepc0NrF6o18ge1rAwGDEpBSaDMrp+5EK8JGjqOvZVqDI56gSuwnd+X+3mLWv+ScDC4LCT4a1/iHUouS5T8BXxJ9mucepCpa+I5Ijr3VGjyFjQKGVB3/fpmFVIzQdRAgEPSOWDxHoL3oqsRtTpV2xwxkxdyY/TEFKZN+JWupC1ItKKYGV9Wv5hr3+JNLRpFRpLY1pGw5IBSQ== 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=25dGd0E5AtCR8zFuoAAzxvVQNaW8OT1xvILoEmM433I=; b=xMHAelBx1aRlJuD+fU8KU3IkQnrgZt3dFAxXtL5Wqb6XAkgzFhABDmZYOH7GC6YGUJIo9JAkiexyFuSHrTe1t9UeGqAbDAMaJ2VfvmijtQh65QxTlB2iK0YafFs4c+zCMwRu5SKkNrt21vn/u134KY39nSG4wqTVgwlrJbbarNOJOzr1LfTBk1nLYGa2MvcqgYli2xkKhxSuwevM2ekJ+cTccSFwDbaJF8nH302oZZFQG2L0EEA+EhysMYaVnVAJFAYqsrFWZPijXTB7tqG7BptvRHoYKp8VmiqzoZFGcRkcAmkIY4lby5d0ty7XuHiXVpp55/FKVilRizTvsuplHg== 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=25dGd0E5AtCR8zFuoAAzxvVQNaW8OT1xvILoEmM433I=; b=NqClS21b6Oq+7JJ0vqpqekNYgsDvFrcwSyrUiK88DtnoOe1d7/KT6qfdNP3UZgsPasFwFlbAszHodlVSsEI3QslifZR0BNZw4NktcnFwYH4CGgLpNtZ2GgKNWGh4XGk6IKeGWX2vuwHlfIGqwrr8POsPvupNpm19rWNd5CZs9ME= 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:50 +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:50 +0000 From: Farouk Bouabid Date: Fri, 06 Sep 2024 17:54:16 +0200 Subject: [PATCH v8 5/8] arm64: dts: rockchip: add tsd,mule-i2c-mux on rk3588-jaguar Message-Id: <20240906-dev-mule-i2c-mux-v8-5-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-i2c@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: 50e25b67-2657-4993-78a5-08dcce8c6165 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?SNJwQrCQnXducsGUj0gl1F9Zfwn2n2I?= =?utf-8?q?esUOtzDdd60xVnWPS2LmQVfHxKKw5jFiuNl4AS2+Wfyzlb3qQ4bPt2tpIHpsfrL55?= =?utf-8?q?MSmTZfPlDUyjuUjvo7RZ6hPQsZ9R57PEPmvYOZc2yTuW1/ov8+bGeDQy1ZrUgPsEA?= =?utf-8?q?r3jW7v3+KYWpkwPjnoOwklxYAGEl2zeR9ciwP8fOhIZjaT8K68kVui1/m9fD2NLfU?= =?utf-8?q?J24p+lbsAiu08EKi9X2VTuYwG/VPAazvDyNHRla4nfk2OToCd9JfwO0zP2J8Ghxzr?= =?utf-8?q?PLiGQiOySmHCwhQiBS1Lzk/JuVL16z/PdUm0i9JC7qwlv9O2rsmol4xEIKE3J0H7j?= =?utf-8?q?mQbPbb/n1yfOcTt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E4L/CqgLGLvMZNhcI79r0P095vWzKxLG9SGx7xmOgK1RZNYkPmwxlatyHXm?= =?utf-8?q?hZJgbwes1/VMPBkC3oOkm/U4Z1LM5Brw7EBZ1kTqycDgbnpzgwYGHp7zCR+8G3tFb?= =?utf-8?q?MvpGSa/GMCps9rTQKCVQWw4ORVr2FgxHX8XTZ/pOPg2DvRAcHkstGaA=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?KmWAB+raNGwiGQtEdxV6d02f43hx?= =?utf-8?q?RsdcKP/2O+RtzwGv91gn9qnnleu47hre/bfyyQXizFInCDCvoHt08ib+zAuqyxcpz?= =?utf-8?q?xwg6AyTwJ46WIBIyHuWJyyq5g9+J3/mdqE0BQKPfzEeb1/8zV89T7B1GuC82arB83?= =?utf-8?q?aE+ewGXxkkyMyTnuo4cen0+zhHKbPsw254Qjm2LQQyVFsjT5Au6awq9Hz8Y+vmx67?= =?utf-8?q?5SrmnfFG6ygnuhnFLumN/odauVqyV9+DyqXWH9QFQll/TNEXHFECW2diEniXTp8KZ?= =?utf-8?q?2XnRohsO1HEsHcT5Awzq6mT9xbtb9pHAry3KGKcQpijeAo9JfagiMYUbszim8qorp?= =?utf-8?q?1hHuG334MgF2snB2M+f+nIS1n1Lzuw/WYDJWs9+K3NYmYL/PtKckAo2RahRf1VgeV?= =?utf-8?q?syeEl9XrZYDlw+m8ENBOzeKgDIPxNg52e6hC0kA/clPkeZ7gSF1JGRVoh/vE14BYs?= =?utf-8?q?BdOmWGd1DBkaKsOQQv3xPIGXiJspIs6TdYKO7F/ixxa8RrFPD9n6+eNr/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CbvbeRoDTxwoS/fQxvwbhBAuQleRUBSjfJOmKv2o8iBF6kyWSsvtXMvP5SzsPx3?= =?utf-8?q?HtrZa7Njeo/EvAlNo7IUA3zJaoYK3zYd3wWNwtPuqFNRlj1ChMasDcZE9GqDiNTtV?= =?utf-8?q?KngPT9witjkrTgevKgD/2KQ4GGjagz3CrA=3D=3D?= X-OriginatorOrg: cherry.de X-MS-Exchange-CrossTenant-Network-Message-Id: 50e25b67-2657-4993-78a5-08dcce8c6165 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:50.5299 (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: DgYOz8Of8+xj/T/zRoiC4/5I+5ErebSlnie05fi9KcrEYyWpC6BKWyR2Keg8D7xmEmF57VHSEffQPYWqk8Vg1QVKzQnPuUqECItP0lC2uT8= 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/rk3588-jaguar.dts | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts b/arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts index 31d2f8994f85..56f87a603581 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; @@ -276,8 +277,25 @@ &i2c0 { status = "okay"; fan@18 { - compatible = "ti,amc6821"; + compatible = "tsd,mule", "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 +331,6 @@ regulator-state-mem { regulator-off-in-suspend; }; }; - - rtc_twi: rtc@6f { - compatible = "isil,isl1208"; - reg = <0x6f>; - }; }; &i2c1 {