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: 13794437 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E4199CE7B0C for ; Fri, 6 Sep 2024 16:17:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To: In-Reply-To:References:Message-Id:Content-Transfer-Encoding:Content-Type: Subject:Date:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=V1fn9iDRBSjSdXhY0cbjh9VmUKMYVtZKCtUPqs0YcAM=; b=mxgz5cyoD1mswuLYH6eASliA6y ihOIyCCW9U0ONjUaJKVPTe7E1KKMJbqlq44vEAEH2dT4qNy7eScvNL8LYESzSc1jrb+zxrGtiyzKd 87ar27GCCcQnEUNmRypFF8R+BBgPPFm29sTLkUO5BAaxFgS4bj1kX0QH6rH9KzdWsgJBhHxDRnMT6 xfcoDL0djsb/2hgq50gjMbDWKEjsCcY0s3gtUY0YmQwj9VPSHzkfpNFtMy66KfUM7ipWtB4XGpIw3 Eprp2RIVaBVq6eDMjXqhQqUWoSJoTcvBID4+3DgKP6BchxOelCu6uY+aNC+cUQOQAc/XMmR67szJo CF/qVasg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1smbeE-0000000Cw0E-1K9b; Fri, 06 Sep 2024 16:17:22 +0000 Received: from mail-northeuropeazlp170130004.outbound.protection.outlook.com ([2a01:111:f403:c200::4] helo=DUZPR83CU001.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1smbJZ-0000000CrJg-0ccZ; Fri, 06 Sep 2024 15:56:02 +0000 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) 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?9SMonopHLPBJIEHFRUwv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yyV3GoO4qJcjiZ32GMzN4oZgMKWgJxLMGR?= =?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?= =?utf-8?q?egkvyWeT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mmu89UAOS+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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240906_085601_228783_CE5354D5 X-CRM114-Status: GOOD ( 10.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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>; + }; + }; + }; }; };