From patchwork Tue Jul 23 09:23:08 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: 13739813 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 83DDCC3DA49 for ; Tue, 23 Jul 2024 09:34:16 +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=RgCuUvo/yAgNVP5eI2mqMzOP3d ubaKle0LyreIkiXJW0rlDRP83jsg6oqWae6Rud4PGUZczHOPJP00EoGm1c4B3cFqwt5qlPy+u340I pp33HeMGQksmqhXAtlK5eTMfu2AYVNpB6DncTZI13ItCKWTzUYWhN4zKMh6+9FXNMnieTOw8sITZ2 J12IoiYqIyhWQRKwoRvCyuLdA9eF9tk0rg7YC2vs1ZlhgmlnM7bfy2Ji90zb2IWrlTpJqHZwmu1Vt Z26YKHnbibn+/uz7ET6a4NF13mnBdOb6uXUyoWmWZUmqGnc1skzS9pE46SJP2sn8jwxRO3efyOf8e n6OgiBKA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWBuI-0000000C2Oi-028M; Tue, 23 Jul 2024 09:34:06 +0000 Received: from mail-sgaapc01on20606.outbound.protection.outlook.com ([2a01:111:f400:feab::606] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWBlX-0000000ByXo-12sB for linux-arm-kernel@lists.infradead.org; Tue, 23 Jul 2024 09:25:04 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=SEi39O22J3/ut7RGbwySz75Ffh0q4AqM4x0rezbcIOlPTJOLvlas2V8U4CJS8ws4zfHODBC/W1Wszvs3pIekxze8H2t+x9fWndLoQ1XHvUJTnE8/jWvqnHcBXHBXVP3ou+wDSPouO99V7v8vWeXaOE8UPX0ffKVTMjQdWp3CNYUGy46eocfsJPzYAskIbce3pb8re/2GianuO1XbbN5O+j+w7ILxMga6kp/ZcKFA0ei+tPIFpRUBQJK8R31gicA6pAV4WUL9Pxh9PF/3x5T8w4uk3uft9Tz3kgbc7OpM1Pb+J1gSP8K9PE1JXWjEzUqBgOAO15FbdJuRxO9/aplHNA== 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=Wryd+S9jfurebBmsalblHGfnCqFFsUYvB1WAJzsHhuCQc9qFsm0qJMaBd/ZgxXGnNRGdzCFGQB8izOrRWVJfZYJF0z8BO1XMt1XNOrGhiFb07Rjxa5GNhm1nJaob4FV3sgbeGywl5/o9WyCjtFMmJGjg46H8zxlmFYniYnkMYDv6dmEvnsz2Uu10B8ZCIioUf92BmCwBrMnE1s0FDbh1p5/EDrZo6JfKKJ1sSiATAYJEUQtdHoKCl/2W1MWHx/aGO0dXMVDPH1vs+MVn7qRFOyQvJjzlaIuDewxPWqoBbIOt5XGTflvJ3nGIwhGDzW+/0Vs6SEI6rQdUKlxnaL3Bvw== 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=pLcoz6tSUgZVejfxIr3L4Qh6L5Jwz+mGO8tYbzmFiyHA4Cv/ayenl0/EKpC8rjVwxn+gDENDsml0fzv2Et8kn+kFmMfw+1JqSRj0Ifceckv62o+qDAkB7aD+q9LQkeW6fyMlt0z8LD+O5bZkJQS5Wf+Rig0ygZPyPgaLhk+7drTFTf2UH2GZw45AOZGXErpD7Grsy+fcsU7EYHkJ/hoYTTMyMr10NuXGl0aDZwQ1fOqXBbIokqq1a46oBA3C530axtnP7pNou6GPWna9yiRRUkRrdqNIZWLBj+snc287Jw0nxjEvIDhOezMabgigvmK9714Kh9Z9S+eWwcJCBdvFww== Received: from PS1PR01CA0019.apcprd01.prod.exchangelabs.com (2603:1096:300:75::31) by KL1PR04MB6734.apcprd04.prod.outlook.com (2603:1096:820:d8::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.14; Tue, 23 Jul 2024 09:24:56 +0000 Received: from HK3PEPF00000221.apcprd03.prod.outlook.com (2603:1096:300:75:cafe::71) by PS1PR01CA0019.outlook.office365.com (2603:1096:300:75::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.20 via Frontend Transport; Tue, 23 Jul 2024 09:24:56 +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 HK3PEPF00000221.mail.protection.outlook.com (10.167.8.43) with Microsoft SMTP Server id 15.20.7784.11 via Frontend Transport; Tue, 23 Jul 2024 09:24:55 +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 v11 27/27] ARM: dts: aspeed: yosemite4: Adjust ioexp bus and remove mctp driver Date: Tue, 23 Jul 2024 17:23:08 +0800 Message-Id: <20240723092310.3565410-28-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240723092310.3565410-1-Delphine_CC_Chiu@wiwynn.com> References: <20240723092310.3565410-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000221:EE_|KL1PR04MB6734:EE_ X-MS-Office365-Filtering-Correlation-Id: 8ab6db64-d7a6-43b1-2b90-08dcaaf950fa X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|82310400026|376014|36860700013|7416014; X-Microsoft-Antispam-Message-Info: VW7JqU6fwj4+BnNuV2821N8n9RyqahLNHC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0xhxrisIvbI2EYpXrtB7jfPaeqXUAEuFrEXa8RdRq/t3TBQc3bQrL5k/MJzsgo9IjMHcnqs0l+vsFr88xjr69KvKqa4ez2n4c0RadeWao/tukGJlG4Bfcjj8D/0CA5o3t3pVZG0nRY0uJHlf/rvVlEEY3Dq2kjmjaoQHJ810z7dcUsvgutAUM8yCLVKpmFA30bLzzww+H2JVbJoebWJQp0jUm1F3ZEswG9+/FDds0ugu0Bx/4+iluWd2QU5Hn4o71pdiyKj00aCFW6TcUtuBKY/nwqvEzHkT89ufRTgwAgNMUYVNopK/W3GT4kXahi9ELnNpZcIIf0SVbYrAV2p95w4UI4pD4/H1FU3Yflh 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)(82310400026)(376014)(36860700013)(7416014);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jul 2024 09:24:55.9262 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8ab6db64-d7a6-43b1-2b90-08dcaaf950fa 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: HK3PEPF00000221.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR04MB6734 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240723_022503_320820_9095A5B4 X-CRM114-Status: UNSURE ( 9.09 ) 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",