From patchwork Tue Sep 10 05:47:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 1982956 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=wiwynn.com header.i=@wiwynn.com header.a=rsa-sha256 header.s=selector2 header.b=CN1I/H4W; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=112.213.38.117; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4X2t6P0qFfz1y1v for ; Tue, 10 Sep 2024 15:48:29 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4X2t6M0t77z2yvv for ; Tue, 10 Sep 2024 15:48:27 +1000 (AEST) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; arc=pass smtp.remote-ip="2a01:111:f403:c400::" arc.chain=microsoft.com ARC-Seal: i=2; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1725947304; cv=pass; b=SEQeooPK+XSv53Aqv+p0lDWST9nufrHF6gPMWKyifwNUYZmM+Ip3h3Tr76zu04SsuRIBBAjOWRQtPR0+Dga6AYM5Zeafvhbg5kZ0QwPtrHPUlnLw/Eax6EgMC07SMQEX/OxrOczvdMFrSnVjJfsIfP3MGE6TMeMC43Or3EBzZN6cLYbOCY2gT1i3BPT6JzmLyOv+dUaYd6Xo+WpY4hZAt0CwVMaVRrRCSyEaupxdmFCt0R6rBV504zwL1XKc20pOknhjzxORuxvP3bAdgfCHsax+liZUD5W9vNFTbgbW54WK+6RmbhmGsMomF09YvmIIOAWOne9kt0MCtUrIhdps1g== ARC-Message-Signature: i=2; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1725947304; c=relaxed/relaxed; bh=8/XIy7eVuZj3SBMDgfGePU0xugPwcgrgy3mDvSWNc+Y=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=b6IpEyBef+JWpi2OVSXWtTaL+hbYSbjFdVZj+7lgZMfjSQLVcnSjeE8yW+tJXliM6ciDYmJIeO1B9kbV8pd2MFnEek7bReWugCAWZtCMJVMum6ivrGtIvnLcQ4kBimELVxFUFT6Vpb2B4fi+70sRQMI5aOigaCI8BSSmpRH/sqE3CPY4nhP/31LauPhvmKuXIlxu3pM7FXzw7V+CIJ/bKw0jS0tEURzkLTarmlXanAcOOjcRYnQLNSAYb2/SEmb6PWd9V7fVMhQ7AAAp+qXO+ot7FqDOspDwNrYBZbjcaJ2kpZBhnLrJ52Q+kjkOTm6w0GMnMDgvICF6cj4jrLydpg== ARC-Authentication-Results: i=2; lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=wiwynn.com; dkim=pass (2048-bit key; unprotected) header.d=wiwynn.com header.i=@wiwynn.com header.a=rsa-sha256 header.s=selector2 header.b=CN1I/H4W; dkim-atps=neutral; spf=pass (client-ip=2a01:111:f403:c400::; helo=hk2pr02cu002.outbound.protection.outlook.com; envelope-from=delphine_cc_chiu@wiwynn.com; receiver=lists.ozlabs.org) smtp.mailfrom=wiwynn.com Authentication-Results: lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=wiwynn.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=wiwynn.com header.i=@wiwynn.com header.a=rsa-sha256 header.s=selector2 header.b=CN1I/H4W; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=wiwynn.com (client-ip=2a01:111:f403:c400::; helo=hk2pr02cu002.outbound.protection.outlook.com; envelope-from=delphine_cc_chiu@wiwynn.com; receiver=lists.ozlabs.org) Received: from HK2PR02CU002.outbound.protection.outlook.com (mail-eastasiaazlp170100000.outbound.protection.outlook.com [IPv6:2a01:111:f403:c400::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4X2t6J3pcCz2yL0 for ; Tue, 10 Sep 2024 15:48:24 +1000 (AEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=DLZDecJU/8PFrTYV8I6rRaKS2MB06Z7u3yElNxK07As+Jp87vuCbA9kjqJCuolh/J24MMvWNkJGYdd5ZHwJbtyf1cdM1YNDdB6/GIHFD14u8kwBTDxBbqV+i0YAVruch/2YyoS8lUKua5Tn2CYlFgHh8llwa8wIsx1dSW75cS7vGelobIALsWEoO3zHnMPRyyY1AWF00QnNDzx8LSOoYBTEXPTbQFMBHa+knpNBCCn/gKWxYpqUXy//iRFOuuLTIPLD4YM6B4oYKlYY9KR7xzoNaGSDD1U98KhpV5yLy4hpO9WoDS/dTDmVBqz1VJ6ig8XCoq1mP0NU+58zQ5X/A8g== 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=8/XIy7eVuZj3SBMDgfGePU0xugPwcgrgy3mDvSWNc+Y=; b=AgT54oemzdE/eGpUtH54NP7C0X2o12P3nkOs/Jbbyn0KtQuk6h3yOmVnAf1bBJOvJAkdn9kGw6V0kDXE9TzOAB99ft9EyvrIZ2ewb8l89mzFgvKldourVwTeyElBbr1pdERkcWKO1qgrh3wEOQwoT/5bwmq6ytA0NAOXSHvUJLXq+QU7TCN3BUGD9VJMiu6jjEUXmmGRUhMN2zvNPoKQmIcyMi2bo/0wGLaPK3j+butaiLpAEoYglgUnimGuwX+pusAB3j7EpWge3EXHsc6cUE81e5NSHztUfSY2MBFChIcqkjEYNahUx9rp0G0eae3DVzypfvRkg+QaqbDqzROjnw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 211.20.1.79) smtp.rcpttodomain=stwcx.xyz smtp.mailfrom=wiwynn.com; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine header.from=wiwynn.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wiwynn.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8/XIy7eVuZj3SBMDgfGePU0xugPwcgrgy3mDvSWNc+Y=; b=CN1I/H4Ws+ugbJj97VQSXKEUyNQUFkYH374wc1zdA/STLbrKQaKtgAfubPeMU/cNTYJkCGZKmCrwJtcoh/vlB6bKu1cNPUFZWj8bR+TpEjFjzO8U7bliYHa+VzS2fD8BxJyUaes7KkY0FinJLnJumP/swFZrWI4zoQQbpMlrspoh1wSG7CHCkFkBFLsZUx6mmQlIJnWWCJ5/aSN/TS8PZOhMDr1q9dKRORdWLXM22LeorDjMiDH+hzeOTvas4RjpTv3zVEPKYR+SCTu+3Xgb6IUscoRb3EKqY2bXPYanB5UXAjkourAblY7pLi4I/ROC+f0J7nfC2HGMOtcj4zl42A== Received: from SG2PR02CA0130.apcprd02.prod.outlook.com (2603:1096:4:188::8) by TYZPR04MB7179.apcprd04.prod.outlook.com (2603:1096:400:451::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.21; Tue, 10 Sep 2024 05:47:59 +0000 Received: from SG1PEPF000082E5.apcprd02.prod.outlook.com (2603:1096:4:188:cafe::97) by SG2PR02CA0130.outlook.office365.com (2603:1096:4:188::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.24 via Frontend Transport; Tue, 10 Sep 2024 05:47:58 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by SG1PEPF000082E5.mail.protection.outlook.com (10.167.240.8) with Microsoft SMTP Server id 15.20.7918.13 via Frontend Transport; Tue, 10 Sep 2024 05:47:58 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Subject: [PATCH v1 1/2] ARM: dts: aspeed: yosemite4: Revise to use adm1281 on Medusa board Date: Tue, 10 Sep 2024 13:47:50 +0800 Message-Id: <20240910054751.2943217-2-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240910054751.2943217-1-Delphine_CC_Chiu@wiwynn.com> References: <20240910054751.2943217-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG1PEPF000082E5:EE_|TYZPR04MB7179:EE_ X-MS-Office365-Filtering-Correlation-Id: 1c6583dd-d057-49fc-a905-08dcd15c2050 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|82310400026|1800799024|7416014|376014; X-Microsoft-Antispam-Message-Info: hGU/yN3V28y83Mrn8EmvvrsCCMgod9GDE4M7PbK5q+j/RQbPbnwvJnjjbS1MrVDoVMQMZHkbFCuY3U+4ZACc/HdOG9EUcD6MUHC0QyGD88P9kQYO7aeZ5gSpV/MOIH0bPNimDXnRwREJF/RSOcUc4r0bCIxz7r2dNJ6WhWV9fmvHXWG+iKbqrjwHE984kOt2gGFMnKS8qN1vqEee11CRRzmZb5fslXWZg3lHntJkWt139uomBMDL/zKxm9cZjR3fu17URgwDdJpGaF33zIwX6YGuePvm+YUmOK9XKnHWQfmVRoS7BRNDz8nMKLkboWCegH9B8nBd4FT8aDn3kvlPhO6jC33au57GQ53Y9vwePxnnJJE9nGFD1XigAJtL16aX+KD2Wsh7dGdicYCCJ3yfWwNa+FCFvXClPBydmw/qgXGIq1GF3rt7Aoy9lYXaWC45BK9TzZvzv087ElfsbN/3/D7E+wPgAKk/G+Btoi6eAgtaz9pR0fwSUoN6d4eHAx8ThZKvO+M3vorCMnWJQptOiQ+KUku0+906pHbQA0BNvYrhk3h4zUf7SescjLQSXrGjyd7i6snstyS5686AslypduLBVnbyoLzsWNYbvzVV1G4t9A7/l8kEjvohAGzM3xq2V1hXt/RlirxP8vmTArXLMjTDNTZ4ZSJt/FswoonVmA7JC3mPLvRu0vO3RC9V3fbrBOzwtQjyGPhYlJI9TQsQsjERDY0Nfl05avESNeHxvmpOYmnOY3VYGpL2PsuwKmJQN0UkNOFd10HhgVOgvhfszST5BaZzVwKnfkEsledbAtOoZfm7+nAkgV+zMGS1QxpbwmrcqJZh3T5p1375/4aiNOth/omwUoapMw8jHM6Mt3GJOha997HeXR5cBqAy4rgI/7N7ujYvseEdm86BHHda1Nxz7PyzoMPpGStxi8fUXqrAzTx99gPzEktJ8yok8brwv/Qcn7zAXzajXQ2pxx653cu91hj7fKl7xxPtjJ/oaa9Y4ltRiskAp8bduTreYhssBnADO2l991QtVBASAghp/sEpGzG5xhb41ssitImVS1emIqYB2LMHUMAVY4mAYc3pqHaaZYEmeABIbpyERUiYryVvqy+oAmrU82ocx0yjDK+NPMcMcarrqXdlIgIn+e+ybEpzzqmp5n85+lxf5vLpyQTwPR+HtwQGV6KhdEoq68Vh29Qp+8mcM+8+y3+OhSO0C/fIeyD27nJ4EAQGRRglHpFZ0nSrKyffHIKMvhNLJA8N+B6wgU92Ci2K0iuY2wec5wqu1wKsz3XMVCcRZcWYL2S2QVEjKDNVci35d3+VvoappWNn/87eYO5KNa4/EkeQguyWUiYg6SUQ1SgwEAEX9OJhRkWaXY9ih30N2URodwLnt/jhluV9kJyp1sOvfxFxkqcT++4gW4T85Cdnn2PAiaQFBM99SlvRP5tdXUYb1sOLeYqt5l8NwJEnftCJX2iu X-Forefront-Antispam-Report: CIP:211.20.1.79;CTRY:TW;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:localhost.localdomain;PTR:211-20-1-79.hinet-ip.hinet.net;CAT:NONE;SFS:(13230040)(36860700013)(82310400026)(1800799024)(7416014)(376014);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Sep 2024 05:47:58.1933 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1c6583dd-d057-49fc-a905-08dcd15c2050 X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167;Ip=[211.20.1.79];Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: SG1PEPF000082E5.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB7179 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, Ricky CX Wu , Delphine CC Chiu , linux-arm-kernel@lists.infradead.org Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" From: Ricky CX Wu Revise to use adm1281 for HSC according to the hardware design change. Signed-off-by: Ricky CX Wu Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 24 ++++++++++++------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts index 98477792aa00..08d32e42286e 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -130,8 +130,9 @@ mctp@10 { }; power-sensor@40 { - compatible = "adi,adm1278"; + compatible = "adi,adm1281"; reg = <0x40>; + shunt-resistor-micro-ohms = <500>; }; }; @@ -147,8 +148,9 @@ mctp@10 { }; power-sensor@40 { - compatible = "adi,adm1278"; + compatible = "adi,adm1281"; reg = <0x40>; + shunt-resistor-micro-ohms = <500>; }; }; @@ -164,8 +166,9 @@ mctp@10 { }; power-sensor@40 { - compatible = "adi,adm1278"; + compatible = "adi,adm1281"; reg = <0x40>; + shunt-resistor-micro-ohms = <500>; }; }; @@ -181,8 +184,9 @@ mctp@10 { }; power-sensor@40 { - compatible = "adi,adm1278"; + compatible = "adi,adm1281"; reg = <0x40>; + shunt-resistor-micro-ohms = <500>; }; }; @@ -198,8 +202,9 @@ mctp@10 { }; power-sensor@40 { - compatible = "adi,adm1278"; + compatible = "adi,adm1281"; reg = <0x40>; + shunt-resistor-micro-ohms = <500>; }; }; @@ -215,8 +220,9 @@ mctp@10 { }; power-sensor@40 { - compatible = "adi,adm1278"; + compatible = "adi,adm1281"; reg = <0x40>; + shunt-resistor-micro-ohms = <500>; }; }; @@ -232,8 +238,9 @@ mctp@10 { }; power-sensor@40 { - compatible = "adi,adm1278"; + compatible = "adi,adm1281"; reg = <0x40>; + shunt-resistor-micro-ohms = <500>; }; }; @@ -249,8 +256,9 @@ mctp@10 { }; power-sensor@40 { - compatible = "adi,adm1278"; + compatible = "adi,adm1281"; reg = <0x40>; + shunt-resistor-micro-ohms = <500>; }; }; From patchwork Tue Sep 10 05:47:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 1982957 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=wiwynn.com header.i=@wiwynn.com header.a=rsa-sha256 header.s=selector2 header.b=fnXLu0z6; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4X2t6T4p6bz1y1l for ; Tue, 10 Sep 2024 15:48:33 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4X2t6T4bwLz2ywh for ; Tue, 10 Sep 2024 15:48:33 +1000 (AEST) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; arc=pass smtp.remote-ip="2a01:111:f400:feab::61a" arc.chain=microsoft.com ARC-Seal: i=2; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1725947312; cv=pass; b=R598rUpPI+97pH4gQHWR/PMxHgFNaIeVlmEsBvtl9kHZlR0EJE6uQtK0wQu3EZWM/Zq+iqlKIbn1QLR6mf7AKjqoZGY2djQw0JBTiqlXokP4vLAowOnvfI7KADeYcGKQOenAnoVX0UXfhFBZtYeOPuXamy6Q328UzSuIj1+4lP73QeOg2k9Vu6mYWQ99mC3kXtDxe7is60m2V/njgXdNWJ8X7Z8PI08cmHLGboVvMyH0U/3ac2MMKjOWLhZMFmsMQiXzCaHhPOtEBfkFvHkSBRTml29x3RsZft6NZ5e2DIVo3ufTtmOq/SZSQYm5E5rJZtzJxyQckTaCdFQ5uG1ofw== ARC-Message-Signature: i=2; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1725947312; c=relaxed/relaxed; bh=0HrVp9W8YT6MfcwWnQbdTmqpnzwBWn+1py39xGucwtg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=jbQOYMn9sWeC4WkJlxrbWqgYXNmzDpV/AkxxkDoUaHLb1vrTH6Hj8hKxAnOxl21cBg3yiSczK1U0etdCLHXyfnmjd7AciK95fN7/phmOvDO2W4unVQRvRe8xKbu/TjYKIigR4IKK+nELzJvcy2VP6pJmKl8nYsG+3rXTNCMiRRS8tTJ7WQjwe+U/4aYFjRlwnDenbc7jnnpo6MlNXTWlc+tiPT2IIJ6SnMgNvQys6piEk4eeVVWlmb30O/oWgbIuONnxiNtF0K3VNzGWmbW9VF21tLHFQ/jvtfkAQGOpE1MuOoz7b6/bo6KvIKKTyG6BGQWtM5XVqHRFHzmB3T7VLQ== ARC-Authentication-Results: i=2; lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=wiwynn.com; dkim=pass (2048-bit key; unprotected) header.d=wiwynn.com header.i=@wiwynn.com header.a=rsa-sha256 header.s=selector2 header.b=fnXLu0z6; dkim-atps=neutral; spf=pass (client-ip=2a01:111:f400:feab::61a; helo=apc01-sg2-obe.outbound.protection.outlook.com; envelope-from=delphine_cc_chiu@wiwynn.com; receiver=lists.ozlabs.org) smtp.mailfrom=wiwynn.com Authentication-Results: lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=wiwynn.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=wiwynn.com header.i=@wiwynn.com header.a=rsa-sha256 header.s=selector2 header.b=fnXLu0z6; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=wiwynn.com (client-ip=2a01:111:f400:feab::61a; helo=apc01-sg2-obe.outbound.protection.outlook.com; envelope-from=delphine_cc_chiu@wiwynn.com; receiver=lists.ozlabs.org) Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2061a.outbound.protection.outlook.com [IPv6:2a01:111:f400:feab::61a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4X2t6R61C3z2yL0 for ; Tue, 10 Sep 2024 15:48:31 +1000 (AEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=sbZH/D3a5YPanJ+YkS9fx2eMzh3sLrW1PvOH1XhlKZVLifiEiKH7xniFZnbQJAnEcl+ZVFpjPV+lPjm5AwBChodb2yHKGzjIByWCORsVWU1A8uJohiET74V501PodOBYWu85fQiS+EHRZ1waW1GXgOWeHk07PlAZPebVuid3F1rR1kq5O+pIIT1cbhV9ezfkR97xs0GllOQQP5GjT/LexcEZeJ3Xa7CSSWSSluvrUJg9GRWmiIXh5+c3xRy3HQCCu/vPXYQMK+OjXaz3hQsfPBebDU0ZWRSOrsBVAV57IPqw0mfU27XkSmSr2eU6ExxZb/aPh+qCwB83iTiFvGOiXw== 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=0HrVp9W8YT6MfcwWnQbdTmqpnzwBWn+1py39xGucwtg=; b=T89RSUhJAgudbBq77b68bLxpw2jU9kbZNXnTtqI3yCtHvtl2TUqjJ+pwABdWpyEQNQMfaM84JsZ3EkpVN0VRwRh7GxUXW9SL2k3wD7YFmSqXkweCdEILKqteiaEOVA5B8BWWZkOxG64rBmqLjQFbTnTsBvFcbWUtKdSbAC1BG/F1ks52w3hDdqhiwYzaauM/7owvtc8lf1CxV7hfctaljz4QZgwGtz7+5e4t0XhhQZjQJIxiHmGD33NHwdq0L/qqbhEbieT6Sgfp48t1Wv0fuEVVstZaeb2e/APOY4u421mGciQM5JsYrt7WtZmkMf62u26C6Q6s/YbDo+64Nw/ibg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 211.20.1.79) smtp.rcpttodomain=stwcx.xyz smtp.mailfrom=wiwynn.com; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine header.from=wiwynn.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wiwynn.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0HrVp9W8YT6MfcwWnQbdTmqpnzwBWn+1py39xGucwtg=; b=fnXLu0z6VX9Qc5nnicS9ycc2VsG1GCn01u02tqIPm65Z/kGwn56jIhCGCIwNEXlbKrmZdzW15PzIqiGpeVLO01qcIeh5kkgkmSpQjhODHHHvnVL9OwjhmkcI6vEnaIfWypZ3TL5zTnaX++TEpI1JzD8in/cjim5QQiR6vrJHCpUzdTeh4FIcPe6FbMZDslPiDK2sVpWnf/ZL9j3Z4Wy8PCCYwekMrYesktPSobmWQ43FFcEKpAqRc9owCaY2Jb6r2ftkHb2c6wCTOK/d9FH9J2q+zZARF/fEolhI9fRR/qr9H2s06RaOQH4geu2zgqM8tttC8ecWBHHqC8U4ti+R4Q== Received: from SG2PR02CA0135.apcprd02.prod.outlook.com (2603:1096:4:188::23) by SEZPR04MB7572.apcprd04.prod.outlook.com (2603:1096:101:1ea::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.23; Tue, 10 Sep 2024 05:48:03 +0000 Received: from SG1PEPF000082E5.apcprd02.prod.outlook.com (2603:1096:4:188:cafe::64) by SG2PR02CA0135.outlook.office365.com (2603:1096:4:188::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.24 via Frontend Transport; Tue, 10 Sep 2024 05:48:02 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by SG1PEPF000082E5.mail.protection.outlook.com (10.167.240.8) with Microsoft SMTP Server id 15.20.7918.13 via Frontend Transport; Tue, 10 Sep 2024 05:48:02 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Subject: [PATCH v1 2/2] ARM: dts: aspeed: yosemite4: Add gpio pca9506 for CPLD IOE Date: Tue, 10 Sep 2024 13:47:51 +0800 Message-Id: <20240910054751.2943217-3-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240910054751.2943217-1-Delphine_CC_Chiu@wiwynn.com> References: <20240910054751.2943217-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG1PEPF000082E5:EE_|SEZPR04MB7572:EE_ X-MS-Office365-Filtering-Correlation-Id: 55695325-4d13-40cb-ca14-08dcd15c22b7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|376014|82310400026|1800799024|36860700013; X-Microsoft-Antispam-Message-Info: ZJHM067KI1NI3hJBCATOgRVp3yqMXQ57Q1FxPcLfUUGhmeunKVsCjLNxEjUXybf0huvlEL4T65nnbORuC0sRxa7sf2121cmNziaNBzd42j1yJXEwAHibBc4JGp5YwC7eSL/TBA4Q8qgnl8OPfcnifNMXcOcBVV+rO34P51mZ7hjuNNaBIx2bF6UFn3eFqGZRB1SuCQb6kzGCjT6xTg/Z6G2FG5DP/HkHqdGD5TTpNu8tITsU5HLzvVHmPTMSvj1I6miCcFn0p7LHpFC8t8cQ8x0H14xUF8eCNue/NA0kZ5rETzXEhGBEVIiO+SOpZ5v6ROrXKQX1PqueUHpff1isrOswqTcrvHrcUd+cd3oBQ2SQ6cBr0UzIbQSRCjXT9g0XgQSufJ5GbTCd5m1izd/rWxco9LlBLQc+XoPwOxsAglS/xgYYwzXuUhwT/PPVBSPTAXgXEEZN4G3vbHkYvsjuwu8NMW9Ka8pc3CSqpq7E18tMbrELmYYnLtbobXndR1PlRTn59EfZ41TVo4xkedt0MRIFYz62lXR/VZWbxfFmh563iUTWUzntqzyV9Z3nf+WBHhv0rd6Q8rvgWlTltijgk3VzewqtW59Z2D2UU1Zo93BfF9LR1b8gjcMy0Rp39Z9orjkEn+ec8w+Q+/TRJ9MCQwgnTYKDaxr/7rC0BCxWH77TcIhO+tOwCkhsZHu0u90sK4ZQzSwfAi63PfDnhmZNckQdlSxB9j9KoVWyNBuf8oORzCq3yK91e+nm2cmAAy99J/RjNaHZ4FX8FoXf5Nb0dlwb6ANPmGUD0fdxd6ZNCX9TZbgna5KgqLbd3t/6VK3nDJszbiFXrWC4ErDeUQLxBD6ShoaH52uRyImNiJ/qWJ0hQQoot8UBo5+Q5XJyHIs0y7rdCX1hmfdKBvwFFfM0v3jWM6qw2efu9mG1zM5YFuHc7KGEZBVCg7TIiI5ksv+SCYTBwFj0X2Y37LTFrdn/bNdht6Kp5hgnqfHshI3jXHYTv8kmnsXm6O5x6+8Zh5katBUL9UN4P2X++XiviVXFuABxup/qdSm3odyPfPLpVKqIvZ+2p4trvkiq2O4WYAqlR7Yt3MQX0eUqRLQEQi/KFVS6kuD8sNc8RddwmIU4btfbQ+iZYs0Anaea8cJ2+IuKHuje9UqWwpR56Q6Vw8OV8zNg8WdI74UTMhgchicEP8MyZmaIkMUndPwPza8NQjPgMWEvCPmQJSC1LRDPdmIfzNMP2n28tcIxYJ5J2DOoFT78viaJVAoAuzTdONA/Y+gv0DXUpez2hbN8hNicwGbSysTqtRyEs9fif6PTbt6bdXX/k6UmmhQLnywgKgsHAlzZzZ67reFCrnVIinBy+fWHe1MVlOBm0xQRHpzSnluNB5JiMg+0x5q3Wg9bpW10QHL/wxRGaHbzGT+Z7qzr/7mUDbCfjuz1PkrMtbXv93FdO+LqXScO35fImM+b1+If2myL X-Forefront-Antispam-Report: CIP:211.20.1.79;CTRY:TW;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:localhost.localdomain;PTR:211-20-1-79.hinet-ip.hinet.net;CAT:NONE;SFS:(13230040)(7416014)(376014)(82310400026)(1800799024)(36860700013);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Sep 2024 05:48:02.2090 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 55695325-4d13-40cb-ca14-08dcd15c22b7 X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167;Ip=[211.20.1.79];Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: SG1PEPF000082E5.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR04MB7572 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, Ricky CX Wu , Delphine CC Chiu , linux-arm-kernel@lists.infradead.org Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" From: Ricky CX Wu We use CPLD to emulate gpio pca9506 I/O expander on each server boards. Therefore, add pca9506 to probe driver for the CPLD I/O expander. Signed-off-by: Ricky CX Wu Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 252 ++++++++++++++++++ 1 file changed, 252 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts index 08d32e42286e..9d2efb5f2f67 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -129,6 +129,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@24 { + compatible = "nxp,pca9506"; + reg = <0x24>; + gpio-controller; + #gpio-cells = <2>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -147,6 +175,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@24 { + compatible = "nxp,pca9506"; + reg = <0x24>; + gpio-controller; + #gpio-cells = <2>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -165,6 +221,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@24 { + compatible = "nxp,pca9506"; + reg = <0x24>; + gpio-controller; + #gpio-cells = <2>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -183,6 +267,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@24 { + compatible = "nxp,pca9506"; + reg = <0x24>; + gpio-controller; + #gpio-cells = <2>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -201,6 +313,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@24 { + compatible = "nxp,pca9506"; + reg = <0x24>; + gpio-controller; + #gpio-cells = <2>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -219,6 +359,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@24 { + compatible = "nxp,pca9506"; + reg = <0x24>; + gpio-controller; + #gpio-cells = <2>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -237,6 +405,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@24 { + compatible = "nxp,pca9506"; + reg = <0x24>; + gpio-controller; + #gpio-cells = <2>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -255,6 +451,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@24 { + compatible = "nxp,pca9506"; + reg = <0x24>; + gpio-controller; + #gpio-cells = <2>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -385,6 +609,34 @@ ipmb@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; i2c-protocol; }; + + gpio@20 { + compatible = "nxp,pca9506"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@21 { + compatible = "nxp,pca9506"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@22 { + compatible = "nxp,pca9506"; + reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio@23 { + compatible = "nxp,pca9506"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + }; }; &i2c14 {