Message ID | 20240506-dev-mule-i2c-mux-v2-6-a91c954f65d7@cherry.de |
---|---|
State | Superseded |
Headers | show
Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on2102.outbound.protection.outlook.com [40.107.13.102]) (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 C9F821448EF; Mon, 6 May 2024 12:24:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.13.102 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714998272; cv=fail; b=oB4p3YVImLQ8zw/BCEx/rdkNh1FGdoRebaHeEJ7gF2Slf3kVl6KngWMTkaZHFrOpXQd8c4wVdKtBKT5XYejXlSfRXM6LZ2wVmfmxPrFtNuw+5rujFFd6qyURcZOOkbNMDtPbij+x4u7W1vgPHiZXflCPuQ7K3x64q/WWtwNuMnc= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714998272; c=relaxed/simple; bh=xqpzc7NXXqiL2JHQhHtVFr4vFonc04Qv4B57IIk6dIc=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=S+up/grcZqBz/e40SZvhqo4Q+kwl7slWovlsIaQaIU+VAk0rgSQ38OeOAlP3He5X6TIRE5V12Ffz4lTz7olMLtiAmLIn8EZEO6sCzeHsIuErCjEOpHEIU+9wbCVbt5157DQ9h6kwXHs6/fWDBg4s3+qlGSAIl9rzgZFBGWY9jwI= 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=Mf016ZPk; arc=fail smtp.client-ip=40.107.13.102 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="Mf016ZPk" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cPoBX3mjF7hUNfTc0Dlqj1KTsoF+sYKhYBGI7uohJC1r6KkC8rBTdNMm5rvntkb3+ZdJZ/K5m2Td9ciEoh8UluLJIjBUfmUMVWbwx9D6fWBvxYXaNefeV7djPj5ql4bHQhj9EjhJX4fJGZxGXhvGZKF/zwFnhnkceQxwQnfck1wEDtsB51C2bXIEKP8EhGgxv3Wppb9KZP9c8cpf+d2aIpXziSMSa9Vq2dw791rTYr6h9I37cqRECiDSK7BBMaZ+Gk+MzvJxNg5GfKZVRH2EwxGG2RqeAInY5rWT6kYSMmgNh6lZIrnsttPnqT0jCRjjiSVENQ4dM0S6VciqKal8tQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=NR1k8eLeUhXOQnJCjLHpucEuwIQW6rlkR2Z0uoNpV9w=; b=Eg9Ww7e6RoiwalHEqDPzIe/LTUfQfTI6Da2GBHlEi1zIOr4FO6199pLrcJ9Si4CcZSMLI7WjGVDTu2XZdBUiGQ4xBIPdwF7LLMPY0eOD7iyP1BnGi102f5drMmQJ3aqKtz0/zkxIbwhKTdD9S90yofydOYDcQokEAsSqS21dskAWz5Ie5Z/hKGTtx89/nx+bUAaCVsVjsTb9yHYiBcdT9jB9XzJ4Vg00rAjd6OEJeleEsF83+ofG7GzqmZtKKJeCkPbmTgy76llpEWogcJRjxKEaVNIMf1U63HOtsC0J68K7kr5Yl4nnFKZHrFsHOdLCQmUav/y5W5bV2OudbkvKIA== 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=NR1k8eLeUhXOQnJCjLHpucEuwIQW6rlkR2Z0uoNpV9w=; b=Mf016ZPkk+YAa0f+IxUX1FH5NSPrbzrcJ25MVgXisUCQFq1mX5hcmkRL2jITPi18CAPj5eZGEh/kBJQACCjvgyzOi/TYnQFEBAag1E/foHb1g14fbkgFWOWXJS42m1lX/2TTwt/XuJrxxN0Lqy8Kmp3Qp0Km0317bpv6Y2Omlgc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=cherry.de; Received: from VE1PR04MB6382.eurprd04.prod.outlook.com (2603:10a6:803:122::31) by AS8PR04MB9512.eurprd04.prod.outlook.com (2603:10a6:20b:40f::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.41; Mon, 6 May 2024 12:24:21 +0000 Received: from VE1PR04MB6382.eurprd04.prod.outlook.com ([fe80::59d9:878d:65f0:3936]) by VE1PR04MB6382.eurprd04.prod.outlook.com ([fe80::59d9:878d:65f0:3936%4]) with mapi id 15.20.7544.029; Mon, 6 May 2024 12:24:21 +0000 From: Farouk Bouabid <farouk.bouabid@cherry.de> Date: Mon, 06 May 2024 13:37:57 +0200 Subject: [PATCH v2 6/7] arm64: dts: rockchip: add mule i2c mux (0x18) on px30-ringneck Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240506-dev-mule-i2c-mux-v2-6-a91c954f65d7@cherry.de> References: <20240506-dev-mule-i2c-mux-v2-0-a91c954f65d7@cherry.de> In-Reply-To: <20240506-dev-mule-i2c-mux-v2-0-a91c954f65d7@cherry.de> To: Wolfram Sang <wsa+renesas@sang-engineering.com>, Peter Rosin <peda@axentia.se>, Andi Shyti <andi.shyti@kernel.org>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Farouk Bouabid <farouk.bouabid@cherry.de>, Quentin Schulz <quentin.schulz@cherry.de>, Heiko Stuebner <heiko@sntech.de>, Quentin Schulz <quentin.schulz@theobroma-systems.com> Cc: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org X-Mailer: b4 0.13.0 X-ClientProxiedBy: VI1PR0102CA0103.eurprd01.prod.exchangelabs.com (2603:10a6:803:15::44) To VE1PR04MB6382.eurprd04.prod.outlook.com (2603:10a6:803:122::31) Precedence: bulk X-Mailing-List: linux-i2c@vger.kernel.org List-Id: <linux-i2c.vger.kernel.org> List-Subscribe: <mailto:linux-i2c+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-i2c+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VE1PR04MB6382:EE_|AS8PR04MB9512:EE_ X-MS-Office365-Filtering-Correlation-Id: 1933d2b4-380b-4ab2-b53a-08dc6dc77269 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|366007|7416005|1800799015|52116005|376005|921011|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?5wf67vYA/fMG963BnMMUhlNS5PpA5WV?= =?utf-8?q?BrVXzsm2+YyU6HzaYqQFSQfTJ4aCJRzSBLjk6xh/L9Ru/846FWaw1RjhxrAzA4qjp?= =?utf-8?q?jgO/wRK+yYCRkDusWFSbEL0jDILlkmkE+8T91DEP5i1A0QfRA8efwBnw1akq0H8ua?= =?utf-8?q?A9nn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8?q?c31ukMUlHUBetqS5SJe3yceIYrD1Po1eEmK0VaQcSyLLloBkuSG4oWIsT2OT73s9X?= =?utf-8?q?P+FQngYN7DKsVSQ3e7oAqKcK3a5/Qq/j6uVIE9marjUVshLYnphmabVpWpGcbqjv6?= =?utf-8?q?MWeU3oGebEeeQYeq16HEWYum57ueWXH6jDpCjoLiwZQqilr1WEVJl9hPzTGzWvxZd?= =?utf-8?q?nKelLd7VEN60uPxDg/xRZqnEvg08ZwS/re10tC1XgV0luJoPD/4FHY1wJPC5REw9k?= =?utf-8?q?W9by+BR1emaIRpkZFk1FXUmgIRAhwkS431Ec6i7QAkKlgtw1e8lx6jyw=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VE1PR04MB6382.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366007)(7416005)(1800799015)(52116005)(376005)(921011)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?UGNls45+7iCagLoeLERdcORFYdYC?= =?utf-8?q?c6a6SrX+fNo3nOUzYo2r7K6YtIxrRjBn+31aAMl0b10VPQcyH8dUAwV0t9Heg0gy9?= =?utf-8?q?0KikAIFqflPcgaY27fDhXfTUnbsCIUVWxg0mwkLNIPBMwnjHM9PmxeaLAfqDtNxTS?= =?utf-8?q?iEEl2B0UBnIKlSXNOCLa01EIpM65NpHs+oCW6Jos9ndOurbdty2g1KidSPEa/BWd0?= =?utf-8?q?YQH4eE/gWmg5Bs5Te6qclc2d8CY0tmnykG89l6cUR+ShEUmzkIY85iL1UAAH/Eqjg?= =?utf-8?q?RPQhByLx00QSMKESrpTC2y4l6KB2uwf75vqO7OulTzb86upiWMQmatY7TdyeMFOe1?= =?utf-8?q?s0l7qILaJJ45QKj2U3kzgqB5cWFEgcQySimldQ3CAjkDazh81mz6oPUR9e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LolKm5gD0XvI/C0U/o?= =?utf-8?q?zXGWbLy384X7gEZxXchwTAuybXxmRqX7WfkAq2fE+PY0M2zltwZ35+CFRsfp1iEZg?= =?utf-8?q?LbdjbJY7rsS0cZLh57Asp9hbCO87EuiPc5yKKZRKvvjhQwzA74qH8gjMkIieXoP/D?= =?utf-8?q?FOp0wwD9JgrycQt8ITXSZ2xlzyUYVNsxg3h0x4ZWyvDN6egx9hmSDi4aN6/tFZTcs?= =?utf-8?q?LEgIVoW0rgU5ejMX8ZaTZlbPG0W2ezao/63UvYg8UoKiLq3vlwFVFdjTsMch3WB2B?= =?utf-8?q?KMKTt5IlDqhF0L0UYy/N7gvdq4jZz2Ot/g=3D=3D?= X-OriginatorOrg: cherry.de X-MS-Exchange-CrossTenant-Network-Message-Id: 1933d2b4-380b-4ab2-b53a-08dc6dc77269 X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB6382.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 May 2024 12:24:16.6117 (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: anNosjluEfS1r/eggCwcFVG50B9Oi0PTDK8Fop25OkPdi83/k4WlIAgUKiwE9WLN40Bn7MTNT05aMoaYN/KXIUNfKJQozU9P1bHoi/bAEoY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9512 |
Series |
Add Mule I2C multiplexer support
|
expand
|
diff --git a/arch/arm64/boot/dts/rockchip/px30-ringneck.dtsi b/arch/arm64/boot/dts/rockchip/px30-ringneck.dtsi index bb1aea82e666..eea906379983 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; @@ -291,10 +292,23 @@ &i2c1 { /* SE05x is limited to Fast Mode */ clock-frequency = <400000>; - fan: fan@18 { - compatible = "ti,amc6821"; + i2c-mux@18 { + compatible = "tsd,mule-i2c-mux"; reg = <0x18>; - #cooling-cells = <2>; + #address-cells = <1>; + #size-cells = <0>; + + i2c10: i2c@0 { + reg = <0x0>; + #address-cells = <1>; + #size-cells = <0>; + + fan: fan@18 { + compatible = "ti,amc6821"; + reg = <0x18>; + #cooling-cells = <2>; + }; + }; }; rtc_twi: rtc@6f {
Mule emulates an i2c mux (address 0x18). The amc6821 is exposed behind this bus. Add the mux node and amc6821 as a default device. Signed-off-by: Farouk Bouabid <farouk.bouabid@cherry.de> --- arch/arm64/boot/dts/rockchip/px30-ringneck.dtsi | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-)