From patchwork Thu May 23 09:17:48 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: 13671517 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 2AA9BC25B79 for ; Thu, 23 May 2024 09:19:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=fefHsfo+dFvIHyUTgQ7R4mxvKJTMzz5xiHzlXJrMcfU=; b=WbBecbogP2NhHP B68vQTkpFSYSFlt7BsL36r8CfbN00mGU1Q7n39BL58Fy3iWDzwT3zOplsqsgMKeBHyt3GSclS0aNT 5LBaSQjC9g7iXexPZgPaOPghkmiG1yxN7GelYnRCjW+EZ2viw8hJ0DieNbPiFLC1f+lkuB3X1yODN eKYJwSwmRCGtAUC8bkuc2V6v2XG0VrjiPYoAXPpShRqredbragV85eqHEQ1JZO+F1r0XZFNzdTaYu +AK1YPNkjuIYn7G88Z03MvN/ocBOs5evcPn7eNNjTBiKvjOkpD0FsDizMUUGNG7kiQTxmyzhWRHn+ o3UQXmUIrx2gmXdS4B4A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4b4-00000005dMy-1wRY; Thu, 23 May 2024 09:18:50 +0000 Received: from mail-tyzapc01on20601.outbound.protection.outlook.com ([2a01:111:f403:2011::601] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4ao-00000005dBw-3Cbo for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 09:18:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Tz8LtdOMF3fbKi2t0dBaZd/j/XZbk+W3vTP0qDsOZ4lvV6uau9AgiqQx9FjxghiU2v+hixAgdqdkjAa0mudofntiwKzVyhqhBXUkT49YBcZfe9vbi2XwsBnOw4ZKonG0n0sM0lW0olmKv38Ll4PCG3qHqPfV9/5Dj0aAwnvBV/8Q+MKDDVaUxe4ZCPZnmXIvzMVgY5zapN/eyclRt7c0EEeLvbcl0nKcOSkIV34CfsSJrlEnE0+/xDaPqE3Sd4c442oq1bCfFSUUnw+enBU0ccW4Pf09x31qvvjG1b3cWNDh5Y3EhUueatDmUW7uNOhTY/Xgw8g3hRGYeVsUiKUxNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=vF4Vr+mnAo6sL4NqnPknKFu4wSGhcaCxskXcr5n8QwA=; b=btxm54p/qlDBKsSpt7qTROdodk5l+9Ggh+etN9ySKMpleSr/zLyrjhEj3INk3zqHQc7FfbHuEOt4Z9y6IVDGyJsaKa6/cJPlbVgPwALwkCaTh9LXwINsAyU5CCB9oq5OujjW9fsGlOowRmO/KmuGTxnoTYs9v2h520DKZJihWsqzDhFO3Q9HXz4L2qhifRYF3NMWl5J9z+cl8+isw4wErgPlMNHA3ki0L/MU7DPTYu5VO5504/WZxbEaTaF3L7xxqjHbDzk6Im20fouE3mmOh8abrpRZHRPACnRjM++eLSPuX66lyR/wUk6+aeDpp/7iDslwqyyx1D5kX1f39tcAwA== 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=vF4Vr+mnAo6sL4NqnPknKFu4wSGhcaCxskXcr5n8QwA=; b=rKgVTQ4ZrPRK87sZ7pt5OxXjj6tMoRWkaA/istJjTrbrbe4GNC4sXNeSpFe4pEl3YqqPEjOrnVlPbiVF/Nw7+ydQQL987rxulnKPJffjb25OWrPIUE8vxVf0XvbiFMzSJKVQrAbNQI9YS5/KNv4ScKf3h+1UuNAPTATImzIHMkLogibtk0ZJRXWcIOW/zOxXMIIU8v9Rdoqv4MAJkAL//nNQUgzFsBSZVYwNOErezEFTzu1ToHUtOVVWvYROpTPagM5R9OufA9afns1J01geTZ/7VboxbOxWz8tAo4z+qhw1w79wlC60mnx5nOWQmVZgk++cLMOTnhUuNTkC1LUK2Q== Received: from PS2PR03CA0010.apcprd03.prod.outlook.com (2603:1096:300:5b::22) by SEZPR04MB7314.apcprd04.prod.outlook.com (2603:1096:101:180::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.35; Thu, 23 May 2024 09:18:20 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:300:5b:cafe::6d) by PS2PR03CA0010.outlook.office365.com (2603:1096:300:5b::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.6 via Frontend Transport; Thu, 23 May 2024 09:18:20 +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 HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 09:18:20 +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 v8 01/23] ARM: dts: aspeed: yosemite4: Revise i2c-mux devices Date: Thu, 23 May 2024 17:17:48 +0800 Message-Id: <20240523091812.2032933-2-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|SEZPR04MB7314:EE_ X-MS-Office365-Filtering-Correlation-Id: 98c1a482-15b0-4807-895b-08dc7b0949df X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|82310400017|376005|1800799015|7416005|36860700004; X-Microsoft-Antispam-Message-Info: f32gv6P3lMs3fpNsedpLqGpULynXaTwiXGxW6saexZnlZQLRbvlq6SJ8zpZQBaJeeYc2JmGyYB8EOCeaw9CvWtUCFkmnrBGWO3VVCiuKcsEaQh6EAU9hdnc2UKBZROghhCz+406TE6xSfJmOMr1Pkirqonk09PfM+tVgjFVpT407OAUcgeZW+NvypK9opI4TkZ8EV2Y2ef6fR4XB7n5MeZ6zBbCqFNMixTKt9fui0KsfT6q2U+sryIko4xZrzgGL8AXSRugtc5aL5N7XXVZy0N0A0NWHtwC2QopQMpRRGXA+jmo74b9/GOp7z6O5x6dNaBGZ9ZF4/hDU3a3pfzNeE513B7lmLZySJ1T6ZHxu5b5AEpJzrryQ+7IHaKsf2vIrBzhWm2f8gnkPWSqAHRRTp2cP0Beg+Gcjqk1P+icDjUQRk9OlSLy/X8gQEKbbsGEi/qW4Xc9g4TTUeMMjCRaYR/guFN6IycssOKGcP14weMFtAyQjpRmnivjTW6gTGD69GGi0n837xnZVzLzVqEVekJGTCJ9ne5v/rean3h9ciu3NRG3s+Nvks4390+jhJZ4SyFVMIUPlG+FHmBtv5hRv95/GJvHmftpW9+aYVe6VUu7cnkPDULMWPmqBATdtHofPtmQ161e06eJrndOg5whiqSyihEDr7jEZXvgqQDVnEYLR1jVnbyfrueLBXrlKxK2jmVjn/4ErRpriJbxxizrCukkcR0YB/9VJFD1zYZZc5P2xpY/oDLN0OSNT9iLawhrlqIl1b/Z/l1ltlhBX5DkXCLZOk5AqEnnuDSWcdvCd/sYisZgI8azVo9BX5IBZEf3EaQc2rkWEwdA6CEZKK1hXGPhU1ecdNi1L6nYsMGuVJ8++prxxFuBW/jHeZLAQjaPl1YKOceW5EinJKMuyrK7JZAo4ihlBH8TvR0bZv4/wrFHMohCpipbChDC++eVD2URdigyAD+piyEysYR45P0Hlj18wLQ5yURSohHIwr1bnfWRNyjG55ZUlb06JJFoLUO7sozRshVO8BEcBiU2omsG9gILJ6JTuISA1sQ6Q6ZIHHf5s5KtEa1UC8bMuZ1tyLWP1EBxiD+g7+V3mMH4PAsGOdbDqzpHcwKfnj0pN8pmpbPZUFF8GwJy9LfElpd8P8ZGPsPN36RrpyqkOnwwsyJX5L6eyYn3Y+B4FJoAMtjuVh2KvAxZx/Y0rUx71dHjvxAVOiapXc7HcbViZEeMkgDFNkztRdLft4TSXI77Pd4rpFa1k/X34R6K2Hmms++rdwsq0iRVa/R4mP8kNFdKX7zal5gYBWpcE/R86WRBitV9t0mJ9ycIHkx9xjBufVwXG4Tprjh6MsLKG6DgRnUOaLWBRZv+sSN+Ur5k8m+iv2YY+7dM= 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:(13230031)(82310400017)(376005)(1800799015)(7416005)(36860700004);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 09:18:20.1888 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 98c1a482-15b0-4807-895b-08dc7b0949df 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: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR04MB7314 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_021834_969923_0D1EA31E 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 Revise Yosemite 4 devicetree for devices behind i2c-mux - Add gpio and eeprom behind i2c-mux - Remove redundant idle-state setting for i2c-mux Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 381 ++++++++++++++++-- 1 file changed, 347 insertions(+), 34 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..66855efa0b4b 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -17,6 +17,25 @@ aliases { serial6 = &uart7; serial7 = &uart8; serial8 = &uart9; + + i2c16 = &imux16; + i2c17 = &imux17; + i2c18 = &imux18; + i2c19 = &imux19; + i2c20 = &imux20; + i2c21 = &imux21; + i2c22 = &imux22; + i2c23 = &imux23; + i2c24 = &imux24; + i2c25 = &imux25; + i2c26 = &imux26; + i2c27 = &imux27; + i2c28 = &imux28; + i2c29 = &imux29; + i2c30 = &imux30; + i2c31 = &imux31; + i2c32 = &imux32; + i2c33 = &imux33; }; chosen { @@ -259,9 +278,109 @@ &i2c8 { bus-frequency = <400000>; i2c-mux@70 { compatible = "nxp,pca9544"; - idle-state = <0>; i2c-mux-idle-disconnect; reg = <0x70>; + + imux16: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; + + imux17: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; + + imux18: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <2>; + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; + + imux19: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <3>; + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; }; }; @@ -270,15 +389,174 @@ &i2c9 { bus-frequency = <400000>; i2c-mux@71 { compatible = "nxp,pca9544"; - idle-state = <0>; i2c-mux-idle-disconnect; reg = <0x71>; + + imux20: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; + + imux21: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; + + imux22: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <2>; + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; + + imux23: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <3>; + + gpio@49 { + compatible = "nxp,pca9537"; + reg = <0x49>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; + + eeprom@51 { + compatible = "atmel,24c128"; + reg = <0x51>; + }; + + eeprom@54 { + compatible = "atmel,24c128"; + reg = <0x54>; + }; + }; }; }; &i2c10 { status = "okay"; bus-frequency = <400000>; + i2c-mux@74 { + compatible = "nxp,pca9544"; + i2c-mux-idle-disconnect; + reg = <0x74>; + + imux28: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + + 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>; + }; + + gpio@24 { + compatible = "nxp,pca9506"; + reg = <0x24>; + gpio-controller; + #gpio-cells = <2>; + gpio-line-names = + "","","","", + "NIC0-MAIN-PWR-EN","NIC1-MAIN-PWR-EN", + "NIC2-MAIN-PWR-EN","NIC3-MAIN-PWR-EN", + "","","","","","","","", + "","","","","","","","", + "","","","","","","",""; + }; + }; + + imux29: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + }; + }; }; &i2c11 { @@ -440,16 +718,14 @@ eeprom@51 { reg = <0x51>; }; - i2c-mux@71 { - compatible = "nxp,pca9846"; + i2c-mux@74 { + compatible = "nxp,pca9546"; #address-cells = <1>; #size-cells = <0>; - - idle-state = <0>; i2c-mux-idle-disconnect; - reg = <0x71>; + reg = <0x74>; - i2c@0 { + imux30: i2c@0 { #address-cells = <1>; #size-cells = <0>; reg = <0>; @@ -457,26 +733,26 @@ i2c@0 { adc@1f { compatible = "ti,adc128d818"; reg = <0x1f>; - ti,mode = /bits/ 8 <2>; + ti,mode = /bits/ 8 <1>; }; pwm@20{ - compatible = "max31790"; + compatible = "maxim,max31790"; + pwm-as-tach = <4 5>; reg = <0x20>; - #address-cells = <1>; - #size-cells = <0>; }; gpio@22{ compatible = "ti,tca6424"; reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; }; - pwm@23{ - compatible = "max31790"; - reg = <0x23>; - #address-cells = <1>; - #size-cells = <0>; + pwm@2f{ + compatible = "maxim,max31790"; + pwm-as-tach = <4 5>; + reg = <0x2f>; }; adc@33 { @@ -499,34 +775,34 @@ gpio@61 { }; }; - i2c@1 { + imux31: i2c@1 { #address-cells = <1>; #size-cells = <0>; - reg = <0>; + reg = <1>; adc@1f { compatible = "ti,adc128d818"; reg = <0x1f>; - ti,mode = /bits/ 8 <2>; + ti,mode = /bits/ 8 <1>; }; pwm@20{ - compatible = "max31790"; + compatible = "maxim,max31790"; + pwm-as-tach = <4 5>; reg = <0x20>; - #address-cells = <1>; - #size-cells = <0>; }; gpio@22{ compatible = "ti,tca6424"; reg = <0x22>; + gpio-controller; + #gpio-cells = <2>; }; - pwm@23{ - compatible = "max31790"; - reg = <0x23>; - #address-cells = <1>; - #size-cells = <0>; + pwm@2f{ + compatible = "maxim,max31790"; + pwm-as-tach = <4 5>; + reg = <0x2f>; }; adc@33 { @@ -554,12 +830,10 @@ i2c-mux@73 { compatible = "nxp,pca9544"; #address-cells = <1>; #size-cells = <0>; - - idle-state = <0>; i2c-mux-idle-disconnect; reg = <0x73>; - i2c@0 { + imux32: i2c@0 { #address-cells = <1>; #size-cells = <0>; reg = <0>; @@ -570,10 +844,10 @@ adc@35 { }; }; - i2c@1 { + imux33: i2c@1 { #address-cells = <1>; #size-cells = <0>; - reg = <0>; + reg = <1>; adc@35 { compatible = "maxim,max11617"; @@ -596,9 +870,48 @@ mctp@10 { i2c-mux@72 { compatible = "nxp,pca9544"; - idle-state = <0>; i2c-mux-idle-disconnect; reg = <0x72>; + + imux24: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + temperature-sensor@1f { + compatible = "ti,tmp421"; + reg = <0x1f>; + }; + }; + + imux25: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + temperature-sensor@1f { + compatible = "ti,tmp421"; + reg = <0x1f>; + }; + }; + + imux26: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <2>; + temperature-sensor@1f { + compatible = "ti,tmp421"; + reg = <0x1f>; + }; + }; + + imux27: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <3>; + temperature-sensor@1f { + compatible = "ti,tmp421"; + reg = <0x1f>; + }; + }; }; }; From patchwork Thu May 23 09:17:49 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: 13671518 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 7CC7AC25B7C for ; Thu, 23 May 2024 09:19:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=M28Hs1g/ytS1c7wCTTpTfonEkFNTEKErWGWnSh4g6u8=; b=AxrY9VEOuMlf8W arKH6K0507zPRJen95dPfciGEg9NmDVfLlKk8ozs/+pjGL/rY+LL3rcWRY0nzbhDnsBnMm/AflXrJ J8Uh8zMQb7yr2b6EemfE1QVvyc7HbiYfx6u5n6YPB+nv7/cCvSFphDakJUrpuZ38MmN/hx31V27uR TWs30HyccRJMqMhuXUkEWqfFfrxnKeI2EfjkPPGbgVXrmW7GaUkN3jHekkp/C2rYsIaz9w/oSyUC1 gL5y7KDoTrMCw2ZEVw1XLBtQKV8Qxlft6UWn/F9GEOypsFf+8eVoUylSH8MzwNKU59H9Ay6L5KvdB uvWd7py+B8dXIxxAKp2A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4b2-00000005dLh-49Jf; Thu, 23 May 2024 09:18:49 +0000 Received: from mail-psaapc01on20618.outbound.protection.outlook.com ([2a01:111:f400:feae::618] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4ap-00000005dC2-1J5m for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 09:18:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cjVuOKPGrh7s6VZgmN29IxLtt+E1NSQZ+90FCO78gkrcB3oc5NQuvGMZ/XJJaxXdzNDvvO9uJH8nERH3lqIhb6LaHlRvJ/u/jnbKAigAFxN/3AghLxoebOZ1TLM0vB39svgrtMpqgiSsKHfoa7fxYQZiyfhRht980574KubE5DUJnlN263jovwPUnIKZxjW6urzXqWbSoVUxmhWQLXWKMRT5AKEwODfcLjoRhqWyKvRFkm/w1cJ3EBixuoJwMJ8kXZQ/We62cEp8j0OB+R+Q8c/bd+IJVqfLb+X0gCtD0Hviis7UghkZkAkd19v9UUhO3ofwHAx5vV5fYIVFoSOSTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=CsZr14PNPmBXIPZ1202IghyP5Yyu1YMx3BAbXzof8TE=; b=aArcK89M6InGEJrAw+DPPZJDp5YUAXl6rCwd0ub10g630T/dLPVqTTDvUpFssklnPsrrYKcBvnaF0rFbzP7H+TvCngcHq/uLVbClfKHcON8dxrgr9SeCf+XrM7XJDy6qmAp5a7OKrc6m/deOvHBSq2Jpx5abOKMBq7w11ez2DSqoC5ngPeGhb2zNQ8LgFzga1odQJdz6U2uMA1A7NJl6kCUUXDajE+yeu4UECUeheH3I8WyYr7BqxuM1d8KDPRQERKZD4jd7564ug1wcyT7rHqTXppoN/R501S6cSVhVgkiGqv9Yz4+SSuUYtUOK6yvza1mJKcpcKPCKxW+9TZteMg== 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=CsZr14PNPmBXIPZ1202IghyP5Yyu1YMx3BAbXzof8TE=; b=bX4Pl8nrdVy4X4hTv4w0cpLyV9USb/eh8RFQRuH/fmDo95+4KH32cj859QFfSi8c+KgrjXjRo1+ukCNYMjayN0ujN3YPwoL7477Gv/oCOJWA4CcxZVh2zyj/u1il8qaFZWXPEFtuSDVxewr+ogScN8McbdILor16ZKrjJ2yegQlckhWn6xe+YYpp+i6JqX5jIuBxo/GrwGWUO20YToqtm8x/iirWIGgx3zzsdeI8QVy+kuATXzyDUJH5DKAbX6hwFvzh5sscfDCkR9NcZOv5XntdTzyrPPMkR34R+Qji0uta2YzUKJGOUAqdkkRoFrVE/cPMuHfhulfoWSIZHLszsQ== Received: from PS2PR03CA0020.apcprd03.prod.outlook.com (2603:1096:300:5b::32) by TYZPR04MB5680.apcprd04.prod.outlook.com (2603:1096:400:1c7::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.35; Thu, 23 May 2024 09:18:23 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:300:5b:cafe::69) by PS2PR03CA0020.outlook.office365.com (2603:1096:300:5b::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.9 via Frontend Transport; Thu, 23 May 2024 09:18:23 +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 HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 09:18:22 +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 v8 02/23] ARM: dts: aspeed: yosemite4: Enable adc15 Date: Thu, 23 May 2024 17:17:49 +0800 Message-Id: <20240523091812.2032933-3-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|TYZPR04MB5680:EE_ X-MS-Office365-Filtering-Correlation-Id: 81f66b82-37e6-45d2-3ba3-08dc7b094b77 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|36860700004|7416005|1800799015|82310400017; X-Microsoft-Antispam-Message-Info: FO0MNGT9esrzLlsS0JFtJiXr1BktaC9c6QEv/fWZm+20rL2C2H78yjV6TlJE/F/e32fm1/lk+JNllahq70hz+QOWvMEwBuMEJMZzROm/3SDDaDvMb1qmoZulkJl6pYcxBmXWE6Bu9b/+wKGOLmv0CKd2jVeqQsoN0OPRh1uGmyU++nT0bCReX1ZHVa1SLVPPfVddjjvOw/PRm2fDADWhTyeQNQe3rfcpgJ87ozZ2egKCf/2BaM5/Iv/BWqJP2vEQyzymfksCe9GdEQufTqy0CkHQo9Y4KssWc5HI1QdAEXXBq/P32YNJH3J2lFt5F8OTy98BhopSlzRTl6TKzLK3nQvvAq7Bp960WqfqNKo47Kp+uIJnR8EWFQBcHT6gBg04UUfA3rR0ZOv4kBMb5pjyoNqNMdEH9co0HSGEi5GDW5fIQNtlbuOx9I7tYpPMhAQD1wtzx8X919MR4Fi5aaix0PxakNKqbSS9ZGbnDbBSzi3Tpwa2MGRQg0t46PuirF4xHsVCZZqI1+6oKAdBnQh3D0b/80eYKNHhkYS3YxPB3vgy71NhjuTPyO4sdU8BjUelZ+2lbIFptkyeql53X7kP0rNlmFLGx67Ul4RTQu76896boDOX16ZwgrRsG0WDOiiDQ19SeP7rf6tQZS53fhE187zTWK1UctRslicz6U+VnDSzya7AY0VKrAv36VjEKJPNZ8Elal2qS98RxolPVWsph3nl+a/9vLlE7rPoF5uc/bmZRNemSBRH+x9xxAgBgOYBn1lU4sdKOUrkSeXsC9gCy9UNGNuXJqR6AOWhfbNe0ZlEr1JZJgP3BqwGIOXtr2ni3oQHDa8cm9BaTl1luWleIIYU8Sew6BV6WdTf9yQXcMV1Zcc0QjM/Ug+nO8k3Y6kZUa0Z2aExpXCtJpu3HOe6XP7U+cGps9lsjzYpiwCiOeIc9NnHub1q0RONecwiGe7CpWrNIQCE6hO6c5gcnrX7XUM6C+0qHONiEWpt+3hZY3uxC8UPcZ/Q+2FhqgZyy4wxQ/9q9uszYnQiLLlxrGkrxMCOtuxNXdMC6DvCFHbPNhgOETigkO7kQwJCyOG8r0dR7Ctfjvvb6zTeZv9xxYeJQjD1RDW8fgmhfJJNFFCpbUAjx2HfbzaodecmaSRe+bGgWFxNq0Bc0FGGBP8V4uZ+zrFq8lf6EJmiB+mmM89rOmfbWekKkz+4TD5d4CQEGWzrBk82hIolg8StxYusMSg3mcvoN1hekf7mw1OmldFozD2JcAQU7X69ikRP8OhMUCs31JMwGn3mYUt0IKwrup+Qh7xt6yD4Sg5ph8UtLOh1k5LBT7SjJALnIUToMNTnGRr4nFrUw/kgojaH2KwQuAxLz4xOivwwQw+cbo3U5m5eUJs= 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:(13230031)(376005)(36860700004)(7416005)(1800799015)(82310400017);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 09:18:22.8138 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 81f66b82-37e6-45d2-3ba3-08dc7b094b77 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: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB5680 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_021835_393489_6786651D X-CRM114-Status: UNSURE ( 8.71 ) 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 Enable Yosemite 4 adc15 config Signed-off-by: Delphine CC Chiu --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 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 66855efa0b4b..dd88be47d1c8 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -51,7 +51,7 @@ iio-hwmon { compatible = "iio-hwmon"; io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>, <&adc0 4>, <&adc0 5>, <&adc0 6>, <&adc0 7>, - <&adc1 0>, <&adc1 1>; + <&adc1 0>, <&adc1 1>, <&adc1 7>; }; }; @@ -925,10 +925,10 @@ &pinctrl_adc4_default &pinctrl_adc5_default &adc1 { status = "okay"; - pinctrl-0 = <&pinctrl_adc8_default &pinctrl_adc9_default>; + pinctrl-0 = <&pinctrl_adc8_default &pinctrl_adc9_default> + &pinctrl_adc15_default>; }; - &ehci0 { status = "okay"; }; From patchwork Thu May 23 09:17: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: 13671516 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 CEB37C25B7A for ; Thu, 23 May 2024 09:18:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=SoneRJkSW17Ey+Q4HmxAQiAiNMdYqmbL+pIA2aCYttM=; b=K4IjipXOMhWX4d AGI13FSo0UJ3DwZjJAYZezr3Y7CdRWmYL+C38i6rikb3rI3ltW0mh+aYV47LeYlMiENtjO5IaAhew Wq6OObvvEx/qdQ3S+MGYMqqDc8MjLG50nbZk3x6ha9kq3EBmiarblUB2CP3bcAxl/DtjSqudFZOql 0qxdF+dGWWpX0qH/5vbfRGRJ4ZeCb8Wu8LSh8GwtuIYfdbotcma7daD4+9aRqMq4SZa1ObKo/A/Yb +ETf/tcP04w4r7E1y2wDo096QTsnZTEPXTMsUphRhM0W3Ptg6PPoxw34Ip0RdxrtYWGkKzd29DLLs x9kSYzkBvyM4xlFPIgUg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4az-00000005dKT-3Su6; Thu, 23 May 2024 09:18:47 +0000 Received: from mail-southeastasiaazlp170110003.outbound.protection.outlook.com ([2a01:111:f403:c401::3] helo=SINPR02CU002.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4ao-00000005dBp-2tQG for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 09:18:36 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PDDFKEbk+UFzbzErbG959hrzafkIz8ebO/eSmeTxph5H/1RCWyOZl+K/wmlBUg7QS5qUDTOcw8ZrXyh49XW4nSYv1fp4Y0p3OEkczkEyzpPsL2t021vJq/JEbeZGmbpNH349GkGQTk5qB0Bo4RO0zj3LGWgD1lj1szQSe06ii/isOSDVgGTMyEB4ozA8HqccscSxaJXPfI0PPavTiCVIU098oerECFf1YayyCoMhalmdrQvjlo2DRXQPoK6DMhCPFs/h0IqDA86zyISi1e1HYWa6OLI3SguSxFSseULiAUZtBRrCYvlAf9VtdsN2GWc2TH3UPtPR62ttRYqhfoFE1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=6DIe7675LKkKmPyG6VqKrZMsMV8GiNtMS1alBZCvnz8=; b=oRUoWpMhT3SGtyw3xr34HFLlKGUJxVg+KZNoDSpjB2ZholzHrbL5roWDGoo3NLyUU60kERKYZqIg0uCvj1wFSeQdqlSe6vXp7Pk0h950rHCw01PAc09xigsuOB3GOjV9jdMgzo/yjG76Eymo66xxOcgrSKRbkEmZvYBfXrfw/F8H0BwxeOy51S3SVscjnhT5COK/zzC3HzwivxQBIeA3/GyToBocJwYeRh6AFeRyooDhNyShGS9q2t19zrqiVjSDO11Q91BNSZjYgYpewrsHZ/OCBZrlArpNPfgD9C82m5LZZL3li5iHaX2YudI0dC9Q/DswR94OaaVw2AVrTZXPDA== 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=6DIe7675LKkKmPyG6VqKrZMsMV8GiNtMS1alBZCvnz8=; b=s/HwLb8Gq6dd3X1MGf5lTF1t5nYN9N78krQacfHCLdXQkT4IMh/YljIZSw1Q1+reiSigzvtT6hujb1pQVDoq8G6hYYXMYIAL4gXmihTGudW/RYtJWpcUCFuCvDMVxOqkgxvcDk6am4Mf70BdBb4Of0OhrsT6ZFekiC0C/697lm6PONmu7rs0KVpToEmiJ1KoG+7QQN6jha8PXMdDcjvc9EbNkwjjb601QCDBUTOYxDY0wMxq0IaTnG7+TJNQo2OL2SKJcqJdNHQ9/N5aHIXpRDq4Juw3PJcVFwh1I5+vCnK9zlwjkM/K4mY/smZzlhdS7vILBUVvtrSA+TuKxqUVzQ== Received: from PS2PR03CA0007.apcprd03.prod.outlook.com (2603:1096:300:5b::19) by TYZPR04MB6907.apcprd04.prod.outlook.com (2603:1096:400:340::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.35; Thu, 23 May 2024 09:18:26 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:300:5b:cafe::f6) by PS2PR03CA0007.outlook.office365.com (2603:1096:300:5b::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.9 via Frontend Transport; Thu, 23 May 2024 09:18:25 +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 HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 09:18:25 +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 v8 03/23] ARM: dts: aspeed: yosemite4: Enable spi-gpio setting Date: Thu, 23 May 2024 17:17:50 +0800 Message-Id: <20240523091812.2032933-4-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|TYZPR04MB6907:EE_ X-MS-Office365-Filtering-Correlation-Id: f9bd7012-08a0-4a79-d997-08dc7b094d1a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|36860700004|82310400017|7416005|1800799015; X-Microsoft-Antispam-Message-Info: yOMdTzl/PpjRiIgc9UQrVk2OC7kZDioplVd3Zcr2db+637+K6UtBmoO6gql6FNhkSJ4tLOkfLEcejus3c6siXGXeuj6VUDnXCdxQZJABydp5R18aHlc/aIZC9DPQgWaKNvwuLe6Yj6HSlZqdFWgYV73J/TJNaAcVsfQr2iHIU+ApRrXjof55qygI26jyvTygY4w+SfbhX8G9vkPbVZxqnrbqEF1wsM84NZm32fZzLM89WKrpPSC7lKp/fbYNLZsjmpRR5p7Q6FgvvyHovxYGfGImFYn/jvaRJQqRl9v5SkRvDWiiLuz2ESeijXEasuckHT/YwFxqIEu4FcPFxwf0Apvve9yWFUnD40rrNmrr8fA2Uj8keMMoQ2CIDuS6uRF0mVLBJSAedDqruY/iABg4nlSyZqa27wJ9ozaIH345tdkiSzGWz1FsXPTQw2otHcwt9bTCaV6bJaUSGahcQHyYwIqhOhdQwxfGvt2aCxBbTsuo9kWzcGU7W+UfWMtGO1OURi25OykkbDSupmcRgu0XwwEZxuoyQEltPr7bomSWaWDqQ1r3SoYw7fU87XU+YbyDKdYlz+Buy4JjU7WFrN+CJHPF0RFhauqBc8TsT+uLbA+Eur6ZLKMsgXrBrYypVMta1qeLucVE2kVBptIUj1ELlM4IUX5DVPUmxFTLQXiiWIzt3GXmSjBdtEihaP1/3tASQAnSQMF3vPEn7qmkgrZNr8l+TRSa4B8daSX+GoUqMkK15jmD8n+uFYsjVTM65FB116auwGKnpiFWAxufk1+Q3caQ8WIPeL8D1jvCOJb8K/TNyt44peliBNizzvx5rWWwWpXo4oeUyF9n7RnkuVJ1XYA8mCTSUlfgjYTT03bNxgoLUv/4ebAxFpvscYoU550T6VfVmaTh9fx1sqTOxCQsQdjSagA0CHj9WCvUQCOkeuls6ALHWWnn7Lwj8cf1S8Ixg7nMMHsn/4WOCtzBL8kHHWDt3PMd4W8ydxVoRu/RM/5Wh6an0+rRD0wODskcnaA3VRQDAk66vhAFkcZ75m9pUe4k/Nyt2kRvSWR73T6hbe787C/Ryao4rbi+OC37lt2brMI4r3oN+pDrz+6FIK/1SJKpNKtvuguUgTdMm8ExblEQk28JSTVE/63uWb+bxJVAfyqk9zOnPOJVIGHc0cvI6vVrbXvGPa+uj5PkP+7+qkG6NTW9HtCBswMzhOJJNl1bd2DcVu4h0qCCXP14qkwxhUmiVUHU4hupIkiMWmvSlzHxzkeMkNDhZFIytd3Foe6kA9Fh71n+X9YeWU+W+kkd0pwfgrpmGiX1zzkmdnpHnCAB7CXs11OOCcBvyGRA2zG2H+B6rKCYUqHYNARhYX+kgZEcpUGu95Xv9gjg7GH/9Bw= 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:(13230031)(376005)(36860700004)(82310400017)(7416005)(1800799015);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 09:18:25.5795 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f9bd7012-08a0-4a79-d997-08dc7b094d1a 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: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB6907 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_021834_759371_A2610BFE X-CRM114-Status: UNSURE ( 8.14 ) 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 enable spi-gpio setting for spi flash Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 18 ++++++++++++++++++ 1 file changed, 18 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 dd88be47d1c8..effc2af636a4 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -53,6 +53,24 @@ iio-hwmon { <&adc0 4>, <&adc0 5>, <&adc0 6>, <&adc0 7>, <&adc1 0>, <&adc1 1>, <&adc1 7>; }; + + spi_gpio: spi-gpio { + compatible = "spi-gpio"; + #address-cells = <1>; + #size-cells = <0>; + + gpio-sck = <&gpio0 ASPEED_GPIO(X, 3) GPIO_ACTIVE_HIGH>; + gpio-mosi = <&gpio0 ASPEED_GPIO(X, 4) GPIO_ACTIVE_HIGH>; + gpio-miso = <&gpio0 ASPEED_GPIO(X, 5) GPIO_ACTIVE_HIGH>; + num-chipselects = <1>; + cs-gpios = <&gpio0 ASPEED_GPIO(X, 0) GPIO_ACTIVE_LOW>; + + tpmdev@0 { + compatible = "tcg,tpm_tis-spi"; + spi-max-frequency = <33000000>; + reg = <0>; + }; + }; }; &uart1 { From patchwork Thu May 23 09:17: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: 13671520 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 38CE4C25B7A for ; Thu, 23 May 2024 09:19:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=BKSQ4xbkm/cjrjW52DYchtWHNoq4xLTxe9ab25EKtIs=; b=lrCdVcS0AD/xkB LWgW4SIhvdTIfvkpjlKHf2DabQHpP0v/Nln4ZgzQ0m8eS2bU0poTvKaBnO2dWAj0OmElIwkLCYkRG fOSABqJTM+ESLFg8JADvRJsHSuyDEMq2ec1v2/sRssT//cJfS3m9vubCHEv52DLrLZbJlFyfO6h+g MVUa6cJ5jNPcBUsqPoaYe6iiA6XAlp7OK6ZUNoSG4iAJpgbul8Z4qLOe0T36rkikrkvt3tMR2htwT 3xpaO04LcK8Q7oS5ZF01i9fNbCEmw02vnDs6IJpcI7pbu5EB60hHanR6ZwWpnYZmpLlEh6sLffzXY bN3zQageOnNP9V3Ybx8g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4b6-00000005dOP-1ewY; Thu, 23 May 2024 09:18:52 +0000 Received: from mail-sgaapc01on20602.outbound.protection.outlook.com ([2a01:111:f400:feab::602] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4ar-00000005dCj-2P7X for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 09:18:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kAgOMVjKP482Lq6vXi/CzBIDw2BqB/DZxJLIrsoq3RttMgoqnlvzcJxrrIwWBgDmmqyvsv53exkYEMGB6/8gmE9pc0/wlCEG4nTH/yGcH37XVjATuR2fm955A9C1eHBWHISMGR3t4keYuMFHNEqYoV6knk/qRRgUOapiM1SYDPPqjEjnhQtnXgP2PlzXkn5VMjXCh/P+1wTRnlkyAA8QnX8/UbgB791PaW9Wf/T9StJnqbh0fSN4+BHA8Mo/ZDiMvePp528bBjpFfXvAYWjeBlXD1Y6NTMZtI7YLpLXecXdBbVfssKkppUpuK/qEWeQ7ybMkZnaS6ooTQVb4VYYymA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=S+DlfI1otun1CAydzoG/8ZXnTLi77JYQ8A3Djz4rKnY=; b=Pox37cKGgnERH/N4JvLUZG7mn6LA5R2SWg+v42y8p9ged11hTrwHYe4L65aj3x/FNJOYm7sGvRBu2P1IrUGu6f+sT8tBCtzw8+OceI4rXNicntmsgenSioe3SqtlmTkPHlkoH/LKQFYUnNF+M08DhGj3Spnu2DSwZS7x8rVgHU2KGvy1OhlzqniuMn8iLo+7zuitMYYN6jHJDa+YvhdPRYHihlbGaxnwSIdEnvjTrL7BDVe/iu89exxEFizgEnRd4FG+j7xaOaH6Lxkg/GyMufPCIZ5hTXdkwfEYkcuCkieaoPn0A2NOdRrYu6nzpSCCntxOHqlGp5nO5x1n0OLBLg== 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=S+DlfI1otun1CAydzoG/8ZXnTLi77JYQ8A3Djz4rKnY=; b=Pa8/7Ha7BfQx1CqKjZxL2Iu/oTjZcnsXi/T5jYiGkYUc9qvK3scph+1qGNKb9GGKi09Vv8L8NCWdCZe+FT8ckU5z37ffdRDxUI+NORdasCjzI5Ez/+UbGzuvsYqwkzB7LBNOH8hwkRB7qfEQ2ikZVNtFbxJMfxLeGxnXEB+G+IG/fhftUqNVeSrJ8Lch/u7dUGN41Kw5f9D1hL/k9Ec5G9hlwM5hEJh+dvFrQCTPCtKuQHuPh8WLyIyvHVsUOXrrx2fq/tZjgvveBVF7B9sDJBWz7y55LXOrpcajr9YNElnOOxrbosdxSBdJXm93WDXBnAgW+69pZUGXM60xpJsOlA== Received: from PS2PR03CA0021.apcprd03.prod.outlook.com (2603:1096:300:5b::33) by SG2PR04MB5939.apcprd04.prod.outlook.com (2603:1096:4:1ba::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.22; Thu, 23 May 2024 09:18:29 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:300:5b:cafe::1d) by PS2PR03CA0021.outlook.office365.com (2603:1096:300:5b::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.19 via Frontend Transport; Thu, 23 May 2024 09:18:28 +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 HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 09:18:28 +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 v8 04/23] ARM: dts: aspeed: yosemite4: Enable watchdog2 Date: Thu, 23 May 2024 17:17:51 +0800 Message-Id: <20240523091812.2032933-5-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|SG2PR04MB5939:EE_ X-MS-Office365-Filtering-Correlation-Id: c5e0e109-6ef1-42cb-75cb-08dc7b094edd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|36860700004|376005|7416005|1800799015|82310400017; X-Microsoft-Antispam-Message-Info: gmSH2o4TIl6eChkf7W5inxWfZiMlktq1JbFCR6YbgcR1v6EXVBb2eXFqGX5ommKx5Yl7Ihhx5V9Y3UHFquKqlx53WF2ycx92xUL+L9jSMIW9zC6BiGukOFzd6ljgZEv3DbCCEbvgpdOg/sDSfrh/PtFYDiLNhNsC6mN6S59bkSQuaCjY0TbvuUxwVj1HzJoF+2hTNGDLES+Yju7ABYpszyrAAOxaBWhFYZzyk3LvnNvzrhOZ7FA4o9XskdZML9E6dDIbqJFdYsW7HRefRlbo/e7MRUhJOtQ9yCRCGw73zzmBznvPOPTddmrYldIpY7DZAcX56VmK+Oox09bSCqfQntwLYCPsYUnxGL8P7GuZr4rR4z0K1rvEJsgiNpLlIEzEqJWEGylJxD9Oib3Zm7XZ4a6mkGH/tF+cu2X+c0cjrsj9WQIRaIoC6RxTVcm9qwyQcwbNqLbAbG+lZ4oMDBRJiH+/goQdlVXP6RvWZOVFubLhVFOgBqhejc+abw9BpEBn2qPqjO16OZk4WbuGzM6mcxZC0UJ2th20dI0x8/QHkZvRZT+wGR2sdZ6RNHvv+NKfhdVIlE4nm+5LHpbCvnOI2xyMvTMUwevWWg6RJCvB5amGc7ihZQauekS5eXMSOPvvivT/duRo7k4E2Epwsvw43AWzZcLivioU4hAGPuhDB7DE+OLrzl+Ntn8bOgQCEfHuGSNN1SABfLmxiw+ObI3Pl6KtKj/5MTgHnY76j67R9BBZSh8/+19h6QtAQ2KiocAwAX/Mvg0upczSzaLfIwvV9segeNB4rylP6UvgM099aJn068GSwocf70HZOrRE+f9kybLCgOC3yN7Y1CsFsgGCbSnoPu7OIJT+8iwhWPaE3Drbi5GDtlKsda6oaby+MQsYG6Ki+1IqUS5HHYrvMsR19JHACcYMd8m50QPQqaNdUr8PeD/96mZvtapJsPJupX03XrQiAfh3z8jVDeICI4ADW/E+DCak25aj3zI92/u0utDlh+cK+28ul56M+ays5tzX4OWOUedk6JkMu5z/zWCnMzMamnCVbExEqjpwsvD3i1uJTEgwwR5jH3tarFZszqk85IAAiHe9OpjD652Ub+832Cdrn7XRQhSImdHdQ5ypxIKhtpF3p+sQWXAqxvTQnEvLUJSaGSMlFqNwclHP317mdXoHCSi4cKhkCTBHL0DUQtYgw76jqBFiUwkz6T8k84bYDVYphN/InlExdtANeITGvIXHs5l1oDf1790KOvRnuYGrffHy5lfWDpvBJ8hqsSRcYxkgKjRpE4vHF06ZT8ekQorS9NPpcgEc6Hcx5ZWRrm5sIYZQGIqOoWyWrOeu88o7/Ek+nuSqVqNomVPoAUQG3eF3qA9xysSqrQ+DicPYAv0= 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:(13230031)(36860700004)(376005)(7416005)(1800799015)(82310400017);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 09:18:28.5638 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c5e0e109-6ef1-42cb-75cb-08dc7b094edd 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: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR04MB5939 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_021837_798623_D77EF92C X-CRM114-Status: UNSURE ( 7.34 ) 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 enable watchdog2 setting Signed-off-by: Delphine CC Chiu --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 7 +++++++ 1 file changed, 7 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 effc2af636a4..b0643e8aefee 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -120,6 +120,13 @@ &wdt1 { aspeed,ext-pulse-duration = <256>; }; +&wdt2 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_wdtrst2_default>; + aspeed,reset-type = "system"; +}; + &mac2 { status = "okay"; pinctrl-names = "default"; From patchwork Thu May 23 09:17:52 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: 13671519 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 12EADC25B7C for ; Thu, 23 May 2024 09:19:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=HVMdPWZyCITxPEVQ2QXiEkjl/m6q2rd1DiXcad6zi68=; b=0WEMCp7SjVNfUK NP+vs7B7PL78rDiHfshnw/fcLrEsG4jNUg/C157z7LtD72+BG+MwRMtjdGZHfD6uAZntEfW6G5FLW ijopCOhCJLs4DUuDvykjEUjunnCEn0qSgBwC5lEr0JXRqa1MH1md+zDkvs2APxZ8lxmgylJ+W/BZm 0HKE8lvVDHuHpPLpCUINtyOT9zz7d05L0F3VFGh4NgRFbGFOYHRkyzprK+bJfI1ZKFJsCNRjQpbKP SNE6S8nCkI3tNUPD6C/wcIujlTqc77PWluD0t2hqNnJaTXJ95tmo5ecYss2maJ5VNPycWtMIeqP9R EFP1/MZSwU5xvYKtwMyA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4b8-00000005dPk-0iwf; Thu, 23 May 2024 09:18:54 +0000 Received: from mail-sgaapc01on20607.outbound.protection.outlook.com ([2a01:111:f400:feab::607] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4aw-00000005dHZ-3VSj for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 09:18:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EdYcBMHWL9oGaBvPYqC0BxUwjkapqh7/wLhccuGiUs/k/isxO3DJ0SGYxWxmXQpeJcYfMWrnP+JVDFwtoJEMmZKAx0k/xdcJbcOAAKuiwVhRv8h8q5v1m1+xUZv4kCQ1kLSKyRSOCaO9REjeGb89SUY5Mo8j8JCW6OBPPriH1g5BR18/sy8llSPntLMtvucya9KUIH+eTLQwZXu5RSAALey1gqdYU4pTN/1K86EJ+Ec7hGE3oB9XhdmZ6n1vGrA0N6f0evcPoAYmwzIRC/fUz4+KRh7l3DQMFA8izNy8AzRJ3skXICMSvlGY/OTIi+GfVkX34VQst2DbKkHGi2CYIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=I/dqJuii+ID5NkttuzvqI67JF2qX2ZPzbFRrGdWVquY=; b=La2oelQ9r3M6WVSjWyVptS8Xx7E6LGMoDxQCm1psrFiRuxI+01gYWnu30q8mBWdLrWzIjjGLG5zeeA6zDBPd8Up9whXmxqhTmv7ObeMISmc66HFjXjxLXsleGNVI/epOuNaAlLfzI9l+HPsrg+VLmQxP+hyTMC6UNgprM2eyRFMnTaYiUStNH76nPBpjUDQQT53VImiagvhCpJAdP5v2WgHPQoW0sseUSFbNf/o4AgWdKtW0PBrhAY+Wqtpf0ISzoPA7UCUMcONUYDrUrIspvghjZqNCalT7aaR+fgOxHIWHYPOi8jVqq77dH7xogi5Ix7Xw22xImKLtUeXgsj5JDQ== 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=I/dqJuii+ID5NkttuzvqI67JF2qX2ZPzbFRrGdWVquY=; b=qVSr7FMfcHA2Vd/1+Gtv4oq7V5BQfRmpe6jUMUHiX95Ni7Q5KxTm+UGGn12Vhy5PhKVeF4cZ2TVHOarx2NhY2H+i05LlR0vd1+h0HoSqf4UEfaccfuIcuhqcXvJZEIluhhoGnq8A0QW7aM20CxBEMeBqocxCpd1Slc6zSqpp0GRWv375KFPW9G3/bU0jdgRIU1WLzQ9W6JmlFIbAzCV5Ue7q2XbyJtFITzcKRre9B0uo/l4z7Z7jrCUGqqTpYG1VYBfxYMZmAkVF60LmEO/fhHZBQNywOF25yoWiMFr78LjY0ek5dWhDKy9Z/Wf5vTv2KYMYscg6CX+0HZcUJDlMVg== Received: from PS2PR03CA0024.apcprd03.prod.outlook.com (2603:1096:300:5b::36) by JH0PR04MB7175.apcprd04.prod.outlook.com (2603:1096:990:3f::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.35; Thu, 23 May 2024 09:18:32 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:300:5b:cafe::91) by PS2PR03CA0024.outlook.office365.com (2603:1096:300:5b::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.6 via Frontend Transport; Thu, 23 May 2024 09:18:32 +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 HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 09:18:31 +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 v8 05/23] ARM: dts: aspeed: yosemite4: Revise quad mode to dual mode Date: Thu, 23 May 2024 17:17:52 +0800 Message-Id: <20240523091812.2032933-6-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|JH0PR04MB7175:EE_ X-MS-Office365-Filtering-Correlation-Id: 4926de34-7d8d-4d0a-d54e-08dc7b0950c3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|36860700004|376005|82310400017|7416005; X-Microsoft-Antispam-Message-Info: Wm1FPgvtuXmPAcPsIldGRRKzvN5WLY8lEtuIB9UmvHlFogBmWAnrdURazsJ+lHZFEcduaMdB69aa/loovST1iFQ1muVIt8ewHZKPC3M2Zj00jISBK9Y0+LbHKUNNGaxAVp+WhoKDQ5t96ufC/p8+FHEe6UfeNXKQggTrPAm/wYAyTHzHz2k9OE83W9tlq40klWRyKnoXYntfKwLNtlwhJ4Rz6Za+LIBMhBXxPB41TwQttjnv+E418XVNuonCLSLscw15FXd4iC5+7Os+eV0M2R0mA+p5xWgqak/w/JL0OjWsl0TaziP5igH3ZdOjmuvC075zZi65mgPW9qTzNGgp/zAtmz5Jesl8t4VpLP0T5V0giWuaiWszI40Fa7ZBdLPvckZpGjg2czGgI0Gl4rg50OG7vyaYf5gOPyJfqlma7502GWjzCIBPoyP6zdQ27+9ykfVuGh26HR6PNPW7VEu0Rn1mfSM+yksJxKQhb6yZkp3C+QzlIpxs+ccL6d2yythBDtQaF03cauwk8tuGnSK/OPLQaOYwXLI1mhFzDd4K24VWUFvMyLDXr/z1Zp8u00FCpJKRiTa2T6A+ALkxvcC47AMc1SRFFNuHv5q4Zf+E3xgdPAy2Xi9Me22nm1hHZuP+uZywFdpdWx83FoGWO0RBzGlLoaoAMSXQvSrg1LwiYuvaciAZvEPThLu0ktMIFPeVnVs0l4y4T46KxKTpxbARBFQaCpCMOHMRe5ewrj2QzLC34ssCaTkaRDfoqp6P69ZsCdt9f8VozQctGv4Cfp8Q2HA34X9TZDB8ShScCBoWzZQpvEXThFe0XBmitpIDzV6K4yvLiT3knXs9M9ZrdDQOlaDZQ9EMeMfMeYWp6auV0nz2ht/wRni8Bv1HZlKiquy9UoW5LI5TN5gKvLyv0aZ1cI3LwsxGUjh2OTFrFLU/l4m/A5XeVanx56sCARzDe4PmhIJNJXyv0nfjWLqck9p5btMXrtPvdke95xHcydIxwErggvvv+AXJDPvl0dwjvAi45JKQSbpKs/B/iulDp9EfDQE6khh5QkCbSxeybPkN631A/gODNfkYm5G4e0DJ1TPdzU3IXOhmXpbnQMITYVHU7lWrhKI2yzudAJ635tw0jwoRSgWQeKImf4IYY4MrCkQCojrNKLteofyKoSKwk8/g7suab3WIyI8iZllXMcHVtr3N4mYEk6SPuvSXTA+FfHLeN/F4/jkVBbCEtqt6kdfY6TY6FR7C8QHGB8xWbKNa4OO8hOXTz7HKzs8CyEWiDLpSxxZr8J/eJ5XJp9OE90cDVhlijpSFb3iYqyFOgx3RgXCaYEEQJy7Yv24phPo2N4B5eDWwn9GW3m1j+AtfC1/U/gRRDK0ed0yt/+CPWphuSpKPJWKlyGsWhlFTw24AFga2 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:(13230031)(1800799015)(36860700004)(376005)(82310400017)(7416005);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 09:18:31.7513 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4926de34-7d8d-4d0a-d54e-08dc7b0950c3 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: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: JH0PR04MB7175 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_021843_150130_927F9829 X-CRM114-Status: UNSURE ( 8.30 ) 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 Revise quad mode to dual mode to avoid WP pin influnece the SPI Signed-off-by: Delphine CC Chiu --- .../arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 8 +++++--- 1 file changed, 5 insertions(+), 3 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 b0643e8aefee..a708e56b7ec3 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -149,15 +149,17 @@ flash@0 { status = "okay"; m25p,fast-read; label = "bmc"; - spi-rx-bus-width = <4>; + spi-tx-bus-width = <2>; + spi-rx-bus-width = <2>; spi-max-frequency = <50000000>; -#include "openbmc-flash-layout-64.dtsi" +#include "openbmc-flash-layout-128.dtsi" }; flash@1 { status = "okay"; m25p,fast-read; label = "bmc2"; - spi-rx-bus-width = <4>; + spi-tx-bus-width = <2>; + spi-rx-bus-width = <2>; spi-max-frequency = <50000000>; }; }; From patchwork Thu May 23 09:17: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: 13671521 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 8C3F5C25B79 for ; Thu, 23 May 2024 09:20:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=5+JhAKNfoVjHrbUzv2SBbPzxeG2JigXPlIeMOq2Quhs=; b=gEk5yZboVT4/jF kEtfdygfdNjo2HdzkTev1duK7eq7iVkeBbMlaN+sbI1wzfz0QfPrHhACQEM6gQM69HCvmSfahc1s+ IpNAsIGrhEkP/pq6mgEQcsehSWtTAQ1tQ1G6ucg1xhVfNfJRCBzVPFxmrjMs7FLvkW7Os+0ip42Am vnqfY2AMrqog5SEp5XZ+NK8SFXhyWbQrkuwfbasBMny8euZlXNlhyaK2deCPdOO1aAqiNoHczlbZS aYD74JhxAdYb/H9FuJ+bfT3YOC69WfTDhIksfmZ8sVZHZsyfX0xAeA+RHYRiTV8FS2zEQLvkKjLNn b7Fo2K4F0XrI27kCi61w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4cB-00000005dzU-0tv2; Thu, 23 May 2024 09:19:59 +0000 Received: from mail-psaapc01on2061e.outbound.protection.outlook.com ([2a01:111:f400:feae::61e] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4b1-00000005dIS-2Ywv for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 09:18:49 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hUFQpcERy/1Povk3WI6QI6b5z9qoBrrh6nX2ftbeQ0nlYcEDYJPZDIIrgcWMibo3NVGvW6DzjvUC7pPEBKg13oQwjIbcXz+bm0Zc/Or6becv+SsGtA1ipfYH/I7C/xoIkgX9//BUweNl7f1PPyEeEk2Fdp+ECcZ3bAEwknnnJphPZLbUqGoElFxYfxH7V8mEFz1lU6h3GRBpXjLjU2AIgPdG07ORUvjhS9Hzye4WgSTKwbWreCUVx0GWxvHyKpx9XfRyv8FqF5T7d+ifHrf24qEr+gHHtWdvXBxSkK06f0IZuAdWpBLb+wxED0m6LWaWVhhHPcMifjhTVrvny16EEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=tFKimFjZ/HhebE08E0uoD3C7UlaPmpkE4lfEBFrj+a8=; b=dJd1RsnrsBEP3KTR1iNxWM2/4nHQn4PPG2pLR6TeZ5SWWc3FyKDiCOFPPNiiRJTL35pFijOQofS9LGCu4KgiK84HxF6A6hHHbPMsVl8y8B2c0ha2ayFGzB66rPJAxC8qeWNusQnWroifhMHbLhUL1RBO//9/syu1WLHd0rvicuL0cgVdUeX+229wBBYCGbrzIoPZywey9a6T7EUNqsYr4hU1AXfM/3ID9PEGg3nQiTQb7j4+VUpIi0PqZZde1qUmCtEp2jOS9UkKOi2f9GWsHE4EkCbxB7w+/BFEPCmOQGsWXl2yCgeVli7gS1AAz05dCAqsGH47RxURNnMrmEgGdg== 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=tFKimFjZ/HhebE08E0uoD3C7UlaPmpkE4lfEBFrj+a8=; b=d+ynekwyw/3v9dXSsqU8DSkxoHpApcwMhwpocWY02ZyPd8CeNMObmcvsLppMgrc0BuUy9f/7+QUo4Bn93v5YCVrT5lZvovdNaNrWbm+OirZIC1AYI+FNWsecbfK54Q4LKj9Y33iyldL4apcxQmgYixyAY/d81XskbslB1cH+98wRoP5Gf/l9kTlCxIqmtNy2yu4mJfR1vMQwOtbxo6GcFStmQTmWIdLiDeoVZ+dh09VbNoYVi75lLO0d/CT9SxGi6IXO5+ThXaHg8MX6qByZ+zPPkI6k4ShH/wa4T8bQd3WhgO0dS0EViXMqcv6m43hrEpks2J5XC1Vcp9dr6CRKtA== Received: from PS2PR03CA0008.apcprd03.prod.outlook.com (2603:1096:300:5b::20) by SEZPR04MB6708.apcprd04.prod.outlook.com (2603:1096:101:f2::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.19; Thu, 23 May 2024 09:18:35 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:300:5b:cafe::8d) by PS2PR03CA0008.outlook.office365.com (2603:1096:300:5b::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.19 via Frontend Transport; Thu, 23 May 2024 09:18:35 +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 HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 09:18:34 +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 v8 06/23] ARM: dts: aspeed: yosemite4: Revise power sensor adm1281 for schematic change Date: Thu, 23 May 2024 17:17:53 +0800 Message-Id: <20240523091812.2032933-7-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|SEZPR04MB6708:EE_ X-MS-Office365-Filtering-Correlation-Id: 85661e84-eb9f-4ec2-c072-08dc7b095294 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|82310400017|7416005|376005|36860700004; X-Microsoft-Antispam-Message-Info: gmRykPM9QMK5keVb8R1CLqgVmiKuCMfLNWZQFfWW2pXfjXFkUvXxIhweU6ll5SVc9/6np1VjAnn6b1Evcyx5YavPtK2mSxXDpv5zd3mKtQp8bTFJXF5cfxyzUk+egHxSSqfoUdNcOknEePTchRDcA+3/ssJ7UaqEyneoMADNp5LOCsg15KBLi2iY+DfQ13fMUk32OA5Ei8btpKHp1PGkktUFi+hLvshzgA1NzuXBqCIQLxzMBt8J7SUJuEtZ8F/cDgGpEguc7eeoAqKFtLzmlATfaVlO/aFAAeGJgV9k7t25tua2VSm+MyofmiTtKsGE58yV249gPbC4v8pDESZJxRbGmzqnlpoZrh+kpR0IVIBWITbDVk+vCqvKF8wcN+YaZWkRCtZ21dWv4hJcMVE6POy/HlSCTclECNVDLbp/a47erZixHKantYK6M5PTllrgMs7BylvJd/4W3D/B1HClCtcSqao8OIZWgfZJJ8D9uh1Cv0G01paS/D+rw+AWxK1TgzF2roAK60xJoNIrck6nXVVswJ8W/xgrh5AJvlC+HA8fEII8IPXO0IsxrL+mWHpN9eluD0At5yh8xy5oTJV8y5I4pr0If+lcdU8DLew9aLF/kpdmKNDnd64BdmBHYBDHK3VQXheEEOJ5y4lI/8VBgteFrWlcG9s9eRvwfa0Ue2RZjWxqwQ7+F5YouPtFe5lnYq1AvOh4V8dlA3gqPAKvvWAoyar2U6UAQsKbFBwGd5QlW/POgELozpaZRWUzf1QfLL21nLnLj0WMzuz94VH1KIka1yAiYjovNoAqZzZa+sWEqVQV2o2zjNEm3Uiii+tpZBfidgyG3M8rBZFtDKVcvVAxL1tp02CIzbpyHLkoAYStnRAGcbLjdZl4sqfybCk0M56XQ6LwwIesGhsbMvqg768Y7pd/KayPArxXXmv/vko91nolCnlD6urXe7fhk2hXF2BHM8UnbujKRhpC/52PxgW6g2c7kujN9qKkHOvK0DQaLlOZMnjrnbHrnML3Jtkudk5EEbWrQr6hdhLmI7XJQcDDAMIrgMHayEqadCozVZe0++0Qb5IL7poDbKyqMeg3cRn9d6kI1vrXBykFb2sE1mO1nMjJyB+17w1xRbMPEte/ua3c7uZAB1Or1cD2xbkxdfceLYaEeyMDYdQIUc23fEIZNr9Mlc0K8NOi/GPHGpBjrM+jO6RCV5NYFbe53eL73/YDAo9fnsgxXE6DOOSgTrq1MIPyFZp3QDYGsKF3oCtfvOMws2W7b1yygRTTE021o24nJHudO+K+TGm8Kj2JHd857yKq9W8jV/BI8SC1PsFjjkdsdl4Odpkw/hu2ODULJntxgsSDN4/AiDRL+9qDuFcbYX0Kv26Xpk6tF+HPrYk= 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:(13230031)(1800799015)(82310400017)(7416005)(376005)(36860700004);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 09:18:34.7357 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 85661e84-eb9f-4ec2-c072-08dc7b095294 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: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR04MB6708 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_021847_822153_76A5CE50 X-CRM114-Status: UNSURE ( 8.27 ) 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 Revise power sensor adm1281 for yosemite4 schematic change 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 a708e56b7ec3..f0f714c7bc77 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -176,8 +176,9 @@ mctp@10 { }; power-sensor@40 { - compatible = "adi,adm1278"; + compatible = "adi,adm1281"; reg = <0x40>; + shunt-resistor-micro-ohms = <500>; }; }; @@ -193,8 +194,9 @@ mctp@10 { }; power-sensor@40 { - compatible = "adi,adm1278"; + compatible = "adi,adm1281"; reg = <0x40>; + shunt-resistor-micro-ohms = <500>; }; }; @@ -210,8 +212,9 @@ mctp@10 { }; power-sensor@40 { - compatible = "adi,adm1278"; + compatible = "adi,adm1281"; reg = <0x40>; + shunt-resistor-micro-ohms = <500>; }; }; @@ -227,8 +230,9 @@ mctp@10 { }; power-sensor@40 { - compatible = "adi,adm1278"; + compatible = "adi,adm1281"; reg = <0x40>; + shunt-resistor-micro-ohms = <500>; }; }; @@ -244,8 +248,9 @@ mctp@10 { }; power-sensor@40 { - compatible = "adi,adm1278"; + compatible = "adi,adm1281"; reg = <0x40>; + shunt-resistor-micro-ohms = <500>; }; }; @@ -261,8 +266,9 @@ mctp@10 { }; power-sensor@40 { - compatible = "adi,adm1278"; + compatible = "adi,adm1281"; reg = <0x40>; + shunt-resistor-micro-ohms = <500>; }; }; @@ -278,8 +284,9 @@ mctp@10 { }; power-sensor@40 { - compatible = "adi,adm1278"; + compatible = "adi,adm1281"; reg = <0x40>; + shunt-resistor-micro-ohms = <500>; }; }; @@ -295,8 +302,9 @@ mctp@10 { }; power-sensor@40 { - compatible = "adi,adm1278"; + compatible = "adi,adm1281"; reg = <0x40>; + shunt-resistor-micro-ohms = <500>; }; }; From patchwork Thu May 23 09:17:54 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: 13671527 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 B34D0C25B7C for ; Thu, 23 May 2024 09:20:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=G+znyZ1PwnxdGZw3n4m3XC5l1a+OgKmaPlCKYm6jQlo=; b=xbjGsmLRrJmwHU zgXhDQ6kWvdlAv4tQqf9m5scyKotyrKGQRl5rGttoumURNLkpFRIF//iMKTHhg4klbc1J6yhau/wU rdq8+wQZm0meqqAyPYGyx5zatp8YMuuMp0IX8DmWUlgVqmghjxLwdSAkFtf9YJkJaAmscKcsKE1w0 /OwqfPkL8HTcN8izNOaRVPqLwzn5cT0VkVcQHSxhCp0xdlcG28SAhShtbWPFlIcZvlAKu+Jc2Lskp lhwOy9cN+FHKReFOOZtWVc+m2k1L0lMye3kRCxUv7+gSoL6ALVdU8LRpysCB+3mMzJVqPLlCLjdjQ U5+KNfQWz++++yeMKmzQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4cL-00000005e5F-15W3; Thu, 23 May 2024 09:20:09 +0000 Received: from mail-sgaapc01on20603.outbound.protection.outlook.com ([2a01:111:f400:feab::603] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4b1-00000005dJx-39tm for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 09:18:49 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZI5uWdee4/+/NsHmbyFbgrlEsP3icV+BGN935xTXXpl+BE5F6860SnKQ1frDdRLszazpVhrrfmkuIrcv1+nsNFPT77ok9JyUfZszhzTmtxMHqeKw/5QZd2CXQgsOWMk+f4kjgtzcwkpGHIL7SvmsmGyeFd/QhvKaMGLvQ/G0/eUWYLggdyupkUvXB9z92rKhdj2mSzDqdLmP99Xni1iYk/4cP+WviNjdBVsreVDuE5xnjpAE4Kkgw/ybMZG/KceZu7p5iIoSV0gLXwQS5aNlBtidN4eT5vpFDN3EK+B76sPDOpIRAVOatGHphAbdM6EfwkJt0Bz1OLyzZp74nJ2wDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=QB96pUAHPYpne52+aZSEHu32dSiQWPF5XIERkA9QsJk=; b=I7D8oFRMwJbkmj51e7u2+lq9/3VLnNGGoeWxLKcS7QlhLmatrH2oUB0Ga6zkw5SUhkREQkDnh4kqNAhfUHxC98RBOP8623TaAHP1ZKtew4N6bcWyaqzW9WKcwXq3io8UcyDsnwTSWsN/fKvgEs88Mpl0Itf69xFc+C8su4sunUrCKl/HlixiSUUZRmlE+vFZtMJfIiavPZDjTAz7dXljnYb+HK97obmiMsVBcOsSbDUkXiB999AsGJtpfPN0ZfV98wGGjrTjBybjBXd49bjB6BQEEOBg2piX7ikcA5/2Y3qSOjHe0PtDXJpA4+fE6iq2kUz06KxMJ/NiKrMKFhSOOw== 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=QB96pUAHPYpne52+aZSEHu32dSiQWPF5XIERkA9QsJk=; b=tV+vMfoNLP5XS/Ry7Pte590huzWU1ZOUIAFVo9ZXtMZ/lq6yNWwPOLoSJHOLmqUg7taPIGktnXg/TxUJ/LQbOPEeq1kY4OUQZeF2ZNs7L5Oan842steCFpdcgCL442HwauXAvBJZtdM5Ho7olh6AxIPA7/BJM7bHdNwu11l4Nvke8sLLRvZ56RiizP9A/Y8xaztSgTyw0yn3zCKg2teyzvSHUi+BCG6w7iqi691Gce4eo6dKf8DPjIWZLU1/E75kANUoSMaTp+s665ccMgKFmjPOpAQUd23Q9PM2UMMlOnbakqrA8PeYIYAJJ3eGFD+w39yJr8ZFaJvH02q336vf6Q== Received: from PS2PR03CA0002.apcprd03.prod.outlook.com (2603:1096:300:5b::14) by PUZPR04MB6350.apcprd04.prod.outlook.com (2603:1096:301:ec::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.36; Thu, 23 May 2024 09:18:38 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:300:5b:cafe::bc) by PS2PR03CA0002.outlook.office365.com (2603:1096:300:5b::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.9 via Frontend Transport; Thu, 23 May 2024 09:18: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 HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 09:18:37 +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 v8 07/23] ARM: dts: aspeed: yosemite4: Add gpio pca9506 Date: Thu, 23 May 2024 17:17:54 +0800 Message-Id: <20240523091812.2032933-8-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|PUZPR04MB6350:EE_ X-MS-Office365-Filtering-Correlation-Id: 50ae2694-1bd6-4e9f-d188-08dc7b09546c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|36860700004|82310400017|7416005|376005|1800799015; X-Microsoft-Antispam-Message-Info: Shkfpch5d73kpzbWu6vOvG0siN/zBpgF6luhA2mGVqsd8NH6Oef2WV/egTbpZ+J/CiOX0QBdYVm/oCZ7kTZRl35V0cl8qiNEXu9FxmcNpsMDMUQmQXXMLtEttgJURTpY3ZlwIGA9h2Mc1yDXUin688zsr39oyR018pcArMrg3pJFYIFHEVhE/Tq+ovtjmOLL+biipX2FJzPGe2RAFwPZMULYbHbjiQd6GPL5dikFK/8R30iZVO3MmVZD16k6JlhEYar7MVWLQSCdZWHBpORWhD1pU9/UVvTuSDg6xYg7Z3pJPxLR5/vCsx7Q6+oL3UjUy4OSiiW64vJ1Ku5wdqyhbt1Dz9TZqX7//9Poog+u/qAlmekdTsZTtWHIu1r3Gje2N4sS8Od/CjuKahfg1AlUep17+3apmPDxCjVHLNz9rWQofIcOlgKT/7kcxnDblWPzGxg+zz1jHFuFdhsxK2MDmoi440sgLJ2muWDY093GBKFbnQ4evh+X5XWxXurpFoh1egM4jzEUb74HDldgpzjmxkb5qP3H9nfCDrKnWMecbg3PoSSZTRTxLBl2PPUBnVN9HVkcHAm/9Aj+x79AWB6vW0gILyVijZovQtEi+0yYJYNsCsNEr9fcrx75i74QIWGcu29pS38b2KNkBOT9f1pv58r4PpunvtJlbY6HvitnByRi3MtiZvE2oTLcyCLcoNrtw68WiJuKA3we5GgU/yn3gjAWkykpPxqSHVMX8GriHLN0TTjQbd8ytde3T5gMGzEPlAywkOQK61VTSsU+i6F5G/C+usroxCFI2Ohwf+EFgFvwSdd2lrAUixeLSGCHVcxi0T6rdMruXBgR2wLDNrm0eQW0oCD/iPPSj/MbmBGfYLa2QNPkldOF+WabpQBQI2pZ3ZBn323+2yUNonr0uPBCUMG/puUwwgyzQ8pVTpPeO5t4zKe75aKos/7z/y0cbHqn8V+7oX+dant75rBiEkhqPSSfitQctt9+YusdmmDprVff6bUrpc0R3m0EAzE2BiEgROqaC4M4QfgiZ+TeenXaHkG5txXALO75GL1FTocWf1Zby/aB4UE1SvWdzJ75mxMgnptyA8J6tHuYziT2CsCwL+3zEjBoIRUe2zSwIWcNL50wtgMqXWzcbgABVbImnMY9XbhUMOEQJXd/Jo0xDk1+tPVb4AFsOvt5uNQNkWRULroK8W4UhPEtzXUVCS/oA3M9XCnpXjW16oKEn7wjPvJrox/3g3kK9UQS/MIq6w81xinPmat49AoSI0dQndJs4tBEczkE6LkpoCcpA+DopdwViQSiaOTqVSiJlHWIc8Q7gH6foOf0pdjFGOSNwiBspWEXX0wQswOlpAqgT6ijubS0C+ECCwKQdHUgZuQbs7gWyBI= 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:(13230031)(36860700004)(82310400017)(7416005)(376005)(1800799015);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 09:18:37.8920 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 50ae2694-1bd6-4e9f-d188-08dc7b09546c 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: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PUZPR04MB6350 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_021847_837917_DC6909A3 X-CRM114-Status: UNSURE ( 7.79 ) 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 Add gpio pca9506 I/O expander for yv4 use 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 f0f714c7bc77..33dcb2451ae3 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -175,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>; @@ -193,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>; @@ -211,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>; @@ -229,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>; @@ -247,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>; @@ -265,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>; @@ -283,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>; @@ -301,6 +497,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>; @@ -690,6 +914,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 { From patchwork Thu May 23 09:17:55 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: 13671526 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 ECAF7C25B7A for ; Thu, 23 May 2024 09:20:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=q7EcvJX4VogUj7GIF4+ysQrLdWUsGWWJ4rrsi6lFKlk=; b=Ydwkf8GVhYEqiE 7yr9FzwHlBgv4xWZvhz1C77gOPNKDGqEtycnFpq82Ry2Y3FKK7mkzYJnJr8gg+c+E3QO7Z6eCWms1 wfuCqH/7jjnIHA01fecMnlKWZrCm4ONY+Yt3evyVge0XJg7FjBQrWpvWe8Z1/UDSh5LbCgT76kWbL l6WgJh8uGvUgSoKSp1c7gsD9+eSUqsXWM3qnxH3/nPmYKvCQk6VcNe8dReWIABj20oYVtRESaxdy1 AfRxlS1fiwjoN5Lt9SBTCHXPJvwxJUTlx5een8YAst8r/p6MfHAKqx9sw3v0LnKXHFspPUJ2qydJR PbuDMzT4eZzNlkLcmngQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4cN-00000005e6v-31sC; Thu, 23 May 2024 09:20:11 +0000 Received: from mail-sgaapc01on20620.outbound.protection.outlook.com ([2a01:111:f400:feab::620] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4b5-00000005dLX-1PSq for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 09:18:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=blEuI6ob85YlBA70cdPiAFLTbUwGaDHCtD2By5WdWyPREDkVXxfAPjO8212Pdyh08QsC7p7xTTssSIhW0x+p/eYW7RsbyP/n1y2Lr3FkF37YlN2GbA/L06ZWL8Qo7/dd2bk3uIwLe3oVy1K4JGqtk5CGFzbNZua2Zbn01FddbIzYRMCa2s7iud+pZSU+ZUyrwy105opoXA7q9j3TcXhj8mTcPonhKFa4Cwug8sxWOEnb7gPPKxKIBOcbu5x/tjj46AGXe232dMs/JIkmcSN7O2YkaBQ7RunJYxBfCV2FNpEFj4INP2gsAClPnOryEI2uL7gbRFpJgehnqptSiKn/hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=HypuHXBWroWYlUbZ7+/af+Usbe6kheKPtiyQQytzoQE=; b=YqfmHQCwlKjgU/9433+dtiP0cgeblDlsqWK9PNn27BVJijuVgEshw8Bq3GTxzpHyGdBY1MQRwO/nWdWgkIaiX5Me80msI2e+nI8edptoNX0chUA8ZIj5jIDCzNJk0TbFrlBZDokleTC+N4jqlV/us4m3DcLPjpYUe4h5V/BueXdDfTQpJ4DbIi01ixBdHZ5h9VjEbOyH+Xw6FKY2Bdt4K5Ro92xt7mkVI/kIOl01/2ShFgUXlNm/pDUHA5J4w+CiyMg67DS1yH4z3denUFs3Cd6TsyWyRzA11goDDolv5m38sedXI+tAsw0YkERMRaRR82jArdd3wNaJgXp6TwQmFA== 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=HypuHXBWroWYlUbZ7+/af+Usbe6kheKPtiyQQytzoQE=; b=iVOiFqQrsCyMxq5kIWhAqw9OnlI+tskSgzgQ55HN528QRypsMnKqgDeame/vn0wrOX/ggSfOLzL3lPZ3rVvTTUE0ergjuikUJJHcWQg7Bxkq1a5U01bCcZlbsCErlA7WgQp7Y6/PVrUcc78jsOZPlwGgsj9LbFb0aZYeWg65jeOaL9EFcXEvt1I8Dl9XuiJ/lJCIsrAp+pkjtfCGQIBMeVL2PKuYhZjeD1G9dNza6zlJfrNyTN2UdJOv/YjSq9n7IcXvouJuq5fRpIZXW7Tp4dnlQyMZxzhUge2ZJq9e3nXZAlYLfzATwtptLvmhbFprr7DCWb21OXXkWlFFToTS3A== Received: from PS2PR03CA0019.apcprd03.prod.outlook.com (2603:1096:300:5b::31) by KL1PR04MB7210.apcprd04.prod.outlook.com (2603:1096:820:fe::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.35; Thu, 23 May 2024 09:18:41 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:300:5b:cafe::90) by PS2PR03CA0019.outlook.office365.com (2603:1096:300:5b::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.19 via Frontend Transport; Thu, 23 May 2024 09:18:41 +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 HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 09:18:40 +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 v8 08/23] ARM: dts: aspeed: yosemite4: Remove space for adm1272 compatible Date: Thu, 23 May 2024 17:17:55 +0800 Message-Id: <20240523091812.2032933-9-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|KL1PR04MB7210:EE_ X-MS-Office365-Filtering-Correlation-Id: 694be20c-e437-43a6-46d3-08dc7b095628 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|36860700004|82310400017|7416005|376005; X-Microsoft-Antispam-Message-Info: ++Lt7sOOK6yJtms1pR0AcNzCrk/PKz5X+6qz6Oq/Z3/tnJp6uiU3hKp/3ZXDJ6jHR7cxOnRHb/S7IIR//oGw1aXH1hEirle0bb6SdQ1aHs+LRUOAgdIB0SbGcze8ZP1GdBsPWXbSPgGBjlroqWcUOSJdwnhQTTqQaj6sRMBVk6L3K6ZT6NNa7egXdQcLujdXe/1zU9LAbXWF/yNtR/2x7McpXra35JcM9C9Zprev+p5fIz1gk8vBev5jPjIl+1j9Kle7D0jknia2/0Vr02oEa7SzUNAviYMoOpObi/kl9UauySqZNy+0eztEvj47vTYWktJpUF2Murl1d/+nRxvdv3DQ+pnXx8sqGDDy2yc3o+sp4l4MczttlnHtyephyLqoIfkCUXddE0tL107nREuqujO7t8BDy0BcOdfIGTUXmZQBcuuWCXCjlRcC8Cc0AteXSfNZDD0rg1Pqg2yC+0/alF9GI6gCL8MdXGfhoJ6eocCkeXZF2H6BhGvavRXTfaR75kIv3X0BnWsQqmSuKOnlfcddbhh3EVOBYPqTTVh9GSx2FkLnw2bknA82jZVaQzx001ETa8m5au+Pm+RypJgp3LpKvu4K130VTs6qs4yDCbHWUCQ3EWZq5zDaFRU6+972DmDtQDrPs9LehTZF5HK6soqWqxHn/txl9tJqOKLu67Ejq8omcDeqykQJsQZTQw+GSIsm+fUiOVIZ1kU/dO21XQZuqKe5etyuTXtcvr4CiXpA2S46I//tYHfcKulskwQvZvlHHHk3lF312BJbFTEzyKdfSME2vYwYo1mz7OejbG79BEnUGyhdguWPYWYK0Dwv9SGB1Zl+tj4s2GQjmXmwTc7uIvdvvTII8AK/Ujp0RFlQ79a6TPbagC7KMNv5H2r+2V4eqfyedEDbvjv631fxOXLP07lmu8T5Mp/27thghuQS+P5+H+lCD5157I/M85awwGHBzA42Mt/+eO96n0gUOJ6iUYULXjh522X9JF+5ywh7KSvaTJxTqOyzxJ5ds9J+7LBB7BaaSN/9AXnJakeJvlmK0wPVIsviLOnG/5WBGWgw6RuvIGMtUiHhkbvOW6KY6BhwtzxiokHXq0sjvmalAHeQJVUmh2msz7rimb7YYD8hU7uMLaVtKuCwig4S5BhMmsqPgdtZHm1otCa4oPYbuMeyU2O0c/TePCzhFXU91IJE6CiDcc+3V/9oG4BQVE+jRorDmTPoGW2sSS9c5teMk2LZ+VbVbJiOTVBxv4XTS1Y8pllRHhBSHYWAhE7q1hDaLW1ztlpl5QN2h6ti1iz+ukR9c16Ke1burfBXFcP7SjQ6Oby6Kh+Ehac3SJP35VZStU5JcTz+RDi53fpCzcO3VUcN8FyuQzsr0WVoEnnwDf/90p88P4K3PJybXtmgFAWt 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:(13230031)(1800799015)(36860700004)(82310400017)(7416005)(376005);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 09:18:40.7982 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 694be20c-e437-43a6-46d3-08dc7b095628 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: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR04MB7210 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_021851_450422_E65446C7 X-CRM114-Status: UNSURE ( 9.60 ) 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 Remove space for adm1272 compatible Signed-off-by: Delphine CC Chiu --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 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 33dcb2451ae3..ee11b3b8e81f 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -821,12 +821,12 @@ imux29: i2c@1 { &i2c11 { status = "okay"; power-sensor@10 { - compatible = "adi, adm1272"; + compatible = "adi,adm1272"; reg = <0x10>; }; power-sensor@12 { - compatible = "adi, adm1272"; + compatible = "adi,adm1272"; reg = <0x12>; }; From patchwork Thu May 23 09:17:56 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: 13671522 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 79FF3C25B7A for ; Thu, 23 May 2024 09:20:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=8HdgnaN+RBDazt2oywKsUXWc2pylD9K2D6VnPWK+ZGw=; b=l3YszT4eUU8UR1 h8wCcZmfEmO7+N5BsdzJ6QIivJbvuZBhVKJK72yHD+s18cVy61Z0XgdzywSbReX96YPzRM0x4c0go zcLVqqo1UPFcoh2npnMwMMjk8BPBUZeTnWqGDRVxjqMC2KyoJ/GJ9Y4nl1Y1ChZwC4fxA8kcMVBop HKSBa6/HP+BMveQYTNFc3KhF1OM/noCtxYa3ECMMq0cBhQrY5ANswPi55Vq5x/KRIrNzsjIYLladc 6R9pKkE90MMYcnQkuZzTL70paLLp3wFy7U1I5rGPcVuGH3+2sM//Kpr/iazwxjMu7sHyPis8jQ3y2 vPYsKbpdmzA05kpfPwIw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4cD-00000005e0J-15FX; Thu, 23 May 2024 09:20:01 +0000 Received: from mail-southeastasiaazlp170110003.outbound.protection.outlook.com ([2a01:111:f403:c401::3] helo=SINPR02CU002.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4b4-00000005dLp-38RQ for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 09:18:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VulbN2o6k86qCy5QBmu4BTrMwo8TreMDYS0oFopb5vqJKyqiuJUFQKGiej5LdsybNKrrsfr32TOK7+hciZHYmk5fu9cvD/h2NIULkFTnk4bGKnOqyt/nKqNdDpl4rXnZ+k1y/mcqN0Ma0qM88bK1Zn621zCdlB2AA83smEXvnQWIk5XlEncBgHmTI737z3AX5RHlW2EDicl6YcZaRHEWFopjoMYNBq8LVQGGeLGgj3aWvG/TrUXii5aHUeO5oTfmmhdyVa7AYL9EfmXTJFpGdAbNlw/RnBmhYVoTWDtCYJR/uLHSo8XQT83vl7ZbmPor85W9RiCWsDWRUwfBlejYyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=qbK/2vsfBhS2GguN52/kCxQEVmWfjdwDuSA91VpJMzE=; b=QsoiVA3Y7PigSFxBTxdfwLAasMy3cNh2eRU8rwtyFJ7RNg1BRt4Oh6Dt4tm2XfBzIMG4INX4wWxU7GuBVDNA7aYGCzgeHLKBlJlgl1RaXHNMEEifp53bDf/mRQw9cZAGgA/VsEEtU5TmCeuv6TZyyEu18fE2BPRM76LtySsfvHT2ZdXX+J/pzj7RNGRwiaqaZ7a124jwwDHuWNBnyesYRAgRyxlgT0I1Achf6AfZsjWjoGIKc71vt4m32TlOivOIsxv97PP2nZ0F9sVadrMmo65qJ0ZrdNlFGSV7L9TLxeIFUvLyrzBsUBfmvcGJSQ9jLuv5x5hR8Y+7Rqxck/NGdg== 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=qbK/2vsfBhS2GguN52/kCxQEVmWfjdwDuSA91VpJMzE=; b=CoiuN4GyabSKBdNQaiv4lkpzl1n7y5X2QRTUcfbS0XlZVObBSTJScRE0BBd3KQ0mMdt/hgo04f7/7F8nzGvM5MmWe+sx28wE0W9yKdQfN2i6aHZyiLQTDri4M4cWm3lz9cw866bxwwF0opKgEDewR3+s2LWyECcgGTKScC0GoMQ80ht7WX4zAXWLwelqV8GM8a++ze6uG1Ablnt4hY+5qQ/OF4hCSBbfVHuDmXaa4y8CxZJRdOS9ld1hKVZzu14Qde4KP3PJa6+YAnwHKSzCXcSm2SI3//S6UNvHJ4y+vBM4t5t2rt363a1g6vWpb+GSoaG+CQq1rTDMjmmFKA4Jtw== Received: from PS2PR03CA0009.apcprd03.prod.outlook.com (2603:1096:300:5b::21) by TYZPR04MB6981.apcprd04.prod.outlook.com (2603:1096:400:33b::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.35; Thu, 23 May 2024 09:18:44 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:300:5b:cafe::6d) by PS2PR03CA0009.outlook.office365.com (2603:1096:300:5b::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.9 via Frontend Transport; Thu, 23 May 2024 09:18:44 +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 HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 09:18:44 +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 v8 09/23] ARM: dts: aspeed: yosemite4: Enable interrupt setting for pca9555 Date: Thu, 23 May 2024 17:17:56 +0800 Message-Id: <20240523091812.2032933-10-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|TYZPR04MB6981:EE_ X-MS-Office365-Filtering-Correlation-Id: 4036b935-5d12-4395-7cb7-08dc7b095845 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|82310400017|1800799015|7416005|376005|36860700004; X-Microsoft-Antispam-Message-Info: McfIG5LeTc+Zi3G/jge4QZO9jhbQ9L0R7B32F5K/F+WxAb0J1jah1gWwRFKYjstdZnrRuQaVpwYpOF2+TOkQftMX1CMQDJ9+gGFuebiTdXCJ7YJLDqLhmNsRpEkaCgAqz8YF/WCW7BrunzbjeJBnPJL7sA5MZ+fVTyQz4cnbehL45I8Be7FGUM1Adcrw9TXcUijaKSeFSGvT+TJDR95sFWXfkY4KOAiJhkvPoEt44eLhpssf34CPFI1BGcw6cCIJzGIe3wgA/u9T0vDRUdkgKzs9yRHPWqyFbjYmg+ANUStK1klfrkcBtxT3Dxf9/wirBfJFg6rLZqTIqJflnSIpYeI2b2qGEmfv+mwITh0SkrjB4NuYfVRfMgM0Ot9iUu0pbH5IN7//KvV22jKObE77L8S0FsdmlJdXBJ8i3taDuq/Azep4USNIYcpFNNJ6gtOaAosWrkekO9zZ/15IR316/KWBM2GJDPmDAnw7D8QiyYn0nHXS/97bZv1qvBEa2GahkQjyg6YN7Z4z5scWlgSjFxmlbc43k5JAnQrMzu6UiHZsffhPXU8U3fjncJnDvy7r38Y9V5Q5PnHpFqO8BNlH8pnfazaUpdTrW0rAixUUZAA0Ewix1FDpPh7gwipmqVSLGHtKPXzXD5RCkMw5LYOawJBLNj1ZJLDdzdiJRm1kREo4Iz22IyS8zj52Mna2LXQ15E3n9bXgO0UdzIfwIxyMfD6Ik6bYGvDiqvd5Cm3stQMT3/ZmcptxT6Ac5/dALqDun9I3lBA0YV8+D+UCmapCDRH8cLDhSLGY3qIfTuC5l7MbhQHKJpDqTkBvqmJ9QmK3FlBqiTcUyLih5J5laUPlRGoBiL2da15hCmE6Q8Sg3qTr9tU8mWnaGBv735AkyvQxLJYfMOzdMvoYKLle1+F3mh4jLjh2+XpY2RyAgwrfwUEGYEo5Li3isLoLQe6773NtEk8fkbCPLlWRZAP0xjpTbDFo3hAKpUZmIAysIkqCqgmCLRu8VyA9s+Zfrwvj0JJqf8ZakSYNJm9eHvVTNJZzX21ux3D458+86p5rlBJrWknX1GkbwVj79fSluEh2eB2x8ALHp7yD2F92XquTjGPTyem7lmjcfqq52JGfJQTdzC7VfB4Nh9rb6OYiwg21KliJJd2Id2WUzCDHIhgJMVtoTUlbhL2NzGB4UipFxXBRagZ1dOJiWgugULCwe9HHUYGj5m/sK0/484l7QvpbpInNNVd6UKl8kALv10gG0GW/LPMFOq/pDEJ4cKIdoHoA3siWGcSZqbKGd/AY/U9ybQgJQoLxl+4j+cL3+YtFQUokFRKfBS5czi31dy9rAOj+tZffyCMvu1QTHmIInCRnEK5vRDGXb0aDqwmcpKddEwv+dDSrNvwOaiimEaBr9O6pSv+g 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:(13230031)(82310400017)(1800799015)(7416005)(376005)(36860700004);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 09:18:44.3451 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4036b935-5d12-4395-7cb7-08dc7b095845 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: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB6981 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_021850_915234_D9DB54D2 X-CRM114-Status: UNSURE ( 8.30 ) 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 Enable interrupt setting for pca9555 Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 56 +++++++++++++++++-- 1 file changed, 52 insertions(+), 4 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 ee11b3b8e81f..92733a8ecf0b 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -832,30 +832,78 @@ power-sensor@12 { gpio@20 { compatible = "nxp,pca9555"; - reg = <0x20>; + pinctrl-names = "default"; gpio-controller; #gpio-cells = <2>; + reg = <0x20>; + interrupt-parent = <&gpio0>; + interrupts = <98 IRQ_TYPE_LEVEL_LOW>; + gpio-line-names = + "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", + "",""; }; gpio@21 { compatible = "nxp,pca9555"; - reg = <0x21>; + pinctrl-names = "default"; gpio-controller; #gpio-cells = <2>; + reg = <0x21>; + interrupt-parent = <&gpio0>; + interrupts = <98 IRQ_TYPE_LEVEL_LOW>; + gpio-line-names = + "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", + "",""; }; gpio@22 { compatible = "nxp,pca9555"; - reg = <0x22>; + pinctrl-names = "default"; gpio-controller; #gpio-cells = <2>; + reg = <0x22>; + interrupt-parent = <&gpio0>; + interrupts = <98 IRQ_TYPE_LEVEL_LOW>; + gpio-line-names = + "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"; }; gpio@23 { compatible = "nxp,pca9555"; - reg = <0x23>; + pinctrl-names = "default"; gpio-controller; #gpio-cells = <2>; + reg = <0x23>; + interrupt-parent = <&gpio0>; + interrupts = <98 IRQ_TYPE_LEVEL_LOW>; + gpio-line-names = + "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"; }; temperature-sensor@48 { From patchwork Thu May 23 09:17:57 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: 13671524 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 016E6C25B7A for ; Thu, 23 May 2024 09:20:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=u03zeD4WXEuM26SqiB1ssAzW9FG4jEItl34edXYOTbU=; b=Zo4xALmqJIDQ7j DfQ8x9cg5fll+lfg1sDgxi//pJtV1hJHhVNk9YFr8fUw0DYl8ruIuE/1/47nQjHAYVKltt7CaI5PE Ur2uPAbG61nOXxsL3mmLDBRT4BYkqyChygm7WVX8aSh3hmwGsjQATV6t/HmXvzhXYEhgRM1T4blm1 c+Hx9b8JZWu1KwC6hecKCKTg7j2YtAdzoQQLfkmryOFyqbv7k/wMWFj/FFWUFMZphz48WKkAok9kb JRkb28gGRZPlJmSyShPSiV3bi0srs60G9I2jxV3mBRk4sewnvpjZhQVFEi5mhQpGK2p5f/t1OXRVG MddjstfxmWasLm7MLxvA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4cJ-00000005e3W-06nU; Thu, 23 May 2024 09:20:07 +0000 Received: from mail-psaapc01on20612.outbound.protection.outlook.com ([2a01:111:f400:feae::612] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4bB-00000005dQb-28Sl for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 09:19:01 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=neJ+2hIasBh8s6wNgtjQwkcTUlzHUwNhZeRi7btciniOG+6r9+DHmmSoa6qOqi1wyaSKoTrkRM2P5x04BrxhFuF+eSgLCAGMcR06nPaUdakLGNKUpYhSqB+iVHk96NYNto+/r1rT9MdAsO8RqIffv/MUuC40r9cqABSVt6Nl7DYpnncsnFnkl+asHb5iYYZNgG5WB6yDTPHTNrrVpqU51LbsqP5Wg9K5qAyquXUVI8+R7HrqhSqm5y+HXA6rjXm+fMXd5wYmtyUfH98RUBgpYkv8SpBgVl8PCOVqvClhzgpvJIj4Cs1fp1Ab0oYsgHkMIUYTYyjGW8b+3Mn8C5sVmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=S11d+Rgg5XKlgMlTPsawAewq2X5TMPnusGFqrYm+mrA=; b=GNXwFbPSMcHForP9N2NKfbC9q3iMklUQFKTd2kY2ogZhqQ7Z7sabvt5YW/Y5kpboNNCE51C5jK1gD/HuOHA2ZS+NqYcxg0aalY7Ocn6qG1iyc1Ppw8sWin3GJPjCsu7+7j8J6BwL8RBUtHilfwWoeC1IJdA14sEI/3Uogsv5OP8TMmLZsikMyWuETVL3zw+qAa/oVTH4fj+IlqElEn9odG35djm9bt3i17kW49EDqpDLBf2V3UmQN61c7ss6+jZYXufrdQ66nCbQ5krpySoPWZcEo0U2ct0KaqpvMuKRerlKczwXPOdMktHNXlzZ4rHF0QFkPPFeh+MNssSQHDxuag== 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=S11d+Rgg5XKlgMlTPsawAewq2X5TMPnusGFqrYm+mrA=; b=axxhwC4GXvwRCE3KoBEJj8mMwLeATvRWXQgo56Zv4butlh3/pPO1hyAoC7FBtaleYTBdPI3GUAZGRrQU0AAvMghursuMKxsi0xdLdQikolvvmd45w9TjwguviR5B1cQjEIjfv8XxgtAvv/t/ROoiuaXDMdraFe8sRR+hnlvp0mypZMB/SRQce1kv4z84MMkkvZBcCfdgxJ/Kj6Dq8XgmDgq68v/oFO08JTiwvFvEKvpaIClh1oFSB2EKLhJYQBqHe/SH2OmHK5eEqdLwsG3nSDd8NeT4CCoLA1XVboHSpGzvEGSQciUY5JF+lIo1ZXvKlBmPYS6foabUkJVfvN4KjQ== Received: from PS2PR03CA0019.apcprd03.prod.outlook.com (2603:1096:300:5b::31) by KL1PR04MB8143.apcprd04.prod.outlook.com (2603:1096:820:142::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.19; Thu, 23 May 2024 09:18:50 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:300:5b:cafe::a6) by PS2PR03CA0019.outlook.office365.com (2603:1096:300:5b::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.19 via Frontend Transport; Thu, 23 May 2024 09:18:47 +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 HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 09:18:47 +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 v8 10/23] ARM: dts: aspeed: yosemite4: Add power sensor for power module reading Date: Thu, 23 May 2024 17:17:57 +0800 Message-Id: <20240523091812.2032933-11-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|KL1PR04MB8143:EE_ X-MS-Office365-Filtering-Correlation-Id: 0e2f95b3-bb63-4a5b-0631-08dc7b0959f5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|36860700004|7416005|376005|82310400017|1800799015; X-Microsoft-Antispam-Message-Info: z34dsyFtcSOmYVgntdMArFMYSsJ+mgbXfj/SFxHmIgPcnhVITcUfDwg4i0qTai8hFn8hn2H1DI62TE9AjPndaEOaRJWdP8snZTGgLeZ6mtUqJwTGDcNul0Nlrh3NHFxBXZaYWwxp6Aa2D7mhDTa2ycBAm4o5taGakRRoffqUYRWu3j15+3sRQqqtlDQtkxgHypTAJO/Z0MD1DwM0kSzV+JMPZ/g8N2lhYDMWKLuJYNVRNVBXaxKoEb4yS8OMPgTO0kmkBTbBW3VKkoahPjUrWXnIDURFDrsb0PVbamV6Rn+NDTXN81EiFel5zOiu38FudCHPTRnh3lbudKQpoNAnFrqaEnQye3pVTp9u1XPaeYiqHNFzeuIZvADyCHwTV9yzTDSiDu7i9JYbATD6iXwThLy12gI0QRuvXcr4qyDaAUTSZmvxnyaVaaShwr2ILgF1P2080CXjsG0DhJxjmrK8ALkj7y+oGpxIDhd0M+jvWbwojTLbrzjF2/GfYOVJL2Bp6MKv+qKZ7fokPGLyuFbPXY3/MIL+652kzf/JvBIjcEauMsV+E0ZyFpkfk88ewbhIAQKOd6KFUYPMtwpeZ/JPAmebAVUj34+hpt5/x0fegJuALtFjazD7klKliNkxwZcJznXcX41gdpjqwu8ffX6yii4sZ82mlarbl+HNHtacsM2qb1vNgHnDbeNJsNnOO8UZ5NgLI+BF/J8l++piL4JAZ/rcd9YrK42q2ANY4JNsIEenp7I4eK1s5YHK83HU+X7mB990U1wqlk3nkF3UbhkVgAFbgN6oFjYBAky10Jt7rg+hnsXED+xGia11si+E1ZnNqkbIblAyW1gxzv03SHRaOIDQyREcIHvyLioDdc09f2iJk+uAUzFylJTABSCmmq24zf4Wedo5OmUcs9q6A6w6TmHwtnVUsFpnLUaylgaWw8tKpf1s/KVq2TwpDIojQDdJz9U9PVlIK6CFC5HV9EGXX+U/ZmjNnf3PDHGRnq/wj2LEUY3cca4GpIwMCtC0n+pMKYmERkn0Uo9BNuKS7W33QmN7eurZ6i1tmmy2fHxincpPSVTxbDAN3q8XlIEmlrOEU///Fih3z/+CzZlmbeWvAAVmeMZ5TO/9A3ngFqOQGcZBPEPNl3U8b+p050w4qnfIYYbrrRYGnvXr+KP8LFp/padDmGI8H/LVpKT0nVuqSczenVaMqZgmJy9elpZyQVqzRQ4PClKcU2GCiqrvt+vnK1EJhj2YepazzwWvGR3WallwQMM99DzbnsF/rnns+SX4ZahK9+W8movEN3MkycwHp9WLw46hCyME77Y7sD06LNKRHIQtMHb8stbaz1WQ4IxrxdWjYYWczA9C+BrYIqPTAaN9OeTkNT39qd0z6CN1GY7EGmHAZY0CN+laBUMsGyZZ 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:(13230031)(36860700004)(7416005)(376005)(82310400017)(1800799015);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 09:18:47.1732 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0e2f95b3-bb63-4a5b-0631-08dc7b0959f5 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: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR04MB8143 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_021857_834338_0C122492 X-CRM114-Status: UNSURE ( 8.37 ) 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 Add power sensor for power module reading Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 25 +++++++++++++++++++ 1 file changed, 25 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 92733a8ecf0b..2ac872878acd 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -906,6 +906,11 @@ gpio@23 { "HSC7-ALERT2-R-N","HSC8-ALERT2-R-N"; }; + power-sensor@40 { + compatible = "mps,mp5023"; + reg = <0x40>; + }; + temperature-sensor@48 { compatible = "ti,tmp75"; reg = <0x48>; @@ -930,6 +935,26 @@ eeprom@54 { compatible = "atmel,24c256"; reg = <0x54>; }; + + power-sensor@62 { + compatible = "pmbus"; + reg = <0x62>; + }; + + power-sensor@64 { + compatible = "pmbus"; + reg = <0x64>; + }; + + power-sensor@65 { + compatible = "pmbus"; + reg = <0x65>; + }; + + power-sensor@68 { + compatible = "pmbus"; + reg = <0x68>; + }; }; &i2c12 { From patchwork Thu May 23 09:17:58 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: 13671525 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 20BD5C25B79 for ; Thu, 23 May 2024 09:20:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=JVGn+8YTLOcz3ug8bm4VYwasERUFHI5+QsHvH9Bjw3g=; b=pCIai4Tv9Ucopd T22V/gim2FI0mEnYDX5bAuCz+6VJ/RNbb4HMlkw1+bLbOo9zbCqFWQWFj4IgneVu+fggg27XbefjA r4+OJ9AzXwr0VDwrwzPEu+x9TzgEbElQmu6o5rp25gpqzCDOwqQ8Wzghs7IvK8N9nIgoT00hmvTDP SI+nVpcd5UKc/MP4lh63OHPIt4m96PliPYFrwtxbuA+igk5Wfnrwd6+5Jg5C2qZk6c++eTHTELWMN DWqwm/1uK3vSeoP384N4qvA5qwqh+aTC7XtnMyMGbid4zBQFQJxyXQorsEIl7Z1F4wubyQOPM+hrQ GKmZdqX5N9dbfArxGTTw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4cK-00000005e4N-0AgN; Thu, 23 May 2024 09:20:08 +0000 Received: from mail-tyzapc01on20600.outbound.protection.outlook.com ([2a01:111:f403:2011::600] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4bE-00000005dSx-0lfW for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 09:19:03 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iBefVbdgnbdHv0vbP7zdRaPfhAXLBRn7v95hr71IWVm5esqw7aMn39V+2M2ZTSVJa3wv5DbAUrsIAdxZvoUqyBFVxp6Pwpgl26jq+ted0Tqq4BHh89/LeQQ+R8SE85/+fciIEDiq5Z+B3fJ0PA+oWJeobu2uWE+zTQVV54To4wHUnsIvcD4us76JPXMiTTZ8amLOmXGlsWHA9WHRTfCqcVf+3DuBThlK8EF0JTy0Co328Y/AD9agGIAasl9Nh7asXW4d7F1YKNk0IQ1gyLIcDNlfxBYcnGcmLUJhHRrXNMy1XzXhlC+9S7v0936K7Bas1qYHPJ7QJiY5GgfK8XKg/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=/pjrbPmUmdku7Zq8bJDb7/0Mq2EK7dm/UVhdSc/M8aE=; b=Qd80aVTfTKI4GF1HyUAdP03yhuucAL7j2MD7XI5UIiEFHKT54Z6QDJQcG2nwl8U/QsmFiJ3o9sdQk8dwD6PiGr0FfJYuEVd/+7Xv3fgXbac1eo4l6YC4GUDWx3t76TZjx7+MimwAHias00nP5nyMn3iHCxBI3fn3SnxCywapDBKPCvep/zBxIYZKiVH2i9zebtYfD1M2DQRaM/G53x3vCYh6NsZacLShEYIuqosvWkkn4qoRSSWyKJpEnr9qd4BLontcnoH752zSa9AauvsZe+9mBFy3qgp11GlS6Dk1w4s2xZ9m99VFanM7WlKeAO6W9UTqhoE59aOn+PCXneehng== 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=/pjrbPmUmdku7Zq8bJDb7/0Mq2EK7dm/UVhdSc/M8aE=; b=wuPPJ0WsbTknwa11OSciPSwL1zuKvOlSkPaNDxQ17cG2AJeJsFpM0U0NwuF70GrACSzxv2Re4oho1Uhpf7a7D+ltC+UwX3wFuJbsP6oFJobzEtW3FVb2hEW+aJCpLlcYAZxsU//jTXcIAFLT/0q21z/8DwoV6AF6aMa4kq67QJ9Ub3GTzMxoX4oVazZOF6aj+241f17ArJC3/xCAkGv0Njomrulg8x+HxSxsjbDam1afOtjFtjnNh92Zjv0/zBViNCEq8Ni+uQirIqu6Xl/INLLZvIT10ZDIZiAbqyxiGtukwAEBz30j5m7m5JZW0oRKKihTkhlJFYHi9e4iVtrZeQ== Received: from PS2PR03CA0024.apcprd03.prod.outlook.com (2603:1096:300:5b::36) by TYZPR04MB6427.apcprd04.prod.outlook.com (2603:1096:400:28d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.36; Thu, 23 May 2024 09:18:53 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:300:5b:cafe::17) by PS2PR03CA0024.outlook.office365.com (2603:1096:300:5b::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.6 via Frontend Transport; Thu, 23 May 2024 09:18:53 +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 HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 09:18:52 +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 v8 11/23] ARM: dts: aspeed: yosemite4: Add eeprom for yosemite4 use Date: Thu, 23 May 2024 17:17:58 +0800 Message-Id: <20240523091812.2032933-12-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|TYZPR04MB6427:EE_ X-MS-Office365-Filtering-Correlation-Id: 50e1a0b8-249c-4b06-905c-08dc7b095d4a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|1800799015|36860700004|7416005|82310400017; X-Microsoft-Antispam-Message-Info: YLRPy4DBAugVbqBbKFGbhe2vn3O+xLEOB8svGyiL5khXR6jjtExss7OGUfQvF6Kp+EK0iufWaIi1RQVmrThNvR9IvPrX89yYBVQHetW04KrXRynybjdIZCFWuxOCizjTwpaMGtwWKIl7xjSTI9SbkeEBaz6MP56dMc5BZ6EkUc9yOieJywuw/XrIWlnq1uPFLWUCyAjTBWcjwvIpFGBWr98SSY9lr5yJ/WLTdqYQchQ1+QRsCKfzcKFe/qxZ806+WZJFAL2Hf3LC4mn20l1rJ3f+hs+U6zQSYw3IB9QMcWEgKPZIU6bO59Ep2Vz36IS/7puytbpGYNAeAObS5QcC28/yh+BOxLTBX5egBx1cxrXzZBRTQFjadhzcefk8Y7maqHCCk24aN8zs3DO3xhr7f7ZqptHTJKZKlXDA1Tibbbgltm5JRGHd7NdGU+zp8WYZLHW3zfGBx8vxjAGtJSC9nnroFZNm+neOnGAKbLxk6ymhcNYw9BuaSGhqlfnmX+4cb/x5neqbKQpNaSvhtT9RYE+9zNgicRBM8h6wumMIG10nMfsjYFdoI4QH1Pz0Do6Fg92ugRURL0a9rczvoJG+UG824EXwwe2E2E8jRwBXpORfDSU3ao74/AIkJX8+E745ZVsXjFBgw3HRGL+ugECxKsGHz+t5eKXg9ZxzRzEEkNwVdNajnxf/G5oq7mJ7XZEV9abXVOZ9RAe83TGvroHpsQBtozGRYwAPR2K7asBlC4I4Lgd/tb+MZAn7siU3Y4xCPvO4ntpO8gFQpyTdN/4g4pv8B4A8hChQfJ9Gol4yckR2jC832w7T5d5KemADQbrNeoz4SqLpPeKGbBRLgBjWNaQn22rMBcYZcGt0yQUDngzI+u6nWoBg1BhL3XQND26DdUej2NHsIYRKf7j5wQeflh7DrS6e1Hf8bR8cD9YOxw43wIqiFe9U8CTUAfRHHDkapXWw+Ir8PyB7oCvZMPW4Qv64vH2UigsopsQsFWYWrCZrZVwwv9tdPACyxdvCOuMhSGL72Md76ROAhTfOSejVNuJxZem13DA5j30K98G9sAcizZXzSLyoeXIR3pxpKAxsAjpbgvR5vbYoUxWlurBSYPpWd0q7sebPO63uy6Zmw8g0YXpKV0VO1DXCiD1uh6faqvasFOFmmldLGujgNSOcYRCSuJxYAXjNT2m8NotWyB/6QsZtndLXQR9UfLaDYDNtJ8l51nHsseaRHJlUkbLiGpIz69af6xf6wPdHun6H73qgylmt2InBL8/lOGRWszJRrWAFTw7Q5jRABSIZ4yFpIuVtlOb4NEMW16EO3H8CFAn3D0zOYkYz1en3ExC+oMNcBpHrS9mvJQikXuihCDXUZib12Eo71Rurbd49Stc07R0= 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:(13230031)(376005)(1800799015)(36860700004)(7416005)(82310400017);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 09:18:52.7670 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 50e1a0b8-249c-4b06-905c-08dc7b095d4a 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: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB6427 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_021900_390409_4038160F X-CRM114-Status: UNSURE ( 9.21 ) 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 Add eeprom for yosemite4 use Signed-off-by: Delphine CC Chiu --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 2ac872878acd..9a14f0220cf6 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -932,7 +932,7 @@ temperature-sensor@4b { }; eeprom@54 { - compatible = "atmel,24c256"; + compatible = "atmel,24c128"; reg = <0x54>; }; @@ -971,6 +971,11 @@ eeprom@50 { reg = <0x50>; }; + eeprom@54 { + compatible = "atmel,24c64"; + reg = <0x54>; + }; + rtc@6f { compatible = "nuvoton,nct3018y"; reg = <0x6f>; From patchwork Thu May 23 09:17:59 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: 13671528 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 AFE9FC25B79 for ; Thu, 23 May 2024 09:20:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=hEUcW5pmpk64KcXcGheXITliIiHdiqdQAFXk7z3VPOQ=; b=fAaW+OiqA8dVR/ 9AU5xU5T0uHo9xmstXYWlWqZHHTJpAikzBu+6UEH7M/yb5LJ6qV5lmBm40znpGepAMl8s//jy+hnT pganku8VZdzY9HveWPUKC6oNoPDg1wUzMHfXtNnvr0gSoclUd185fp1HjbqSmUQbvG7CPpsGjaMRF 36+NsRuPuEYdCKaj+bCw28mKoRhF5aCvFcZ7vU218HD4ZWUQXkxyppBGZfWar1YpLisCfjLkAv1IG VgKXUIRHFDFB6UJwjNWogL1uCK8Om4u3o/w+A+5nv2wqMOH/bYNN0WAEJ+xJFgSCV9pgky4VPDxqX kGh1ztiDcf/WfNIlLW/Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4cP-00000005e8j-2kOU; Thu, 23 May 2024 09:20:13 +0000 Received: from mail-sgaapc01on2061e.outbound.protection.outlook.com ([2a01:111:f400:feab::61e] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4bK-00000005dY9-42qe for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 09:19:12 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BrFWg/sk6WEO1FcJoc2lxF5TJ3NgyQ3S+NMbwTsP/kTaAcpJD/zccbxW3fg1JxIJJ1IPmiyiTsdOqWWeALnjwDDn+Cu+LYCcleZ/DvbPAKKL/evZ+x13pCX8yq9uBm9TeBLOFM63CDEct4eBv9dbfwL/hT4Sx5bHdDJGLb4bLftl1f9ew31DQD2+REa9InNauAdvpMIBJZm8U9RSvkTapc8g2KJqxpD0updL+TRiRP6YwE5s8sRnDI82zW36MX8OJ393cJin9U7rBqO4x0aR7oHSeWCb1Y+w/57XcGAyx8s6p6+EUHJseV9welG6K9bbIXq7+tOMcsHUyjyXJjAewg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=5Q5MeEW03FNC2r/kxYIzAJUQLLsW+EcYLhskSOMMcDo=; b=U6vdKG7cY39fQWzOGoDoMpGDYt0uFC3QpqeipWaM93FdN+j7IliWXsgkWVCIQ7ILJjrMKy4V7qAmN99YLZ9/BGhmN22d/4vGituf/h7YVCJTW26Cshf0dsqumM8Ju1nV08BVM7OHJkb8LhOkZJmi3TSsxhS8XT7JH5PKpauJEtRh12TtOQugGjEidXpeaN67JLY1WM/x3czD0uHWNyiV07dOkqsCoYK/l6qKFfw1+P7EWi1LohwO6I5S9D0xwDSjG2KC6A/m8esxJvTt1/ZiSI9FB+HM+bxVc416n/o1hAopPHJp6unGBHDJb7aGodeTifo7IVdpkkiJ+j0sxGViQA== 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=5Q5MeEW03FNC2r/kxYIzAJUQLLsW+EcYLhskSOMMcDo=; b=BBYhTapJ3sj1ECJkzcuqIQm1+ZbE9Osx6KeI9sRxaYCt/qLGcVjXZLOq1kadKWeFj5LHpJG9wtpR97hiL77JOZMxKjBTobLNhsM636V6Yzmk1+uI3a89s4MM1zms5lyv2RVOi+sMHUgwXQ4MBq+8t0v6sYZFvGSkKBciLMdZcIeIn4lNYWRopfWcchgiJzFngfzYaDEoZD6QxSJBFYKyWmsvqgjIRL1+Y6IMnlGNSGO0D2v01PTjgYYK0uQh1T22CKctAH6s+8pykw+qF/r7K2WRwDq4M5UKtSDNEolnauG2qFJY2X/hxZeRs65FRYBjqox5Hxr3LnrZPj4zBtgxYg== Received: from PS2PR03CA0005.apcprd03.prod.outlook.com (2603:1096:300:5b::17) by TY0PR04MB6265.apcprd04.prod.outlook.com (2603:1096:400:27f::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.36; Thu, 23 May 2024 09:18:56 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:300:5b:cafe::8) by PS2PR03CA0005.outlook.office365.com (2603:1096:300:5b::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.19 via Frontend Transport; Thu, 23 May 2024 09:18:55 +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 HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 09:18: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 v8 12/23] ARM: dts: aspeed: yosemite4: Remove temperature sensor for yosemite4 schematic change Date: Thu, 23 May 2024 17:17:59 +0800 Message-Id: <20240523091812.2032933-13-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|TY0PR04MB6265:EE_ X-MS-Office365-Filtering-Correlation-Id: def4b947-885d-41b3-2e30-08dc7b095eee X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|7416005|376005|1800799015|82310400017|36860700004; X-Microsoft-Antispam-Message-Info: xJrZF8974VzOezmZkZu/snHQjMuRmUlBLSeLQ/hGiwy96VuCGHqhubKEHunplaVid+uxW8U5W6jKLY7r5TpxehyJn/arwChS4g0JggtS0ShlzYjfq11W+6ksdS3HYaGF/hWgGMytO7iMlthufrdomZccsMv2+JwCj2kwIPZxSNdnG1U/ZQP64hbA/l9x9Mk+0rTJ7fX5DF3OSFmX9PiWzb+/bsdH+SGAwHGmeYgB9sqCA4f+unwhpWUIG8VIYraYJgQ/7yK92QK0AbAWIp0jGtUpZ0Tu3At3TX4UKoisgOE1WrnsljLUt6b2h6r6gKnMVL3KoMr//mtfKX5Hp40Cnb1T2FncnRuNvtgywPYEl/FLOOcJWxGnBSy/zFw5222GAF5ojSokxVHR0FANtNxWpE8ASkgLiZLpXbiCnkK2wk8M/BxW7Xuqu0cM3lCGrcV7qu/bzHnHUsQwblLplGcn6xVkAEyHlQJF/XiMad/ddzkd1bf/fSk4DdCcBR7zD5aeBx2cnd54Xwwtu5geJMuVB6ObnAvISj/fr7HsJBYIF241LrSwjV6ReL+jwFGjPPAOBjAgJ/76NOw29rr0WOjhNiLoso97oX7O++qxCFv80VbXSQ8Dutcaw9fiHHsQRnAzEzliW5UfzeO8DsY4Jg4T0GvBd/WOyMk2fjFs0zcwV9jdiNDkDvSlS6jybM9m/T6VDCkyktRSxTMV655S+dr51xzPCTtHiudio1mmnWSljiYMBLHerwyaIxonR4y2vkM/ktl58L7ipsyyin5WP/s53/mFPqXLYqmClQwHu80kHlxTOdvgBEHAB7aZPIcMIyF2TXuOwIjnhxTA9gh+LUFENr8FbVeKSQMwKlMJ2cgCOw1cMPv1y/bf/NBBf8jNE+K1pflIue2G75E5LPrp2yS1qbn9qr1kaGaxwgM3+LZUtE4U6rMgo+w2Q5XKmCEZ5C9ve5Aiflu1uPsEVzbsOp+9fz+BCxNLIwTBElYab6J9OhLUG0zHRZf2VocvzDup7F5oq6NGvsuPvEVm+GmO4hIDCRWGrYQq4rsuJMFZWlRne7/L9Kbx2L5aUORe4heHqEfnK5SwPUnmgZaPI2ocUgimi/06q61020gJl8SPSl+L2xZkS9BrW6I7l6s3Di7eb5XPe6CRMIJ/aLtbMswFt+0VGLd7pkpWy9KBJO2Q4WlVTPcL/cV45/1soyei8eWo0b+8a1S1mp5Nc7O00aeg5GxROH5IfNkSlTzXNkhyvcKgZ4dvbQ3FurQHCaSX4MTvvAjxrKg8jxEQonn2YkZ4XErucCDONVY+cQYiaxDHedNKYNvXXjPviR6y95mxNkzjM+6JIbKaxMVmb5IAHEBPQPIqdVXBcOtXD9s33wRWdNZzARZPWVIKIr3Wq+OvRzS7VdH8 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:(13230031)(7416005)(376005)(1800799015)(82310400017)(36860700004);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 09:18:55.5170 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: def4b947-885d-41b3-2e30-08dc7b095eee 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: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY0PR04MB6265 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_021907_124338_CF623F5C X-CRM114-Status: UNSURE ( 7.52 ) 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 Remove temperature sensor for yosemite4 schematic change Signed-off-by: Delphine CC Chiu --- .../boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 10 ---------- 1 file changed, 10 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 9a14f0220cf6..8f3bbdd1bbc5 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -921,16 +921,6 @@ temperature-sensor@49 { reg = <0x49>; }; - temperature-sensor@4a { - compatible = "ti,tmp75"; - reg = <0x4a>; - }; - - temperature-sensor@4b { - compatible = "ti,tmp75"; - reg = <0x4b>; - }; - eeprom@54 { compatible = "atmel,24c128"; reg = <0x54>; From patchwork Thu May 23 09:18:00 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: 13671529 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 B3BB0C25B75 for ; Thu, 23 May 2024 09:20:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=00M0b9loPe0nhePc5GHZ2exCPakXDCnQCTjWtQpNd3c=; b=QIHbwwjb3ygoVR 4duL0FqKnfGq95efSF9W31dl+jIF7dea63fQDDg31KUKCyAVYNmmjc1zZkxtfnPjlXcXWgV+hn6k/ qLLAULBNH9dKiddv3jaA9LQeNxfLVIFFkIpS+DdbVJv+7wE2HsyiSFDAg8gKYHwIZOiJ5qILSFdWW POdDrip0BOcunmFiQpQ3ISekaRuUaYIQRlrMXm03kFagUoEcI/7QBj6qaYiaX7CaSmV0slyEjH6El FizkS9RoRj0Ernem2UHOLOhclGs32yQJhU1ahfpihMK00u+2+GC+Ara/NFlhepYf1NLnJ5+xElPDa jz1M8a/ho5XsYO92uZWw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4cS-00000005eAj-1cZq; Thu, 23 May 2024 09:20:16 +0000 Received: from mail-sgaapc01on2061a.outbound.protection.outlook.com ([2a01:111:f400:feab::61a] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4bM-00000005dY5-0Vmk for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 09:19:12 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=k7jMhcRxBBl5jP9red3K/6nACEba3VLbyt13tPBLHc3/0CYJeneAwFX8QwrYV8EBzZOssAv1Z4IS8u9ZQzlThEROpXm989+9z2HAxJHAeNNV9d60gawpzPgJYe8VAIDKCsHNevyRYOCWN3js6blIHo0w5c9BjkUrodB8WOmGDjiBLlck8Wzx3XC7cJKuHj4ZnzN3ZRIdThm44OlRbQuFm9dlwn9i1zPD1utYeVWvUp10XzsEQ3iSiOKcdOFg2d+jq4rLdtceBDRFpdiMNdbw8zENFwOjG5OLksuGFgZAc8UrKluCdYeb5MKZVXbbzYDyxd2LLNg6SgW94296P6V7AA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=/vQQ3x+PmWObjM/+/9aZu+RrnQuFpeCkTBq+qesncHc=; b=Esprz2xTj5dQniTvz7n7iv/syfxyBdjzwKsQP95yWtsEmysfoS1inI85FKqiKqMzdpCFzcTtooW3rgTW0EP4A87WiRx2Qq1cABc0L7q2dHUFgPzebTCDOI1IGdlSeZlMVOQY+XnBEktCR3/j+WCT38wY/Q9lHHUh7cbOskXlI9foLN7J8NYrRU2aQlGnijvoVNevCsHhaJy4U87H6BoQcNgw9/tJNO2sey3xGTn76cJwZtI9iRtS8fhaCZQuYbEqwxwqWJvL7inOiJ+3Ps0L5xK8SWuyj5IAbezHMHTaIt43WlZ7WAMNsidvl3jTxokH8rUy+Gok7nuewPiEl038tg== 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=/vQQ3x+PmWObjM/+/9aZu+RrnQuFpeCkTBq+qesncHc=; b=ZAFjKShcWROEvYTLMG/LVtFh1vCW2+illqCdTxAvo9bQqFrVMw4fkV7dVabxFExBoCz/HhxBbxA3bgclK+C0uZ8c7IMFOIFZt8ufYyVPdegvQOyEbS1X28tS1T/KYegmCT2fKmW+2rontYdw1C9gzf+bfVnuAJldaCjf3nHPsITyJ9X2xax93f9el772xj3+MvNQG8qUnPuy15vX//7mjqijZJqWogOHiOWRGt1aVEEtw+6LrNvtxvNdi9S1cFFzaEan5gqk56ZLgbfqDoBufLf5UGP2NSp4ygDwrveVMwSkv7u8TLIrgv893RPaVhFuLVFBTqPJMcimk9nmFCXQag== Received: from PS2PR03CA0021.apcprd03.prod.outlook.com (2603:1096:300:5b::33) by JH0PR04MB7479.apcprd04.prod.outlook.com (2603:1096:990:6e::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.35; Thu, 23 May 2024 09:18:59 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:300:5b:cafe::bb) by PS2PR03CA0021.outlook.office365.com (2603:1096:300:5b::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.19 via Frontend Transport; Thu, 23 May 2024 09:18: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 HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 09:18:58 +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 v8 13/23] ARM: dts: aspeed: yosemite4: Revise adc128d818 adc mode for yosemite4 schematic change Date: Thu, 23 May 2024 17:18:00 +0800 Message-Id: <20240523091812.2032933-14-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|JH0PR04MB7479:EE_ X-MS-Office365-Filtering-Correlation-Id: 5cf6aea5-effc-4a30-3f57-08dc7b0960c6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|36860700004|82310400017|7416005|376005; X-Microsoft-Antispam-Message-Info: zHl577SSN/w7+Cp/nA9YiN+pqMcYmPXK5yh3lIVhcjYgM9RGnhoTRa9fL9Y/sQSieKVAqljHVl241Z4MUqv0IEHpXahx3lHE1TOwM7RmjCT7uN8LyvrbgjmAWZgc+KGJgRV5HsCAicVs6Acc/io3s6ApK+QlVIHPApFIEPrLXbwc/Lr5MEWCoHLIEFDD8ZB7mWb8qPYvso5wNNYU1RTNWOdxQPjkrXhHpdeOvo+BUANrH2hED0ptCojMzCTPl6oYitcKNsPgv15mRgu+H2tHLA+xNY2lNNFgwnfYy6qszUbqPXEOG4hIWXjmGUOnpEAUgzpIJDuV9nIgzg7BjxX5iNQB43MjPlgLbS3CdFptN2y9SH7PzwuN+X3LjvH3wmAgJhokn4xZiFT9Wgil+IUQxlIzbzvro/C3kl3EMizOkMyiE/Lxkx374KoXY/xZ2TXa6t3s8Hj61hKrSaGa5rRW6UBcEs8/dD8SETEtIWqOK3mtS+l95wZZzYfvCQoNtRXOj+S2hNNMXw4nJtyHFE3NzWNEvsY11Pxf0y32Ex+HYPcZfjGeXLb5B7Lj9wahydbejYQRa9XsC6X5wBMZBpVPMqayuKDO3CZmY0ymK0QWi7k0txv4pexWbuwo3ccXySal5i/ZaS0tlfhTdAhl9FlnZMT9w7mCvLvqKtsRoKja1dIjRtUSeAaBzuaXwtDGATeFG1JS7TxkhrZbW7ve1DgZ5MEyJt4+8QP+mHA8J3Yt4nzD6f6/KWBuXSY9d7UFsGH0CbZZSmNYkve3rXAcBSgB+I8rqIRvsbnbkZIux/uiMJhxj7U0FS1fY7iC8iYGXhoJafmbuTnvEe/xhVHUL2CRt8jkuVQyKiAurbaagFpKTcf/Uv93f2kieaoPl8+maUIfRAWf4KVe/ITBbz+m0+V6TKd9HRhXT/gGe5o02HJGikBeE/eh6Q6B40rRZzcxvZvL8oLSxBpeMbHW1maTWuWX7hQjBhX6OcuoeH3SRpcgTX/76ETne0NkzfaaAACuzkD4aJKWe9GE7gqcOX95aLAe0tTIoWh/5ND2J8vVK6frH7vhnQFd0G3Ot3C8L6rIt1UIlbBNd+tL6gpdtncF7GHzZ1YrwPOW3k8BhJXQpXpJh/HrGMDS+zoAUtnzd9syrS/fit4hwu1SqV8O93facznWzjs9E+YL1cWmzyicGdNEH9K0pZfxFx4mZsVHZWEZN5qff+UJRz7vehtBF7Ut8DMfkqbm+twroxMLf9893ckvx3JQqljkOFZHvsWUImvucj3rP/+d2zfnb5WT3iv62SzW1w3RkGLQZi0AUbkbz6j4w3oo/1q18XEwvzznHkq+xWidaRqMw/Dg1NEkBj/xQ+d1yYz98kc+HtEKyplwuJS06uk7AmIEvQZHuMzV2IzAR1Xv 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:(13230031)(1800799015)(36860700004)(82310400017)(7416005)(376005);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 09:18:58.6107 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5cf6aea5-effc-4a30-3f57-08dc7b0960c6 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: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: JH0PR04MB7479 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_021908_516838_66882B66 X-CRM114-Status: UNSURE ( 9.19 ) 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 Revise adc128d818 adc mode for yosemite4 schematic change Signed-off-by: Delphine CC Chiu --- .../boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 10 +++++----- 1 file changed, 5 insertions(+), 5 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 8f3bbdd1bbc5..0c7d85ff4360 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1018,19 +1018,19 @@ &i2c14 { adc@1d { compatible = "ti,adc128d818"; reg = <0x1d>; - ti,mode = /bits/ 8 <2>; + ti,mode = /bits/ 8 <1>; }; - adc@35 { + adc@36 { compatible = "ti,adc128d818"; - reg = <0x35>; - ti,mode = /bits/ 8 <2>; + reg = <0x36>; + ti,mode = /bits/ 8 <1>; }; adc@37 { compatible = "ti,adc128d818"; reg = <0x37>; - ti,mode = /bits/ 8 <2>; + ti,mode = /bits/ 8 <1>; }; power-sensor@40 { From patchwork Thu May 23 09:18: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: 13671530 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 9557FC25B79 for ; Thu, 23 May 2024 09:20:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=EHCcfksCxBQR+3zNKNHWpFIxt7Q3CkfyJRK0mMI0Msw=; b=AQ5xGcamTx5xYJ xxFJ5MkBSsjKaU+Ug6hZ2TeXzqtsIX1VeY1GVtrGoP9T9O5gUQMZaaHQJaSDnVKPpe6tm43wj23mS HNBCbfDIp8KrVm4SGn4bpJFTnZXIjNSygiLkXaGd2qE/fqRju+RBdKcLdkn2eFLOz0drSCZoHShjs DCtVuTrUH3TYVRUHQsFWo4a4RWepXFhdL2iqAjS8q94VLITxdLLhvASS5Cf8WaL2EewGWH3H9ZNgk am/Wuj/If9WUlQPy8CMfeNYXQanXb5xqNVD8Jk505BYBona4tabLEN+aZ4oPTnjvHg8/M4z4gGez1 qtayA5UAGhT9GeSdPENg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4cV-00000005eDN-1enT; Thu, 23 May 2024 09:20:19 +0000 Received: from mail-southeastasiaazlp170110003.outbound.protection.outlook.com ([2a01:111:f403:c401::3] helo=SINPR02CU002.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4bO-00000005dc8-3Sfn for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 09:19:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=R0HwiHhh1CujrV9zxeBBVp5ydmLhwKtHrnuMyWCqAuxDK09l4JytLoml3pS0KIZ2atW1Gxw+je/YMa3airc/6I+/zB0WMO8rv7hRiLUv7AmIcBzheF4bZvsa9MPs2gHcBioiopYFoLlW41I1E2pESHtZkuRbtdOjXqqLrBO2Dj5LWe4Ibgebgq+VRHzMktak1f4s0Kzu7CH5GCVee6tBXVxga9zjDFx7fFdLeYaksZn3V6FQVKMlqI+SRtE5tqs76k2u0FPR8i6AdPo3VCSCAg0eNsljnpqRHkfNHJAGAFoArOpUdvNoItVWInl4sO8TSqdDAxZhnKJkeWnJdM03NQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=yrss1LFTszE1pis/nUOnfDY03qkapLfO8Yjsln0bIZ0=; b=SZ+yFDl6VG/ivjA3k4WtHKeKooI6VRlxkprSPJDjyf2ZcjefukTNu0Hge/Irj5qHtPANp7uRvJRspgIAnGAXSJ++8nRp2DZFodYOAoN48zN1aDXPNut3qvYhlioPCGe+Mk+RMaX384xHPjDtvbZk56/+6LQbKaiKOT3VFB0M3tFLQszbpZqlJRGHAr5AKIigLFeKAw/maLOtmGU+92y6v6euwkuyBKg7sPWT9qdshJItpqx9B0urdtobnDQp5itAWeUQHg2rR7ZKwfv1VjdohodldDw66I0fmtmUgu6xWVrb4oiOikeBTecO7vCngI0st7bJr1eo/MdND0uGMT+q/g== 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=yrss1LFTszE1pis/nUOnfDY03qkapLfO8Yjsln0bIZ0=; b=gUQkLA1L9jI9azVgXPJveEI7mU4lbrCXfFfAv0nEHCBfWFALzxOr6fTa3cQS8tJSgwI5lCSDl55Qz/AjuYFyxmxC/916L5Ss44T+lzQiGiKn7Kn/w9escHrRTKzbB8HiZzVeUXeoX151b0NdztPaAH1caTkKOYZ64OhkN2r4ZnlM4kBkVExFg84l/92+lZmInkzbD4RQLNaP4G7D89lqyrOPpMbWUMrqACByXk7nxpOOW3BdG4D/XTzNQgk1E1bKTn6fL8el7GJcSpp/HonozAWQfz78H6OOvMKxPT3hWXRDHqd4kq2yEAfXMdKgeUugj36ea9AJsueibcB42RrS7g== Received: from PS2PR03CA0008.apcprd03.prod.outlook.com (2603:1096:300:5b::20) by SEZPR04MB7987.apcprd04.prod.outlook.com (2603:1096:101:225::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.22; Thu, 23 May 2024 09:19:02 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:300:5b:cafe::3b) by PS2PR03CA0008.outlook.office365.com (2603:1096:300:5b::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.19 via Frontend Transport; Thu, 23 May 2024 09:19: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 HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 09:19:02 +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 v8 14/23] ARM: dts: aspeed: yosemite4: Revise ina233 config for yosemite4 schematic change Date: Thu, 23 May 2024 17:18:01 +0800 Message-Id: <20240523091812.2032933-15-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|SEZPR04MB7987:EE_ X-MS-Office365-Filtering-Correlation-Id: 91342f98-13fe-4132-c4e3-08dc7b0962d2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|82310400017|7416005|376005|36860700004; X-Microsoft-Antispam-Message-Info: KC72tsoLEuZgyYn9CMEsZH7XU9Q9IssbTDdJ1apI/arj0sXwse05bBG39KflOBix+K1d/DeJsabxPG4lv0RA7Y1wZsUTs5fC4L/kWuRyaBlAca+tB0Sb2sJgYFy/6aIkfN4ZkEV9Lq9RAJKYI7//hnzaJ2QwuwXaCdQ1B1wno5jLgCrkwpsMewkdBw8to3GHp48vJQw2cseQY4bTFvcCZz4u1ildsDCqSnJeWGCjY1SUigPrAFIwC9Ac6MLSw869Hv4438cZexm/0msoKVPaXQgsb/VL+3G2jolvra1Ifkcm5FbnY7Bpl0UooTK6mA5M2dCX585qjMU48+GHZfhCITPN3YObThaUM69PVyI5mNh5FH9HnOmF9xeu/C+5KntydirPbhI7ZITOSF/dNz+d8P59tRq30sVm0eNDWftLqoAp7UwUokgI6S5UjHakO6dXm6L0ZC3v8vyYb+xWKCj71RN0HQa4Mif/BU5e2oIZEMIzrCUy4CK3IENIeN1mJyEL95hN+QpOiL6p6NUibyUVONNUBdgARMdsuVeAUXcdvnuUw7k4wYaCWSjy8cffG/v2w1uQcb1hWjoBfdAsKEIqY3MzvSbu55MeAlsYnIx5wb10IxL+dUjmzPObgxje8QAUwCtQddjUknV9UJIAd0cvsshs37vmrIbkImhCZgH0A8PcOQg19Jeba+hA+gKBuH9uPZzw5b6P7MyyYFTMqM+AUp+N7Ei3dNozdaZ5vCMvF5cZj1sSgL3lCGtlbjakRHW7KQkUMJ7mLiS+1/EOGITQWvjsUBiSll+qjrnFIgMcMczHSg0QpOL0RKkKrViTdEC81pp91RtJbgOBcJOJa4Bpq8wIIsOd2i0nLP9ejeXpqHpcIcENDcSKEptwYiw5lzd97bSLEucYuYm8wLyT5hu2yp9Q3BJQKD0lBcvQCn5f6k/rh8YOar2SBEfmFxfd05vJJVUu+7k5pbWMQzLjRyZfdr2dgge/i4/jIyuW/NlcRSjEZczCskAt0WEITGk4qvVp4uPb+VU/1HjytgdTMNFvcrTjPir6rqxgXaXyQkcZiJ69yo6+WU/JamcCGY2qPtKzN5ZLMaWJPEAT1D+NcwY66KBbqxY5piCNiGYw/T8ePYC6X0vMtfpK/AfPQdgY8kz3wFGpltZ20I5BhkBFaLxPS56WLq7GU8qw63MX6ObzEMpTr5klxgoSi8NCeGKI9/jmLqG9cJwZ+ip1XSgF7I72ZPlvtPxavH5qPrlaGOEJi7nHMmCT1VaSGCTaqVZ/CYXR/c17YnzzmA/fhPXw2NNlL9ly46ahZT+sikgBpGpi/qb0QvjaojaTPgb49u0/sUivZqFeGF0sWGnSyaC8RQvJavIKiOBt+jYqAwF9t0ND4Kw= 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:(13230031)(1800799015)(82310400017)(7416005)(376005)(36860700004);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 09:19:02.0482 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 91342f98-13fe-4132-c4e3-08dc7b0962d2 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: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR04MB7987 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_021911_096257_D0F17873 X-CRM114-Status: UNSURE ( 7.91 ) 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 Revise ina233 config for yosemite4 schematic change Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 20 ++++++++++++++----- 1 file changed, 15 insertions(+), 5 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 0c7d85ff4360..67e3c787d675 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1034,28 +1034,38 @@ adc@37 { }; power-sensor@40 { - compatible = "ti,ina230"; + compatible = "ti,ina233"; reg = <0x40>; + resistor-calibration = /bits/ 16 <0x0a00>; + current-lsb= /bits/ 16 <0x0001>; }; power-sensor@41 { - compatible = "ti,ina230"; + compatible = "ti,ina233"; reg = <0x41>; + resistor-calibration = /bits/ 16 <0x0a00>; + current-lsb= /bits/ 16 <0x0001>; }; power-sensor@42 { - compatible = "ti,ina230"; + compatible = "ti,ina233"; reg = <0x42>; + resistor-calibration = /bits/ 16 <0x0a00>; + current-lsb= /bits/ 16 <0x0001>; }; power-sensor@43 { - compatible = "ti,ina230"; + compatible = "ti,ina233"; reg = <0x43>; + resistor-calibration = /bits/ 16 <0x0a00>; + current-lsb= /bits/ 16 <0x0001>; }; power-sensor@44 { - compatible = "ti,ina230"; + compatible = "ti,ina233"; reg = <0x44>; + resistor-calibration = /bits/ 16 <0x0a00>; + current-lsb= /bits/ 16 <0x0001>; }; temperature-sensor@4e { From patchwork Thu May 23 09:18:02 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: 13671531 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 3F22FC25B75 for ; Thu, 23 May 2024 09:20:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=5QhTxh7Qjif174Y2XTZILvyKpXdCN8eOtpzU9FjYFiM=; b=b9yX445jyVXzqP 5N4IxzJwl+V5HfxUdNMVYrzXsQ+H87l8nZc2K7P4OucPIV5Ua6ETp3PufUxnke9tVns4JHRyNT1P6 0zQnvku4zwe+GpA58gnb5W+dzjCfCf0rbwvD7KvpKJhTS5nhG2NuFnkIablqj0WAaqc526PSKi7AS IyIzWM7HSIjAFGR3TG6EwfbSYKzECwbYWBdWgEFA/XVdOHMuOvQz5vaQ4dqqkJLN1B/U/w5Eu2GMG z0RkAnVJNu4q5yEsqSvfyAmvb8KvY5EU/z1DAuBul1UP33kdqigA1hYGqnjuHsxYzSnvJintp4P96 54kn+ADHb00IqS0Xf0kw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4cb-00000005eJ4-0S8J; Thu, 23 May 2024 09:20:25 +0000 Received: from mail-sgaapc01on20605.outbound.protection.outlook.com ([2a01:111:f400:feab::605] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4bU-00000005dfQ-0244 for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 09:19:17 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A4wEGzIrCzAGqVmLc0KE3jjoZP5d20gNjFxxL0WrZjsxsLyJIb8r4KdawCeW/1xQslf8nFT9GqGgqMGz4hLHRQnmhXuxt5xKLGl4iSIAGrs6UV9lFsDJgDQZa+YT5WW+JrxfG6Z485x/4c427L/kHlIXBf7zQNMSar4HfWdCXHe+eWs5CzxBqVfmIjz37/q5jTMPnGQtco2drWdYNxUdEAEY3Fb21ScRFPA5oZOzAraa19NjuqcspsSna3JFkaLj6LjVtnK0rE+DYCpXdO9OtdrTVbwQo8l5N+wxKRCpg0QV00fNsBp60OwYggpEJm18NMHuI0I4e8tbMbpYHBnvCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=ajdRlofMdvo42OVOqGXyRTdshC61xKgWuLqNg7HObWU=; b=H+m2wXaaGr7UOW/uQVriR5OFNEE6ye08KOEsmumjZaDdMGiejayEsaTxuny+5VscEip4uvJYIvRqAp2NQIuOsytTapa3Yt0PLzw1uc7i+CHVcQ0Koo762bscbiFBO3Ei+VijvgfNcXvJS1XARIdj5MUMg+W6Fy9DUuiTBgTXMmBoJdpzySgpcBn+/UwxYLwOt8R6f6cqu8r5GQWknaYoe8dW3sqWuP9ssUtAvNGsvJJI9zeh1NTvknSMfM8hYp5mJm3jk4pbY2gLGjElMMac1vZ+oVYn6TD+BW0tGzHH4jOR3lYJvNOdy0SzOLKtH63WFLlswQ98n2gszJELwiAP1g== 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=ajdRlofMdvo42OVOqGXyRTdshC61xKgWuLqNg7HObWU=; b=p57qLBW7d2OrO0i6Qdjus71wO9b2WFmz22MC0eRDd314y65eXS9TtGpN6D4UWe6+xXlAFnJZgac/X6lzAMgbrIW3xmKcU0TVCvLkQoiper4hnTmkwkIXgBh16+cOZ9YmKe8Z39VGcl9Uj+lJ0siVj+08D4I2uRk8tScEpbuEVlBIelWlMFb3KhjA7tI55ZCBE58Mwz0dL05R962jfsvUyPXjRI2ASmPA1jVJq6P07F3st1nirEDAn4KrDuU4/d18tQYGv5By60r+N3+siEnh61Z8Aa2MFVJWxxJi1HJTAA1JFHBMPKo6RTujN6BhEKyCvdNV+RelGCP9OVHrY+BrMA== Received: from PS2PR03CA0011.apcprd03.prod.outlook.com (2603:1096:300:5b::23) by SEZPR04MB6355.apcprd04.prod.outlook.com (2603:1096:101:cb::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.19; Thu, 23 May 2024 09:19:05 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:300:5b:cafe::7) by PS2PR03CA0011.outlook.office365.com (2603:1096:300:5b::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.9 via Frontend Transport; Thu, 23 May 2024 09:19:05 +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 HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 09:19:04 +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 v8 15/23] ARM: dts: aspeed: yosemite4: Remove idle state setting for yosemite4 NIC connection Date: Thu, 23 May 2024 17:18:02 +0800 Message-Id: <20240523091812.2032933-16-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|SEZPR04MB6355:EE_ X-MS-Office365-Filtering-Correlation-Id: feeb44dd-b8dd-4df7-004b-08dc7b096474 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|7416005|1800799015|36860700004|376005|82310400017; X-Microsoft-Antispam-Message-Info: HG3gCMLGcc30sDMwQ9L87Oe3s1rI1dU7V1RyEGA+mo3OgTOk2DxdOZmMJWdmx2giT1w2/68usHnYolTTO/TaSCee87EmywgYHJmGNKbMRrghQdjps2s0SG+f1NWMgoWVLwB+xBZSEMrtHzDv8q1fVp3itbsg5mc7MBIVdtHyHQ1AieM0rVHIXB5UKPtuihKNo8se8rk+YNtq9A5O5tlp6DdCL1gOzqpI8a2CEkLEbn6IwWJ7352NbWicvUTJlSKANDXtfrLBqFuIvt30NFVexn/+S0VYipTa/r4ELJD1QycGgqwwZ5rsxR6x4rrnEXjjkePhnqZ/twrGgT3r9/PMLOIRW00s0t4o5RtpNxDvj84aqkaIauuYi2n5Ob5MfGU97GmIRuaW/u3x51bRq42LWgB8QOHX6KA6S+9XJugk/BRhWlg7EUl/XdfCM03wOxnpUshuk4WRAwjiwGGlMpvJEOFitepny+j0RXOdZrGjghTlzZN+CHqwcG3fvbjLbx57EkSbyTf8sfOjnJh5MIKBBRhO+ysQMg18GziX4pQl3SC1vzrnuwr5gOYk+THOf0ZkSK4BoyjsYZ9MEvXz46+J6eS7qPFaQgWJD9JggDUkmMTme9Sk7+DEm4LAU/89dVKXtdoEaJxq1ocZqEwos1ttsTEIWyiNdvNcdaoPQHH4Dmyh7OIuHWW0DRyI1q5nTb0APIurAY+8zym2QV/AUno3W1k+DVP/gpDHKJOYaz6YTBSnwSWcJc2Oo+0Z4PmJd1s7/vofBwHthF0rEwN61/aQ6ZAllqo7+MGX0ZPCobxbxH1IKNnW2wsUBHo2WIBu8UOnIueh7/EP26q4LwvzCD/05fsqdWJEGdjMOvC/xvMOY3bSSuvxrH4bwhVd9ioeG29htwn66CL+RmVesn75a48aIEGpOSZIwqVzsRM/snVeZHnezoONnAGc4rDSQYwdXJSYJQOwhnjiPX7LJIGnO0l7UpAhr7I93Gbiwse1adN8CTAbOiSOo+lEkcM24UuQ9H60yYG/ys483hZsbTPcxOFTK5S1uk6LtMOP4psQP0RqNpkPCZZztI4BO0HdCZhIR3Ae//knv5nPY7jWi+A+Kty4fY4g9MF6qnbAWV9dysF1Qxk15FE3w2JfaCisAs1CdhA3zGgll5BSS9hKKJbzVOTIZBMjF3XIHoFkvdQjUPWO8MoZRFvC9o8jWEzEZHaHsm9Jl7Dy4b0k9q5prIa/ucF1d2RPzkm7FZPSlv0nDaBwGtIkLM6Q5UVGC/ibPFPPRB54viSs9QHSJkhzUYhBt56qoZn3Qwr2LFGFsYGSWdPLaHAFkTaqRknxWrsQTxtU+znuWahLfYR72BwyblguywDKsnHUmJoDHi3mf43VkgfyJDBKoBcMubFoHbE5IrsE5WeW 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:(13230031)(7416005)(1800799015)(36860700004)(376005)(82310400017);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 09:19:04.7826 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: feeb44dd-b8dd-4df7-004b-08dc7b096474 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: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR04MB6355 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_021916_153854_1BCC78BC X-CRM114-Status: UNSURE ( 8.20 ) 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 Remove idle state setting for yosemite4 NIC connection Signed-off-by: Delphine CC Chiu --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 1 - 1 file changed, 1 deletion(-) 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 67e3c787d675..8b23b012d6f5 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1235,7 +1235,6 @@ mctp@10 { i2c-mux@72 { compatible = "nxp,pca9544"; - i2c-mux-idle-disconnect; reg = <0x72>; imux24: i2c@0 { From patchwork Thu May 23 09:18:03 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: 13671543 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 A04C8C25B75 for ; Thu, 23 May 2024 09:34:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=/LHfmhwBxwsz4EnN78EwvoWWZAkxR3lpsm7QNUyjt/s=; b=LXHZf2bgAmLFDH twcoPHz73EQXhBrvGGelizO3c7AFoUrIJt1x70Y3/yCYCgk9Cpp9IRnkGU1EAJokz+1RAqaVh4BI9 1ta2MrYiy0Z8e/EKo9F9PeoaJLzR7sM/vaj3jaOx3gKcUjVLpMjtjjymd20tcc4WswvNkTVsuTa/1 BaiSFapfAxp3WCwSyUF3EwBzNo8Vm4/XzouliGDRmE4UUTdS9naPYukoHmQ4zJQY9lGIw5P7KK0JO xv5gHEK5l+0++UG4oI5Iu8XhgEvV/gn1lUfysSGXFycDYGrTLAhZN2q7rN3AX/5qkZIubIbD4erSi WbT4SkBZhVDNCZPKBHPg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4q8-00000005hvs-40tn; Thu, 23 May 2024 09:34:24 +0000 Received: from mail-tyzapc01on20601.outbound.protection.outlook.com ([2a01:111:f403:2011::601] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4q4-00000005hsw-1Bbx for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 09:34:23 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DMISOmpysdVGH1uU0hSJa0mDelhmSteTUBb3iXjEnEZuD9ShlSZDucBLnvGlhzCcY4UzWGdA23PHr+q2CrTrM9J+l5JFcd/DnwlqC9Ib5Yj8Df2CN/LdFhpeqjCxNKJTAkkHNG6fG+a/Q/Exth4PbqM6FNx9AzfUhFP1bONC7F1eu20VfPi44F+rG6tMtP6Yo2JgXH1/B5uy/JfmNtpuwMYHk6wDlMy5/VUNRSDuERBU2d/LY3I1IbbnOGnb60pjfvatV8ps1IC+W6UmG9LlNu2zzAnNRhF0EvRoeomswwli83LDDRi9PDSI/UxqkJgS5F3EttbfE58ZC1gyhBP/5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=j10ZjYa9m8Zaq+5l8uhw5k3ZR3hJFjHMdwiXMttLE3U=; b=Fz9XkIaonyumsUsk1QX9yqnGXYSV//tf+PAxyvNrfFUsaTwh1U8rg7ZA6Ej5IEb35XSFgAChchPW/PBP0g3ZmZ+kZoc4RiVUAiFO83sOG8e8g/1zahBS604hfNRmT8FtXX8KJ38VHVljm5BbEoRi54lkDAhMJIzvH2+1RIuDmGVEUeWt2tKvKmepnUhVonBSj5wiyRXJfQzUQLX9ACUcQ1gQD4fUymAH6htJeP01JfErTNU0XatCPKWuRwlO9vszh9B0ovCmAarxPozPrEePucEzrgt5caYU9feo5KZ2HMMn4e/JZc0roFLjwCygLZXBnjh5kNhcFuKUAt8AnX5SLA== 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=j10ZjYa9m8Zaq+5l8uhw5k3ZR3hJFjHMdwiXMttLE3U=; b=NCtwCcQ9oXMd5m7VMljDwjwAwOCqLO37ZIlX6/TnUiWvd6jjOKXu7VZqiNpT8sTFKAc18mYkxjeoQuk3Wf07kn0aDnZnS59mT54ejB7iyk4N+Dc04W3Aw3mRb/qFECCLjVc6auAfPD0CmkInEwUfWZUThMleTFnW8EsERrfE+w/zaNQyosx06GDxmilQyaopFCWc5UAsvQk73Zqm3b+c7/kFfKHIe7lCxdypEKwT5UZgVHtUfQg0lMETZvkIKLxnMJvIWM6DdfXk5h2pc/FxNz/OY6jNMFNT0HFD+cTbkhOd6/azqpRqXbNEtXygQTvR3iuv4/+pou1pK+JnaMdu/Q== Received: from PS2PR03CA0007.apcprd03.prod.outlook.com (2603:1096:300:5b::19) by SEZPR04MB7530.apcprd04.prod.outlook.com (2603:1096:101:1f6::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.22; Thu, 23 May 2024 09:19:08 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:300:5b:cafe::1e) by PS2PR03CA0007.outlook.office365.com (2603:1096:300:5b::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.9 via Frontend Transport; Thu, 23 May 2024 09:19:08 +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 HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 09:19:07 +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 v8 16/23] ARM: dts: aspeed: yosemite4: Initialize bmc gpio state Date: Thu, 23 May 2024 17:18:03 +0800 Message-Id: <20240523091812.2032933-17-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|SEZPR04MB7530:EE_ X-MS-Office365-Filtering-Correlation-Id: 493350c9-ba06-4485-744a-08dc7b09664e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|36860700004|376005|1800799015|82310400017|7416005; X-Microsoft-Antispam-Message-Info: n0L7SU3vc2gmVlRYcMBEdgB6X9uuEe7OQ0GXpqRQxPvVUO1l782LMgpk3LDTDRXfPdEsZN5W2534VgSlaiz/EWE1sXKBcj0GMuyRSpziwkSpzsDPJzbWcoBNruQJw+vpEotxUAdw4PQOEri0aoq0vVNd1zxXFVJeEwQnpHsWhpmHBrfTVHlO49uTZIzIOfzpUCvcZZQAkoPQa7zq+7eJl1jSeues+OUa1E1DyaBhPC9y67i7MGbpOFN+g/IS+fn19q282rHh2uMrHA8qACdEVlaEZjFcII9dSjKeOu9yJSQ94lJe4lKVOEk+ZFW+6Kamn5vvfceEbqP2+XMWCxcxjp0cDGxuIRPf16rcS0WPLec2I6yKkzsWuUT5WQT1OfJ9zB07Bm74s9Tk0VCaKeSOXnt1YjTsXxoNwFGXSjmcl8KCOfw+cu3KjS7maD0wWPB03B1mXB1SR+WkaL5+SgpKZSVcbSifgxOToGFs6L0WadOIaDHofSCdCImPgom4MOF6yayVm1YLui168rypsg6PKu7KBqWfH3L3XD3XQktPwMLCzUy0W1s1nXVKZeT0UjuqUfGledL4D3x4pWBMUs9ALxBGPnj/JYy7Ci5vK51rThQZ/hUxwKlJQ4rZkFBuK56t5Ovp22XkfEVTkpWCCOzMIzpudWRVgV30KUxebgXM6W/DrnBA5p2QWhvab3pgsBY8rDJAQzf2Dmee1mMSAlURoFhzBbzop6RbjaV5RIhKCSXeh2+faq6vj87evI4t0Fgz5Roegpc3SvaTRI314JdjqHo/doWWnskSZD/6kvavNEuVouno6VH/bT3Q/wSQnpSZsq2v+kOllS7vGlJiukraqSqJXyz88VfUTXgbSLXRbpo6xiXApr1MHvjgkb6oUKVFzwGUWZyEni8JWrex44vAQtdS8yKkhx/CLZpKozg0UbUohSU7U54D4oHSimgThZy/rN94r+Yh/gc3nI8+HXoSZAiv1lx+S39Y/RqlGy4g+QRdJNr5ufct64i6pNzhNADz9sQZvkXjef3S1aNXAhbRbTmU55Ds0cfHu2QPgYcmenJI7cP6n2Buo59rOUXa5HA79ZdNmhfraCE9QbVNN6qbrYkzGaijuPkwmvKxrSYqpKTRTjEXAqoCLGeDc/qbnpoXm6WW+SUopczwfKFaGsqpSlFAt8+8+SIp7vqjE/EIujB5BAqC0OJ3Q1CTszdnYlvk+HU7s2FeaizoHmvA9oG5MK+/LS2eOvuWt7yqNc/I0KK/NnJ5QgSzTR7Ujuwq2RHIn1nLBJkdny7LfClAT6TnB96x3zBEx1tx+/KarBEyEVXqqovo2XB7BPgKAR2rFetfaaNQahG5UytDGYVLWZoOBVPMshZTvwyA9dP95Mp7zzTphZySQ1P9CvfLDtfJY7dB 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:(13230031)(36860700004)(376005)(1800799015)(82310400017)(7416005);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 09:19:07.8920 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 493350c9-ba06-4485-744a-08dc7b09664e 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: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR04MB7530 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_023420_472370_C3EE41DF X-CRM114-Status: UNSURE ( 7.87 ) 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 Initialize bmc gpio state Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 234 ++++++++++++++++++ 1 file changed, 234 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 8b23b012d6f5..3baf1df11a81 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1304,3 +1304,237 @@ &ehci1 { &uhci { status = "okay"; }; + +&sgpiom0 { + status = "okay"; + ngpios = <128>; + bus-frequency = <48000>; +}; + +&pinctrl { + pinctrl_gpio0_unbiased: gpio0_unbiased { + /* GPIOB0, GPIOB1 */ + pins = "J26", "K23"; + bias-disable; + }; + pinctrl_gpio2_unbiased: gpio2_unbiased { + /* GPIOI5, GPIOI6, GPIOI7, + GPIOL6 */ + pins = "E16", "B16", "A15", "B14"; + bias-disable; + }; + pinctrl_gpio3_unbiased: gpio3_unbiased { + /* GPIOM2, GPIOM3, GPIOM4, GPIOM5, + GPION0, GPION1, GPION2, GPION3, GPION5, + GPIOO0, GPIOO1, GPIOO2, GPIOO3, + GPIOP0, GPIOP1, GPIOP2, GPIOP3, GPIOP4, GPIOP5, GPIOP6 */ + pins = "A12", "E14", "B12", "C12", "P25", "N23", "N25", "N24", "M23", "AD26", "AD22", "AD23", "AD24", "AB22", "W24", "AA23", "AA24", "W23", "AB23", "AB24"; + bias-disable; + }; + pinctrl_gpio4_unbiased: gpio4_unbiased { + /* GPIOR0, GPIOR1, GPIOR2, GPIOR3, GPIOR4, GPIOR5, GPIOR6, GPIOR7 + GPIOS0, GPIOS1, GPIOS2, GPIOS3, GPIOS5, GPIOS6, GPIOS7 */ + pins = "V25", "U24", "V24", "V26", "U25", "T23", "W26", "U26", "R23", "T25", "T26", "R24", "P24", "P23", "T24"; + bias-disable; + }; + pinctrl_gpio5_unbiased: gpio5_unbiased { + /* GPIOV0, GPIOV1, GPIOV2, GPIOV3, GPIOV4, GPIOV5, GPIOV6, GPIOV7 + GPIOX1, GPIOX2 */ + pins = "AB15", "AF14", "AD14", "AC15", "AE15", "AE14", "AD15", "AF15", "AA9", "AC9"; + bias-disable; + }; + pinctrl_gpio6_unbiased: gpio6_unbiased { + /* GPIOY2, GPIOY5, GPIOY6 + GPIOZ0, GPIOZ1, GPIOZ3, GPIOZ4 */ + pins = "AE11", "AF12", "AC12", "AC10", "AD10", "AB11", "AC11"; + bias-disable; + }; +}; + +&gpio0 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpiu2_default &pinctrl_gpiu3_default + &pinctrl_gpiu4_default &pinctrl_gpiu6_default + &pinctrl_gpio0_unbiased &pinctrl_gpio2_unbiased + &pinctrl_gpio3_unbiased &pinctrl_gpio4_unbiased + &pinctrl_gpio5_unbiased &pinctrl_gpio6_unbiased>; + gpio-line-names = + /*A0-A7*/ "","","","","","","","", + /*B0-B7*/ "FLT-HSC-SERVER-SLOT8-N","AC-ON-OFF-BTN-CPLD-SLOT5-N", + "PWRGD-SLOT1-STBY","PWRGD-SLOT2-STBY", + "PWRGD-SLOT3-STBY","PWRGD-SLOT4-STBY","","", + /*C0-C7*/ "","","","","FM-NIC0-WAKE-N", + "FM-NIC1-WAKE-N","","RST-PCIE-SLOT2-N", + /*D0-D7*/ "","","","","","","","", + /*E0-E7*/ "PRSNT-NIC1-N","PRSNT-NIC2-N","","RST-PCIE-SLOT1-N", + "","","","", + /*F0-F7*/ "FM-RESBTN-SLOT1-BMC-N","FM-RESBTN-SLOT2-BMC-N", + "FM-RESBTN-SLOT3-BMC-N","FM-RESBTN-SLOT4-BMC-N", + "PRSNT-SB-SLOT1-N","PRSNT-SB-SLOT2-N", + "PRSNT-SB-SLOT3-N","PRSNT-SB-SLOT4-N", + /*G0-G7*/ "","","","","","","","", + /*H0-H7*/ "","","","","","","","", + /*I0-I7*/ "","","","","","ALT-MEDUSA-ADC-N", + "ALT-SMB-BMC-CPLD2-N", + "INT-SPIDER-ADC-R-N", + /*J0-J7*/ "","","","","","","","", + /*K0-K7*/ "","","","","","","","", + /*L0-L7*/ "","","","","","","ALT-MEDUSA-P12V-EFUSE-N","", + /*M0-M7*/ "EN-NIC0-POWER-BMC-R","EN-NIC1-POWER-BMC-R", + "INT-MEDUSA-IOEXP-TEMP-N","PRSNT-NIC3-N", + "INT-SMB-BMC-SLOT1-4-BMC-N", + "AC-ON-OFF-BTN-CPLD-SLOT6-N","","", + /*N0-N7*/ "FLT-HSC-SERVER-SLOT1-N","FLT-HSC-SERVER-SLOT2-N", + "FLT-HSC-SERVER-SLOT3-N","FLT-HSC-SERVER-SLOT4-N", + "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", + "","","","", + /*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", + "FLAG-P5V-USB-BMC-N","", + /*Q0-Q7*/ "AC-ON-OFF-BTN-CPLD-SLOT1-N","AC-ON-OFF-BTN-CPLD-SLOT2-N", + "AC-ON-OFF-BTN-CPLD-SLOT3-N","AC-ON-OFF-BTN-CPLD-SLOT4-N", + "PRSNT-SB-SLOT5-N","PRSNT-SB-SLOT6-N", + "PRSNT-SB-SLOT7-N","PRSNT-SB-SLOT8-N", + /*R0-R7*/ "AC-ON-OFF-BTN-CPLD-SLOT7-N","INT-SMB-BMC-SLOT5-8-BMC-N", + "FM-PWRBRK-NIC-BMC-R2","RST-PCIE-SLOT4-N", + "RST-PCIE-SLOT5-N","RST-PCIE-SLOT6-N", + "RST-PCIE-SLOT7-N","RST-PCIE-SLOT8-N", + /*S0-S7*/ "FM-NIC2-WAKE-N","FM-NIC3-WAKE-N", + "EN-NIC3-POWER-BMC-R","SEL-BMC-JTAG-MUX-R", + "","ALT-P12V-AUX-N","FAST-PROCHOT-N", + "SPI-WP-DISABLE-STATUS-R-N", + /*T0-T7*/ "","","","","","","","", + /*U0-U7*/ "","","RST-PCIE-SLOT3-N","", + "","PRSNT-NIC0-N","","", + /*V0-V7*/ "FM-RESBTN-SLOT5-BMC-N","FM-RESBTN-SLOT6-BMC-N", + "FM-RESBTN-SLOT7-BMC-N","FM-RESBTN-SLOT8-BMC-N", + "","","","", + /*W0-W7*/ "PRSNT-TPM-BMC-N","PRSNT-OCP-DEBUG-BMC-N","ALT-TEMP-BMC-N","ALT-RTC-BMC-N", + "","","","", + /*X0-X7*/ "","LT-HSC-SERVER-SLOT6-N","FLT-HSC-SERVER-SLOT7-N","","","", + "PWRGD-SLOT5-STBY","PWRGD-SLOT6-STBY", + /*Y0-Y7*/ "","","SPI-LOCK-REQ-BMC-N","PWRGD-SLOT7-STBY", + "","","EN-NIC2-POWER-BMC-R","", + /*Z0-Z7*/ "EN-P5V-USB-CPLD-R","'FLT-HSC-SERVER-SLOT5-N", + "PWRGD-SLOT8-STBY","","","","",""; + + pin_gpio_b4 { + gpios = ; + input; + }; + pin_gpio_b5 { + gpios = ; + input; + }; + pin_gpio_f0 { + gpios = ; + input; + }; + pin_gpio_f1 { + gpios = ; + input; + }; + pin_gpio_f2 { + gpios = ; + input; + }; + pin_gpio_f3 { + gpios = ; + input; + }; + pin_gpio_f4 { + gpios = ; + input; + }; + pin_gpio_f5 { + gpios = ; + input; + }; + pin_gpio_f6 { + gpios = ; + input; + }; + pin_gpio_f7 { + gpios = ; + input; + }; + pin_gpio_l6 { + gpios = ; + input; + }; + pin_gpio_l7 { + gpios = ; + input; + }; + pin_gpio_s0 { + gpios = ; + input; + }; + pin_gpio_s1 { + gpios = ; + input; + }; + pin_gpio_v0 { + gpios = ; + input; + }; + pin_gpio_v1 { + gpios = ; + input; + }; + pin_gpio_v2 { + gpios = ; + input; + }; + pin_gpio_v3 { + gpios = ; + input; + }; + pin_gpio_w0 { + gpios = ; + input; + }; + pin_gpio_w1 { + gpios = ; + input; + }; + pin_gpio_w2 { + gpios = ; + input; + }; + pin_gpio_w3 { + gpios = ; + input; + }; + pin_gpio_w4 { + gpios = ; + input; + }; + pin_gpio_w5 { + gpios = ; + input; + }; + pin_gpio_w6 { + gpios = ; + input; + }; + pin_gpio_w7 { + gpios = ; + input; + }; + pin_gpio_z3 { + gpios = ; + input; + }; + pin_gpio_z4 { + gpios = ; + input; + }; + pin_gpio_z5 { + gpios = ; + input; + }; +}; From patchwork Thu May 23 09:18:04 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: 13671533 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 C2C3BC25B75 for ; Thu, 23 May 2024 09:20: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: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=P8TdKnhK72RBHA2kruxVeL5ldlua7ZVk4748X54lSpc=; b=bBMliAVY5BAFf9 X4eiGUQ2E4lCHqIjGoVtyYakQzQUvxjcAFjxxjFSVjYGnZUuv9QHkY3opCEMQn6BWrYOL38tRxZp/ UzC15i1IofKpy9//I+eh80gL3tCbMqYR/82bYWXUcXqAWGKelKdeeFzLvjTgsr+GaPnpATqv4YIty EmsZ3NoXJ81hONG6XzCpwokjfhuRYomImJVtcn1iuBrng1/ms21rI0MibzYzNt6lQXW8/uwHP6/Vw 7kXovBx3UWQlMaOY/Vy37jM+oUm5VIoE+gi4/5TynwnfZ1Krdpu7Y+N8CwJrwWZa7sDJusVmIdYgm g4OBGqcwlc2wWeQX49Xg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4ct-00000005eTh-0JiB; Thu, 23 May 2024 09:20:43 +0000 Received: from mail-tyzapc01on20600.outbound.protection.outlook.com ([2a01:111:f403:2011::600] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4bW-00000005dhL-1hh2 for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 09:19:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DpsSVb9mhjjKddD4o1dJjgMyxVJK1x9Nd1du8/JSjh19QQxDHqUQeVc36qU3A6E+W3hDyaUkz1Klf4oVO3ugcXYLNXXw4ocG33rf3mQQONpxbfP5+BytkVZDYZgFWauTi6qUi54D6ceCx1nXKo+RuwqRkmSLStgA/kOUbY8hKuH1zZCra1qXpjX3a7UFeA7242q84KBHjrI/eM3l4US5J8fZDBppwETJQ5R6DV/bIrW3EARqFqJ9xB7N+NZefGxzS1iRXrOdDQxZIfHp/WyTQfyyxUv6UxBfvkeeS/w69SQ0d6w1WS/214TtWSF5AEypegJeuJMPLlIQHuA1RUS5RQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=9aG2tAObnqGVyXWs4nhAzlLQoN7HCq1EYScCcl7VH/s=; b=mv8013+Loi4XEKluwYG2NKCgwi0Lu+plFCtC01GVLxyaNH5EK9MIlAl9QwuqV1/rbAsjiMMGR4AM3YlWUEkV3GOfZb9wd6BbdhRpe+pvtZZDvM++/XrGqD0Djofy5LRwoynFTOuU+XP7Z7GNdmTYHRV+xVwDRpL0czLeAZwuK5Waxs15fUB8IPUwCQv0QhtdQOKlRJYZBsXh/7OLnllKHBY5bD7joxJdN6X9I+CfUWP1ouy3h2GY5NGmd3mc/4N3nIHEMRtmvx8TgVAn9ctcQ57G3u10veQk8nQY0e07Fy2oTgvYpdkac5c/W/E4R1s1qKS8hXYGF+ndLR3BDK3JZw== 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=9aG2tAObnqGVyXWs4nhAzlLQoN7HCq1EYScCcl7VH/s=; b=RtWRvU9UQLTlcjlT7qRYC9OOWStY7EhAtPm3+DjLgb1XNrMUGFuWc625aKgf2ZtcIDYOnBj67/bZmGaS4Xap0KGLxWGad9nEzQPLMZZDs7to3yXAvZfWtSKIp9s/fjXTrwl/HaitritOX9TCe5DPu37c57foV7HxWt7GLHkTV3Ieo3luQGNl5Swddpaxat9ESzfEZdEMwAnNDxhiXZ+Z4coowkjLxd2sehnKUNBABkA4lT1gg0vzJvauNvm/HEqo+flr+KiQ94bnD3LMT6oYjQ+XQT1ByirfFmZko5yeGPBw3m3SQoINnKBdF/osTVpj6u3/Wk34HI4eV2BISEWKkA== Received: from PS2PR03CA0018.apcprd03.prod.outlook.com (2603:1096:300:5b::30) by TY0PR04MB6343.apcprd04.prod.outlook.com (2603:1096:400:328::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.22; Thu, 23 May 2024 09:19:11 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:300:5b:cafe::1f) by PS2PR03CA0018.outlook.office365.com (2603:1096:300:5b::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.19 via Frontend Transport; Thu, 23 May 2024 09:19:11 +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 HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 09:19:10 +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 v8 17/23] ARM: dts: aspeed: yosemite4: Revise mx31790 fan tach config Date: Thu, 23 May 2024 17:18:04 +0800 Message-Id: <20240523091812.2032933-18-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|TY0PR04MB6343:EE_ X-MS-Office365-Filtering-Correlation-Id: 4695aef4-74ca-424e-4c0c-08dc7b09680c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|36860700004|1800799015|7416005|376005|82310400017; X-Microsoft-Antispam-Message-Info: k8dROagPR4WwcLtwn7/OWMTBTMs3tSHdYl+dKjzKbEJIjuNjfMEykTf7e3ZY6W6jOoJFzmpjaL+4U61HM5YyowU8E73MpB9GjLhDwtUizUPxsRF0p/fheb/aegxILUr4UIbmDOcEHlxePxm6q2U+5WQpriKjhaZNJx/naszzrJLo02Tt8ZVcmPkR95Dx1+MNf0RxluJ9B1CUbKxb1wjvrneJBWV3ACQpLxGKGmCXrAlY4TuJVDUDT8glXcyjCd83el5YShpBD7GIjewqQ+PfGzx153ofSBBftKVWZblOcJ1sXix309WelyyXKa71ti3pJu1wdKlbZs7tXFkt45QZEIaBw4mIjQ7xnOK33kf0ejwbPfRxotkwLCmjS0kS3+fJkXMWyjwyMdApGRCau+zN/AVf7qlOqcFxPjHw5R6ps3+PvtbUM1bXBZIlF3sdCPf4xZR4zCTAZXHyRnyQBgFfp0QApFyKLo9negMcLVF9iSByAD4/59/I+iD5ee/LlZayvYXm7ucR7LsDI9UStnSzGGFx7kUIeYg3fHzrMmv0z+Q0QD+gxc/089ltri8nSzGMwO0CZdXn67hgwm37YrzNuj1zBSu0FqnQRWJr40HzdeHdP5o79QeUnv6hNCFKUpVICRzg2aUMZGjBw7vIztluyyMAryMWPE2BXYokNXCZEXPrFQ/tmejCHaEv54LKcnktdmYKgcXDk00bAMjJx+20aPNAZ6IdQP8YpIqsm48QxN+T9tnzVs2hC1pVv4QZBD7Bq49+cvXEdG4NvGFIWjDdqxxX8u97WqwhCgFQsUBsaZ0LZ26R8JB3G0X4HKSUfta3bBg3M/EK7BnCP05zErxPQEedDnXlD2B75AiEmNCOq9m6M3sGyX2Hiw8jTWCoWjKOgsPWBJfOcEIrJdVo2HF3a5xP8zr9jMuMNoPj3pdIdSoIMSuc6pBKSz8NnTzJaKucolSPX9LGwbGE/z5hoc2FhiTreSjI/e6K5EvNoSObG10JoGAI0YkQe8FUQitCUrBhbSHkKgkbSR61fCKH8Y9TMGBTATiPbrL3dPZjaMw/kvVhK973709sAzxsgBrIuJaU7GZ4QXNSxOe6UJZtPZ9I9KJufquQk1e1pIZmXxHDhmGpH33pfkMDS+XDfTxQ72bxZTJtbBlTUAWLH0/wMP5v0PTOu6nkV3Dca6gDNG0mvzXWMBDau6zZLtmNrurgSubjwGSLTymzbY7HTdzAdOaB0AKIPlsghcqYarZs3vxCE9A28OUIlkszQ8oDQ6kskYnRsx4R1o9gB2W9ZVvlapyEFs4x+XhMnG6HNthNTpr5/WnRbSwbMbn6pIY0MbyxC2Z3fH2nORnF2fOhjyx9sez4wPt3W29MZZ4mF2P6XG9vxv6lR3aJ2YCDpSTYT/nfl+Rc 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:(13230031)(36860700004)(1800799015)(7416005)(376005)(82310400017);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 09:19:10.8138 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4695aef4-74ca-424e-4c0c-08dc7b09680c 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: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY0PR04MB6343 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_021927_696641_B3D397DB X-CRM114-Status: UNSURE ( 8.68 ) 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 Revise fan tach config for max31790 driver change Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 48 +++++++++++++++++-- 1 file changed, 44 insertions(+), 4 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 3baf1df11a81..59615a6958ec 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1103,8 +1103,18 @@ adc@1f { pwm@20{ compatible = "maxim,max31790"; - pwm-as-tach = <4 5>; + #address-cells = <1>; + #size-cells = <0>; reg = <0x20>; + channel@4 { + reg = <4>; + sensor-type = "TACH"; + }; + + channel@5 { + reg = <5>; + sensor-type = "TACH"; + }; }; gpio@22{ @@ -1116,8 +1126,18 @@ gpio@22{ pwm@2f{ compatible = "maxim,max31790"; - pwm-as-tach = <4 5>; + #address-cells = <1>; + #size-cells = <0>; reg = <0x2f>; + channel@4 { + reg = <4>; + sensor-type = "TACH"; + }; + + channel@5 { + reg = <5>; + sensor-type = "TACH"; + }; }; adc@33 { @@ -1153,8 +1173,18 @@ adc@1f { pwm@20{ compatible = "maxim,max31790"; - pwm-as-tach = <4 5>; + #address-cells = <1>; + #size-cells = <0>; reg = <0x20>; + channel@4 { + reg = <4>; + sensor-type = "TACH"; + }; + + channel@5 { + reg = <5>; + sensor-type = "TACH"; + }; }; gpio@22{ @@ -1166,8 +1196,18 @@ gpio@22{ pwm@2f{ compatible = "maxim,max31790"; - pwm-as-tach = <4 5>; + #address-cells = <1>; + #size-cells = <0>; reg = <0x2f>; + channel@4 { + reg = <4>; + sensor-type = "TACH"; + }; + + channel@5 { + reg = <5>; + sensor-type = "TACH"; + }; }; adc@33 { From patchwork Thu May 23 09:18:05 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: 13671532 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 BBF52C25B75 for ; Thu, 23 May 2024 09:20:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=4ostU3iOHkicgl2deozrrcRUMDjKiksjjcs+kYT4QwM=; b=nrGr/SWb2Z5meM oNHY7MQldeB5AsH3h0FDKmMcvvbc4wL22jpHVHDnH5p/Q2ZoWrtygyiS4lC6gl1mxB1SDFBfGYiMF nhoplodo7qxVw0/c4pQoHpAUfINtMFjmcBL/Cnbpfqe2PHo9KJ52LCgkDkReW582XAfxdAUGp+3LA hjF2KwitdHNeuDvmk9LjTKweaWSLwg02B4eyd3pkq/bWrLoXs9S6T6PtXV5gT4cSTZ+hw0d12H6J1 0bL3bzpUF+ZZhp4dvN5LCvpdZGA3DLjtVDegl3dXyDn6o+yPqbB+akXVatN0bbvjh7KGUn6D+xVxf o8vI5pbUFIPve2qSs1kQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4cg-00000005eOm-410i; Thu, 23 May 2024 09:20:31 +0000 Received: from mail-tyzapc01on20600.outbound.protection.outlook.com ([2a01:111:f403:2011::600] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4bf-00000005dim-225G for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 09:19:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PuNbT3LJLPfSAjQ2buRl4k6hkFNa5BbHQY0QNkG3XP5paUHyb/f1GJs5ix9XAfoJxhwQZbn+wCSilOzL9QgM3vVxNW/8zZOTVWPKz6dFBRvxKKkUO9IrG1K1FyATpD3Tpjp/Fo0JUlG5AVgLtErNi+8tVHdiYNr9aZPhsUlUFeLgX89lIXDOh95iy8KNTIFnVwiWcw4hAu60d3u709ABuNBMpV0J7U12a8y59KD1PhTWASC3hFZM934bTonorbOPFjRfE2bnuhbelL6CVvAhPpNlztuAWwQ9h99HLX/iP00aw5FExmbU3g3aFjPzsZHvO8Gfl+4mBKDiCtyAdMAauQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=O16c89fsxykpLXkgqq5cnVpUTCPvI9O9YW+Dewzjs4c=; b=aQk8mj0mV/UvSi3C3cQwqfBeuz849UsdtuTqtNz2Jbm1p7SxidW+6rxu3XeEpL8L0ha9ttydQf7c/LM5pT+07z5H27PjVolm5hOiOP+sghm1py9Zmt4MKsj44EYT8gb14pVi7dmw+unZ7W1No9PTJGVhTdkwrm9zHOk8LLa0humN+TqnNZOyfqr642mb2iwPMcby3iC2uZxvhNCjY2Prdt4pCBUNV1mUirDjhT68mRFEbr+HYWstC10fu2+qMRQavMqQ4sTLIrHT0cVWp+AIRj7vHEgLvmrEiQM1YSO4UXNw+tplfSIhMvHtiyRn6sy7MMwoKL8cVdpY3LW1v/OQzg== 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=O16c89fsxykpLXkgqq5cnVpUTCPvI9O9YW+Dewzjs4c=; b=sFllFId8WeMJM264RHedmqMoSklrCbAxylgpvahK7G48jeMBBmSPONlM4rjCvQ8OL2xmjHkJYw0hsxUqPZui+9JaSruG/j2pEA4HztnvCbHdgrLwtDa5gWqr6ammxOyzyqb/fJAHXlNpK/hgxHhea473JHEa99VCkxj7kR1WmjYZU48ToCaGoWJlfGS+xvpXi9qSuH365ysuZEJpuWLlgbLD8mbekx+8U0UxnXHX8WU4MxX5vpLYlX/6LFZx774iu8gOPFwcEnHiE69+KFAVuybeJKhXrfON3svwhSnbOc5pqDGHF3s68oatkDiYTDjd+hevlprekVdVtbq3kbuWTA== Received: from PS2PR03CA0020.apcprd03.prod.outlook.com (2603:1096:300:5b::32) by TYSPR04MB7867.apcprd04.prod.outlook.com (2603:1096:405:89::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.35; Thu, 23 May 2024 09:19:14 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:300:5b:cafe::66) by PS2PR03CA0020.outlook.office365.com (2603:1096:300:5b::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.9 via Frontend Transport; Thu, 23 May 2024 09:19:14 +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 HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 09:19:13 +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 v8 18/23] ARM: dts: aspeed: yosemite4: add mctp config for NIC Date: Thu, 23 May 2024 17:18:05 +0800 Message-Id: <20240523091812.2032933-19-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|TYSPR04MB7867:EE_ X-MS-Office365-Filtering-Correlation-Id: 71e48c5e-a1c9-423e-369b-08dc7b0969dd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|82310400017|7416005|36860700004|376005; X-Microsoft-Antispam-Message-Info: viCSacw8vKQT879Npxo1XYBojxErnzPEjA0SNSKOgRWaECyT/Ao3CkLoFOWOJlu+KjjkNoohrMnrLkaPZpHwnIrCuqFbm+Vppco2Jn8tWj+CUlJgCCwK9QDznI9ADNpO7q5F+cV64z2JzLum4a77BcMgz5cILqZN/uNiiaQmPRvoHwN3h8qU0/lk9dxoNd/pcH+xUZiTOo4Jb93hSrvTQLLzywzXaXrFg5QZ3xoYj6lVw7ojlcNMZOz3X3ZYBFE8Y4bSeVWDPy+YpQfY4NEcUm1/thw6p8Va1xz+rf5doPMfxj3+3UHA4zDB6eQeeEEHXdq0U0kQDze8C/VxRkSQ/VFaofz52Ok4nOS+s9IieaKMu5++J4OTgJ9C07Ek/WTvFKaTPTxhtP83BkJBdmsehZXMfH/P3AEUKPD0cA5kixDMOeoQjR8UiElk3EsFYJLTtXIhMwQ2gUK6JhnaeIhHQldO+ipwrzN+Owp+aHltSRac5a07j+qSMGlPtcwJtTbpzSZQ5xsBNG9Rn/n7nO/gszCbdBa9A3DH3dCiTseN6KIpXlQMoHhZ5Z/2fBgVgP5J4Mex5v6UNT49+LUceCsgEjWwMTeMmAa7kqPWueBG0cE3MPGLfBXI4gEM+fELDMQhAQFMAUipGf4ftaLVbPRjVp2fnlb+/7/swgwRW9/n/OgbgLiEHrx/Wv63JJaQqxf22V/op/MfVSl9HnpusII3sauCVvW0WTI9uTuPo2l3McuTOTxBCW4AGBFGn5pnE6m+jnjTBOqhbDNpT1zQTX+zyqFoUPIoDuCsHe1wcMM9vUTEfjFGBqzkNiA39J5IbslD4qMOaC6vAGairOVKVwJ1ur0YCIhF1L2qP0kEfxCNteWnr+Gs1GJe6ePQ5qmdUGWtiXt77rOQ6+Iy/bXD5vceiGr1qWJm+K6l5BkS71Xk2ZpmcJUB4qtx6WqvlWhM5JaYbRT4qBR/I5nrboibL+0Hxz2wqOIFrXwfIWZ1ujdfPKX+VbwbZy6b31k1caiAOVM3eyXx0npO25RF4E193ryA+FxvuII12zNuqFIYpRQ4wrahfUU3FBNHadHN/7Po59QN3lOMwRWojhbQlHc6YvVpp8q68lvvNE7fdF6SnPOeXhAhMAhXPRCwffm5BK2ABlzmoQ7kpO7RxsCxjABmURy1nUI4XBXsndL+iIPSmDm3wuZSUlKBsYC1jKEbSm07AJKqghx2gt6VcNlJETyKrvsMF1acQZUAhb/8MOgpubq9JciQid3NyAZqoqqbqw7subyaFp9dbPtuEqE8/T9FRUKhWdmD6Vkqevrk8nnPchh2nyilIXB4OfNC92ZJqOERhaTRMxFWEkEVHLY3xvUMf3dMSD9DfGIxFbPeO604/RhU9q7Dlh7+5AxI5J2bDEbd2egM 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:(13230031)(1800799015)(82310400017)(7416005)(36860700004)(376005);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 09:19:13.8607 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 71e48c5e-a1c9-423e-369b-08dc7b0969dd 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: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYSPR04MB7867 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_021927_664809_7496E621 X-CRM114-Status: UNSURE ( 7.73 ) 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 add mctp config for NIC Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 24 +++++++++++++++++++ 1 file changed, 24 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 59615a6958ec..83c9d76f5a11 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1281,40 +1281,64 @@ imux24: i2c@0 { #address-cells = <1>; #size-cells = <0>; reg = <0>; + mctp-controller; temperature-sensor@1f { compatible = "ti,tmp421"; reg = <0x1f>; }; + + temperature-sensor@3c { + compatible = "smsc,emc1403"; + reg = <0x3c>; + }; }; imux25: i2c@1 { #address-cells = <1>; #size-cells = <0>; reg = <1>; + mctp-controller; temperature-sensor@1f { compatible = "ti,tmp421"; reg = <0x1f>; }; + + temperature-sensor@3c { + compatible = "smsc,emc1403"; + reg = <0x3c>; + }; }; imux26: i2c@2 { #address-cells = <1>; #size-cells = <0>; reg = <2>; + mctp-controller; temperature-sensor@1f { compatible = "ti,tmp421"; reg = <0x1f>; }; + + temperature-sensor@3c { + compatible = "smsc,emc1403"; + reg = <0x3c>; + }; }; imux27: i2c@3 { #address-cells = <1>; #size-cells = <0>; reg = <3>; + mctp-controller; temperature-sensor@1f { compatible = "ti,tmp421"; reg = <0x1f>; }; + + temperature-sensor@3c { + compatible = "smsc,emc1403"; + reg = <0x3c>; + }; }; }; }; From patchwork Thu May 23 09:18:06 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: 13671535 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 05321C25B75 for ; Thu, 23 May 2024 09:21:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=vW3K+Y0WeIwoldkomkbto96LnYjZf9ptPaij/spOyhA=; b=gMSxLmdRqlkXvm aSIIDlgmyoxQnTE306JJJ7D8lF538iZVYtniKcwUx1GsdAhbtDLAr9C9mNAWc7rDxtEHirwCFVsRE enK+f0R3qHCynJu4OPOsyZ/A292YpOmnG0Q/3TJyNVfTxrrF2I2cPvOhJ48xO1IjifgOSTBc6UBAZ kyYuJulYFLc9axFs97tQeE3crxD8l2CXowdvS7B52zeRH/esKZG+fJW9+H5is+j2060kF1g4F8bGN ZIGGmTCpz+eag0wLgxBKtssQ9EXPEaz3HHM/I01bWggYmJ2m/CAcF1Skt7c8oRuODHVx5cZTkL8JB QAabdW3K2dTjFCohGIBw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4d0-00000005eZz-2M2F; Thu, 23 May 2024 09:20:50 +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 1sA4bh-00000005dis-1J4q for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 09:19:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=asHnIn/+Tnowr4VWE4Y+X7xB5y6J23CzQWZ0EDYgokUfuRXOwUMefn9ECvDTGXSk1fCBHx2vc2IMeFvjcsPcs1nYQuDOsm1WvL09C5qs8uBUxhvqmKWXrQUBO/unUPgE/A0eDO3Df6GWOFs+CMQagWr6vYQoJbOKKCdCogfwylhQGASOhF3yBduhSfQO8hhbHmwepaTOXMJqhJOjC6+Ov2akW8zDxNokwh1Dsn4Ex8RksqQUvQNyy1sJxJdzhoqRca3CIVgFW3M4zMr+5xFiNlcT+bhf2stCsYQMbcUG2VOAC86Y5eeVwDRGi6T3J0xG54IJeRCW6iQFNf9hFlPOpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=ES3SdMSGvrNhfRoLPeIA0V55NxyaiAY/qzb3Em1tHrY=; b=K7Z8Cw6jQCdZOasyZ7s1MWlxr9OONg/SpUgdPm2/NY8vC3Au8FPu2Q/GKPZSS9TLCNq5S7Gd5fz/0QGn8pQD4eJiMN2szZ7Y9XlciK7mHZFCLwk1oyR+8Wx/mytpE8rCJUZr6kgQtEv8beG7RmQb23cZDR5kBYqct6mbkmJRVxmqe+vDihPQ52nrOhlMwfxssmmPVvFSzFEkFdfQjsA0lvsF6CQ+RJRpaqjDEa9/HVxojcgoiXgH87GNgF7JMlJ3siivUyyheykSBGuyS07Fgp0xn2T8t5ljt5qHARURhrWsC3DFuE4rxh6jgwPy74sw408ll5bx2P/Cs5DlbtjraA== 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=ES3SdMSGvrNhfRoLPeIA0V55NxyaiAY/qzb3Em1tHrY=; b=T9HvxzILnO60TOhoOjKzrpuKY9JcuNuL/KiSCeZEFSXnuYDH7fXxWEZTMrHairXWn0Xnozn66G9KIW5k6bTn8oSfH24h1/OBUOrkwmPYaQPZXrV0sR9B6X0Hst8AZhdJCtSe6kdo37XLZVdjPvOt+eEHDmuyzUVEMVq0yge/K85lXg+4/GzpBo3LOdwpjr4QbFa7uiEJtH/ig2pE8jlPvDWrFH9iOJF4T5t7ab2r9vw7acW9BgabHc5Q1YqICWxxOcRg0pE7vCpdcSb/QHtiAjoW5IunBNJs5/zxs8AKN7rh9myqYybV6Ocn7iEqa60CME41IDKGx1EYOVu7SFhXSQ== Received: from PS2PR03CA0005.apcprd03.prod.outlook.com (2603:1096:300:5b::17) by JH0PR04MB7201.apcprd04.prod.outlook.com (2603:1096:990:3e::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.22; Thu, 23 May 2024 09:19:18 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:300:5b:cafe::21) by PS2PR03CA0005.outlook.office365.com (2603:1096:300:5b::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.19 via Frontend Transport; Thu, 23 May 2024 09:19:17 +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 HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 09:19:16 +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 v8 19/23] ARM: dts: aspeed: yosemite4: support mux to cpld Date: Thu, 23 May 2024 17:18:06 +0800 Message-Id: <20240523091812.2032933-20-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|JH0PR04MB7201:EE_ X-MS-Office365-Filtering-Correlation-Id: b5ac4762-af8f-4917-fa06-08dc7b096ba6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|36860700004|376005|7416005|1800799015|82310400017; X-Microsoft-Antispam-Message-Info: DlhuqBSKJ/84TByyyROUCEEWbua3X+5UeARD77Syg5iduW0fJU3MwYoKCT+wd18/AC3lTMvGjQeGlU5UhrozZ8PZnDxT16nfquBQGBbYLGKis8ObhPFFxqcXzB9jMqhucHOOrVvWrR2V+RP1F+JC4qKEJhAFPuJI9EDpgehQOJTVi+8yqAMfZZaiBArtMxMNbCVAiD47grdol87bCEIHLXD+3inGm58dXcjXI/Xjx54VKqj3bbnSK+XZw7KhL99+Akyh+HwKN3gozW359HumbLK9T3Tj5ioCJrIu8JXbqm6Z5SB963k8D3U9WGv3e0xVV7PBsV7vdYeCBQyt1JtCveTJE7qJg+y4zI08lbuyud/ndmn9La7/sZ+7JypjU5+Svp3s9OXoM/MxKuvBuSsP4UM5sCE7qFhNgZFtYFi7O/C24IWAd60NS6WCLtxgAUrj55WyKthOKUZn4uexj7gENefKlRHSDVWcZQaK0lXrJIjdhTCcKyZDnhS9NvBOLMGwTx3dAs6Oipd+9axDq20umkz+eh7fYC3XtIWHIDU50WttHefxjuAThawzc8GoNQRjYBVVwNYWL8nbGpmVlsqddCNbp2nCb6qAKrklqdYMe+EleMkJzhgU8ud71LzSomBNgD49KcuMGby8YPyKXPJd5Vw3kI+yUySP4f2s2tY8wDBfYTTzT538Bnv2MiLhUiQW+r6m/T4QJxP8TmL6glqU05GbkTieMZm79jeFvLbixOFUR+0fqSZtNEnSCiOMzXdVE48hvgI0weKghV5JrGjTuVi03lA3hHadCQpQRb5/E5SWeDNur7xcK5AKWhbLuKf8kx8vlR2BB0cOGyBvMPP/whu7TW3FUi4qnFMLKtHfvz1Oh7VAcXlaudGKIxR6CW5YPc56gjjx+GcbOd+XiK6iMA/7il11v1Pwlv+ykHrl5RXh8UHiic6pAG9s1yRnhdwm1tYrzFzuJESqJ9E0frniZOO4QHVmnerxAZgigILRTCqhLNT+Wr938BG84Q1E8B7y3GuYlCazAb7oyDqreB9vE0wesKK9R+YpNpQeTZljtCpLXw2j+g+sYJ+7eFp2itkk9RxAExwJnUhn+1lKMvRCo7N2E+7EXBqMjFTkdKJZGBudiviY8XWsxdGxpDLbzw8HkgeKvZVJDFiTN3NUVs/Ib9zY5Zn6BJTYBk2N8WCd8SEAthx2gYcpRlr+3VNpbMFDmH6hpY2kpM1wEmNW+voktuc31puaCVvye5i3O8//JLjzoXB2G46r/K94cSvoH2o9CcgPfT3D5dp6QFce1pIYaHlMOw6L6g0SwxyypxfCU25Aah/AHpoBD5wixUwDEsQ4gqtaJ4HD929f9P+xrOAk7jZka6NGI+zjiMcj3ZIcPlEpSQpvLY8XndnSkkWafLyL 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:(13230031)(36860700004)(376005)(7416005)(1800799015)(82310400017);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 09:19:16.8607 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b5ac4762-af8f-4917-fa06-08dc7b096ba6 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: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: JH0PR04MB7201 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_021930_514161_65C5B2C8 X-CRM114-Status: UNSURE ( 9.01 ) 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 Mux pca9544 to cpld was added on EVT HW schematic design, so add dts setting for devices behind mux pca9544 to cpld Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 64 ++++++++++++++----- 1 file changed, 49 insertions(+), 15 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 83c9d76f5a11..f4e37187bd5b 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -36,6 +36,10 @@ aliases { i2c31 = &imux31; i2c32 = &imux32; i2c33 = &imux33; + i2c34 = &imux34; + i2c35 = &imux35; + i2c36 = &imux36; + i2c37 = &imux37; }; chosen { @@ -951,24 +955,54 @@ &i2c12 { status = "okay"; bus-frequency = <400000>; - temperature-sensor@48 { - compatible = "ti,tmp75"; - reg = <0x48>; - }; + i2c-mux@70 { + compatible = "nxp,pca9544"; + i2c-mux-idle-disconnect; + reg = <0x70>; - eeprom@50 { - compatible = "atmel,24c128"; - reg = <0x50>; - }; + imux34: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; - eeprom@54 { - compatible = "atmel,24c64"; - reg = <0x54>; - }; + temperature-sensor@48 { + compatible = "ti,tmp75"; + reg = <0x48>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; - rtc@6f { - compatible = "nuvoton,nct3018y"; - reg = <0x6f>; + eeprom@54 { + compatible = "atmel,24c64"; + reg = <0x54>; + }; + + rtc@6f { + compatible = "nuvoton,nct3018y"; + reg = <0x6f>; + }; + }; + + imux35: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + }; + + imux36: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <2>; + }; + + imux37: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <3>; + }; }; }; From patchwork Thu May 23 09:18:07 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: 13671534 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 5A467C25B7A for ; Thu, 23 May 2024 09:20:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=O1KsjUG1FqCV2kOFuTinvd80JjYtBFOMItAkbaMWhFM=; b=eL8v0yWy1kliv2 /NUTG91IZhdtHLmTiJ0Wcw97c74jv5BOfKOMQSXfs+dOKyVPKqJXJwCqKRMazPyp4HHL2GzObWmXg U5HkL0GEtHJPtcs4MiHvvYMc2/cCGOMPXJXetk+jJDVB4yXV8M09bRQWL8tJn5f921bw5EsNb3+9q 7ZXeRVc3dbkcdYQ1nZZTGxsf/84lIXJx13rZaKtbZ+nVFbfYVzkaQegHRirTtXny4Po0he1RRD020 L8MVUwp9zNjfqRiJjy1n/M80uRRExVp6XqU0oYexWCw5vc+Df5G4a8ZI/W+in50jkxvqWxHyakCnN Rr8JbbZX5tR+4IJQFs0g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4cv-00000005eVV-1J1E; Thu, 23 May 2024 09:20:45 +0000 Received: from mail-psaapc01on20610.outbound.protection.outlook.com ([2a01:111:f400:feae::610] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4bi-00000005djG-0rdf for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 09:19:36 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EFlTDQlkUJwudjQ6urWp01fJcTOdIOiel9U1oA/GltMRCRb4Q4Pw2ARiRRFG2iYSFhVnW/LLOnpFlB2TCC3ZNkodxqcN7NBZUFjBfYvhQKM+hFzXWnU0xBSoYmhqqTzWZIxvVLbkbY+CUfoFI4xZwX12A6cypIRGK4IFuZv+Rj5/eFrK9zmps4hOlwjPv/B/fRTbTXbRgfOi+1nyoqdXQgkteT8hznRowQ/EHjMtpySPryo9nqFIzsRK92gxwHbcjtML2frcdHT5jmCmduruRcTYX9ynCriK/hD64R2CcsQwIVAFG8vE4K87bwq061QQM0TpVyzxdK6UcuV0y6OTqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=foNIYuXpkItBjY8qUhSUDvLy6XuG5cw+SWa9LoMYeno=; b=Wlpa9fP+6ARDHSgE7aXPLrd3KZa3w85Izrl2bFGq9+f7sHX0hIgzWjSIhPAiceq2gOm1bWjR5M4p9kk1gbod57yWZvQHR5dw344af1rMCW2WnK+PPMtQjz82miPp62GMGdOPlDhdHZpybxBTQkeHK+rnB0r/O4d4cAtOPh/RsDs3u3Fzp+gxrGrq2WlkamczB2bF5y8jUieT/GGxTSlxaUaHrPOv3SAYCO/Eqec6Bv9JizMC6Zjdiudbc3IrAgRCj7ErvEACTI6OOGm65/Y4r+PcXEz1bwWPH/OmC0SQrzvXNy9BF997rkwqYsgjYZyFl7KsXVhm1tWxTAmhgyBmaA== 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=foNIYuXpkItBjY8qUhSUDvLy6XuG5cw+SWa9LoMYeno=; b=DMJB5hHjWv1A6nq1sBV0uj8tQYpBiGdxiI+Nu5LIUmIDlXNGLqVqjWjmwpNr6oRnsrkFQ3IaYXzgNnBaJNZH/GCArdhvzRlBcfaetXeAa4naL/MXPtmKJyvQZZI7IA96kZjEwqHhK8o9L14wJx/9YegEyXQhInnbQ+TZafqlTkHeL4I8CfJk45Qb9IL1ltg5cRjYDTBJm1FDJhNWX4cnEB4vxjUzQdkfg0xFOS+zDbvL3/urDiUDwZmvCZUOVfTsY7LJod7ZI2Y55tZOmcRKKO5nk7a3OuFXiTlLFxLVg/mVoGMByuk43F0MmJutncd1KmoJdUt3nIszWOq5FBPYPw== Received: from PS2PR03CA0007.apcprd03.prod.outlook.com (2603:1096:300:5b::19) by JH0PR04MB7203.apcprd04.prod.outlook.com (2603:1096:990:36::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.22; Thu, 23 May 2024 09:19:21 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:300:5b:cafe::c9) by PS2PR03CA0007.outlook.office365.com (2603:1096:300:5b::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.9 via Frontend Transport; Thu, 23 May 2024 09:19:20 +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 HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 09:19:20 +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 v8 20/23] ARM: dts: aspeed: yosemite4: support medusa board adc sensors Date: Thu, 23 May 2024 17:18:07 +0800 Message-Id: <20240523091812.2032933-21-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|JH0PR04MB7203:EE_ X-MS-Office365-Filtering-Correlation-Id: 1ed2207e-fe08-44dc-2e84-08dc7b096de3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|7416005|36860700004|1800799015|82310400017; X-Microsoft-Antispam-Message-Info: 8YVuYoTnsFq+ofs+U/Ldy6l8ZZoFB4aDZWMm5h3iJ8Ebv8CWHDOQ6ft0TCdD12x0N3UIJufqIcF3xT/gBnNWxOakoL9aSXxHQBMj7SYFtVXIN5Zo3FNtLf/wR5WkbrVbwn+tiJcb1rrQ9uGKyhca9zk9EEUruRYbTdi/8BHYS9abzLgbv9BJwNV2nym3Ex0oSijrLDHnkHx/UbZqC70OLlF8SLm5HgB9Danv2jnEC8RPUztwWGc+ZPQFYEunUsLV/bpSjqER+KTv05jyzXGnTRni84WyI1KyNOM+Ky3o3pk9783ETgpKCElf1MeSL1Kn+nEBTlBv2ldXIW4OSbai5WqaPG3qNPtH6WAtPjDUiJmyGTZNtUh0M8hyuC1C+E5j2071QwfEHxQS5qFOTC9A7MfCKxSYxLeqKEmZomzULCrzBKggthge2flVQAbnl7cX1mk2m//FsJK4QlFk4aWmwFSzI/U/avCTCN2HpVBxJfNZz9xVbD5au2P8DPa5wVrzvKqGlorqbVgl2iUC9CZB9EvMfp+8rC6jrha/UFtp3FYr+5Y/6E6creWmsVOPhsPuFNediGtTptBVXntrxc1AT4yTJRN8KwpN+cmHIYD9gqMN3a9FLsGdcTnuOhTsKwClGWYCLCFJpdAdnOTDSZ1p2NeUFBjTEY7cPKvrO4lSHXvozV5K2bNnlpYzlSCiX9oLXaDiYmdQbbg5wTeHT0T1Uylrp46oyh7O+xpg3oZ1UrzBuZjrUyrDZpcy7SnoZWO04l4cVw/mEdLPTHUSj1J5v2FN/0s5f8TGyDSjNIlX7L59hzSI0m+5eHOo9iRS/YVgMR5XZp1WMZoXlZgtX3HSr7ITLaXIjDh7ZDeY87hfTRlUs+eOZ3Fs+fOV5TjAVQWJR3URzBsLnzdPPs2I5//gz6dExHnl8CD3eZPsmDDoOWfNQs4EV+jqeDGaDbqwz2qsot6oxaMwUnLAIMXQJZaO5FhcCoNfSPCnQyTr3b2tfqQl7yDGQpbaVYh0rWvjOz3ISFalSHV0XuusVnpp1qbr/nzzdq9Cwmy2ynNlHNVDWCWFQ47gIw4OhO089k7B/xix11DbHlLpCYydtHMTdIFfUD7ouY2hZQN5Ry8Ti+P6dgop57N3qCH18vWP56i0F5nauGZnkqocaegDQVWqiW8xeayyF4GmdovbV6Ks0dtFqUA26hTILmmwCxGejf5OOnHSi5VignpguGJ4hj5bl0y3B6kvhMYtpClJsJ4KUOOxrp+4/ONT1bI+Zk6Wti2lUVyP1bB9qKSYxMnFPBX81+sELR3c4izIa9e6qgoCA7zR7iyZnLubxFW8o4RlaiW4KgSTsi690CHYqzTB/Oy2I9pAYs/Wze2GPVa281sQA3XpwSJYDvxnRTaPdFmpNVLHtj/u 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:(13230031)(376005)(7416005)(36860700004)(1800799015)(82310400017);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 09:19:20.6107 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1ed2207e-fe08-44dc-2e84-08dc7b096de3 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: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: JH0PR04MB7203 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_021930_508269_26E0CAF1 X-CRM114-Status: UNSURE ( 8.72 ) 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 Add ina233/ina28 support for medusa board adc sensors Signed-off-by: Delphine CC Chiu --- .../dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 13 +++++++++++++ 1 file changed, 13 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 f4e37187bd5b..bacaa2208734 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -915,6 +915,19 @@ power-sensor@40 { reg = <0x40>; }; + power-sensor@41 { + compatible = "ti,ina233"; + resistor-calibration = /bits/ 16 <0x0a00>; + current-lsb= /bits/ 16 <0x0001>; + reg = <0x41>; + }; + + power-sensor@44 { + compatible = "ti,ina238"; + shunt-resistor = <1000>; + reg = <0x44>; + }; + temperature-sensor@48 { compatible = "ti,tmp75"; reg = <0x48>; From patchwork Thu May 23 09:18: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: 13671536 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 E283FC25B79 for ; Thu, 23 May 2024 09:21:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=PzhtohYueti+AsTuqaflMDQgANEl9b3uVWsgWGzUquA=; b=jo7EbakM3n+FEE PoHAqKL2QeZKs7/ZC5uhksK14qTm02spx+67XM3xrbZSK7Cev5lbOTkcASwutzqoyJxCfoaUVFIXC 7rLgo1l+J8us9KzclDvrUr/hj84sd6j6TiJhRQrLqd7mNR4yT0NBvzFSLhgbrXT9QPoIp9c6DMeS7 f/ptHGF0poNV7dk6nk106rKTjEiuYyst11aMZsm1C8YdtOJDWV0ea/kJKXK+vp2P83MDp5leVpexC FRphE+pW3KJGyyHDYJJE+9xHg5nE3sjj0digObYg4jKeKFglwbNe/gZMGGboolrnSBQC3vQOk96Ka QvwLx5E/0nVhOJbqvOYg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4d5-00000005edw-1bKh; Thu, 23 May 2024 09:20:55 +0000 Received: from mail-tyzapc01on20600.outbound.protection.outlook.com ([2a01:111:f403:2011::600] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4bl-00000005dnJ-02yc for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 09:19:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CXHnk3G06u/dXL25D3po0EvDKyHQR+IcKgq/p5QrpLs7m9yJ5tzuD6jubrq9LjNxs+C7TjCw477mQ09wPJMU29MsMKm7LLYg7M1OIKr1QFyrXQDZSt++XP426BTswUNdk+A5Rni1R09TIlstFxVbDXXuU792O6SbwvtUiJOevJXxJkCPLT6PHsWJf69Pq96pZEMasTOhw4dKoB++7aVdgGVqjdG3Sa32pLpRwnMp5K5EcDP70gtXg/v4gOiE8sv7Wr24X3riUI5A0c8BLTkjAKwrXE0v3GbZDtrGjjqsQ3gGB5v+g07RU/dCNDdTt/wkNlR3kME+Ze48XDklFgKoFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=P5nLOGzr+7KZfcZvwMsTgIEus1J7dxSLeXUDVhNOLW4=; b=L5fh/011mTj6LvUvUCVN0DSeicjv37k+6ruYCdrh71dsmv0KEIySJYsQgXO3lJQnN2pXVD1+0168ZODbgxh1zl+LSWnubb+F7+rkOvlikdQSO5KXyXTbx5teFckdQxTpZTqhpeDavhzDjAr+nSgt1cR3PKXq6ylte9pLMIICiWSvj/LuEaPpckjWC6TF3HQjihj0/4/hJP+BH3aBqyhqqzhdFSCat1rqXnl62Hkp1hFJOk+G0h8YsBGn+lOwzHwjJCavJikTw1zupMHbpq8PyyWxKQ7oXDE2urynEmXjxDgYfG4ItNABHQmXjZ39UohjvFnFVgVYEr3sTEoXrjastA== 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=P5nLOGzr+7KZfcZvwMsTgIEus1J7dxSLeXUDVhNOLW4=; b=Phj55WPMRf3IFVBYAtC4TXGBtAca6wRwoiIc2ccKHVhtaZUK7g/zqLK9H1y5M9nsWt9xGd76W/UevjdHrAf6sZ6CswLLfQlS8vwiya8ebFSgFDLnBMB2xrqa+AStrAFiSocjwYqHpWi5iB6pl048LdE40vYtgro+GyOmNo4FO63iWaymstAXQ21YylqASY9h7iV28woBGgqUYLF4J/se/M1NQGAVLo7h9e9xV84js1jxMjymGvl6gJVBt5Sk2puNzhvFhGtSD9pG5L3MZxXX2q2fJ43g1jDH3pXkHKyJ0+zbBi//j2Ekys5KkLP/7kthSuMZeY4YCSD+RVrTpuFfgA== Received: from PS2PR03CA0004.apcprd03.prod.outlook.com (2603:1096:300:5b::16) by TYSPR04MB7924.apcprd04.prod.outlook.com (2603:1096:405:91::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.22; Thu, 23 May 2024 09:19:24 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:300:5b:cafe::c8) by PS2PR03CA0004.outlook.office365.com (2603:1096:300:5b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.19 via Frontend Transport; Thu, 23 May 2024 09:19:24 +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 HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 09:19:24 +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 v8 21/23] ARM: dts: aspeed: yosemite4: support NIC eeprom Date: Thu, 23 May 2024 17:18:08 +0800 Message-Id: <20240523091812.2032933-22-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|TYSPR04MB7924:EE_ X-MS-Office365-Filtering-Correlation-Id: 6a959a78-e8e7-484d-78a7-08dc7b096ff4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|7416005|1800799015|36860700004|82310400017; X-Microsoft-Antispam-Message-Info: BZRyOlqEMBKEvrJmpIAGRzOmmyEy9+R/lM1MfDTeuK/LvcEm4N0yH6Gd8t50OqNNxAw4QOFNDSBlkOMKdXuBkC4b/qLO0YOXWif8csiaAqcwcWWZKm1Bo9silvh4XoY6P3bqtiBdH16VKpuS7MRFyEgGsPFyjTQkW1QZyNm1h15f5RyO4j6RToV2MT/2ejYgpFCirw9e1tz5oVno+moniAVJMrmaklunIf74vV9dPqrfU6FG22HFM0MqdhjpJPmZpoPk5Yyjb4Y6jptjNHFOeITOx79qQ04ckhfFT3ObjRUN3UOglv5aR3EYClRiWQSWGFkazCBXYRJa48L2NTjG+AEMBcAmLphpKAPwB1NrshVmLgEVEDPbb4AJHLbnJVWI6qALWw8H+Juk3jWJTIwehYUZ2s6/PHxAo+GlJGIZbio8Lw3ry44fq4POOCHN+hmZVwLuc4X6xHTC9j78nE8XD2mmG8KZ6AF+sXYSGZuHt/rkPzmXyHcVWRhIHT73RV8S0r/DvSp9rIFUkaPqCmhvUU+GpZKjhvaYkTMKkB6oSCvlg+dngSlbCLb/SWvR2Uq5kasmo9io+jIu5PyzoWZtaot1d8JXK16t2U7l7J5IEfOnUtJUdmJ14a+Ird8B6YJvIEPHQ62mKEOj8y1xEJ45Adu5c+EFMG6DSqlQ9qgMYgTtx/5NNY0mZj6jmrRj5Jol9yncRMPXrjXxx6V3WwOAgg0xJizxdqmR56khQI5fHwgeWR5Gq2QWuCLt4QUTltc5wKfw/EMwIlhmYZfN85pawuoYkgks6UcC18NOzUuKzEkeUqCBsYOn0BpTI4dYFbS0ipzju19gfFnhATMt65pKByZPVA+KDWWVcyLFkBNLB4Q/19Xin6QN7kadN1ZvKsByMr/w0fP286s//nlQzZrVO5kk2ssSWOMZQE/xti5ACcMyKNRo+c6FfM0hFbLc6mCMymh7DQwo/5FMKEWkHt7LS6LnJocpjskqSaYQag3mep9/VBka/WRKneWB1bX5+AfqZIzRDTEW2VGvy5eULDadbhPSmCCs4zUBfGh0kIoLBlZP19bus0izK7j2LG0pyFt2u6oWDydW7W2Bh1zreSMjWrC6FtaNwcQtpZlBLb2FtJiKZY9LyftwtawRYUqpNHq7eyat6fpKXETFmSZD/UYlFm8eXFR6yn+4iwYvJtTSj2igqv0mM3dR+CwC14Nv8mHpLKfIDDwZCyfb9ys2cyHKH0eOj/UglnEoJIL+RXGH9Uc3unRBNVB72nZHwFAkv3/gR/Tv8A2eKouUWfOp/4NRCoOLH8lAcM43ZsLq92fvNUKs6EigPUeDGS5IhdNpIaxIc0gBs4WqPfItVd9ZW50y2V2StmA7jCL8he9UiFD2bF+cwWImVCEv5+2j3tugsIIe 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:(13230031)(376005)(7416005)(1800799015)(36860700004)(82310400017);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 09:19:24.0795 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6a959a78-e8e7-484d-78a7-08dc7b096ff4 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: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYSPR04MB7924 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_021933_190831_AB36DD9F X-CRM114-Status: UNSURE ( 7.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 Add NIC eeprom devicetree config Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 20 +++++++++++++++++++ 1 file changed, 20 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 bacaa2208734..62dfe935cbcd 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1338,6 +1338,11 @@ temperature-sensor@3c { compatible = "smsc,emc1403"; reg = <0x3c>; }; + + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + }; }; imux25: i2c@1 { @@ -1354,6 +1359,11 @@ temperature-sensor@3c { compatible = "smsc,emc1403"; reg = <0x3c>; }; + + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + }; }; imux26: i2c@2 { @@ -1370,6 +1380,11 @@ temperature-sensor@3c { compatible = "smsc,emc1403"; reg = <0x3c>; }; + + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + }; }; imux27: i2c@3 { @@ -1386,6 +1401,11 @@ temperature-sensor@3c { compatible = "smsc,emc1403"; reg = <0x3c>; }; + + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + }; }; }; }; From patchwork Thu May 23 09:18:09 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: 13671537 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 C9AC1C25B75 for ; Thu, 23 May 2024 09:21:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=vXuzqSt+am9CbyrHtz6gBZEu4Z52/Y1iE7alZwjVHhM=; b=JuuM8leYUafAhZ UekbX1qJ7PYwBziXQKa8IU7UZ+1v4DOJxt7gmgWOut/In+luGVnezDgRA8iXkO7hEc/KubhG39vBI E5oyQB4kPtk025i3/RTNNbvJKOUBiEXjr2VggyLD3810PpT3yc4956LOHHcTfCPk01Y7VPhf+w/7V NRF1HHnsw4stUv1kYobnhsyKCsK/7m8+DNMiYj0+Pb9s4iwYJPf1b/bbEJ5j/Ox3iCxIm9Idb9GMi 5LHQN4ndBbHTvMRdq7s5kgHeSf6Z05rPy/JgJY6oFd1zxe7QFCFA8ZgH0qV1ZhGgumwg+Hn+B5A5O ugnzPbwox5lHRmYqtP4w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4dB-00000005ejD-0jEw; Thu, 23 May 2024 09:21:01 +0000 Received: from mail-tyzapc01on20600.outbound.protection.outlook.com ([2a01:111:f403:2011::600] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4bm-00000005dnc-19kg for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 09:19:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QE9swRD1B1hUu3A+bS5tn9wDojRmFBS/qgjn6BvBmHX5uObgz+9R4THqpsWC5Ac19jqJKFJU+FWnDEdi+lvX4TltupxScccDlgl2ObW+h9YPvnnSJt4O541SDN4oWvryBsR5RRHmOLyrPyqJM10+cjOMVtadhO2bKJf/TTW73MaWxRo3ZKRs2F7L+k5IWIFxIAiWPCsh25ATPdLUIQM1S5jKWDPTsIfhZR4WklknStkYpKABOpPWWZDlTrjs5i2FrjstAf1MQ9mGwvSRPtSG1bDQ/U2G2ZKQPyBchBxQvlsfFqbdCu7ZMb2wIyMAtsXMo/35JCg1R8Bpzb16W9g2JA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=fPuO9qcjCRKT1hG8tAOI8QlF9L4C9eaYFzPaHsZZ6p4=; b=oB5mEuEcmEWMDpBfKczd/15XjNqyYpBt9sY2zEMTNQOMRPC/jTwbkrktr6275qeRlkWRzNMYHoXfx+URE9Acmi+6KM2kGDPyPU5FWD1J/PKgGYcH85+f6LcEk3989wymqtyouLXHRaOUa5FytlfSgoHyJa/Ab1q2xk57GFuTP91/J0zBPs5wkorhbYmkeFk0ElmHn1n9zNkp5W7EUJ9BTgdGb8St1TXXyjRhZbEHHcs+ishOznGK/a775qjpbgBnotyR2S9NsVLvp/WmhNytvMToo1lQv+TvorC7mTRHXbSKFx6xt0BwAejIbcRaB4UzwbXIffTe2bBqKHPDrn4l9Q== 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=fPuO9qcjCRKT1hG8tAOI8QlF9L4C9eaYFzPaHsZZ6p4=; b=CXfE5ajf8Yamko43CI1VBdLGk7yk7FNeGH88diT9xaHgU1tIKYfHrbZRVc0tZIbSCfPtsJJ7NodHPANvLGCqvSMVpFS0WBTLLS64hKm18ymwqrOrElR+NiccICSBSuBz0LISdSoeih7GCaSuFexSmizhw1BQR2n+vyPSsuUJiUA1+TAg06Dxnnr1H0PsrTK3ElRLe4odTI0quvqe1kbZsJbxXe/UKTRBD06OWHFqeMjiPIrWGey88QmIIO0ePRTu4WD25XW1ga+sFUYt/sUbB4fO72dx+ScE0HYgd7DUT0/f0PaifPOxAursGfCyxM9f81VjHtgL9+LHLwwgG+Vipw== Received: from PS2PR03CA0001.apcprd03.prod.outlook.com (2603:1096:300:5b::13) by TYSPR04MB8128.apcprd04.prod.outlook.com (2603:1096:405:9a::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.35; Thu, 23 May 2024 09:19:27 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:300:5b:cafe::c0) by PS2PR03CA0001.outlook.office365.com (2603:1096:300:5b::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.19 via Frontend Transport; Thu, 23 May 2024 09:19:27 +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 HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 09:19:27 +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 v8 22/23] ARM: dts: aspeed: yosemite4: Revise i2c duty-cycle Date: Thu, 23 May 2024 17:18:09 +0800 Message-Id: <20240523091812.2032933-23-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|TYSPR04MB8128:EE_ X-MS-Office365-Filtering-Correlation-Id: 651a361d-d932-4068-d96c-08dc7b0971bb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|82310400017|1800799015|7416005|36860700004|376005; X-Microsoft-Antispam-Message-Info: B1q6i9v+TSFfsZUHkOHNFNQ6YBHuOQo+VCijPwLxgmPRhseyT6ERpfm4sXMXWRx+FcLj6wa9/oFbc+8MhZ0guLBV7kOSmEyHBCtgRJFaoI7CB3TAUiFO/L3RdlBV1YuUr6BcEUOQ46FFryWi3I84HdhE7gxmPuI2bOoyGnrBnaSOpMOylb5SPABv/BLRnDyg/+DWihYwXIJ0zajDft82ruAy/x98r0gz/TV7oGz6niIduqmfpBdfzhPtyxJspVkkathki0Yj4XiOyO8BruMGndZWNsNYj6/VdHtCEjNi7kIqd9dSRxt7WW/NLvupZSBbwQjqRv7IVeQQ6/1RBQAIVsxm56gMUKbr4SKfM5CB0zfORH4TBght05nox9qGBdTIhVTMCyTsNe6RkGysbHrb+YmxFcEG6oGathSPLY8T+N2jq92Z3YMmU3DXVe9LmbOFpVUeifMLMxQYsrQXB+mfzd2bf2Tu9F+wMOoTv9gk3vD5mhyAQ8//v56821nNfwvRLsIxsUlEulXVnvFZKwt9vOnIaE9Yk5YIJibyXpuTua4qIHR7KbKU5BhAvwjfgVGcJ0qoBCv1o074ovE3iPJxUkGc8Ix0APD3xXPx44Kl2o15xQG4Id5NmMh4V2J7B2IiNOkKkvoU/Qs4cm6A2ZTI951ZWM2OCZhEj5VPHxHxxqCfBPVrEf4oYHK85CUJWJ1dRiPAdiHi5zJ9QNAwck4iGfjcA1+FWm1kroIl1FHALjcataVgNczq7d9W7pzptVFOhrsNu21ihrs+Ts+LXRGu9lPF1bkHKt833yStg3NbNhWID5MU2B8XNrAEG1GnjKnNiaqYRp9coHEA53vExcpGxaVL5u3k5VjXE8texfTIC7NOFS7DG6p98LM7APnO4vhJwxn7fEyw2wDQVCcHQx3rajH7jd4a5fcZJ0VPrK3HxZEScucMuIsj7vQAj6vVomLA+6u11WicEUZJEy2brdi48UTdhsnri+rJ/1q23rxi1iyaC8SKeR5sbG/eXjqBR6GxHFNMqzSUXQUDUOCl8JWsQSfc1DM7JHJT6Vvam7MjodRi1tZuLWDobkACY8MhE4mATQlLBIjWZT6iwYXIgEj5mfFsuiTeZ1BU8dbFSblYH+7AYxIB2S/N3BahwC50KpnSaqq130Fd4OgjZOHUJHp7fC1SpZoL9+oC+ehZVZF8o3HcuHpo/UPSqB4b95bMVLrte5a2F2NtaUc8JABSug/T1TL5ILXNXiBSciQR8vh8A6UXfXMi3vEEg8MFH1HdK+Ff3cU989ydMbrr63ik5wd+IBpkzRyU4CsBT5eYYzsl2QdvIJe7N+hwMGhQlkF5W0HIUfiCpPlV4l/YzlSeU/B1ud6VMt3XOqYAPWdIKx6xm9pP+WNZHBmMZdRNbU2dkIIk 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:(13230031)(82310400017)(1800799015)(7416005)(36860700004)(376005);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 09:19:27.0638 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 651a361d-d932-4068-d96c-08dc7b0971bb 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: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYSPR04MB8128 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_021934_571002_E2967CDE X-CRM114-Status: UNSURE ( 7.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 Revise duty cycle SMB11 and SMB16 to high: 40%, low: 60%, to meet 400kHz-i2c clock low time spec (> 1.3 us) from EE request Signed-off-by: Delphine CC Chiu --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 2 ++ 1 file changed, 2 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 62dfe935cbcd..21ca22281ef8 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -761,6 +761,7 @@ eeprom@54 { &i2c10 { status = "okay"; bus-frequency = <400000>; + i2c-clk-high-min-percent = <40>; i2c-mux@74 { compatible = "nxp,pca9544"; i2c-mux-idle-disconnect; @@ -1314,6 +1315,7 @@ &i2c15 { mctp-controller; multi-master; bus-frequency = <400000>; + i2c-clk-high-min-percent = <40>; mctp@10 { compatible = "mctp-i2c-controller"; From patchwork Thu May 23 09:18:10 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: 13671538 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 75B94C25B79 for ; Thu, 23 May 2024 09:21:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=fzIfyeXrD043qJO1Pl4BQzCDJVxEJ1bi3UwHZzVeVIU=; b=Zo5HwnNdqombDn ZuoHIeB5wT0aTWvUVL+7bX80YNyWyFr0kEyaWuuKV3OhoABvBsnl2xEVn/RYJEb5LtP7EoLtvebIm t5gHKdy4FVDWGSFmudkcvOjl3CRIeBve41y3mVm/FpqzwDp3BpHJDbn5hUMiFAYtwFV5vhmXNzygB uwJIROOLwwUeO8nLEvZK6KaUeXJCu9xs/8rG4qwSrquzeg9U/p+m0l5qIH9A7qRyfzJn5YjMWei96 UXYh86R2/AxWXx16lqrgorF/m/n493Zn/ifYfAkWlJzQjGmJsiy3anpvf7d9+0oA6aMPYrv0t9uGX mkIu+OKwR9fuFz3pu1iA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4dH-00000005eog-0LPz; Thu, 23 May 2024 09:21:07 +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 1sA4bt-00000005dqV-1H8E for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 09:19:43 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O8S4BGC3UVcEdQUsItsXemDqyvN1E8ubamKruyY/Wui06flMteExlXx0QX45ow5Dyqta6d+IUEjpfyG/QbnJ0oC4LCpJXpJ/Hq5RgJ/uwHWfJCNiG3pGxHm64RQF+0jESrnfWVdFF27i46NcJBVWmSs1jugKWo/0YMWjEmJ9jmIAO20/WrYC/kkRb8aqQO71yV5abOGcrEjnSzkdJwJ8d3yXxqqAzY/cfcl8AD4v9TsEUxGLo5rbAx6b8LQHrvd3LLQEyy5V+D6LsaFSK/aM0f1L4MTQTcorgcFGMk7uc8pv9GmwjPcDcQ04d6sD9hD12uUJ8caq3oJY2ZpvDp1A9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=pycQ4ax5A44iPL+OokI9fmS5xofqcN1wFPCwCzTXGbQ=; b=ZRNoEtDrlUJFkpLhYtg+zdDjcoLEcjNh4WILK/a0D2oTIA9Z8JSuJunJ54doazvJ8NqhmQgcIlSaqaoKnMNREQQiAhFn5pNjCznzJWWbemucdMzNjvnoUR5vkQH3aQZmTNfPmCwVFp57LPdI8XidS83nffVY2I3KNZ2cqEp9fOZ3gSJTPwiflYoMyYEW02PXzcyzFqg4ykIOsEmGH7gUW8jVmI8t57q2JC3RjRwGkkV4lLRAXqF8UXq/uOk1Xja4qvEjzYrF4w78Jyw7ddFQTMl6xyJV3K5EsOdk1dNhyN+edgyZdRPv5FhInlarMkTyRO7ER0+LjrkLkilydyi1+g== 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=pycQ4ax5A44iPL+OokI9fmS5xofqcN1wFPCwCzTXGbQ=; b=IM4qHXcL2sAihIRjmAPf4J9vlZWZKMI3Qp0WVPVV+FeRGU/gl9x49jA9rnq6+UQKFLuT95MB9Fqfd3QX0PH3mjQ5scvrpEDsMY7xCryoMMyagNY7ld0t9pPVcJSPvsgfhP8q8tDcHWejmIPRkDiC6NegY9pxllWms0MoX+cr8w6HtjOefIqi4L+q4VUv4/Uk2xUFTq7CXMl4RpKA4tGumQWh8bCktgIhU5LCZvnjHvSrkcVEVDICMU8Oas+sIFnTfnJZdMJXv8RixjwpOeI2Ke5gazn8PHku7qkyATag9wWG+8NtdpQFIB76+Jh7cJ/vKKbh+XCQwjCBszavyYcj2A== Received: from PS2PR03CA0001.apcprd03.prod.outlook.com (2603:1096:300:5b::13) by SEZPR04MB6455.apcprd04.prod.outlook.com (2603:1096:101:9f::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.22; Thu, 23 May 2024 09:19:30 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:300:5b:cafe::35) by PS2PR03CA0001.outlook.office365.com (2603:1096:300:5b::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.19 via Frontend Transport; Thu, 23 May 2024 09:19:30 +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 HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 09:19:29 +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 v8 23/23] ARM: dts: aspeed: yosemite4: add fan led config Date: Thu, 23 May 2024 17:18:10 +0800 Message-Id: <20240523091812.2032933-24-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|SEZPR04MB6455:EE_ X-MS-Office365-Filtering-Correlation-Id: 28c74036-1f35-44ea-b115-08dc7b097379 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|82310400017|376005|36860700004|7416005|1800799015; X-Microsoft-Antispam-Message-Info: jqOOOYTHQoj42yn1v2xkiEUTOpcSreTvC4m89m+KhQp+CeQh40pL3fP9f+2Kc4moz2bhmZPZhntw96FPmoruKZ+ua3t9Pd49/Rdzn5DmlrVuO3BL0ZnX6z3gl2CdmL2eOhtcFZqahGRX6M+lGdtkcAno8XSirJgqxkY8R+N2HpiOSzo9jrwvmAKV7qLrI5PLtzloUdkxonEVbAr5tO0A8P3Dyr9nQhO+uwoSrESCI/89H02tjEHYrPEQsXNd3nuz2yEh+TaWIYNOcELzqXoHmEu+aGY5iVAMA4KVFfzeMcfRtnz21gzLbBUMXf+8nG/LYIHcpRYqCfJL8pHgjwQgSvStqd78Qmi/IqhOgtBezDU4sYQwnoOU6WOxKo/xZdZurHHE5VdJ14m77yzdRYpI9Wm9VpkNyJy1WdQJlcnxsQrlMloBpYlnfohYQ1phzdwIqD5rZOrKgfAS4kA4V5FGkSKqM7Qfn8oG/4TbA+ACZ9OuRzgGwX5OeT/0dcFia28TmRXHQkBAgQ10+RRyVotrnYQEjpsrRYNvSaAcaXnUvb1EVwX/31YitpNPH0NqShNHfGdd10zAdwwLLAThEzt/6RlHGe2Z0vcOvlQEPu+qbYfdu2g5rLHnvRSr50mOpuQQLpe8++3oKd7LjaZypb3KhuJhoi0JIsMu8Bb0Jncce6DtRwzZnyutvGDUbJ3Kxsk8zKpEwhNZBS25Sx387DNPSndckqd5Mdj3lhb6EugO/Y3quzONgmRiFJC5TecvLsxXcs2dN+sAFlGus9MtqjotMUShd43NTvUaV5oF8feMtEDuCBoQ/MSGEZZD5QqePbXy1Uc+51RP2D5YLRr9pqozvnnK0l54YuYCE6/QypWQr344A7cWjHq3g38Mn5EEyPiB5HK3QqzwSFur+rVbMvb7G7LxjkXIzt9P/OOTgZ/QPXGcMajzjyODtjFNTIxL8Ot9+DQ8hEWQCylG9x6wRtAm+QvTeIIU65Rz3fB0UBKHu56oA1IlGiVxBBQ8qKDO+rdHYQPyry6JB67f1ofA5emg+V+BjHBk80DlBU097po/Z3vVYMpGhrhCKuHWnnTztvGlshjQoVUruqZe0au/o161cB+wGMrvdTH/Ze0IudhdQ9if79DB5Mnpzj766C/t7pu1+tzpXsaqhq0ISevXPx/AuH5Wg8YlxVDoQvhj/Bj1wKN8zI2gybf/EzAMaZ12Tmg83w6dQxJrOhF4Ow4Jc+ja8P+GPAlEWMgDUtOlFw7j9khYzwcf3muLD28akZsanojOIaa4m/vvcr7LhBHWhhZYQrlXWxl6hIKyLGeFnDTjYn/WIHDID0fhW8Bise21zxn1bWDY/1AtefllaFXjZbJjDoMdAQ5VOdNcNip0gXWwffs= 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:(13230031)(82310400017)(376005)(36860700004)(7416005)(1800799015);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 09:19:29.9857 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 28c74036-1f35-44ea-b115-08dc7b097379 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: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR04MB6455 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_021941_445887_B7C49E0F X-CRM114-Status: UNSURE ( 9.11 ) 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 Set fan led config in yosemite4 DTS. Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 152 +++++++++++++++++- 1 file changed, 150 insertions(+), 2 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 21ca22281ef8..2cbb210ed53e 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -75,6 +75,154 @@ tpmdev@0 { reg = <0>; }; }; + + leds { + compatible = "gpio-leds"; + + fan0_blue { + retain-state-shutdown; + default-state = "on"; + gpios = <&led_gpio0 4 GPIO_ACTIVE_HIGH>; + }; + + fan0_amber { + retain-state-shutdown; + default-state = "off"; + gpios = <&led_gpio0 5 GPIO_ACTIVE_HIGH>; + }; + + fan1_blue { + retain-state-shutdown; + default-state = "on"; + gpios = <&led_gpio0 10 GPIO_ACTIVE_HIGH>; + }; + + fan1_amber { + retain-state-shutdown; + default-state = "off"; + gpios = <&led_gpio0 11 GPIO_ACTIVE_HIGH>; + }; + + fan2_blue { + retain-state-shutdown; + default-state = "on"; + gpios = <&led_gpio1 4 GPIO_ACTIVE_HIGH>; + }; + + fan2_amber { + retain-state-shutdown; + default-state = "off"; + gpios = <&led_gpio1 5 GPIO_ACTIVE_HIGH>; + }; + + fan3_blue { + retain-state-shutdown; + default-state = "on"; + gpios = <&led_gpio1 10 GPIO_ACTIVE_HIGH>; + }; + + fan3_amber { + retain-state-shutdown; + default-state = "off"; + gpios = <&led_gpio1 11 GPIO_ACTIVE_HIGH>; + }; + + fan4_blue { + retain-state-shutdown; + default-state = "on"; + gpios = <&led_gpio0 2 GPIO_ACTIVE_HIGH>; + }; + + fan4_amber { + retain-state-shutdown; + default-state = "off"; + gpios = <&led_gpio0 3 GPIO_ACTIVE_HIGH>; + }; + + fan5_blue { + retain-state-shutdown; + default-state = "on"; + gpios = <&led_gpio0 8 GPIO_ACTIVE_HIGH>; + }; + + fan5_amber { + retain-state-shutdown; + default-state = "off"; + gpios = <&led_gpio0 9 GPIO_ACTIVE_HIGH>; + }; + + fan6_blue { + retain-state-shutdown; + default-state = "on"; + gpios = <&led_gpio1 2 GPIO_ACTIVE_HIGH>; + }; + + fan6_amber { + retain-state-shutdown; + default-state = "off"; + gpios = <&led_gpio1 3 GPIO_ACTIVE_HIGH>; + }; + + fan7_blue { + retain-state-shutdown; + default-state = "on"; + gpios = <&led_gpio1 8 GPIO_ACTIVE_HIGH>; + }; + + fan7_amber { + retain-state-shutdown; + default-state = "off"; + gpios = <&led_gpio1 9 GPIO_ACTIVE_HIGH>; + }; + + fan8_blue { + retain-state-shutdown; + default-state = "on"; + gpios = <&led_gpio0 0 GPIO_ACTIVE_HIGH>; + }; + + fan8_amber { + retain-state-shutdown; + default-state = "off"; + gpios = <&led_gpio0 1 GPIO_ACTIVE_HIGH>; + }; + + fan9_blue { + retain-state-shutdown; + default-state = "on"; + gpios = <&led_gpio0 6 GPIO_ACTIVE_HIGH>; + }; + + fan9_amber { + retain-state-shutdown; + default-state = "off"; + gpios = <&led_gpio0 7 GPIO_ACTIVE_HIGH>; + }; + + fan10_blue { + retain-state-shutdown; + default-state = "on"; + gpios = <&led_gpio1 0 GPIO_ACTIVE_HIGH>; + }; + + fan10_amber { + retain-state-shutdown; + default-state = "off"; + gpios = <&led_gpio1 1 GPIO_ACTIVE_HIGH>; + }; + + fan11_blue { + retain-state-shutdown; + default-state = "on"; + gpios = <&led_gpio1 6 GPIO_ACTIVE_HIGH>; + }; + + fan11_amber { + retain-state-shutdown; + default-state = "off"; + gpios = <&led_gpio1 7 GPIO_ACTIVE_HIGH>; + }; + }; }; &uart1 { @@ -1198,7 +1346,7 @@ eeprom@52 { reg = <0x52>; }; - gpio@61 { + led_gpio0: gpio@61 { compatible = "nxp,pca9552"; reg = <0x61>; #address-cells = <1>; @@ -1268,7 +1416,7 @@ eeprom@52 { reg = <0x52>; }; - gpio@61 { + led_gpio1: gpio@61 { compatible = "nxp,pca9552"; reg = <0x61>; #address-cells = <1>;