Message ID | 20240725-dev-mule-i2c-mux-v6-6-f9f6d7b60fb2@cherry.de (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org> 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 43425C3DA5D for <linux-rockchip@archiver.kernel.org>; Thu, 25 Jul 2024 13:31:23 +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=rS4FEkfAhdTugP5/ogHCakD59rQKntjf/Ll770qMAEE=; b=etyUtmZHB5yknsGqE6xlu+/tBJ Nd+tpFAZ5SmUDLLTXB0CZN+gpOOW68ZLapTnNIKvjluFxcQTy/i0r9iZjIDSpMwg7q5xEoBu2KP73 PYXQAotlxo7AlF1cx4FbpCzojD5k+lXTXX0kcCAIgxJkGK1Xd1rdFio7G+8BJKizs+bMZpmOL/dwx jqOajTHCPrpYxqSw4Zpu5Qs4fA4PTt4M4kwwFRNzoTm+S6N4vcDmVoVddpJ76ggVIIB1mhw5gYTyd mfjHTj3QK3NKkAqRYz42gmbgy87vcBaMU8WzYIbuV1xtzf0H9CIr7pVXlg6mcqmGvJxVPvnD145d5 CRWyolUQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWyYw-0000000167F-1MBz; Thu, 25 Jul 2024 13:31:18 +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 1sWyWE-000000014V7-1Ha1; Thu, 25 Jul 2024 13:28:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Cr31u1tEpDEsIKXGg2hDIg0yTFz1ATVtHkHoPRjVhhgVMCG0wmdEy+PRKXlNpIkzf36dx7KHKW4qEqk79f3ZF4N3bBzcBlC4kRCUVbZmXDsEhzi0y7u9czb/tJfvYcK1IB3lwChHuwyQ1HiHtltGMrkS16vdiOLhZsCAa09W/KHij1kCbGX+EepBCSkieAfbeZcR+KUBZbOjX73wRfHy/hR/0hqWrONDvJzSe6UgcmuPwkjLQ06vOs0FRa+O1k1jmyvSLVV+VH5VujXLn3nmAt35H6wtvNc4pZ5CbGjJTETO7a8JyvgXPxcbDMl1DZc0LA7WhLTWpaW2USLUMzD8Xg== 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=8i211aK1CQNyJCBZqzAK/lbL63CBSHQuaE0fah+7Cb0=; b=nKAQogLyC/ENU2I4z/nuB4AkG+ZjRtKpEPFIanQ8rRlck2oKnaT75Fk0MckHauMInXHHoHcT0ozznCGzD4J1zfuvS7j2LKaYpabqFGkc2LNgJxPe3l5PI10XrBfVnll3xJ7K+MHhAVQC4G7yXi7nsjxkhy2klvC5hWKIN51f/DXMrZ3LjLknXiL0RBwvmZD7Qkaz6l1MNiI2vu8rF8jJPIvcr9lIiZxSxtW04A/Sz0sop6zhTHMHYpZH7G4O3b71iZrtbRikwiESLbVhef7IhXSHE0jo6lvRopLBUANp04r3FkOOxsHm+shXzSb58+AnJtz4LNoMM+ZpLuBWw/+2Lw== 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=8i211aK1CQNyJCBZqzAK/lbL63CBSHQuaE0fah+7Cb0=; b=CKopePlyrTYj2tFNx124/kmkCsw60I1shIG0X8okNfTlj73i8c6iqfRxWq945JptybNJER6Mn6WAI1NjsFizl9V8oz+CfXny31lQZsjV9ogJKp91nHtnGjYNiUbrPYwtgF9OoINixwKpdt80KF6v37CMepvyvOmKp+BhkNo6Fog= 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:20 +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:20 +0000 From: Farouk Bouabid <farouk.bouabid@cherry.de> Date: Thu, 25 Jul 2024 15:27:52 +0200 Subject: [PATCH v6 6/8] arm64: dts: rockchip: add tsd,mule-i2c-mux on rk3399-puma Message-Id: <20240725-dev-mule-i2c-mux-v6-6-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 <andi.shyti@kernel.org>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Farouk Bouabid <farouk.bouabid@cherry.de>, Quentin Schulz <quentin.schulz@cherry.de>, Peter Rosin <peda@axentia.se>, Jean Delvare <jdelvare@suse.com>, Guenter Roeck <linux@roeck-us.net>, Heiko Stuebner <heiko@sntech.de> 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: b9713c8c-8288-4300-e883-08dcacada68b 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?cR2tbSHV84NA4jbX4/gQ1BE8DALpdGU?= =?utf-8?q?zTn4f9dhlbbpcrHSlxsyRhJqVyxhTySYhbWjiIrTbkEq5CpLdJkDGiHvdAqgaWcFf?= =?utf-8?q?Ct19AxWHm7xcRJH9QpJiIxWx2yzJZZVUCtRN9vRTIuy97Xs4JMFkuAFRK7/e960rp?= =?utf-8?q?oUG+diEVnKl3j3rjbDUisR0aaBMG5wC3odg8FzCdLL7yorD6Ac7eNzjW4KWgSh8qK?= =?utf-8?q?0huoYnTH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HUFxsdA/RxztQ/Me8kAqG8IpIY3/vrM/ERnMqoqTTjipZDgMWfQh8c7mN?= =?utf-8?q?K2PhtC3FhBszvy5AXNR9H/tfj4vOjvtuvtnRiB7zKKHw9FRDpxmTF31dOMuBPRufi?= =?utf-8?q?yF7FMTqtTeu2CnhDyoyOM1AXTS2sL+FqfK/H/9qK1chT8UiHZQtE+JlDFfP/mp+6W?= =?utf-8?q?+Bv0rSbpzurYICWYL9ms3PgaJEKVYxWEvya8cZNJ6azidgT01oClJJSoHxOV/aGiN?= =?utf-8?q?xsAQZFfbivgoI44LoO+brw3GKm8EZr3+ohs9GWzx2mTLtxn1vGAEIvs=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?lNXXPjDVjpgHFbSdyFCzvJw9aYQ6?= =?utf-8?q?Rd0XzS65OPgeh6fRMzHqXHXCh4Ap/2WMbLHqTkaioef4niPqDjfwNGQXorAGu3cpH?= =?utf-8?q?5FzLX+ibuysrfX3yG0+I/5/0GcM5CGX8GRDcRC59IcJ4aPvUkZvmjlO887OZBoIAC?= =?utf-8?q?/oS0vrxGP2eRCds5/Js8YuFOweFYYlFfu5+FwMeZg8U/FNLmyZfYMEU3D3jWxVIhK?= =?utf-8?q?c3q8BfdUDxBdEbWouhaS4NnoEEBSYoYJJOTRJHYg4KOPuVnnqaQayf0SCtsldSRW7?= =?utf-8?q?rr4Cp783HOzHwN85CahQWSSrI1sfQFKgRnhMQZHP99cm1GO0x6HeruxFScAd5X5KC?= =?utf-8?q?nc0ny7NhD58zLXcWskOhtCZEhzRs2D6cEZ2b1IcAvYPLN5VJ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nLgGjhoPn4phkeUafHTH6Y?= =?utf-8?q?72UsQIEbO4pgUeOB1ZACbrRI+dV0DV0WwPjQw9anICGQwB5TAD4VZIdyoi/eElLXR?= =?utf-8?q?5Aw0ScLRsxy4JYtKV1Lon0wS0HgEXGeZp0HW9V+komkAx75ESZp4n/spr1ACxL91p?= =?utf-8?q?onxGsrgms1qS2bUUrRzHCPFUrkXksKVNhhPefi+qbGY2s26Bj69/SGOvHJGMIXCg/?= =?utf-8?q?8myx4aifEbjDp/l1keQapUTYXdnRHYE88/KQn85XXDfppJys8nVOjlA9KD4oduuFQ?= =?utf-8?q?P6PU0Mmi7ZwnxxDVMxskr6NBkE3RxHv2LQ=3D=3D?= X-OriginatorOrg: cherry.de X-MS-Exchange-CrossTenant-Network-Message-Id: b9713c8c-8288-4300-e883-08dcacada68b 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:20.4490 (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: QXDDnVgoZbjWyNj1GQgNmoC/TJAXtSkWb5sTbf9PMh6e2jfG1BE+2vm4yKCz/qYD18sqqkFLGe9uuQOQvEIOxKnN56b2uwoTsXThr/1v8vw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU4PR04MB10670 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240725_062830_602810_C6EB394A X-CRM114-Status: GOOD ( 11.03 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms <linux-rockchip.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-rockchip>, <mailto:linux-rockchip-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-rockchip/> List-Post: <mailto:linux-rockchip@lists.infradead.org> List-Help: <mailto:linux-rockchip-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-rockchip>, <mailto:linux-rockchip-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" <linux-rockchip-bounces@lists.infradead.org> Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org |
Series |
Add tsd,mule-i2c-mux support
|
expand
|
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi index ccbe3a7a1d2c..72a0bca57385 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi @@ -10,6 +10,7 @@ / { aliases { ethernet0 = &gmac; + i2c10 = &i2c10; mmc0 = &sdhci; }; @@ -378,14 +379,25 @@ &i2c7 { 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>; + }; + }; + }; }; };
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 <farouk.bouabid@cherry.de> --- arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-)