From patchwork Mon Sep 2 16:38:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Farouk Bouabid X-Patchwork-Id: 13787514 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 3A704CD13CF for ; Mon, 2 Sep 2024 16:47:04 +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=7n+Yn/vCaWPe/FFlIR8/xq63jJQnVptZQFCQtrl/T8s=; b=i0dl5pDYgnhcOSEyIgY1IuAJMH fM1IGdqRNeGRYE62mqUQHsaHWRpkW4Nw486S+UQFL/Kx5Aeq20jKf0AQTTTxMdEDxt6zCAK+/FTBt aZ5WptBcL3Au2nOWmpP7O92sMCZ5vxPwV+jM1IW9ZJ/wN84Zf0cISE15j1ztgr147VPXKGZ2C+Mqi 6VekdOp/X82raJ1mMlrs/KrEtZmN3tNleNmABTqDA/mRyMZz8QSsAPQgnFVSPCFw+WOxBUYjqhlSO Sn1D3buigjd6NMCb2Yanv+aL6euMr0dcm+JtBAiu4LDTBmQOvgtx2Gr/FEB3DHqYB4T9Mflo62NrD kZ6d3Jdg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1slACj-0000000F4je-0q9n; Mon, 02 Sep 2024 16:47:01 +0000 Received: from mail-db5eur02on2062c.outbound.protection.outlook.com ([2a01:111:f403:2608::62c] helo=EUR02-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1slA4q-0000000F2et-2XKB; Mon, 02 Sep 2024 16:38:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=tnjFQiGm1C8MbpM64Jotv1EtcwV3e0gRcGKTh/e9oa4QjJs389JiFDKlhjGJJe2IGMUAbNJNtVc4HuKZkukN5XaJhonvo4PZqZABgQzyXjjwmzd++7HqeJaYhwJqFpGuh4aJwsYIjXXp46BRlx/TgLJQrzVkOMcJmxbce1T6Fv1OQnz/VIim9/qc9e6d9uxAuT5dPi/8gG8ZSFcMpyCo96Ock8zrOdUY3CiyyOtG+y2BABL6dPOtKn4+NkOTyXrBqMRILhg2MnQVcEWG4moWzZkRmt6jP6BptfonVbcpCi7zoSruzJKRAZSgGsSShGLTRPFyZl/+lATIfW1pT6KEAA== 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=bERGBYcKll2oxiuVChYl5r4NVU4ZBUVHPzGGapFyaTc55DB2FURrMqFRdKMFii9KnORu3NfNCu5Vso2icBPsJqwK6nJNOoASpQLg3G6dqDL4syv9G83V2+Vdn00a83BInraWQZnJSI3NXx2qf0CTA6wBngUuxfNP4tqzjvBwssz9En2hMaz++is/WYmZgUYix9NMWtLHILS1e/zjXrQtmhi172RiOh+526xrmMrCfnbGwbUCuEqEd/PdPydpsux2PW70T0rW1NmYpmxJJMZHEpuSOD+QNFC1O0CEASFFFMkMmHJOOHUch7v8RwdcqVorP52P7S0JFBeI9d9qKzIlng== 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=DCXg6zRwunNFlcL4zzRQ/NZp372LGbSbR6ccZMdoQandToIu8CZylbG6Q/EP4fkITIJEcMlBssrmvjAeK137WfBZMCB9uMYlcozNdfISMn9HM2ixW/PHq8y40y0LA+VHOa4hKUf7BaPvPBdfWTyoTvbSk9zHlc6rQv2sNN59CEI= 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 DB9PR04MB9645.eurprd04.prod.outlook.com (2603:10a6:10:309::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.24; Mon, 2 Sep 2024 16:38:39 +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; Mon, 2 Sep 2024 16:38:39 +0000 From: Farouk Bouabid Date: Mon, 02 Sep 2024 18:38:21 +0200 Subject: [PATCH v7 8/8] arm64: dts: rockchip: add tsd,mule-i2c-mux on px30-ringneck Message-Id: <20240902-dev-mule-i2c-mux-v7-8-bf7b8f5385ed@cherry.de> References: <20240902-dev-mule-i2c-mux-v7-0-bf7b8f5385ed@cherry.de> In-Reply-To: <20240902-dev-mule-i2c-mux-v7-0-bf7b8f5385ed@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-99b12 X-ClientProxiedBy: VI1PR0502CA0001.eurprd05.prod.outlook.com (2603:10a6:803:1::14) To DU0PR04MB9562.eurprd04.prod.outlook.com (2603:10a6:10:321::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9562:EE_|DB9PR04MB9645:EE_ X-MS-Office365-Filtering-Correlation-Id: 49b24db9-8de2-4bc9-1491-08dccb6db320 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|52116014|7416014|376014|38350700014|921020; X-Microsoft-Antispam-Message-Info: =?utf-8?q?zQHE8GYtBgigiywCqJHfAcbtGMVr8jW?= =?utf-8?q?JJM0OLvIXqq2TJW/VN0AfFkvT8BauhhPpymUI1puEBrWJIubIIVSTlLE5aQwjbeQd?= =?utf-8?q?SkCBghwIm2e5tqmhlNTC4pAJq+/N6+IZUlA361N270TJF3pqRT0Or9wOWA3cxPoap?= =?utf-8?q?oeBZMBaU2Jz1gkAgAdTkZhFDO9RZz4unA30ImzcQ70Gs3tu5D6lUJuCeTtvQ3idY/?= =?utf-8?q?INPf3aZol99tVcVsKKYIx+TApSs5ULrkt6ZzJ/D/S37p/0M7v2+jRNh/Aj3csLxg1?= =?utf-8?q?efV9slYNX96LAdiO46f8Bk3C9TzN/rFUH7+sFjkqb3qxMuh7TJMMp2cbntkh1DmBc?= =?utf-8?q?ZQWJ67AkZxXtDILwx5VPYhwsQRNl2z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xpEXBE1FsiIXj2ftGYeq8IVH7LIpGh?= =?utf-8?q?lnYaBbvFm53wU1rva6aP2njwvF9zgcihnASIOwacSrqE7oTpW7lOjec8n39Wl9HP9?= =?utf-8?q?C5KH6VvEucybw5OlTZ2Ig12UaPjh+vi/hNB36Vclx/pnt+yrHoe/Mec=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)(366016)(52116014)(7416014)(376014)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?/Ncj1LJzCftGlu6bteZy/OqCLfw4?= =?utf-8?q?QPjrzbFOxziuI5NHsyO5m62pynsz6fRXCX0Drjar4I/24vn4PjOLFVhrBRINgCcR8?= =?utf-8?q?PqEpdWpYZ/E2eQ/mRUQOukObxPFRHaEG0FNp0v3Wz/W8/G4NRKMXrboCPPIrMJjav?= =?utf-8?q?BEiGiOkptuHv6mMQQSzOpclc3T0uQlSxtqm19ioOkYdh+hg3rkaGew4FHf5vd4eEp?= =?utf-8?q?iGrAVNC2mwgkBAQuwSWAB41C7hdH0xSLIgTFbS+8Gh/n95OvMJl0b0syJK3MhbchV?= =?utf-8?q?fe272TVV4tm/zrn+aKJYBBNQjwGDwEjePHIYXAz3HaJ1kZX4ZEPi4IzHHmE7WBmGC?= =?utf-8?q?6rieIw9Dt59Lr8mopVSDpTeKZkMhqQMwha4x92vl0IEpgL9ZdU1w/yvaXCk2IGAGE?= =?utf-8?q?jN2Q24Xgo6DCaxR1rZkBqzmvWQ3q7RIxsF18ZuXGfyy1onTNeMD62TylWUWdz4WtW?= =?utf-8?q?lBVmQYCimqzEt3njDmeGoGd7I3gi8Z3IXNMt4PDmpDXxvPC9JnT9bEXdKbBE0DeLs?= =?utf-8?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ZXtYs+2b4HuxZIBPJu/uf5neTTjETULx2+xWU8TQj5e6ZEDrHKV2FH80CHhYH?= =?utf-8?q?0s5I2PSimzm94ejHVQS2jSOsVLDOGYUtsKXFmL78WzGoxRNhInTR7fnIMg5odi+WI?= =?utf-8?q?paE0ISibhS2zDyW9kQcANsMq8SuBYXh85Q=3D=3D?= X-OriginatorOrg: cherry.de X-MS-Exchange-CrossTenant-Network-Message-Id: 49b24db9-8de2-4bc9-1491-08dccb6db320 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9562.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Sep 2024 16:38:39.7782 (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: CU1m6xkVGtDKkIzxxI4RZV09TPvc4D1ru/vW8ZM3rumc64GLO/8u5OHwV4fNpw009zaro1A5yLHSivhBEdjHyafyVOpGAkiZvzu8XKR3scg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB9645 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240902_093852_690165_B29624E4 X-CRM114-Status: GOOD ( 11.13 ) 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 --- 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>; + }; + }; + }; }; };