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: 13741943 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 B012FC3DA5D for ; Thu, 25 Jul 2024 13:32:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:In-Reply-To: References:Message-Id: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=sbv7GtyopNeSNmLi5IabajTxJphMXKR2nhoZxxceCWc=; b=peGaFtOTV2H3LDuBInF4sFvHdP FntJmhDYwnBGqSV97T0F4QP11hTcqgvpSnyDyqxnG76wv+lCws611DybipTaK7s1V2DA7+UyeWt40 3cHbe5fTbz8x34Par4QAQOmDtjj4ncjwYSJPjbz9Qjaj3AVRk4koFvnXLl5BTryNdLLnY2JqnirxN 6TEebpGPsvPTXZhxmHrz7US/PT1Ez98apJuvMpDXd7IZOtfhGtRNGyGD9rjG4iiB6QOOMZ7/9rAJW k0SiI6smltDJiaauzMu6HWNkNPuYjJwU7bYogPlWwKYfXvQRyIpDgvlhr+IWbtohc0I7/8jgPeYGy bLI6kocA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWyaG-000000016zM-2V0L; Thu, 25 Jul 2024 13:32:40 +0000 Received: from mail-westeuropeazlp170100000.outbound.protection.outlook.com ([2a01:111:f403:c201::] helo=AM0PR83CU005.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWyWG-000000014V7-2JyR; Thu, 25 Jul 2024 13:28:34 +0000 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) 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/cIbpcnsIdgARNIiAfFDgtFwzfiYJdj04?= =?utf-8?q?o8Gb+837tdAC5RImPBvXX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F2a4uSH+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+S025B0goSUUt00gWxq7bUWF9EAhlt4cIrTzDGH+G6CuOLiGTQGs?= =?utf-8?q?8E08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2ocL6d0c6+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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240725_062832_713008_56676A8F X-CRM114-Status: GOOD ( 11.02 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=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 --- 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>; + }; + }; + }; }; };