From patchwork Fri Sep 6 06:26:53 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: 13793434 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 C4032CE7AB8 for ; Fri, 6 Sep 2024 06:54:57 +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=mG+gG9cJZ1AjyDlIhFHWlUtJVz MLX/ZEqjLFiLd+qeFp5Y4fnouAiAHc75y0w7yLJS+6k/u6IyJXlT/ntNzj7+Iax9va3hK/hsaCz0n bockjlyy5C1u26U/T61OAgHzJMBqkDk3XhaB1pN0QLVz9XQ6bKWWU72L6ZU4Kl18FjeJYd+9dQ/nj c8H3xrlG/g3koYmbz83zkmUedxewKcDkW5G9Zp1FJlV0HW8JFB/SI2NwyDTNRb1p8o+15EOoDU42j K2WVO0c8KtDpeYnB3UFjxGtLT2cpeYTDowsL7VFe/Gn0LSrn6WP5z2sR8iGGcC7gvvSgBC326ei/J aaHnLL2w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1smSro-0000000AxZO-35hW; Fri, 06 Sep 2024 06:54:48 +0000 Received: from mail-psaapc01on2062d.outbound.protection.outlook.com ([2a01:111:f400:feae::62d] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1smSSx-0000000As4j-04yY for linux-arm-kernel@lists.infradead.org; Fri, 06 Sep 2024 06:29:08 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ff2N7pnuklZlMNUlA6DZBHKGUTjMSzMXiZoeZia4bQq0fe6iu17r6qMR6/GVdwMCBilZnQ+apA9iocW98TReKdzB5LJkBT9rhY/rbbJnfRvLATmp+uzZF50Af3MK4scVwhEmLQPiWPZllwV6uzBRmLWrN12ueovF6vDYW5vbvF6B62fi2KQS8p4shqoPvIvyV+UcmLquui0vMXgMfuLOc0tkrfurC43Z60Hy3UtgdqhmpBJ7nqN0fWP5Vuoz/iVZCXnEH9bpE151oHOS3ZRiVGkwD5LxXc+tHAVh59LvMFRSKDVYXxrgEeBeVP06kOsQsgugdW5U3PxQb8qKOjWnyw== 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=k0iz/UZeHI/9hiGOhLm1KZpV7zhKejw8sIfHsRmu2TaZM61fi95cxyUftghQVo7Qnv6rq880w8SjY9n2TrY+zx/uuzYxUcOC+IMZjZDm8PC9lEJtSOcK7e/XRPwisOPRDoGSwlxBXJTXUsuZpjOhNIpuc8eZOg+GvvgHlmwLMlHqV37887AS6C1AJqwK3kS28VXq+1ANaqEJ/5HH5kYEQ/WMGKy4TCHYrV//kNNo2AC3U4O2d2iscHfM+TI2QGDXeYGiS3IL20oYkFbXi937VpKPG7ES2CL8F9UHvg1phLLBYqh3+cFM+tCQboCj22LMjgrlySxK9y528eH0m36cDQ== 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=2SgE3DBDb7FN8nLkB4cu1/8SQ7e31KgYcOHYktgjD5lLn8rQIcFJI/ghpRid3jWH6fssVAMsgNHJDkswieQfaCOQIFD1h/a6LuNbLvN0tJrBm33cxT4oK6Q0phKug9c16hQ+pu/OowI1jz1Wc9oovusKmzlBthugBnTkw/zy3/AlWrwXWZECaahUkkFfLtIwxsKEb6atb5uY4yUEVc6b04YLQq0QmGORse/qCKW1gRgr1CD9eGz8GjYytE1efplvBB/W/JWasXUXJO+SBkKurU5UOl7QkkM8bcJto1O3ik1NbhLG0h6AfXr6Ff3GAycfx4iSSDUp3qsnWbf/35A+hw== Received: from PU1PR01CA0009.apcprd01.prod.exchangelabs.com (2603:1096:803:15::21) by KL1PR04MB7772.apcprd04.prod.outlook.com (2603:1096:820:137::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.17; Fri, 6 Sep 2024 06:28:59 +0000 Received: from HK2PEPF00006FB4.apcprd02.prod.outlook.com (2603:1096:803:15:cafe::c) by PU1PR01CA0009.outlook.office365.com (2603:1096:803:15::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.17 via Frontend Transport; Fri, 6 Sep 2024 06:28: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 HK2PEPF00006FB4.mail.protection.outlook.com (10.167.8.10) with Microsoft SMTP Server id 15.20.7918.13 via Frontend Transport; Fri, 6 Sep 2024 06:28:57 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , Geert Uytterhoeven , Magnus Damm , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org Subject: [PATCH v15 27/32] ARM: dts: aspeed: yosemite4: Adjust ioexp bus and remove mctp driver Date: Fri, 6 Sep 2024 14:26:53 +0800 Message-Id: <20240906062701.37088-28-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240906062701.37088-1-Delphine_CC_Chiu@wiwynn.com> References: <20240906062701.37088-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FB4:EE_|KL1PR04MB7772:EE_ X-MS-Office365-Filtering-Correlation-Id: 33fa5be9-5687-45d5-c39e-08dcce3d308b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|1800799024|376014|7416014|36860700013; X-Microsoft-Antispam-Message-Info: 9t4zpGMsN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rsjPs+g0crAND8UpmCHf1cPfrECZn39pNJcR1wqsZ4XsJucOLuEgd3sxZol6oQjRl3tMnp5RBrot1Vkk4kFkTLtMRFHZkTF2zu7B+NKq9QtLB/CR4YF6mPfzpnXMIjOG1J79wcKJt3VYeinZFHO1gnKTy255e+Zq4JXUqrN7SyXT9yKm2Xzpkpq8p3XBKSaW1dQouzxbSTi/i18EjU04Qvz9x+JlyLPh5uI6FINJjIJU5iEYD66RBz4p8ZP0DPtJTy7yovBPLRo091nIk+MfzEG3jyC86sHbWAX3QmNuQj0KEmeupZLJYV9Bw+A8D7Mk70CK55cwCb0A1C4R38wMkZVzgfZ2IDQkkKy1HvyaDc2nvjr81uP/v4d7odMcJeVfCyjFUJWbXBX 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)(82310400026)(1800799024)(376014)(7416014)(36860700013);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2024 06:28:57.9748 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 33fa5be9-5687-45d5-c39e-08dcce3d308b 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: HK2PEPF00006FB4.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR04MB7772 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240905_232907_084199_53486CF6 X-CRM114-Status: UNSURE ( 8.89 ) 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",