From patchwork Tue Jun 18 16:06:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Farouk Bouabid X-Patchwork-Id: 13702660 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 6F8E9C2BC81 for ; Tue, 18 Jun 2024 16:11:53 +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=IH9XbuZw25y545jskZu/aOPTcM93uZ6UG+Rls/bNY74=; b=O1mgKQ/W0HTiTNwpCNFZ/JeSVj FliiJBfvD57orcHIHLzwBMX3ojs8e8VCORacuVHwRhb7sGHuV50uK1jm0qox2+dKTicJounKZuNE0 6y+VjAjRwTvYwupcJZgWiyUZ4HTtJYaoM91IUDm/RDM/40J5EpHbyGF5QbdR4FslCShNSLczS/PHe 2fq7mxRTshpFzyQpbkQDDigqUsHpE7KXXit+xOC7ynbwLh/M+/sMuQIpdDxY/YQw+UlBs9Bznl6sl YxdWPDKSdHDwVuNdzv+kwGJhichV2Fr2GJKc1Kxy4X9sxqQn3wCPuIIbkbtpwFCWACD8+Nt3j5cGO nf6WiqxQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJbQr-0000000FmTR-0gly; Tue, 18 Jun 2024 16:11:42 +0000 Received: from mail-am6eur05on20719.outbound.protection.outlook.com ([2a01:111:f403:2612::719] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJbPO-0000000FlMl-1iUQ; Tue, 18 Jun 2024 16:10:13 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JwbykTKDFaD4yEo5YzFvnKHubUs/XkvK6LQ+l66Jvzv883KPP8tZy6Mis4WyaqYfvrYn4lCU+8q2E0xPGzpkW9zSrPVP9yIkyxFifCPtiT8hHQtIEC37v8PgKBwucW7Qv26ayTQCoTSlAM1x2+MMwvbBybttfXHULzLUCpcIlmlZzyqFiQW+Jjjosty3QTSLrPl9h3timx0AFALUcHBJ8dyO6VucrFB/OOIFUgP0CaH9+dUSGhc4Ds7q/Os8bw0B2YBlqEgrPCpVS2oQMdbYMoFju7n/FO+DS1j33aZ2lvu+MyS98cO+ZAiZT97YD+hOqg4zlF/L8q0au5Z5H1gZ8Q== 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=IH9XbuZw25y545jskZu/aOPTcM93uZ6UG+Rls/bNY74=; b=drcTPsu2OCXQYU/di9am+2/1JrfYeK0uG34StbQSB4C4DppE1SujNgzM80F5SyIcNzow1n+iy9hDVEssPqx9EU3qkKnkMesRZBhG3i9vvZeQ4RWQsAXDARAU5WDuYDHMMI95+l4x5HyGTyGR8jnAww9jVraGD3Ky1NAeMvNOnHVaZfdWlLRx4rqkbx2iia/tik4/6NU9uOxRorgBby5qXtUO94gFKfmfsKhuBpZlGTJxER/Djn2QbDzQ+GrnEmFi50b67q1KJWHtTKcRU7rLIfsl1x38DxmBOLvLgIPHB6LKhGvW5oCFv4A2AFsfJVBcjITQihjmEyKc8Mc5l+KdVQ== 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=IH9XbuZw25y545jskZu/aOPTcM93uZ6UG+Rls/bNY74=; b=iEDxVhEs7mXDtcXUQthUZTH1af576QTrx5r1235Pa2mMOyQeD/O7w+XxEuTvNsEgfqhzShOY4YZXYxVzJL4a1/m0V1uUrFGMPr3tlgPOOQQR+G4Q7N+R5jAKJChU475/Kn2D4SS1NULFxFBpOseGzzqtAK+vSxffzAXxWFlFBew= 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 VI2PR04MB10642.eurprd04.prod.outlook.com (2603:10a6:800:27f::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.30; Tue, 18 Jun 2024 16:09:51 +0000 Received: from VE1PR04MB6382.eurprd04.prod.outlook.com ([fe80::2a24:328:711:5cd6]) by VE1PR04MB6382.eurprd04.prod.outlook.com ([fe80::2a24:328:711:5cd6%5]) with mapi id 15.20.7677.030; Tue, 18 Jun 2024 16:09:51 +0000 From: Farouk Bouabid Date: Tue, 18 Jun 2024 18:06:51 +0200 Subject: [PATCH v4 9/9] arm64: dts: rockchip: add mule mfd (0x18) on px30-ringneck Message-Id: <20240618-dev-mule-i2c-mux-v4-9-5462d28354c8@cherry.de> References: <20240618-dev-mule-i2c-mux-v4-0-5462d28354c8@cherry.de> In-Reply-To: <20240618-dev-mule-i2c-mux-v4-0-5462d28354c8@cherry.de> To: Jean Delvare , Guenter Roeck , Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lee Jones , Farouk Bouabid , Quentin Schulz , Peter Rosin , Heiko Stuebner Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org X-Mailer: b4 0.14.0 X-ClientProxiedBy: VI1PR07CA0286.eurprd07.prod.outlook.com (2603:10a6:800:130::14) To VE1PR04MB6382.eurprd04.prod.outlook.com (2603:10a6:803:122::31) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VE1PR04MB6382:EE_|VI2PR04MB10642:EE_ X-MS-Office365-Filtering-Correlation-Id: 4a2af6d7-26d7-495d-7bbc-08dc8fb11573 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|52116011|7416011|376011|366013|1800799021|38350700011|921017; X-Microsoft-Antispam-Message-Info: =?utf-8?q?Fot1XNkeVTzQbxSX44R4ip7fzkieqG+?= =?utf-8?q?vRZvQSQdxUj5/guyLKJ2aiO88k53zHS3nFg+R3M+a9Hx7kJu+UCQgBdixFBHkE7Zp?= =?utf-8?q?PXaKZXlHVZrR0wRUfhWv9Z1LNQrkA4n4A/poL808f+ExCFdMoxHcBIgsq3OBFlzV5?= =?utf-8?q?1cOhqZYuJqPi5GK5lemhpusCcTaYr8mOjggGyOPqXZsfwkGC+lnRGB1LXzlky0mJH?= =?utf-8?q?On1ltKRO5g+JlTUkKmM/2ki6ZRaaRc7XTvK5NsH9vJ5SFaV9yFh8WRF3JMxBtYgN5?= =?utf-8?q?2zOF/vyycGG413w2XRMegYM7TnAMJPxNHxhja/1sUZevRw6wnXSkFeN1gIlLdICC8?= =?utf-8?q?F5jpJu19mgpAqQQavtFhoV8t3kV7REDiioo9uweW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fW8iGEqwsI?= =?utf-8?q?X1lzUksyZULgR0IjUUuVprFNzamTHG89O8DNXVfCII32LuIanwJ+st4nLgMgtC8Le?= =?utf-8?q?JoPSzr7dwSz6?= 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:(13230037)(52116011)(7416011)(376011)(366013)(1800799021)(38350700011)(921017);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?5tLI4FohCRd1XYR3nAZ+kIaP09K7?= =?utf-8?q?HAAkkWzBTtf6vX8+758iHi8bhq9GctBCyqxQuXYVhvuLzppIfdXDPJQ0Buocw/Kp2?= =?utf-8?q?P4m+86lBU8RYkAPzA0quEtIVgVt7G5OAk4+Zi6AYxO7Qq/4pJnPucKivAe8vD9q3B?= =?utf-8?q?FArig9MiRFPeaF1MJdS9Xe8zKaVxg+nQlQj+5KPU6rPzM2mt8Wy144HglQq02Kl3K?= =?utf-8?q?6udbCKSK5SGL1wgS+IEX6BVMpcw0G98EyFym55R+mW7yROiFq+SLuNuI40K4bY8EH?= =?utf-8?q?NPx0BR3LRniJ6J/cr4GSEG01QpUWMSq1DnS2TmkwbX/PwhWRbCg///0JoxkqsQVj4?= =?utf-8?q?W+VIOkUzQF9pUiI6jZK0ckgg0AElgAMEO/QixY1VvYU4fNlUeOB3DABz9C6C1o01K?= =?utf-8?q?Zn6VW8gyw3TVitxxRYmkaShvYS8FDjvGVWrb1HLjLIhOaI/gz3hbjqmSkOniQ0M42?= =?utf-8?q?wMzaihJO2WyDMDgWEUopiDj5LKSX97nrltkkkUoCn64AAIc3f4GAzG7OA4RBDNng+?= =?utf-8?q?C1h0iDBmK4gtf3GIhKzxNx1t9kcoRU6WaZj+q8voxTB9UnbEm/QLrQqVdZYbSbsfE?= =?utf-8?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JvIkCTGgoDLM8mndwPLqGHD/hUGVULW206qMRy2C1VXehtjbpgJe7LMT8/sv?= =?utf-8?q?EHSAcWkoKFVm3I5f3psJSwU/Z+eIE5AItw=3D=3D?= X-OriginatorOrg: cherry.de X-MS-Exchange-CrossTenant-Network-Message-Id: 4a2af6d7-26d7-495d-7bbc-08dc8fb11573 X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB6382.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jun 2024 16:09:51.4973 (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: 4OQnwMSj4S837q2UyAyogROOIqTC0478rrDBJhVRsfav5/e2R90uDD6JuulUvmjhzfowUMaz5tLCqxI5gFopHZrrqiz6RY3cr+6hC54Dy/g= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI2PR04MB10642 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240618_091011_181609_2823258D X-CRM114-Status: GOOD ( 10.30 ) 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 Mule emulates amc6821 and an I2C mux (mfd:0x18). The isl1208 is exposed behind this mux. Add the mux node and isl1208 as a default device. Signed-off-by: Farouk Bouabid --- arch/arm64/boot/dts/rockchip/px30-ringneck.dtsi | 33 +++++++++++++++++++------ 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/px30-ringneck.dtsi b/arch/arm64/boot/dts/rockchip/px30-ringneck.dtsi index bb1aea82e666..cb84295f118d 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,15 +292,33 @@ &i2c1 { /* SE05x is limited to Fast Mode */ clock-frequency = <400000>; - fan: fan@18 { - compatible = "ti,amc6821"; + mule@18 { + compatible = "tsd,mule"; reg = <0x18>; - #cooling-cells = <2>; - }; + #address-cells = <1>; + #size-cells = <0>; + + fan: fan@18 { + compatible = "ti,amc6821"; + reg = <0x18>; + }; + + i2c-mux { + compatible = "tsd,mule-i2c-mux"; + #address-cells = <1>; + #size-cells = <0>; - rtc_twi: rtc@6f { - compatible = "isil,isl1208"; - reg = <0x6f>; + i2c10: i2c@0 { + reg = <0x0>; + #address-cells = <1>; + #size-cells = <0>; + + rtc_twi: rtc@6f { + compatible = "isil,isl1208"; + reg = <0x6f>; + }; + }; + }; }; };