From patchwork Mon Aug 26 06:24:01 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: 13777152 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 D7EF8C5321D for ; Mon, 26 Aug 2024 06:43:26 +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=3pXz7BSWZBdMOtEGyFa/mxHhT1h94fl5HKQ6bKEYhdI=; b=yqToj7M8CQ8nMsLP7FC+oC2w6t 4b7hX8dZpUz8pCtFt2Ji2r13ZlvC+SPVOD99+jIarkup0iuwx0BZyPSN4Iv94ZHzanVi55CcG2+Uq nlsheoMEb0wCdRbe74IRgChCdtkGu+kzhlVkW3q/ZbVEEMpLaPfmHFpavxvwQw4YsCUOtTJGCUPg5 XUWTd/jZpVMe7JPaoYKuT8DFNbjIKBvccnKNmcpQvwEmjGmF2QJJ/gooaXmdae78G1QTCW+jHSuN0 LC6GblsoXuX5AOftNXwUAGQGZdTZU+AAuwrU2w9PdxdlQTRbRzaz8++ttd7pTJzCfFToFPFuKQUz/ OAbb6fiw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1siTRe-0000000663y-0Dyw; Mon, 26 Aug 2024 06:43:18 +0000 Received: from mail-eastasiaazlp170100000.outbound.protection.outlook.com ([2a01:111:f403:c400::] helo=HK2PR02CU002.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1siTBe-000000060nH-19gG for linux-arm-kernel@lists.infradead.org; Mon, 26 Aug 2024 06:26:48 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=NuXpaHWBTlpg+QWsDD1FrrCdHVKmEOVQb7MNr6st42kOIUrAvcHVxLHs56jISRT76aHlev+D6H5YjlS/7FiRZ1g3xcBtBbcyXnp1I4U3HghPd2/bxng5zlTTGh5LZEmyVVg3IWQkLhh2m9VUz9IOGQx6qvl+JgTHk0eRBf8aAw6nt2Gjj6BdLRmSOJCjfE4CzkbHU85PPHjeFJA2CHrd6g5+rZq2xWyaP3UVXY6wcFTeG68RIbgcvnDrAGEMngVjL2M2wLDDKMfYBf6lH5+DfYprgJIz+jlbbxiE3vPdMBE1PMIens4ixb0SIo00NBfnwV52GrOkKd7/9+3rDAI83g== 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=3pXz7BSWZBdMOtEGyFa/mxHhT1h94fl5HKQ6bKEYhdI=; b=E1sXWTBpT7w3Dp/LkTl6WaKn58wO0FmA42iHvDIPjkWEHVpTCkFmkvRNRr9DzeIMuuZacfeBkN/6Gm9yoe5zH4Ct8H978LDa+L2PffAY9YVa6Q05D26k6HtOY5dyJJsty1rknbqo+XmBOwW7PyHB66b3Kbz0uf1k6UA/WPHObhiFtSuZCDsN7lZD1KW/93LTQx0ve0xuThDpqRBg86997+r5wyYp6uDtunIai7voPFcSuhGB2idR9JOxNrPfv7LLEt2lrFxUNfE1gY6J/j/d0dWJbiuvMTB2u5m0CKxKYtuhRTBAroexhUCPAuk4aG6Dt362EXZJnH5egmjAu3NxCw== 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=3pXz7BSWZBdMOtEGyFa/mxHhT1h94fl5HKQ6bKEYhdI=; b=gLB6giVTveKBqwmklKK1QAWkr2xfHshh4EzWJFx24jBbZFrbc7+639PJDpbZcolyjwfFNT91h9FF8czppNBVnCXI07NNlhYG9EqcMRGEU2/jHXqFASeAaGt7gMcWEWLf4R8bi4cZ/vJOz7oxGA596E4Z9Ah8IOQosOnykgB3ux/9QBhpMYPylwUXxUrfOcz951LbTUFrMmB3U8ZGZLPdY3FQbpeyv5cB8gc/odUcDtBpuTwEhkP/7XNBjAJ3czeCiqOWONKZbIhGt84smY9ReHzzUomUYwCCqdU25xXn/2AbEjI32WPLj6XvbKMHWcI7gNtNRkY7g9JKQT9CDCHnLA== Received: from PS1PR03CA0014.apcprd03.prod.outlook.com (2603:1096:803:3d::26) by SEZPR04MB6300.apcprd04.prod.outlook.com (2603:1096:101:a4::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.24; Mon, 26 Aug 2024 06:26:39 +0000 Received: from HK2PEPF00006FB0.apcprd02.prod.outlook.com (2603:1096:803:3d:cafe::a7) by PS1PR03CA0014.outlook.office365.com (2603:1096:803:3d::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.14 via Frontend Transport; Mon, 26 Aug 2024 06:26:38 +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 HK2PEPF00006FB0.mail.protection.outlook.com (10.167.8.6) with Microsoft SMTP Server id 15.20.7918.13 via Frontend Transport; Mon, 26 Aug 2024 06:26:38 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: 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 v14 27/31] ARM: dts: aspeed: yosemite4: Adjust ioexp bus and remove mctp driver Date: Mon, 26 Aug 2024 14:24:01 +0800 Message-Id: <20240826062408.2885174-28-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240826062408.2885174-1-Delphine_CC_Chiu@wiwynn.com> References: <20240826062408.2885174-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FB0:EE_|SEZPR04MB6300:EE_ X-MS-Office365-Filtering-Correlation-Id: 0c66b306-1717-412c-fa1d-08dcc5980acd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|7416014|82310400026|36860700013; X-Microsoft-Antispam-Message-Info: 06OjCDNzMDraeHGIe2IxmGC/Yjx4toa6rf9z27MQ4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6X8byUVJcnyHEHwfdNUAcuxexYZa++tG7uoYjN0iQVcYL/G5cjI+yfHr1mgKUCHO7rzXWJnLWOqVy9cWKo6ZRoJ5yG4hD6IpG2kEkUeupb2aH0Ij1EsmG99tA6rIF3eGuCcan78kV4JYaJUl2nNn+n/HUmGwt4tV9bzLvP/EOUxs8KmxWvHhWgHfItGB5tYvhY7kXqfSR0GGjk5xXuEGbUkpkDLxxj/k/ALAwM15YKbLPfNYCIldIF7nlI35LAoTVoakixJfTGsSBgF6hmbQbun2k/VU64l2eoYPbzm4GSHsph2VIgeZeXT3zRe8UgQ2S9oQgCCqSbuuoKtBmaxdRg5sul 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)(1800799024)(376014)(7416014)(82310400026)(36860700013);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2024 06:26:38.4552 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0c66b306-1717-412c-fa1d-08dcc5980acd 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: HK2PEPF00006FB0.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR04MB6300 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240825_232646_344747_F10C4829 X-CRM114-Status: UNSURE ( 9.16 ) 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 Adjust CPLD io expender for PVT stage. Add GPIO name for GPIOO7. Only binding MCTP driver on the down-stream port of the mux. Remove unnecessary driver binding since there's no MCTP device before the mux. Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 59 +++++++++---------- 1 file changed, 29 insertions(+), 30 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 f139f426099e..abd4a9173de4 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1156,6 +1156,34 @@ rtc@6f { compatible = "nuvoton,nct3018y"; reg = <0x6f>; }; + + 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>; + }; }; imux35: i2c@1 { @@ -1188,34 +1216,6 @@ 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 { @@ -1470,7 +1470,6 @@ adc@35 { &i2c15 { status = "okay"; - mctp-controller; multi-master; bus-frequency = <400000>; i2c-clk-high-min-percent = <40>; @@ -1680,7 +1679,7 @@ &pinctrl_gpio3_unbiased &pinctrl_gpio4_unbiased "FM_BMC_READY_R2","RST_SMB_NIC0_R_N","","", /*O0-O7*/ "AC_ON_OFF_BTN_CPLD_SLOT8_N","RST_SMB_NIC1_R_N", "RST_SMB_NIC2_R_N","RST_SMB_NIC3_R_N", - "","","","", + "","","","FM_BMC_SLED_CYCLE_R", /*P0-P7*/ "ALT_SMB_BMC_CPLD1_N","BTN_BMC_R2_N", "EN_P3V_BAT_SCALED_R","PWRGD_P5V_USB_BMC", "FM_BMC_RTCRST_R","RST_USB_HUB_R_N",