From nobody Fri Nov 29 15:30:02 2024 Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2042.outbound.protection.outlook.com [40.107.215.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 785C9158203; Wed, 18 Sep 2024 10:17:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.215.42 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726654675; cv=fail; b=fsnpw9rWv7Ua2cOslQA6MRUTGNcQRrcwyIww3cHPrjHFar+2fJ/n8KZF80Vr7R61kbvDL32FN1lFfhKoSrx1r6eIGI4SW7O2EiNzt4v6PuvLAzYduIaW+pdL3r2eFA9l++RCB+YXxVPA7kO6KqpmHmIUN8sgeQz7lnL9rzOMazc= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726654675; c=relaxed/simple; bh=7flvYi/oN/+XTtskYmopcbnnP89frKBVwqLG3aVlSKY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=P4dUKS7cWMFiXSbjvh/eTdytj5YhxFaPLDtPH705odvtrg73zB/HFqO7NzNN8d/mxh354LcHtz2FQmpvDJFgz+IVPhGgamWoyi65VjJvZ07FBUKid/FQDY3U+HADDt2JFs2sNko3WvpUqMZV/MzUm/Fg1hD/6DGHvvr2aRf6SA8= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wiwynn.com; spf=pass smtp.mailfrom=wiwynn.com; dkim=pass (2048-bit key) header.d=wiwynn.com header.i=@wiwynn.com header.b=abwE0vQL; arc=fail smtp.client-ip=40.107.215.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wiwynn.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wiwynn.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wiwynn.com header.i=@wiwynn.com header.b="abwE0vQL" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=AyCYw3qyBuJ1A3pXTit9cq2OnX33Q0wxn7YjbE4QOOv/PCGVOAxQfECsSeKBxNtg22e3KLOkX57g2wNRmcEZDaLwkItNj1hMQkjIPoaAp/Sg3Ttip3WhO8R3VlscYoJqgunED6Nft0k/9cEEVz+RQHzKCPz8KKBUNNDSf6FZTzX0TBXMX+Xs4BccSJRMNW8j2oj3LwiT2EBahgpbrKmh7jpTTy+RtEKbndAUUSCtZwm7WteJF+jgKsOI+dCWRgFjnWvY7R7/ND95RrP4tl2kRZ2BPvHfzimEOZqPDNgm7+ZISZV8vqaVOcpAXQQ5mhYc63CD2fTRx3MmvWMLYDAUWA== 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=zkHem+T3s/jRjK5q8eEkBmLJxtPEkG/EBologUthf/w=; b=MI5TGhNbxfgtSHdyI04fR1xmUH26RSjeKca32YAd78B5wsAbBZt+rTZWOe9EmE9KUNoaqkVcIYzw/C8yMwZ3s+2p0x+vgGgGTXAzcFslvvi4Z1Elc0HW+dClCjh0jYOpWkIjYUVbAVr9md7jftS6Rho0f55+0ny3JcFZH2z2C1GNdWLl4/9V0nXPtzew1C49o8+OmfKHxRbp/nLhQEFwrHyIu17XBvSXX3TleSbbWFTNS7ZRdNr2V9Xzko2z9F/LNaHqv1Lvay29wIoffuLZsbqAHG3+gCuKuoF7Ki/wQ+AJf7iwMzC6kAsJMnxUzw/e+TCCw5SH78ntXbKaqAcp0A== 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=zkHem+T3s/jRjK5q8eEkBmLJxtPEkG/EBologUthf/w=; b=abwE0vQLbmbIYNbuRBf7Vu8YlZJb3dREjEd6XeyP8vMH0ZCeE6mHKzmpDG7PPkSBLwa1cfBd/T0B0tTgPez87kCDOeMzOgyeqtyVb2ZK5VLaH8gHkeBT75FEzQrW5h36ydYzM7XPRoNL23mgrdyILdTCSiOiabYMbZQNxfi4JGMCLFZ8j8GRHknee7mkKsFl8LQ4IwhS5itZI1/13+GvDLp5vzvKXwAL5iyJOc8iGIh8CdSYZ8/BJ0DSjpOVRiW5EvG3enL2G/WDb+oscciyJ+NX49hPnaAd1WjThvb/nOb+LyFTJjl1hJdDBPsOX8iT3OnPWLE4eZcPzlbHq3tBcA== Received: from SI2PR01CA0015.apcprd01.prod.exchangelabs.com (2603:1096:4:191::15) by SEYPR04MB5954.apcprd04.prod.outlook.com (2603:1096:101:8f::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7962.23; Wed, 18 Sep 2024 10:17:46 +0000 Received: from SG2PEPF000B66D0.apcprd03.prod.outlook.com (2603:1096:4:191:cafe::28) by SI2PR01CA0015.outlook.office365.com (2603:1096:4:191::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7962.25 via Frontend Transport; Wed, 18 Sep 2024 10:17:45 +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 SG2PEPF000B66D0.mail.protection.outlook.com (10.167.240.26) with Microsoft SMTP Server id 15.20.7918.13 via Frontend Transport; Wed, 18 Sep 2024 10:17:43 +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 v2] ARM: dts: aspeed: yosemite4: Enable interrupt setting for pca9555 Date: Wed, 18 Sep 2024 18:17:41 +0800 Message-Id: <20240918101742.1346788-1-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66D0:EE_|SEYPR04MB5954:EE_ X-MS-Office365-Filtering-Correlation-Id: 6efe72dd-b084-4e7e-7d86-08dcd7cb230f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|82310400026|36860700013|7416014|376014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?MNd8zHPSEo/ChQ4b/2y+4jqRTmh4xeAnEZJvd7jx/Vgh2x776B9qV8LULNNY?= =?us-ascii?Q?OzJBEXxdTsbl7JeLOiCmmyIs7RNmsDM5wAKNXTS5cDQr1gohgRWiaRG8JyID?= =?us-ascii?Q?lx0yFM3Zj7BkF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m?= =?us-ascii?Q?9EsQuTJ5bFXbvsfwZIxefv39leeSuqVwKCNs2DiRrGNaTEqJ+m62VkoSRWRI?= =?us-ascii?Q?va9+lnfOy2qRWWAX3Hwi7ho8y43yaVHU5j8rfxfrVQZjDThRwxMlvteiAVcd?= =?us-ascii?Q?9tuhFWCf4I5nQp+pvrwZ68HAFY0jU5FO+LqheNE8m/TN+gz3UIxPH5X8rVNH?= =?us-ascii?Q?ncfiz9WGVkD7aXWDfcXwq5cdf8CATX/S5FhFKz8st3M5ePGq3WlvijeTaWmd?= =?us-ascii?Q?MbpMU6ZJvCIYrIWN1dHtKcK6piOKqkR3Aw+Djdpi8VYz3VEbhnQNfsE3S/JX?= =?us-ascii?Q?gCdr6iXrOb7Zh4BM6NjJQolrTqASUX4pCYiTAvvF+8iUlgfj+P1KpGkxJaCS?= =?us-ascii?Q?BpWK83xuHuxRzu4la+gfrZfxiZjc9FM2rA3IUL2wQQsyOS/kqV2bvt4z7E6Q?= =?us-ascii?Q?XW5j+pcQC/a5I98yQN79j4S8qnsutRzq?= 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)(36860700013)(7416014)(376014);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Sep 2024 10:17:43.8662 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6efe72dd-b084-4e7e-7d86-08dcd7cb230f 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: SG2PEPF000B66D0.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR04MB5954 Content-Type: text/plain; charset="utf-8" From: Ricky CX Wu Enable interrupt setting and add GPIO line name for pca9555 for the I/O expanders on Medusa board. Signed-off-by: Ricky CX Wu Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/a= rch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts index 98477792aa00..9292f42a39dc 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -298,6 +298,20 @@ gpio@20 { reg =3D <0x20>; gpio-controller; #gpio-cells =3D <2>; + interrupt-parent =3D <&gpio0>; + interrupts =3D <98 IRQ_TYPE_LEVEL_LOW>; + gpio-line-names =3D "P48V_OCP_GPIO1", "P48V_OCP_GPIO2", + "P48V_OCP_GPIO3", "FAN_BOARD_0_REVISION_0_R", + "FAN_BOARD_0_REVISION_1_R", + "FAN_BOARD_1_REVISION_0_R", + "FAN_BOARD_1_REVISION_1_R", "RST_MUX_R_N", + "RST_LED_CONTROL_FAN_BOARD_0_N", + "RST_LED_CONTROL_FAN_BOARD_1_N", + "RST_IOEXP_FAN_BOARD_0_N", + "RST_IOEXP_FAN_BOARD_1_N", + "PWRGD_LOAD_SWITCH_FAN_BOARD_0_R", + "PWRGD_LOAD_SWITCH_FAN_BOARD_1_R", + "", ""; }; =20 gpio@21 { @@ -305,6 +319,19 @@ gpio@21 { reg =3D <0x21>; gpio-controller; #gpio-cells =3D <2>; + interrupt-parent =3D <&gpio0>; + interrupts =3D <98 IRQ_TYPE_LEVEL_LOW>; + gpio-line-names =3D "HSC_OCP_SLOT_ODD_GPIO1", + "HSC_OCP_SLOT_ODD_GPIO2", + "HSC_OCP_SLOT_ODD_GPIO3", + "HSC_OCP_SLOT_EVEN_GPIO1", + "HSC_OCP_SLOT_EVEN_GPIO2", + "HSC_OCP_SLOT_EVEN_GPIO3", + "ADC_TYPE_0_R", "ADC_TYPE_1_R", + "MEDUSA_BOARD_REV_0", "MEDUSA_BOARD_REV_1", + "MEDUSA_BOARD_REV_2", "MEDUSA_BOARD_TYPE", + "DELTA_MODULE_TYPE", "P12V_HSC_TYPE", + "", ""; }; =20 gpio@22 { @@ -312,6 +339,16 @@ gpio@22 { reg =3D <0x22>; gpio-controller; #gpio-cells =3D <2>; + interrupt-parent =3D <&gpio0>; + interrupts =3D <98 IRQ_TYPE_LEVEL_LOW>; + gpio-line-names =3D "CARD_TYPE_SLOT1", "CARD_TYPE_SLOT2", + "CARD_TYPE_SLOT3", "CARD_TYPE_SLOT4", + "CARD_TYPE_SLOT5", "CARD_TYPE_SLOT6", + "CARD_TYPE_SLOT7", "CARD_TYPE_SLOT8", + "OC_P48V_HSC_0_N", "FLT_P48V_HSC_0_N", + "OC_P48V_HSC_1_N", "FLT_P48V_HSC_1_N", + "EN_P48V_AUX_0", "EN_P48V_AUX_1", + "PWRGD_P12V_AUX_0", "PWRGD_P12V_AUX_1"; }; =20 gpio@23 { @@ -319,6 +356,16 @@ gpio@23 { reg =3D <0x23>; gpio-controller; #gpio-cells =3D <2>; + interrupt-parent =3D <&gpio0>; + interrupts =3D <98 IRQ_TYPE_LEVEL_LOW>; + gpio-line-names =3D "HSC1_ALERT1_R_N", "HSC2_ALERT1_R_N", + "HSC3_ALERT1_R_N", "HSC4_ALERT1_R_N", + "HSC5_ALERT1_R_N", "HSC6_ALERT1_R_N", + "HSC7_ALERT1_R_N", "HSC8_ALERT1_R_N", + "HSC1_ALERT2_R_N", "HSC2_ALERT2_R_N", + "HSC3_ALERT2_R_N", "HSC4_ALERT2_R_N", + "HSC5_ALERT2_R_N", "HSC6_ALERT2_R_N", + "HSC7_ALERT2_R_N", "HSC8_ALERT2_R_N"; }; =20 temperature-sensor@48 { --=20 2.25.1