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: 13797975 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 96D19EB64DE for ; Tue, 10 Sep 2024 05:49:36 +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:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-Id:Date :Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=8/XIy7eVuZj3SBMDgfGePU0xugPwcgrgy3mDvSWNc+Y=; b=gCn8TsyGM8RiT4s4UC/GElwYmw I4foyaOs8HDS/QTetmJE31DeuSowyH2oOu4uNRavi4YFz6U/BjgeBtuuSfTDoR6wKPs7ChLZP0GSv QG7UiF01r3CaxCUuZTCHxcb3MevanC7+aFm1Hp0yHk9gMlDAWKGtl9z2tmW4gLio3ivg/moNQx+9i Xrxm15qch0bQvulVGCQicO9naUPzBqYk+n513PEDhKEszEUT3tLFzeIpdaTDA0VKNqxHmqoDFA8sw zjnYFJcazdjjwT3CUB03MNOFVii1bqdeOpOvhqlWMXc4XZk72uGfFa55T7YI5IDSqiTAm6qju8FTp Rq6EB96A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sntkl-00000004MrT-0RGg; Tue, 10 Sep 2024 05:49:27 +0000 Received: from mail-eastasiaazlp170110002.outbound.protection.outlook.com ([2a01:111:f403:c400::2] helo=HK3PR03CU002.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sntjY-00000004Mco-3EgV for linux-arm-kernel@lists.infradead.org; Tue, 10 Sep 2024 05:48:14 +0000 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 Cc: Ricky CX Wu , Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240909_224812_837997_2C381B4D X-CRM114-Status: UNSURE ( 8.76 ) X-CRM114-Notice: Please train this message. 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 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: 13797977 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 92314ECE564 for ; Tue, 10 Sep 2024 05:51:38 +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:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-Id:Date :Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=0HrVp9W8YT6MfcwWnQbdTmqpnzwBWn+1py39xGucwtg=; b=ptwdzJFnaobEXx2HQuBFEqusJI a5YXUZWyMtRv2YCgdu+XyxllXMP44oKCVpnxstTFfeDaWzBmOsqXlZeHhch9E9zI+hZVv/HaX4xOt ElSRyMKgkyospgnSFA7W3WxhDArHHUgEmrvkZE7ePG8/kIqiVxwJYjrjzUpoDcYokFeAQRhcc1FCN G4dGpOypGist5o4NkzJ5+6S1jR90QlING9+zsW61miCQK93+9iPFwGkpAlj0ubh8xAnAxY9SUBgUv BdCssP51pFMXRl+J+JJZyayeWw7489DVCx7LFY5BmVVflj39Zx0nKnExO4OkonzRoOzNb10ZP1ZJe Vu2sTwjQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sntmi-00000004N9K-366Q; Tue, 10 Sep 2024 05:51:28 +0000 Received: from mail-psaapc01on20624.outbound.protection.outlook.com ([2a01:111:f400:feae::624] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sntji-00000004Mfg-0w4A for linux-arm-kernel@lists.infradead.org; Tue, 10 Sep 2024 05:48:23 +0000 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 Cc: Ricky CX Wu , Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240909_224822_293601_2ACD23B1 X-CRM114-Status: UNSURE ( 8.78 ) X-CRM114-Notice: Please train this message. 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 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 {