From patchwork Thu May 23 08:03: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: 13671385 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 0E8E4C25B7A for ; Thu, 23 May 2024 08:04:47 +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=tXOrMW2cjNnlmN wsaUQm9A7kFTwhfTgOvo960iGp1gGjIdUNN5GNZOqI/XbTEhtskwikXG/0SFoBFVMNY6bBnVwi51M D395fHeBp3OvwBi7C2rAgLU4Fu4BXnJb6KtwayrYnM5omDapyw/DBZo+gkolAnNykzAxkikIEddRD Rp/WmRsQ/tCTZ3PG5r3vWhotzkVG92nX9hC7QvgMmX674TsmbY+URcyNWq8XAiChW5fZYi1QDavQ2 a6eollLZc7gsmgjDId4mnz7tW3q7EQ2Y0lNBvZTaMogCBuuMRf1rpLx5DNIvJcKC3Phe4+C14/F4c lhEuf0rALcp5tApzuIuQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3R0-00000005Qz1-3X1g; Thu, 23 May 2024 08:04:22 +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 1sA3Ql-00000005Qlr-3SB2 for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 08:04:12 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=E/8HWgf5Yo8a0Qaoml/v3ixUIEVp3gnf1P05ygKgmlp4PNEWEIkgbQEoKslo94O4pS9wv0IDH94cTY90TB5yIC5XHOjrmRv0ct0s3msOsJa+p5QJozhXbCQD6UACZ9kZ8ed2zr72RdMkxPNAOm1vZjrZI1fOYPSBvTUgXKtcwiFmTTlv8kOLpaDCMbhqryguslZ/uhCkAa41D1FuH2/D0ONgfSbYITjlR7M8J6P3xh/8b50nD8lzXMIVpE9tXj387i8SybWQVui6pRoylkTbw7ePGcvkdjXJllub7Vetu56GhZ1djfEtHcoDrDii6zoD54j+zISu3TBtcvdwLyQGjA== 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=V82DGAiUeq+G14tiMLvNY/8iht4IXhbqCBzY+C6jWBGK5b5ghsMs1DB/qKW636efl4shUhs38MmO6GYUKC5Vr5j3BPSKjoiK0PNRUU7o13q5Ou/yitqD6nvIuC2krlHa+lvKoIginEg18hizRKwkacFxKm6c4NRWvU4PsCdvXkw/5ijy+H9qkitoMyOI2oubNzA9QxBtAGkTahm/S/xECip/knskvuGcdNvcyKTPmCNNgr55PJe2FxfoIA47dAgOx+GtdYEIQdx2f5g2XGY/NoMHa0Q/urquYYpDTSUV0EHNbZblblXF3T7lUde/xUMbxIyFyXZnrcGzssv29VEr1A== 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=NklGK4U/knsSN+2Clqd12/vu6xBn//i+vojTl0vXkeRBuANyWJL0NOKnfqaZ7g+YYFmIxFuFY+2Xlj89k6C44quEyZ8tkAPiOT0Kfk5upz/Dx7RwOYo7WmAKH9foTOGX6XwDdQBcyKPiDRSagX1qLMeTuLdMkp6HjSfqL1pVsYPjmpUfeOcVgHenW8iTMmI/kVw6RKQDPkSY1Ja7oeq2mxuneGM9vx4NADjhcsPNbi7YLMUpa5XlVXgE8roTcP22P1NBnxyFJI68YJl1fsqnk3geK/klV3E7toiW4bBcuZkuqUF/DwKYjdQYyV36Ps0krc3+FWLS8h0GXXgOpg1otQ== Received: from SG2PR04CA0167.apcprd04.prod.outlook.com (2603:1096:4::29) by JH0PR04MB7250.apcprd04.prod.outlook.com (2603:1096:990:3e::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 08:03:55 +0000 Received: from SG2PEPF000B66CB.apcprd03.prod.outlook.com (2603:1096:4:0:cafe::84) by SG2PR04CA0167.outlook.office365.com (2603:1096:4::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.22 via Frontend Transport; Thu, 23 May 2024 08:03: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 SG2PEPF000B66CB.mail.protection.outlook.com (10.167.240.24) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 08:03: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 01/23] ARM: dts: aspeed: yosemite4: Revise i2c-mux devices Date: Thu, 23 May 2024 16:03:06 +0800 Message-Id: <20240523080330.1860074-2-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66CB:EE_|JH0PR04MB7250:EE_ X-MS-Office365-Filtering-Correlation-Id: f0ce14ad-864c-4390-3ef7-08dc7afee4d0 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: khR6qEITg0UXIbH+ai+WiL+TmNwjGXLzDIOebQ/yzSgS+k3hAff+jq39ucK8GYjOX2R450NoPEeGZ1mI+w+e8CrSSxI7u6z7n55tx3ad9UsG3cT2vq0cx9h/Mbys6wqKpAAMF19eOyEI+mUStlFjentOD5xtzsd8n3XnkgX4XvUC6GLus0+GBVDvwuoc1ZP+Pq2EJXOFjfPZghx+TdRngYW6Rs0CSLQtEfwJ0kfHy3d5uGyvNoj0uU7p4b3YgaVabjASGhbXPppa7NFlrIRvvztkb9z9eN/oAGnYe5zJPZpu3ifzvwOjlltz+nvwIJwHK+TA4cfNM561T9zvAr8Hhj/V9wceY1PN9umCtBtDbnNFSXp0ZAvSTzHjs8D4xyjWSc8mm3JNknlaJk4/ygmpzViWzISjNcvC8UML+IEcjQ6mNMl7vB9BwSBoIrKaoUstVaW9q/wJkAtdCjgaPCLv4P1GQ3AUTFJhqHQj5u4yoL0DS6VzNr23sY+Ijfryj1jMKA356zhXPi769laDUb2ga32escYoZ86tfq7timePXzHI7UKRz0VWrK2Ebskeoim+YSt+exf1uIbdy1OomqlNiSmVpQS8ez+9GTxq8J3/xfGYX6o7etwu+aO59pt3czHRHjpEj4U/nYU5LyYtPadwfTxtiU8vqnBTp/xwzOKTca11oYAG0fZoIoWTgPYTLMQ6tZXglkXFYlbORjpvfE04jzlTJydYdI9V/ndtviJCwQy5ao/arQcg1MwkSz+RaezBM9ONN8iFpGA7ewB7C9TnRNY2U53JVWAE7AahLoIq0oFr7B2FfM9ZWl0qFFv4uJp0iaGRqoTPvJf9mMVpS/XHmH246EIooU60tqbkMP+5K/63XwS/juyTWQxCtHRru+hJCC1JSs7QFs9PWGAFWTIwqlj/wDZldveIogXbx9QlcY2bFrsXEmBkDvj92FDeSprAy2Elh6f+6K+FDpkkwVE84z640dw+Jpf8xBNAqYu7RkuKPp1UTJBHJtrHT7iGH3lnpUYkVp79pWQ7Qlt4sTxwCNBt8rH8GC/SO/Fzq7tCCPQk7FoSVS/mVEQSl0MmsdubCqiKjZlBPNTwIG5yn3l9v1oE3fa/P5kd94Uy325eXgso2zq7k3ZBv/Np+BvFNc/dbs2vLE5ycne23dRKlW8564c9MqmL9rIGLDgh6BVM5Lx/j0Lq4JFuDDyOFmaRNhQaetO8cAGrV6qThotn/OnraHfqf9ol+GfPPsE8QIfOAKirur3pWqMClKJ5SHL/MQjcHHh2yA7m+7rlK+lJ8nw8iFK0d6gcnr64oODf+sYP2g3xVjfzDI0rmX67NpvNojUeAmtDIVNjE2jaqO4VDTBhpUNsei7plyol6EeHfQ5gf7I= 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 08:03:55.2339 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f0ce14ad-864c-4390-3ef7-08dc7afee4d0 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: SG2PEPF000B66CB.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: JH0PR04MB7250 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_010408_101151_751F5ED3 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 08:03: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: 13671383 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 83789C25B75 for ; Thu, 23 May 2024 08:04:40 +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=eYZsBsSafFJpaZ pbUlspQvG4Otiq/6tE9m7vfZsGuyT9kYFX3pMRf8h+3H3UD28JIznYALmkaNDqov+yn59U2HnzHVr VrxEU+8sd5x7ChiLgBA3zy/XOOatz8xDRF6TKC513gRaqiYLSaMeSNNdJX95HUSCToeO4UEHy1lwR ot8yZIOw4hcKyaqzkN05tUNR4jVQfi3YZxen3GzzQeNxjnxUlsjCZRsbhspfhtZFQeUiBVIU4kRj3 byo7jxM3QbrruyVX1aTz0W/cSQzPCUOdOtMHiPicy5e4TyTOBVuGp2S8+HXk7cNOM7aniOI1Yguax 8zEDwKupvgbFs1mSIXBA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3Qz-00000005QxY-0JU9; Thu, 23 May 2024 08:04:21 +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 1sA3Qm-00000005QnT-0TWH for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 08:04:12 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hZg0Un3dLiTguHut3vKE19ZD/RBCzwNoqyDAFVPSxthR9M56l5PEG5LlJUCMffLGIQj0NSC28EXm8nZsh3ta+uKwlHTvW5DY8wszqmDj17l6lwYlmoVcvlaNI2Thn/4l7Ap3zo8UfaIW6DrRwCCtXOP0j2r6UmSj7jQ1oRpMxTpEYvMW3fUzgOaEBle3NyjuNnvzgeEZS8SqPIlD82v1nUl571YFqovcdQ8iWMQz4TaPzLzUr7M43/vy6Cw2Nf5XI1AbYZ+31szDwlUpW2xWukFmqG+U9yQB9XilsmKSMqxh8ok9F3Ax6i0hZZBWmTrX67mk3Slq7N3oKTxLAu264g== 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=R8tz7vKMwsBGgPnkJLsL8NbvwY/zfurYTAuMC00NJME+CpxghsHslvlP9jICx8LqaaoguNg+s+QLDwzIEHjyU6g3qu5mk7cnOlBTXhaLhQuPHOXeDY0T+qSnXPR0qaOeJ46sKds2sp1k8mL0P068kMue3d9vy/Kr3Yu1QvfEk8y3UnFYNpbk40S/FnBs37+quCDSqR3O2FObk4ieiZEz4MahdwkycqT8zuD2R5JHHaREj1oW1JVoHDZRmKuJ1TIgjCTGrlDXHJ/8loNWOTYg2fKnv8bhhNOe5sRWJAshpMuJmOPSNcaOGWlcV8WFuvpT9maeIN8kKyPjGJp79alcqw== 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=BMXoBpfoXM7y6oe2EvSY7ynGT+Y76Hgw86cTaScLSozPx9zMYsKCs6aO8VLOjGYpfPWuRY+KDlAlMVcxv5ZW+Fb25N30sOru++pqUN9H2N7wuOwobHlykrRnEgsfXRuGgk63/F5077LhDf8nwKKXmjblSydtwTSOaxG4LVEMFVR08Zx/V8T92vKv43lHi5Y3aL+QmZEsA8l779nHEpfjvST9WedLChEvgmZH2Y+pBsvl9f5jbq0e9PA7ZISMY2qKcJgpq/tZZTeTNbvWvJm69DHRzH5vWpDH4nbPNAa49jmgaim/G+yj/O0GqZExv1BawuLf5BDHKU33xUnCBs0OTw== Received: from SG2PR04CA0165.apcprd04.prod.outlook.com (2603:1096:4::27) by OS8PR04MB8162.apcprd04.prod.outlook.com (2603:1096:604:289::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 08:03:59 +0000 Received: from SG2PEPF000B66CB.apcprd03.prod.outlook.com (2603:1096:4:0:cafe::8a) by SG2PR04CA0165.outlook.office365.com (2603:1096:4::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.20 via Frontend Transport; Thu, 23 May 2024 08:03: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 SG2PEPF000B66CB.mail.protection.outlook.com (10.167.240.24) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 08:03: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 02/23] ARM: dts: aspeed: yosemite4: Enable adc15 Date: Thu, 23 May 2024 16:03:07 +0800 Message-Id: <20240523080330.1860074-3-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66CB:EE_|OS8PR04MB8162:EE_ X-MS-Office365-Filtering-Correlation-Id: a550532b-892f-4b87-0395-08dc7afee69a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|82310400017|7416005|1800799015|376005|36860700004; X-Microsoft-Antispam-Message-Info: yBg5lFGQ5t1Nnagy7DNlS6K/1o97lDgT9syF7VKGT8GOajcprqcgtitGtQedgf0FuUQOFHmPTuLf6EvNJ5dYDNAVrO55B3a3BVRYKeIOs8Gqs4RGU3gxwWmZZlFMR0SIABBJv10eG/ZdNjXHpTLoSS5/sZZHjgaDIICWJTZGvfRAj+ZJPSyy6ue0AK3hJv2ZAJAJKpy0EbgM1cUzatlqIkAoHY8Dn8AvkuqqrSCEssdfSmGa4QZXI3L9kjHi6v+jUBnS9r6gbeTeVDYOKrsNDex+qKcv+5+eOjklUsJ8Z4uvofRJpim6ZstGh1e1+7njdv5jc+38q3Wm0FXYzU9h/pGSSnfVVzvLMzxQhhXjMOoj+dBOV/muYqYQ4qawfpVG9a8EWBz4XCOR7lX6jqd7y5tNil02XBn8Ass2vjCdQU6hHrx4bvy1PzMOlINbYFLguAJK9Rcw7Ww3av3lwSlOF6VzFJmFBM17CXodzemCQVcJ+pT54UmuIPESTsYYmYCTg0GRVodRQUWeQClXRhC7rM+GoTgMntyQb5JiMu9ziAnoCMCs298aIdIsH/3v77FCcgJePgXAD03cIJzhQiEBuO4JJDkTfoniNwG10bRV+u2mc/DQHSL77ZUNvIKnf7IPU3qAHUamnknHOQGvFs3jsoppdF9v3G7a6vSIIw2ep2STHErYhFi8vCP2DTGOQMKr+yEppZytblDlBYx02q3jmIrVMB0/MFppv6vnqacswCtWgd04Z0KPhBIBLH0Iw/b867s1UkmXZkC43gNsgU9jNna+2Vv0DA8frV6sQpagX6/wn/mWdTfiq9Snlo8ymISluefHyW2LvVxKQf6lacHVTXg7FU17hYMuUapDK0Uo/dmW9XXqGO6WZJqDhlEGCKDaFru4uaBhadlc5DDwwvRm7ZysOwGDpqmFV6c0NBaWnOmsWM8aa63J5xktCN7ZC7bC9uV72cHntRNByeLD55MB6C71bD9YY37mf+38WHXGUb2RTtEdDKYHgWiEpPU/YhFNScyDq9PuDP/UVhKiR3xSPffVfzbcN8nZ5UDEBVIYx/qFzRCsk20EcDYZB+8EKUUsnKjwHh/3x8MmJvgOl2Lrj6umM5edsQsXUlkG7HJz9aUNkURiTzKU6GtJesa8BzooXWzzf+kIExXWlNqYvCBiG0Kh0sp2tkPs/7c8xaEoCTizosX77OcHn+MM6nI7sJLYYdFoteeGu5y+Sos4PB4mApcL9M6/UOis5knLiYr8qejLY8eNonrVFXAGn0cLTjwBftzyIMq5Jy6J8SbyZjvELmpzvjVpkZTLdWTizv63SrlYVV/74OwJLQGpOcvo0Eo9WY4cTsHbZPsVgrdhgTc/9zqOczn9pOfHv6Rj43VPq2k= 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)(7416005)(1800799015)(376005)(36860700004);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 08:03:58.1558 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a550532b-892f-4b87-0395-08dc7afee69a 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: SG2PEPF000B66CB.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS8PR04MB8162 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_010408_229238_D2F757D0 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 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 08:03: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: 13671384 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 105C5C25B75 for ; Thu, 23 May 2024 08:04:45 +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=SBbs/ziB6kymce 4Unue5KdTC01bvwAGgGzUQ70CCt7HPgzrfAJT5+2j4nVIWZjhTMn9yzyyFS74re0dUIh3F2VqtZZz cUApLzRlX+XtUzUsPdI5gRj/r2GWMw3fk9OI+oy/oPAuckpEFJ3xMCX3f/mCsogzZB0eJxruszz4S wUHl7ZBfdvPk0nroQVrWVhZL/3DZBDoiZceKtVA7DSnac5tw2+obVzwkRPf93zpBuOW8R/8UEBic8 ylKT2qhs/myzFBzongriRY+JKI3nejlrw3sOLyptP2S36AyrhiCZqZ5xqpofYkgMPppmCiQPcBY4G VT3IwunKAxUaZwX/7a8g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3R2-00000005R0J-36jn; Thu, 23 May 2024 08:04:24 +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 1sA3Qn-00000005QpF-2ixa for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 08:04:12 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H6IDZQpxIRXVXzuhqZ8cuMr14Gl9qoazF4s+i9qtvZTgAn3QFFdeJXPgjMA47fjw88Lq5YUPoUYuLYY65bke9F+58c+YqNu5COtNoLOvy6oYoregyPZWqu5Au62yFNm48Zmc8Kq+u2mjCuJiXSsknGPpFTw8yCIounuAF55MoAVmwkvQU/lUE1kfTHm5z21gMmkAzQNzfzn6Ee/FUmqcluPMW80r2qGZY3oO9ceUKx/HTP0DMHTFTWbEtS1nowFw+CBPYyHTGDvkNrWQ8JRrAEQgmDTt2U08/wYZz3YQHSWpQkvOt87/czNIN3DOvNJMhXbJWAFl/bBR297UP9VlRw== 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=hYCNFtZWJjpJSNjMf9dGB9XWc1KeVHXm6fSgRNKET3g/pFTk6t/jN1FixpDnDsuBHDAj5EvPQXIMmCvHj3jBHMxaB5SHr+vJLd9ed2YOGEVDCiYKqMHb/hNoNI1nijW90TCFs3PF/A7eBHpfQ3u3utfCbsR2Il1F/H3GddE7CwHwgVHV1OnvzAu/bmzDC/gqH47lkbWaZV4/UfZZnhmt0H9heA5H1D+EaraPYbsj8xUshYRSef2Rm/KepVbrglfBMyzD/V8hXo9/1EoYgSzmHsZwPIOIz0hDvalDJUSk8ZCeQ6sogDd7ROm+ZpjxML3l9E8FdrL/QroNqa3B1pgydg== 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=Q6AKZOCfIQHkZV2miPwifTX4HAxo7kOkW9gflC54dRj7mTInwY9wUFmI9VVRIsaR21HzzniVITx2rho/n9oMrTkSTnqJsJN231Lq8NE48jddDonCc7avAWOBJG0rUAskvQjHNqZXPk/calEPHuQnIsaM8mfXoJ+XuV3ivdMweSkSsOyeJGOnPeyhE2sywcNarXXV8xQ5EjNpzQMpZ3BnE4dRZ+DJYOg3ocQy3jDMny6Zif0onnV2OAhOK48Gb46sFmFY8d1A/gUQqdpROyom9iP8JuXmSoxgswNzXsyWZIH87kzD9RgvzINyWG0/e1NoWxqXZtX74unSWaLSB4XYuA== Received: from SG2PR04CA0161.apcprd04.prod.outlook.com (2603:1096:4::23) by TYZPR04MB8054.apcprd04.prod.outlook.com (2603:1096:405:ba::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 08:04:02 +0000 Received: from SG2PEPF000B66CB.apcprd03.prod.outlook.com (2603:1096:4:0:cafe::fd) by SG2PR04CA0161.outlook.office365.com (2603:1096:4::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.22 via Frontend Transport; Thu, 23 May 2024 08:04: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 SG2PEPF000B66CB.mail.protection.outlook.com (10.167.240.24) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 08:04:01 +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 16:03:08 +0800 Message-Id: <20240523080330.1860074-4-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66CB:EE_|TYZPR04MB8054:EE_ X-MS-Office365-Filtering-Correlation-Id: 2782b897-adc1-4cc8-b169-08dc7afee8ad X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|36860700004|7416005|376005|1800799015|82310400017; X-Microsoft-Antispam-Message-Info: 4dh3Q4+cBBRQONdJPgXIjJFOCWsA4VELgOAfGmBCluyBndyFXpYCuxMeGFX67evwd7q1CObnu4DIP4uI+Ymq/3BrJ9SPCFcDCkTUMCzYZa8OQmLQdKGeRhC9jUZCP4s2U4iOwVfWX9f+r9zbbSyQ1gO6mS2mMws1IV2l+NDSaUoArr4tP9Y2DKM2bHveMc5Ilh4+7Fn3aE8piDdl+rmtPlFVpahpibX0DjukZtlNDIahxo+jAA45TgkFmZZO0/xwobznTkQTFB3vovJbzdBa3fi1hPKB9RWyoLrzettBdBI1UZmPlbP5UR3lOXuIzCsIncClCAI/7tSx7rbRy9pA4gj3y+xzLdfSeyJDVYXU5qxfgrVosoS0zS5Hkzb0pD5G/nhInMLnVziWdNCbiHLBi1nQiem0/4LdryjdChM0lb+fNI6ffW4gfiNP/QmJPVcRena90bJrugxWBeu9fp444soVH+cOIMqBJCKf5ZwK6kgMP/HY8PVEeKMP2G1xfy0Bg1GfV7vj89Z//ZD7K0bfe2zG+8Rk3vyOrsEY113pGrT0G6dAy8hEvnhrMBjP92Kkcd1adxGB56Oc9w0RpQ3cW0U2CkBE46zNzq3V5oZytzygOv35WSxwDAiYbIci2mB+/F450SjF7NpHtH/Hh01j0QcoyWdv38p1paBSdyxqrrM+GOig8rMRWwh/psXm3RAooqYXz2bL4CZIXwXW5rj6U+66SXB8Rh+YpR6X7Q6QcgT6FtCFQ70kP0MJ4axx5iKGSNwOLhBWi4jG/S41D03BaSu9sA+56BgVd0SEyx/e0hA6XnvZqzx+5tOvOIxGMRfHcnLw3dgLlJtPuDxCTLovi9rIX7a8hO4QvJsTCD1F5OaDzsHsK5h+7u4XzWQ4T+2VtYbdAcyPMH1MF0BbpYCSWgNVZNmuYvpso9O2YBPpPV/uEMBztoGevuzNKVBPuYxMxMSM0NE5y/cpaMUpneyV/KroQp/Om7RLwxrOQl041MkQbTURJP+LbvFmJpxHSo4XQIIfhSKMCF3urA+kj0iix1fDUrAWx3tWglMFR7i591l7f+XK/X09R075kYMDMeSPoB0JYbCP4n0XuH2IuJ5SRwnk8sV0W044CVGpk78caOEIhoeZlxsahbBt7q9//Q8hA6mOSt5DQWNXtPPzssLb38G/ziMgUDkFKBJXF5czvVUeMTZk6gGeK6P0785oMxQmNjtdqbuEFrewsBQ07xWWC7Yy5KZyAtSWysrWED0+HqFKrOY0BfDfw0NYI99aTvVCwjK1cAa6PMHB/lbtp1WTNkQq8iosbnPzfRRWYESTAnvXS8mn0UEXTWnFqra+tn5AhS6BZbz0d0y0lMrtyQ74z4NCcQA5LgCdw1LkzpV4+go= 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)(1800799015)(82310400017);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 08:04:01.7184 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2782b897-adc1-4cc8-b169-08dc7afee8ad 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: SG2PEPF000B66CB.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB8054 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_010409_748870_4FC9B71E 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 08:03: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: 13671387 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 F4031C25B79 for ; Thu, 23 May 2024 08:04:49 +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=ZLTJgbaDDlj2eO aYVZ7oVLSvYYLx7UXEWDviPJiFQa5l6f+KDWLjTMIUt/FiDur6Uv2tB+vFdascyG+9QbRNYNyMsTf AK6p2JRuqclEQArBwCZl+bNcOkXiG3To6+grurVfk+WZyaqgIXnFPOESf1mj5HOpLjUOivTeZqSFN Me8RU7Cj4S61bsND9iplg1ONaYixTaSxVAC15A4PVuCMlcey6OsODWc3qXUqAZQMih0J6gcmifEvW k+8veTnvNmbqsrILndpvXBXt5w7ra7Ilxrcid84wKRKj7oCGjNkR9Bz9/+dGVMfEUiESsJy4yAzrc xJ8SQOfZcweb5/eDwfeQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3R4-00000005R1h-3x61; Thu, 23 May 2024 08:04:26 +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 1sA3Qt-00000005Qrt-1qmE for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 08:04:17 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VSG4YOM2fJFzO++2XKIaBssFRnd1XRepcob564nXhryA0ofYLhZFX/Y0+yAR63zlRQa85SJfPxKhh1B926UNNHiBPUV/nStGXti5CxBFW+Fqi336mORWcY97O5KE4vcLmPZzow+EgdtZ/Wh8aEZe3//AwpUfWXKIS5vtMyuAOTEbGGE8OgDHzqRu53Nx/UE+dBV5QnoDiUgvF8eEQbs8wu6/AjHPtOmoTk5ky7yGbgXlsiceWFzvJ2PiVKYr7eolKGAHvBlagBSkJJHk+eSadBmzruqUpcMJ0gNRYSi0lstnv/bPNAVvLiBD/7wElfghOlZ9MIFyQRm/z4BBkO8Aew== 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=DuHrnP6NLm3a8RsiEya+hJYMUZmppyubNejUiQCqJDir7c3oxN9/YhJIFrHqHo/Vx4wcP3ZD7NYy4yoQ2dli7a/yJZdqHiAj1oTichkSCpBqcTZhond05mQJgvpy2tPS8xtA9dv4wKA+Aet/Az/hCyv1vXyY5B/jV088IWIG4ze+j0exqIo1qvXvl4TvkGT0uJLypYkLvePwVCbsa5B9RrI2l3hZa1yyoMBP5WISHpiHzN/+qBFWtuCLos7bE97Y5AyIxmRptOhgUBwezDG53RmByZU6U6AmdVi073BQg/S0WJnqkqqNmW4fmZmHgAYm2eV9v74VP8nQ+Hn47z1IVQ== 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=jMGKsx6oQ0NurBOFKsSisV0pzeyGwh+iACvNOc6QczjlF/+qta6KI51rYRSfpDrrooHj8pN7G8tazl73BZc0BSCUN+H+yzu27zM/dIdnlRxLxdfHC7pYNQewSbdLEorbjz4Cwbmnd6PH2JMjVVcvyJXP04yQtUGLsv+aUnujOhcrJ5ml4LR/zwERFjtseNfHaPgQ5YkG6JTKwSdqQe4vkFc+yftPWAyTQx0sAwm9mdRp3UsAcQk1japmkMqbCFkmE9t+t/iAcKf+mrxGw0WCuQne/wRaSot7vfe2UQC7+xaBMNiIiUKoG4n43lkUuo1QO6w8DHTUwWzscLofvLtB9A== Received: from SG2PR04CA0158.apcprd04.prod.outlook.com (2603:1096:4::20) by KL1PR0401MB6225.apcprd04.prod.outlook.com (2603:1096:820:c1::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.39; Thu, 23 May 2024 08:04:06 +0000 Received: from SG2PEPF000B66CB.apcprd03.prod.outlook.com (2603:1096:4:0:cafe::1b) by SG2PR04CA0158.outlook.office365.com (2603:1096:4::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.22 via Frontend Transport; Thu, 23 May 2024 08:04:06 +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 SG2PEPF000B66CB.mail.protection.outlook.com (10.167.240.24) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 08:04:05 +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 16:03:09 +0800 Message-Id: <20240523080330.1860074-5-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66CB:EE_|KL1PR0401MB6225:EE_ X-MS-Office365-Filtering-Correlation-Id: 7f69affd-1b43-4753-70aa-08dc7afeeaf3 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: WlFRcyeezYuUZeRExFEYBxkc6dizW3Dr0HJtat9qp1hfwKuCfnnPHLXKJFxolPQoPV7xcwMVfnEsylSOMUTlbVEHqm1WQoztE2L/R8anE0g2Jdn946/KL3zre0Gaf6ODX+n9Ofjq0fUaeipZPS8d/MUy3YUZXbOasyKHv842teR785WuQkxizuQvChsbms5Z20TQc5Ln6pwfdaJHjfkzxEdBudteqQW1FkzZ0uuR21RycgTVd99agyf16zoFRsTQBGQellFi9mNWFQRFr5abNbbaSG1Dk09NyGSmpfq6sIYGMS+tQZSvfyjHmVznYrDYOgVJ7eBGCjFa0YmM2d2EG6MuajgIHvo3gY8rCFf8X83sckC3qTrr6Pc9vQYfWYMTYkbz0oCkoikPBVmEo5dV6QelkdOVPh/CGTQtNJ5H60S85LrvHUyFqDiDqo48nc/uuSn8UFVmgrIQWHR/bUp85wQ+iSmzHiFu3cKQp93Q7N3jvnFcM/iEkYBiHhH1KeeeYlBxB80u8dSiNHAG914MoALgGF9PnsxHbRaqORhlczZTXC9i3JWLJnKcYUN8iSuo3Fb0H9TmMZf5MlP8UV6Nmk1EfShBWKh2a3RVMILUE5bT2c+bvW/9Q5Hr/NHNYtUqjU9s4BPU878AV9ouKyzSSh10uh2eDwVAkg2YjezsK+ymsUU7pLFsb9GzCd06AQnH6mLvw9RoZkLrO5gntTiuOIY9oXnv1I1VV2LJaaAkLTTRp2f70DvHc5hLcf2vpWYucC0+4/ELds5Exf6T1JQNZhu1hp7uIA+2OtdS+t6Q5aZsloLlElgKQiEtcOY3aZpASHWDh7w6EYGOGvWMMWjAqUwQHP5BCLlPtyXci14vZE16549e0aB+xL4lOukb71g9PEtBQGJlWfKyF5KY2eyK/NdTSLBpKNNxv9R8n4CNcPDDl4Y3WuFokom9af9H5C7wl0nXaAJmgjZOMURl2gEEZ1E6V3+ehpxcqMFSTB9m5HOogzF1Srxag4aTXTQvNOMumm7HVZIQVr+lD+I599vqxeeJqewh5A7q+SQxkuiSoBf797U0BpTvHOa5omoH4uzdTTHqXdAYRkPUHw0E1vDY4JtUCGBjZ6I/MusDMGJP/Ne+UdXavd5+nvvCWWezxpCx5+neaSoRrATD5sp3Rpi1sUv/M+IE9wm1H2fPJdLlv7MwQh5jMS7P9UfP79yVtYPWW2L1gLh5imHegDxAzxLfylnFArNt3aWaYL2EYrx1EAnpOCqP8Q7ZzsbXIfazszqeTiUii9q3EI8+d3w17yGnnL/4Xl9qkh6oBQ2sFs/rTJHm3M5qsTxp9axkCewhxiOFhQZxQoEjXjaE7+m1fm73qTsbE7vfDlOLY9DjimyLkfw= 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 08:04:05.5309 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7f69affd-1b43-4753-70aa-08dc7afeeaf3 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: SG2PEPF000B66CB.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR0401MB6225 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_010415_713180_7A6E0989 X-CRM114-Status: UNSURE ( 7.44 ) 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 08:03: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: 13671386 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 BB55AC25B7E for ; Thu, 23 May 2024 08:04:48 +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=OZNe5YhZSl6QbA 7yMX64aBF4Q7KecT9jlSUZo/pnqMvz5d6uc5zLjum1cXancj4gFfugbyQa0dU5a+9cOQ1v8rgLlKr UmonJBuKIZW4FH52/gdnjfat9bF7nUYfk+HyEQkqM6AoJNtJC6ug459zbtWH8n2zyMwCuKdDaJCa2 q8ZswjubgMqbcviB8dyd+vsDZFNX/WlcXhBhxuLyfMa0jBLtHOd0YHLa277HtKi4FuAKIfIGcdstz ONDrZ638pAWeJkypHoU0AOp81tgfivRbm723Qgzud7rZFfooitqji0corjDGFErBMhQyuM203d20N dTnDZfzdh4S19p8LsXfw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3R6-00000005R36-41z0; Thu, 23 May 2024 08:04:28 +0000 Received: from mail-sgaapc01on20624.outbound.protection.outlook.com ([2a01:111:f400:feab::624] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3Qv-00000005Qta-2eCe for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 08:04:19 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=E8d5oLGP/MGAe/cNg5zRhIxajQiAhertRhiABiQ4AZQ9wZvFAJgZd2p+M8tdPmhZfwDmEx5jdKyAU+lCHDlBg2VKB/sDbaiG2+FOxoWww/wY3pzR4sAiU7yx471VCvwRF749nVOtSRepAWov5zegVZEKg61U/GbNW+n52AJXRfIB+KcDZ4lbmpUJBfNKt1xFgAyi0l7E3i10DFcbXShiPbyn3ZqNzMd6iPIVLsiVaYiZhCKNhf32fEwsmvOv7YxqHMefKcKoq2Vrke9ZzZhPxAZEcSbmGAQIZYneHWjPy3ugkE8iaLAiSP2WJIWTjQ2kLZnZfy59hDRsgT5FMk7iZg== 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=oZKrGgwUljOefhLD0+IQx3OFdMPEUTN10Br1Y0rwMOzefnC7mZnD2pPFy/dowlC3EyT5i/jS5QZFaNeZIcx0ZY1TiQmiui9UJbvCM8Xwk5xLbBOAcb9OG8FlvShR/zboHP3zrhadVuuh04Vz0N4MEk4Wts1IEhGl3az/kvpbX+9sCKQ+35B5/BhLNAfAeN4IKZDWFI9ofqCtDPoMsnKdWS/sqIQ8swHP4h4Z4a3msyd5WRivpZWnfgO+vlyrSDpfbL+28A0tyOIr7lCawM4xmZFtYxZkW0WxTEpKb9UzEXhvqTanSDvC71qfUDr14wlr4tbJKEaCU8YzNKnMc4/XIg== 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=IJcKYRN98nVlgpzNtMwHcFJIvZNT2EhrECiCXh9xtFDZ5fKuwt6b5RHYGsCJJgrFrMoedmPM6FBMCzjYKGeRTqX4+zuG4qjQfW11t44pM6UVoLZuDWzlyV02s9ra+1rYlsAm69lyFXcwTrE0NjFU9UrsmpWaKlPXRiYU2/2hKomrWxbLutGVLBls7/MW1xIJ5KGnb2V7oqX+TaAGPFfevTGe2on81X56z5xWya8jZCeDo4LNj92pI2bTJJVsPcqNBEX9lw2KaicSIfkVa+SYvRuy7YlAZXkmmTy4oFWlH8qbBAAkrod4+T+bQUTMC9kLjjFK0zQk8Pn03b8/1JSBTw== Received: from SG2PR04CA0174.apcprd04.prod.outlook.com (2603:1096:4::36) by TY0PR04MB6422.apcprd04.prod.outlook.com (2603:1096:400:27a::13) 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 08:04:09 +0000 Received: from SG2PEPF000B66CB.apcprd03.prod.outlook.com (2603:1096:4:0:cafe::fa) by SG2PR04CA0174.outlook.office365.com (2603:1096:4::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.22 via Frontend Transport; Thu, 23 May 2024 08:04:09 +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 SG2PEPF000B66CB.mail.protection.outlook.com (10.167.240.24) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 08:04:08 +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 16:03:10 +0800 Message-Id: <20240523080330.1860074-6-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66CB:EE_|TY0PR04MB6422:EE_ X-MS-Office365-Filtering-Correlation-Id: 5138d813-e501-4dc0-5afe-08dc7afeece3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|82310400017|7416005|1800799015|376005|36860700004; X-Microsoft-Antispam-Message-Info: e86YnRC1odN7WJxVej2Vtr3KWvR3pD9HSRFjujQvDk8R3kzara6ocN8k/iqEALPCdiJSXTx2fDiToZvW/Vjmwxu4s3+0g7n6buhb7vvvc+a7NPJVT0PLqrCzthcId5U2zj9OTCn8YU02u+7PuF4kUVv4F8DpRHvLQ3+C2IbCZiEKKpXGmrP+IikqfaBpbZnC0rqePT5fwkxEZAljTegTPB9bzCaL6qIIaep4SsrSyvN4Hv8aBOto1AuXzTdOIMXFHVlu5hd15utlBCyVjxBVrGJfWTBAC30cAJNRPX7/M3RNysJ4JF7AodEiH8zHtlH+Wx9Dsb60TPxlx0DdMnG+NLEFtY/MdERYv2VcXV3X6/PZOZoykJtTPkFgF3vQxVn9PSMkb+rbwXhE0mpVps0xOgj9lm0V+S0zkCP+YN5SalK9TqCKzPG7jWw0oDODIyml5g9lguMFWnhweEF0v0ZZ50t9C0BiSjKNxe8/DNJf5TJ7PJHBqrBHTfBziU6K2utxHVMM6dbWGfUSkk/Y1zDiV4jfsfP/ki3kqfKmDbS6mc0i7+Z1KR8lXjKHA0kdsUztEDP8gGRt0fMifHkv2zSykdo2hn1nywkDcHmVVlozjXKuqhJAMJGtvQ/xaU8c9YX8VnW3SIbyvf/QrxToHhcs2FE5VfnwQsnDope511ZkCkbUjbjdj9mWy5iBxpzVuGD2vJimV9p90W34UYSIodcec2ryi+Dd9/yCZF9fDy8b0c27/pnA9sMFtyOnH3OS1NuJHVfVDgsBp8PgvIbioBRlqkqgn9z9WQmZGUUIf8/p+chh9EppU+vqVdgGkJH1CSvw41lRXHej4cS0KMc3Hjeb3u9p7UYtDmrJYLbxvwCjb6ZqTdbBqkttmcy8SMAnakSGlVyqDz+CUymbjzJN7Q13AqhHOBwHZ3R5BbnALxV3xPEhr8tzIvBKeeBRF/Zg88KVpUG44KpVNeX6B7TMozMjukDe99xyld48BSeMDiGcGSqko39TuBz1fkEJJflkiX4Zz2r7XCpQJbQniBsSDZGYSQ8iihB7sdh+/uCvBm8CQnyRZDBqICJx0uKrWvQhJ+wwp7NW/E6w+sZx4TYATFG7uJsK6QWrQBZNcQfLIOBK/1E8bpXNuSLCahZRyS/XBqlaoIAbcEW39CsoP0/j1pvTLtHO8zsAgx3IJKqZzcIPpf85pOnbBosSwFJqww86+atVbGjIlAqAyaXwZzkI5dR/FITUU+YYx1lJgIXjXQ7ehkK8ovE2enQkhIGnCa+iYmwDB7teEm+v1/AUpeGyNJB/aogkS/WzXWLxwYv+39eDbCxaOlYszQTUJplZN2Wrnb7JFCk98N2dMAkRMWLQgpI3dUn5Zli0L3ISQgrBklguZFNwsrOzh+Ni/QSBYUEpiz0v 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)(7416005)(1800799015)(376005)(36860700004);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 08:04:08.7497 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5138d813-e501-4dc0-5afe-08dc7afeece3 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: SG2PEPF000B66CB.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY0PR04MB6422 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_010417_844255_AAD6635B 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 08:03:11 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: 13671388 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 53948C25B79 for ; Thu, 23 May 2024 08:05: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=5+JhAKNfoVjHrbUzv2SBbPzxeG2JigXPlIeMOq2Quhs=; b=fbLmFdVGARSWgM vNVcK/ME2swlcf1rmfUQfOgFwHt958WNmwiymN06Mf74B/GNnx5YDDTn/lMYOEEtSVBLMkB0K8N5d RPTL+GCaxPg0AxIOvGvZU+XngCEy7TSOJ4F56CUUGJqNqJRLZJp36WjoqslnwcDj5v4CYEG/L86vX zu3mrg4vSHjxKq8lWo0r4tm6rOrQmgEi4tfMcX7zvqdHORmJ5yhgTrHupuReFnV6j2SAiaJIRSCcG xcUuCDA1h0iXPQySpEYnHe8e8weLDsNwH+mAfWHg7wGgBcRqO4GogfgrCu4dR7FwfQ7nClcGX23up rjiLvpPw/hkfgLBtJZ+w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3S4-00000005Rdt-2I8B; Thu, 23 May 2024 08:05:28 +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 1sA3Qx-00000005Qv7-0FYF for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 08:04:22 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NvA00zKORD2NIHomgrrzxAuOmTIWmjEvQsLyQiaX4wPAb7o0rp19OM7iPtp8GEU4eooCjGp3Tm5JWZO8FwdKaC+iJWdTkOo8O7FOLB/mKAN3lObGX/24irH2TlitQvb9J5nK6rpAuk07pS7jqsM+bznUzIcqSmcppMnKGnwWQ3iQnmzzTs5wcCuyqf9jMpLEeLm+64cA9eEfoGrE4vpXGaoQkywQhzjjB8WLvWS6RjSyGSxsy/JSAZsRQGKfsXk1WsLAmiIFhVWcCVAQZS61XRCgGDjse2tycEh29nuzqggSol8Ex9la2k5c4Dn1oHWrefoTn4ysb+0Qq0VKs62iSw== 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=Ro9RTSxo1xFC/6JyZeRGz863LnyFetLWdX4HnJUPp3WZ3PzYhqg2BK6fCP2wsme1P51CV5jwNfArpf4oNPxnt/JiBua7ORjRdN84SptT5/CX2eg3LVNMU3TtKHN/lzkLeTGeI3fG60+0zCtLdPxG5cnT0xr1XueLc3PPeaLrySTR/b7nx5PytvVM9WjFwZHe/0HKJgmZv/Uj1/W1YWsNEuq9KpeacG8LbxZwiUY7SZC5VrbHAEuWixFSbO6vPMlJ1V/yr0lZxcCmMrZcIYigoF0n/d9vxoE6EyUjgXEIrY/e1YSrqrr9tQw8eWdBOIyloErJxWz4Xo3tri8BNIEEbQ== 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=fOx08ftcIl8UKcUZhmOLvZSB8RvJn55EpGOEZ7KMxDgzFBDaz4Z1JGz6lLrC8/PRQNAPn7/DIhjBZXErRlRbgA+rigPZJm8QVsXpvZoRhCSbKldjLGqkweuQCaedISzf1iekXCX8ZO3bu+o4+pqx4legGSEEv/eIDkiPvdpn4wZVtcUO2ogF9BLGgjXe+kMtf5+zZFE81f+tfGTb921hxIcZpSO+lcqLzw7hqES3U7Z+uTbg+u+nHGHhd8q0ut51Wtm3LyriX6ttBCARH5ANa/OvE4P4TlH5SNok8FohBXv6Q87gRz+Ebx3CbRle1eWpkV0gOg1Lc3LN7Wi7qIVOhw== Received: from SG2PR04CA0159.apcprd04.prod.outlook.com (2603:1096:4::21) by TYSPR04MB7594.apcprd04.prod.outlook.com (2603:1096:400:46a::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 08:04:12 +0000 Received: from SG2PEPF000B66CB.apcprd03.prod.outlook.com (2603:1096:4:0:cafe::9a) by SG2PR04CA0159.outlook.office365.com (2603:1096:4::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.22 via Frontend Transport; Thu, 23 May 2024 08:04:12 +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 SG2PEPF000B66CB.mail.protection.outlook.com (10.167.240.24) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 08:04:12 +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 16:03:11 +0800 Message-Id: <20240523080330.1860074-7-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66CB:EE_|TYSPR04MB7594:EE_ X-MS-Office365-Filtering-Correlation-Id: 2c74abeb-f060-43e5-3138-08dc7afeeedf X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|7416005|82310400017|376005|36860700004; X-Microsoft-Antispam-Message-Info: 7MuAI7IcrJHrR3ZFuUCYR//MEy2iS4A/iT0KbnCGqKLBGQBl8a3mjvvcTYzfhbg96j47tUWUBzWzWyrMH10LwlWiS+HtvFZfqpwtQHjcbBrLDZqfYVRbWtQQ7e1CtDxRMBAAkJ0F7XhlScE75Q3iZ1lo/1jhrJiKvy/YJPuYRAUxXQHsEkh49ye68H8slzRqu/f+3HY2bxWMMX30O+u+59Cvg6+fnJuppkaSqke5ZqCumCuOqJrVjV2wWn1RxSYrWTjtsCK85JZH76Wt4ebsGXBYZMz0/FspIHhBlEUooK0po66/UPGjA5bA4w4llMn1LwU4dkx5diHJBtq49pOF2tmZQJ0KGvP+xkcLwS+8oVaZzlxkL21lGaG50C2QvRED0TZYPdiE4UBS0hR9LrIHbKv2k+HAgyzILxSGDzoVWDLsnZ7rNM7Ov4dT7cD4+GohkDJ1Mt6h4eZHpgfpbCQpshh/Vv5XcGJ/QzmetN5+pbbrfMnCKXfLUHJYAL1pjEGHICHjayd/0EIKLQvtBEKXbdODUr4gn5vicyjBoJvXIJNgFvTayo+sAJnwtS1LY8Dpqoc3aAMcB/uV9NdCAnxmcSqINm76EaUtPqMeR35H8lqd5giZ3S3HEaLtW0vVoxep7tgRdMFziYDJtwBJBYHYmST8E9r35yRgNm8afWHD4MRsnVQQJcvLtMYdwnCRv9YbsnESYHyZHbXwYY6vq1qlwZn16Yr6Z3truefa524Z/ix6IRtE34+e9ACF6G7mlkMbECFkCyk1Gw7bAKkGVV22+J2spJFRXssamX6PHWClKZsT3FVJacT59zfllLaA55z+QL5Z12FuMNdwvbF1JX7pMah7AbApTDBi+sNzOGrp317C+TvCQdoYk5XTEQrfAc1crMv4NEJJJZA8dH4hEJVy7JyV0x+qe6ztL+BT8iJyb9egguyTCufIrK8zVKzXuxYQT9UvrZGmlYxTVstDhBaE6C2U7WXMMFWwqimTMOGuEHZUP5u2a19Qm2o77InYqZ56qy40QIjY8GVhrZhYXKZGggySZDd5GprWQtcXoCp6UckPm2tlYGCWfgAq3+5gkRvQATjgQel80WBYc1qrYA+MnmqgghtGKxzDKCwAcBxJSoD7ODd03RsPhvwDFHnAoIjAvOkmDUnN0tDfYGcnOFWFjOD+EdyO3x0DzXVcrJiUV+gwMy8iV6wR0GSM0nwxiwAVahkMe+r5bJAaQBdy7fxfsawwI8M3bz0ROiCkv6oLuDfk8KFeZC7MtdzEby4WYarLhiq22xI2bdnKQMrtVWNSaq9gqQoKhESNs958+k5P4T6H5GHn1P9OCNPC8GZdsbHbJI1hZZfwFc6g7yycTj1Rr7NFDlOQE3hYUVBWZeIPeIc= 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)(7416005)(82310400017)(376005)(36860700004);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 08:04:12.0779 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2c74abeb-f060-43e5-3138-08dc7afeeedf 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: SG2PEPF000B66CB.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYSPR04MB7594 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_010419_251950_67711542 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 08:03:12 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: 13671391 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 7E99EC25B7A for ; Thu, 23 May 2024 08:05: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=G+znyZ1PwnxdGZw3n4m3XC5l1a+OgKmaPlCKYm6jQlo=; b=1OqYMEtcocSnR8 o+sfWu+773YKJtYXwGUyQEFRiB7JhXxKQCBGTyhIsD9QPCVGJzN5bPzuqOdE39XRyE8GujbYYSTjA tPvta3gA6vCI9WfyMg/6p0VtPKTKdEUrCbi3zI1H6kZYDEdkRAgqLF11CzJFVKNf/HN6YZ88LWGRs BUfuc72imsrcd9JgVKzSA3SnjNftTsQGxXg0LFgX1NS5+JapCPZol2n3oqAdUPnqDcgN4X7PfuX6y wDGniFEC2G3rWlKaFTBTxx36SbV6h0UNB1KC1vwgSbntubZEvwWlw1aHU05/H6I9OlVU85+cD19oK Q3CyMQMnjrcfRSLRePog==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3S5-00000005Rey-2h4g; Thu, 23 May 2024 08:05:29 +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 1sA3Qz-00000005QwO-0tQO for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 08:04:23 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YgWBt8GRVVmhzMTK5rg/pTSDCAoKsxFpgeOvBftncVttQuEYXP/YkAUGyoKDLoLHOn0OkqSl+FN14NL7/RmLeV4IXweooxzKPcd2Dyg+WOy2BUU79RyaipKCPRw7YVywORLgbu3K6V/EMd9MOFM1wwqWGDKk2lJesRWftH+yO4v89H1wzDIuN9s+zoSUWY9/jQsxW/cJPupL2MeYI5ooKg7aCxhXfua4LqFeappOmBJaFzpwIDPUUzJZbWsW3h/pAnz4/BG1H1G0rEZ//hyTxKI82c5sC6wUjmMwGplz7qLYcTpHdClr1HpmUleCctRpsQOnkGi2RmhbWcU39dogug== 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=N3MZc5hpPt6Y6/5kyKzPOxhrm65elDnCVSB8XEsafbywaxMIeKHQH+7BOAIkjBBrWN5aycZlzWT4mP9WgC+fSOxsUDdOe9VNXlhDevIbbgB3SEcaKMe21XLhI7uY6PeR5erN5H+vNkcw+o7UmU35mGtRDg0Ufbm0boztdVAiM9yjjjexlxQ/d9dadLQ/BfAGCobBFB89aM6nKQl/kZ5q7gy+y/NisNM9HmcSoQViufUfzJqc7WsfWAN7qaJmYlt9C/QGT2gq9mIBjbkOcU0jkLyrDIYRv6+t2yH2hBDTqKmbQ7NEJp9MjCzwnGVk2Cpq1kgG5icDXCYLGBvFM6BRUw== 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=NYkbossUgSdi0aTVVvk0WIE9z8BcdYP057A3rRA9HK4YKaSi1tibpr0ApninLoor5mf7QD/z/vtNogMliryHdR123Vgd7ehdNLE5mAXp2ea9TGOLGbZxcFgJczNs6x89CnJECHLf+gicgI3daFm45qJMCtvf/vzZ91NW05tucfSU/YNnMN1mwJFRWfO9O63dEm/4o7YB8Jy3FARowo0loKdnJFTf7LtAkcjuJ9oOhxKFJ8imNFZk+3/b9dyhM7uGdNPk59BGzPqei7le/uH7rHYJpI5sJEBrt92w2inhSaGYOiofC4lbhYa9uKnGZY3uWRJwFml4OAlKKEgdJSbB/w== Received: from SG2PR04CA0162.apcprd04.prod.outlook.com (2603:1096:4::24) by SI2PR04MB5893.apcprd04.prod.outlook.com (2603:1096:4:1e9::5) 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 08:04:16 +0000 Received: from SG2PEPF000B66CB.apcprd03.prod.outlook.com (2603:1096:4:0:cafe::29) by SG2PR04CA0162.outlook.office365.com (2603:1096:4::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.22 via Frontend Transport; Thu, 23 May 2024 08:04:16 +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 SG2PEPF000B66CB.mail.protection.outlook.com (10.167.240.24) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 08:04:15 +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 16:03:12 +0800 Message-Id: <20240523080330.1860074-8-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66CB:EE_|SI2PR04MB5893:EE_ X-MS-Office365-Filtering-Correlation-Id: 6239b967-ea52-4cdc-a219-08dc7afef116 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|36860700004|82310400017|1800799015|7416005; X-Microsoft-Antispam-Message-Info: 70nREUCNsdTWtrd89cpIV7tcDvc1iJDrhkEYaCugye5BPojUNEIUgJCsAncOcHMP5L5PoSETn50Bs/qPJeeEurK4cZZrtuXvih8g63ZU/XuVpf0J12qJcLjDx0kofI1TS3Rftp+ixmoPYHwxnF8uJCBieRzZvXe8PJH5ex93NFoayrH+mKtBKiOfgowNhq2js58avs8DDW/xiLqPDqcn54nlq2U2RdiDvMP4WcEwF5bg5J8Jpt7/P3MhZcSReJHPT+9sTREH00m1bqLVtKU9ewCh8hlCudhmYFe2D759OGV2E0SDbDLx0OdTzRe4v7An1/KM5oRLhuGMqR0882nJFWmgrDVJG6bATwWNLr+N8OytaPHBJcDvu34MyZkrivsAw+xwy3/QRX4JQlZF4NXiQ5UfwWxKB+q/OksI6gK6fVW4faydj2TWBan7oi9sNvQHbOenMTdOZNDzbnE1G8h8TOirafp3190H9lQQ67S7zGaaXPhbIANTgSDhP+82isz04iZQk3X0otv4PavUTaI+DAYu/6Rmrbe/P6QkepfN6xUxZT4sIX0TErQUgc2JVYe5cAoO56hCWlkEl8bnkXPhPavThTnU5G4HiCctPs9CyIkRSfzul07hw26xAVxypaPhZH1vpHsTQ2eSDGekKC3ob/3U3Pk/JJ63AcdWrvPLPPCf6+xVeF3Six6GRdCkwnFaS4do76IjIIo/bNsabhmTVlLJnzl90xEg0iked0GUW8IDnhFzUaXfku2+YEM1lBIc1sScxC/VOrnJo/Aue5Qu99mO7C2G2GCgnIzXUy6A/g7Clb96hl3a2yIFFT5y340EDZztijpaYi5hpfzXMsO7qInbszQuJZZvCQwJTNMjwFUKzqKtU2Kjg2Te7LiegTmI4V0tXOyU5+iUF2vgyKdQ+mbWBWeRUanLyOKlkqVkQE1L8qWWoMmxCFWdHFHkaolhobHQPRwD7M+mS7Q+WLyo7yJnEtP2WHSEhCTo3XxXjqj7GcfcDXF4NtQyHL3ZNRRBhEJ5ywq6gGm0E16jlksH+FMT+6Ca9iWxTQFRr9aYo9wDiBs1Vi1EcjScHJCksl/tW8X8QgpgVf5zWe4QIud8X6ANv4QPjA/r6dHE6+I59J5NxEecUhSHZZDhzD6bbQJLJZjh/oBkus3yHBXgwU9of9ECQR8FbQH1BnXT4NBSl1pQnEE9QoO1dgJ5HVfeUdntS1xV/By8xOeNdwJ27Z4VeulqrLCQohi5ZB7/gk9Aj+siz7TI6Qm3zD1wc/yigTUz9W+wNEXSOq/MQv/WVZlqxmVrF1joR7p5n6sv4d0Ggr3vhY7Kgkfq0JKmChKoB9a9zVka1A+b9zVG9bmMdRu1dasFI5CU4zPL6MDgjRh75X8= 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)(1800799015)(7416005);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 08:04:15.7810 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6239b967-ea52-4cdc-a219-08dc7afef116 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: SG2PEPF000B66CB.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SI2PR04MB5893 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_010421_491245_0421A715 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 08:03:13 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: 13671390 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 6FD0CC25B79 for ; Thu, 23 May 2024 08:05: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=q7EcvJX4VogUj7GIF4+ysQrLdWUsGWWJ4rrsi6lFKlk=; b=gpUuYWux/hVEgg srKKGRtIKLC+3flxESLOGP1nteQcqAeYl2ispoGISpUYttVE7xke3KCUXmrzkZw8mGWTzXROyskFz o1x57QOIRUP5hkNp+vc1o9pyGjZpUGgMZiWmCwm89F4rRqAkWmIJhHK39NSd6DWdHBJPZOXrbjgAV RFAfX6n66onCw6IzrGGQnC/BvulUoTSA+P0Qi8/MxRljT3xkmZlMzmBOQht+jZ+oZ1z6wO8glSgIK dkNdOiNae/6J8fYVxTMlNPmj92RxkLr+sATKv6B8f7Z1QiELSBRxrSiLfxxhpQryAbE2w4KH0S4bq L2SKk2UkrIMZXBc7z5Mg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3S2-00000005Rcl-2Hhs; Thu, 23 May 2024 08:05:26 +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 1sA3R6-00000005Qzt-2Iak for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 08:04:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BmwCwXg/BbSaIxE0h86NHcfL/cpkLIQlfDxVEemnvLIiYdVnHEgX52b4zFRR7kLJLbX/U5zWhtxu8SjkU9yFXDFbLjpjPifYdvNW1hlA8mO6/BD0kzFDtRkx+R5FTz2KEu72aJygEZAFJ9gM4iOU57R0DDwH1oxSGn/p0r2JLWaKovEx09T8V1eunpdCRhhie4KH+aaE1duqBQDhCc8Ra6G566YMyaBjZRI2cqnjKhtdQWX9V8+pWcjewGoOSH9vdQ/ibvCyR6lvU41lqcTbJMusU9gcnOTpLN7RPzMp50cHYQFHkLya+/4QHv5iFIultJbEIlxlO73KeGL8+MpRCA== 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=T2xx+XIZiSwSJSGWIeky/jw1nl+OYknYcfpRjFqrVV3xSLUETxV7vVcTsxdtK7+ZF17Ya5fmzXh7TOAkOL07qdRWFpVjXemrNKIBgYpP9o+xCiu2Xbw9ih9nOsWMj5ZDJOK1Yt5qPpK0jzeq+AA3vHVNLuNtoP/CIWe4f3TAXPe6qCj+u5fnBCMKl3wUaXhQkf8qIDSDxoFQTlkzLyr4uNlwaXXhBG8nKC9WPLaY6xcMVIw0fWwM6baB/GREtC2c7NpPf3J5UMGTIwakThJONAOvJgDjk/cJDpE0XHVpbOAOqGF8PO8IDwZ0DwkARgNVI83UTh7fJor/3gewJh9MiQ== 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=M+ivt296ZGwFwGXAEPwWNQtQlKUrhmZBocuOsi7PwJT5AxoeVzSTchBMM1XkuwHP+53b0PoSilTRGEoaaUfCV6NoWQ0ZWG1pf9ESnACOQKL5teU0hheBvAttDIQmBAD3vOofJIcbpwFQR7TSDLYIX7duFS76GHoadWxyfO8U+U+GLEd9gPv0WJ9+cIuTqr0w9TVcgDor3EDTeRrarh/btlc0Y5LpacCMTGWkf7cGdbsiT/JnCB8tzDuCFTVSyUmayPAYPenRS96uU47HS57namTeb1zmnGlLU5/uXXe2lkROvprZavHDfs3/RgrNqfPCREvod3OohBbiLFHdjXnFoA== Received: from SG2PR04CA0172.apcprd04.prod.outlook.com (2603:1096:4::34) by KL1PR04MB6925.apcprd04.prod.outlook.com (2603:1096:820:ca::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.21; Thu, 23 May 2024 08:04:19 +0000 Received: from SG2PEPF000B66CB.apcprd03.prod.outlook.com (2603:1096:4:0:cafe::da) by SG2PR04CA0172.outlook.office365.com (2603:1096:4::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.22 via Frontend Transport; Thu, 23 May 2024 08:04:19 +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 SG2PEPF000B66CB.mail.protection.outlook.com (10.167.240.24) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 08:04:18 +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 16:03:13 +0800 Message-Id: <20240523080330.1860074-9-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66CB:EE_|KL1PR04MB6925:EE_ X-MS-Office365-Filtering-Correlation-Id: b38751c4-8858-4aa7-f058-08dc7afef2e9 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: qWfT9Lwo1agfF6Yzhqx+eic+L4/boqG0JHDAfjZ+e4mQYkHLkJjlyaHzQqfyfSgBhU9buTpVp0cK4JsbUaqjmnJpfQTrt+fCyhI5gpWSXPRaOVhWaj4XlH+Vw+XdUTw5TIAqp3VMDZFV4CTF68aZdzGLf7VzD32qt0/FsTutiQyrrtZ3IgXCo2hINoc3pLdLl6nAFUGDrtb6xEqLVg5nFEpYgESj3zTuH0DvJU390Ic5I0wCFgRCr8a/TkNrGaSowTfzRk0o/eCLquuO5X4puqN/rC/Hx9+eDhZccCCSVUdgHbfFYDqnrUM4Bcjn46ZawZHhBGHltJPDtdNzWO8oK6GjMc3tY3dlYyE9wGHKUhoMOAUZooR0CT0T5pOb6xyXIJ2zJXUSoPJsYV7/B15puR7K10ZRfFKM/8V0Pa7bcjPbZ77ERAe1A1Woz/REOPCpmJ9FNh43639ynqsdkSb0zli6XIyDsM1RboN07TbDAskGOOyfDm7tfgUVIWfYTlI1eNh9FcsUO3ZgnT4D5U9fMlOxo1wivSy77kRbAzP//RVJ9vJQAqjr7qi7WVIlZzLcf4alBw4iGlVzVp6TV2kt8e5Quza4noQPuv5i12xIoVne4HSbg6JzVPf2N7eLI77zkI1Krt7XhlW6Fu84k4Jhnh5tbua75ryYVx376ynnLBxMaLnoqKsoSwMzGDIywhhBvYlsrwCWiwuNT+vKZOSizY1TIR7QRL+ecmV2Tet8mzeq9yPRxSBhxFSDmduZ+UXwgS9u1UwsZXJGvV0f/NMop9Ulzrm8oqtmQVVKJv/j6OUtVeaAuWVZYCEDIRGK1c7fwvo7paltB8o9XpqEC1Oy3xI6zNjWMMweHtVRnTWDwsO40ovbKD82El1SI9eEU4vJtxEXkrq3gMbj3P6xWBPmrLZ2bHMaLEARdHqX99JmYc6RSLFUOCahlYKgLQDAiLA0zDtD9k6YKCwPh/JrHf+V0gtaomSRMLfhONWCHBMdUp6zh52rrnIXQvj1VlbdUg+ECa7b/iKQNNNA70HoWhIMzf843kFlqyQ97LL3J2T3V7uaEQ+BNUwBvwroFqZunzWxnkgsPZIP/E/0c5Uy2AZvs7inE09F8aJS+idY/GMVFmr3UTjFJaltrm+sClOVLX4WkySoIFB47CqVsUA84BYKb19BprE/Y9EhvI0qHluaqam7pLXJEP0tuy9ItsUgU6ttSsYhiswAXoiTto6Kd40pNZEtMLgd+hhjyrgm8VQYh9F9pe80soQ3+xrVFo8Y2oV2MvCT7c3oVDc0pQIRrwroJpzQ0NSq4T0dtAu+v/jrUe3kEMATU3k8fwOWhaMZV++krewVOfHxEF81xFRFU5awNFVrV473hGrz/uHuj4Q/w1Yr50+WF6QrWZBUdGZ8wLPQ 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 08:04:18.8904 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b38751c4-8858-4aa7-f058-08dc7afef2e9 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: SG2PEPF000B66CB.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR04MB6925 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_010428_836962_5162CC74 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 08:03:14 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: 13671389 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 31E08C25B75 for ; Thu, 23 May 2024 08:05:43 +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=yk7oKmObdcEFdE Bb1gk+u8Fi2noQMQfPI1qvA0+Z3H0JaE4EGxY+otna0g5T+QZ/q1Y9IGGvvbRTeG+J7QoI1IhjkP3 ggUXUEsnsx+v00E4tMs797iZCT6kV7sq8rJvI6+tpsCaCOFpHAG17FtyVMLGpVwb6YuwrGdqGC2bv avKHAbq8cSeS4vTrq87CKWMe39hABLKL9lir+K5C3mdZoR8K+MM4zH7NQ3oJotfV6WbC5H6Ebrcs1 yu8unViS1wvlsBSz5PmHXX4Se+ACwdCiowdeKC1HZjxZIaijPi2coKYpb7YzXpt/MvLIzkJhS0aZo wygtyQ9Lo4dIdjssAF8w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3S7-00000005Rg9-0eGj; Thu, 23 May 2024 08:05:31 +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 1sA3R9-00000005R4F-3D4w for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 08:04:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MCqnOHvXpTwWWI9OTkb1Oiw0G7s7tYtOSelf/nOEqo1X/yxopH3VwSNL0+aO4zCKQSxBVr326WViXwVQRi1hjeTlkcp7o/98nuLOCgWzSdTf3kiLzwpRwBNFiWtG2AIxc/VEUkzNOvXsYTbrJNLk+dHxvPXdZH4vCslv6nKyfV8+JULfsm8Dk+ID94yVT5bkJqmSAcKQKze3WWXpxUSnx/nVAUJ90QqUu8RMjXUD3/4XchzD5AZaMs9pyIez8Iujwgk2q8odtxCTSELh1HUoVcPg+Uih+ZDEHFpgGq24JFO5Rj6IHaCyPVqRdTikzvKnBq2DWsoWqVwG9IXl3utjaw== 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=C4IyP3mmdNc3mFrRdIK4HAtE09dRAegaMwNe7169xG8vPDfyrmEFQBkuto/DBqx3fcfO5423IUaHiufMaPwdcfGm0wHlQNRY7PX6+tIghLVJRsf86hrSbLQeX6s36z/oEblem9xp6Gk0dWhZj0ETdEQvDK0h4ilECVG3QalsZEPFNp9uDA/fXb+qtEZdFZMje2khxJvG6kxAsrwnyBivOMfHplocPOI/ULqVZTYRf3TlHWkZ3GoH1C7wRQK/J+tuoI9rzGmwXt6nyVnEAH+0LvWnhdHHp2e4+58K+MNUrJPWG9aufexGC0SMAxOrrTYqgpzAru11vVylT2Nud5B75w== 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=kBuDW5lXtqXdrxdeR8+TSqyThN/JImgsPrq4ItNdECim0bhEOz2n9ttWZwmWnqDRyms3Ne+aYgdpAwARiXTnFQWVlFoorcn/8wCc4t3QgiH5XfaC0/xN4wio9ay1ZD7CONm0mpgLHYY3+Aq+Dgd9UUqJ0i8ybAi0nQJZUmQXdsgO0e7jyKVu85MGlXAhAEpW+URD1X1VHLjrUvKk6evTEaFkcVHCtRXlLPLq9blQsaA///orymfBg+TgTfy5LA9hYA3yZoqe4/hTfpYSB1EvzfVhmersIjlwRHBAYO8Q8rI/7u1arOhzHaMuz6lWYa3Iac/a3z/t9zrQ4/ZUZAMebw== Received: from SG2PR04CA0157.apcprd04.prod.outlook.com (2603:1096:4::19) by SEYPR04MB7672.apcprd04.prod.outlook.com (2603:1096:101:1de::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 08:04:23 +0000 Received: from SG2PEPF000B66CB.apcprd03.prod.outlook.com (2603:1096:4:0:cafe::dc) by SG2PR04CA0157.outlook.office365.com (2603:1096:4::19) 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 08:04:22 +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 SG2PEPF000B66CB.mail.protection.outlook.com (10.167.240.24) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 08:04:21 +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 16:03:14 +0800 Message-Id: <20240523080330.1860074-10-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66CB:EE_|SEYPR04MB7672:EE_ X-MS-Office365-Filtering-Correlation-Id: 2f44dedd-c255-4c4d-1756-08dc7afef4b6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|36860700004|7416005|82310400017|376005; X-Microsoft-Antispam-Message-Info: zBn14G+6zPCyu7UpZvKa081SUoPSy9XEoKrLKeDnTUP+Gmq9gOd0RsyGJpO4AFYtIq2QSswY4ye38/dEu/LTyuaWNwGK19w73ByFGuI+z2DIGNt7Hko8Zh/QeCph6faegqjtm8myn9FPVfGHTAG07QCH3PLRE9/vlSSy8SyQ1CIsuDdba4SwTRkTb65evq91uw3Ate26cMtbTnLGRdj+dmgxiKhCbCclRMVQAGlzZ4JXG/u2CbpyD0oxqx6KafDEX/DNxWyQ/WIgZqQneMLMPSXDVFDjAsd/EK5AcppTjqF/R62gUy42Pjz7gJ+jLfSfXxQnKxO6I7a8At6I1wemDTdP+yvWK7vogk5ssNatKLh5CLcRVcEjMEPDX2N/GxyloHsEOXvecRv/pHtyd09AzRsG7b6OCHVjmWMw3uXAkLBjBhKxJDWNVevIKyZJ5TfGIXAFbtUoqktzXDtA5Fr46GdO2YJtZ5ecfoSuRalpHJjtisRtzK13AscFOiDu5UIkO2O48f/ZrlncyvrZ4pHaBZrqiesr87mKe1qS2lq9lvQUOWNINPCCqT9wCK+eJVf6HuNjQPFl1ozsG2CvT52iIuXf31UWhAlOd/tpHLNb2LsaEsfvS7njJZdeISOAqtvxWenq4dAjdsp0zofb0VkPuY+ZLDYTBkmWeuO0SxfLitpcS9LWSJlNgROlQj70gb0x16o3/zXFvi+g4wgPzXTTfIYsV5aMeEV71Xj5a3l57l8V5pZYL7Ls/B+0/21GOpa3MqdZ7kAkdgEiTct6BoZ6Mfs6ZUK0q2sQc/dejxIN/vy6zaEqhWr68RHCsTNT/Fl0h6ORS69zvok2PnCiBLcDps5TuNplOL6bIITf680sgxwKFIIb6cHFZfS0zoHR1EgCkZ8h74l1xfmP5UY5ieB2U1j+AC2Ys1ScdAibXt/8OFdZ6F80uDyOPM/75lEeIZjhdJtKEp0Og46Z3UTs0uWyEDe7oQzpwy3emWp11uwSho5MityLNgSaftnHHGyz/qlrSqTaSM1ud7j++cRPbqulPTgwiwcBbwBTr4vGoBdL2grDZR8Q9RENgiQBesuLKcCRlXNa3KED12qnGtdbY4bCxq5Pe72zqityUTMViUP1bRYzAqDjChdlu4pwV5UxvAfPF5k++8AVK5tUsjfD0X9kJ3RkAbsWci3isL86tjKY8X5HZ8Hv6g04bT/PlTRtBPdnqbrA3PPDBuqfOgFtPBcqUx+bNQKXPoNst6FLIA10uOkj3xYbVQuVOkBdMnlGJFU0ZgZYnF7hpfXrOAahx45ckZf8Wx3367JxdOD/xtMOS5Q9SR78WCj+LgLa7rFS5AlrbkhZMnuXWbXOGu9m8IlMVK7lpJ43pbnwY2jHUIm2z0OBXSi/KmHPRkstoX7BNk16 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)(7416005)(82310400017)(376005);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 08:04:21.9061 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2f44dedd-c255-4c4d-1756-08dc7afef4b6 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: SG2PEPF000B66CB.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR04MB7672 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_010432_273931_65B1E9F4 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 08:03:15 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: 13671393 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 C04CDC25B7A for ; Thu, 23 May 2024 08:05:49 +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=t6lIU7ThfZIjyi 0WLIMX50I3owp6BYLdt9mAqnBdUHX/Ue0v5Lz6hWi1xJOYOArYKo4aCFwNe1lzyCqidqc8zXqNQgB qhaJCezwOmaHjFvw356MOejLk3Y1qEUfLnGLYS3JxD9kA8GyyzEZDwkxD27VmyfCliU1eygqALADP uDLnIRtYtTwYO32rUEvc3o1MpXwnTx/5S4rCpGfxMxh13vosHqrGmBDw2t2le6GtmcjpyqOtP2WXB q7Uryd1p06ECb2L2UxoRNLgKX48u90FYal7vD1H9H6IqxStcBn/9wHjQ8bNbimugskKPslva7J0J1 /LMdc/9lEMn62rG+pGCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3S9-00000005RhL-0MQg; Thu, 23 May 2024 08:05:33 +0000 Received: from mail-psaapc01on2061c.outbound.protection.outlook.com ([2a01:111:f400:feae::61c] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3RC-00000005R5H-123C for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 08:04:42 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C+tFrr/bKb2Vv6dMuPYULJq6oDRTM1EGQxzKZl4KPfmsXckPpn9jfxgBFYV0hKfzVhLqPoqs/2k5dB6j4J2ge2HdzWIKyHoSS5JqHl0k7HjSHoxL4APUqxQ+f1PgX8Z17rDWQnB/nmMRi+YwtS7dhvtSBGZ29xuHcArM8Z4qOI5eNHZHWPVN0q2gG4Jfausepn9omiS/St8V2rL3vgJsqSwIp8hNeAMIC6OZ4z/eq20hV/vqgsR1d1TnxpI+ud8f8E0czWPSoJEIOJLfyhvKrFKN0LstMTglppAthB2Q8sYCNDtbyveQcLN5BC3BhH+fzdx771fEERyKGuVcIAr0zQ== 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=kI3bKMDPLWbk6RBYcQiHjwmNUCucfIproInl3Q5WK+gk37i2Zhzvp3vIiJIURWAzltTcMqe2+Ul+pCAufffgu1jQAmaVdjYUn4xJDqXREnFC2PHuATNN4zPwdU3cMn516w6qyMD6g/Dw5YLduM+4S9LJ2dLkWcLbcDajh6TWo547pPj1u5u5U8idnu/tyrKrjH6vq41zCGcaD+8VhAGoF0qnOK/cveJRGOxXWs8eMhX0iOn2qL0ivHHRCkQiU1E+CW65gMCQxMQAcgzQwSX1bTCRdaqexFHEYbdh4vclaKWdISvp9uChL9OSNOP7eq9ltquLJIFjZd4d95cbJypCpw== 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=xhz+jW1Vk0KyOkRtjK0EqlBrwKZbXfPYL5MVB95rgC6gIHAJ2je+WDg61W2DMsOL2R7z7E2Z6/KkgYylvpIn0yvfTC9zwy8s582fK++OrVbKyMHKfKNdNX3xo/U5dtudERezNhUgPlZ9HFrxkDnBCpeQtgCiACBzKLrT2ocKiVF3Sys6oKUFV2fg8LBj5SRrkL/qVgH1uJVXWWL3gXI8ucbkXrd8zmTuEK3V/2ow3xKJ2xqQEEMwdS490bQb162YZlGzKBrGB4+4vU4y037fMq1f51FrtdmZNaW63F5l7rdnHEOaZa3vSP8oae0ypKclnaGtb46GqzJ8iN5DSHxeYA== Received: from SG2PR04CA0170.apcprd04.prod.outlook.com (2603:1096:4::32) by KL1PR0401MB6210.apcprd04.prod.outlook.com (2603:1096:820:c5::11) 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 08:04:26 +0000 Received: from SG2PEPF000B66CB.apcprd03.prod.outlook.com (2603:1096:4:0:cafe::73) by SG2PR04CA0170.outlook.office365.com (2603:1096:4::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.22 via Frontend Transport; Thu, 23 May 2024 08:04:26 +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 SG2PEPF000B66CB.mail.protection.outlook.com (10.167.240.24) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 08:04: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 10/23] ARM: dts: aspeed: yosemite4: Add power sensor for power module reading Date: Thu, 23 May 2024 16:03:15 +0800 Message-Id: <20240523080330.1860074-11-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66CB:EE_|KL1PR0401MB6210:EE_ X-MS-Office365-Filtering-Correlation-Id: 6edb7e3e-f13e-4f04-3941-08dc7afef6fe 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: LweRbAPssIX6HxSnSjguftoX5+vR4D2KIibCJYMHu8tnVQtUzRXcvsQTJYNm8uaHh7fqMmmUVNmJqutOpd7yuEC+5z7yesKs3YC5U99fHY+vWF4po+0VXPdzPHuxm9tgZpNaOHkS27rH3URzMM5+nMxWLFmtsmVogsS+THc+MiWMOkQ/2uoUciXpUj2jOh6QnAr2mYoKcTZqmUP3JrXQUFwBiCPM6LaKAV4FHn0emIsdzc/Sb9ko2b5Bn6n/wQRFDdScEKtbaEVSFQ+Fp0ITMBb0XqL9d322vDzyZoLzYddq/uM2R57tk2zL4bpV9pN81Vk3Z7WuCillNrDrG6v5R1wKdKuzaYM8Cr8o+eSYJqUa0yLj8zm+/HUmFw+quVlwGgLF3bsK/OvJNjW817gM8kPZF1yPdZJ1SE3XDfR0pXKlmcfZmOk9QaMnLQd+bQCny/GHfjsEPucHwxfkJmmAgj4KesLWpucHgu2oq9uC/UDRwm4V6ZTKYWeUe9iIuIZ/Ux8X7g86faC0+7ZoOTMVfN9u6AskCP0LYEuSx+cjtw5N0zS3JNaHzmxEzoshccaluiXdKlmSmGqv+ZgNpz0DM540Ee9Ad/LHgcvjgl9CXn96RC1CZxiEp48ppH/TqW11vpROSSxfgvmdPwObWX1edlSBeh+AdReU5pytuN5qoTs8wzAy8pHC9oYTRRZOKQhM4gurEBIzNoLtglpWUld6uwkjaRUxBzLLHJY9KiLa+jMcSVzW0YCpVMw/yBzag6nDYxu6tk2kXX7zlWp2iVII59aeI85VEXIv/rHIS7P6OiNw8uW1sYPl7jOaGFa+kaJ/mQI6aeEiTMvrsfYjNA2ZLIOjEPbxS2BCzPSdDpt1Rvos7W7iTQhMiE8MVBH+gmPKEwNbTjDz/Tvlvza0uOp3puixt2qp5PhKgX1lJrvOuSBsCGu+q/wavCR1N7oQsChCaPpnW32nU3cKoCwCvV18H1HW7WPwbXhELq/tSXlScjAd/CMcHNcywvKUfv4vrxOt0ZOyW5au5bDjacEOJ3NnaTh+EqAAva5Qb358TM8/ynCuryBuiTWqy30+OaZHBxZ/SF04HcyneEMPQcS6TraPD4GR04A9d4Od/uz2OM4MVd1QETdVO6w8PIkklYKQPwdUr/7uIFQm9u79sNmV2a/+qeN1ugkjWAKAWRAhmM7F4yUYQOnCrKqcHR0tO2TztxEmYzlqIFtSUVCaeDDKCqbBo/Wn7aajPlV/XS/Y/hX816934HGZCks9rCCtMCp5XBT2xSY5GpcS/bSKUL6WpnmjqdnYgOGukbKw9a8fFk+GrGYbZnsWWoxU9wljxKQPRwx3F2uC5QlFyNXJQu7ARG4AlAIdPe3kNrTwzyQF90p6jeo56RA3Wo1BmjvklhwXKJ9F 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 08:04:25.7342 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6edb7e3e-f13e-4f04-3941-08dc7afef6fe 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: SG2PEPF000B66CB.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR0401MB6210 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_010435_051077_843136ED 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 08:03:16 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: 13671392 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 14680C25B75 for ; Thu, 23 May 2024 08:05:48 +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=JLyeygBMmv4oGO nXuXepw24Fhdj0RYFTM+UnPfZ+7/uvsK5PmEHE9jRVO7NmEIDhOzyhJkQo5W1AxFmWSR50LCIl8aV 9qbodCaov3VTCjVbBIR0HtrYBibnIUHavl6TpWw9TvAKl7x+xtyxzJgbjzHx+HAocZ7bElpFFM8W4 Olaav7LUZdmwONH0jGOaIhrQb566JblgNqWWmUb0c12gzxHwFe/nfsAaUsYvEN/dmP3gIb1bSsMb8 e1L7eu0a7bFpnJ75KCazR37rV21RW2nwpPVl9H6DPIItGk+pxJhSVoKS3eeO8rOlZ+0vS1bpax/TT XM85fmbuLpniWMukKhaA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3SB-00000005Ril-02Zy; Thu, 23 May 2024 08:05:35 +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 1sA3RC-00000005R7I-3rfW for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 08:04:43 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Uthk+HCrtngBUt8ToHgqGLQpDJQYrrIWZuJCb+0A1B014tb1FJLE+miXRtv5PKi0RxyPCHwYu81lLtIUGdwl7GzxNaF7NdacSmumOA+LYv9ZdjRqsJ41Yg08WXPiXU1N0WjBKtq8SdtilDbTh5iFYPk8v9BZ3qjw4qHfxlm3lVhVDTUqMyKHK8pgXs0eZXEfM1G3AHKyBGiXkCXiXchkbeXIUfKckz/cVvQ09ozTbsZr2tD8ldRtY1wFr6Qo/2sqVj0lfra9XWhtBIOdOqkKR3M3/nePqrXSt5GABf6c3lhAT27JUWb1DJ3QLnXF7vXLVnLxUzLhmqsrEXB5qUKyyg== 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=aq2+KMyhdLlb4V7kKwv1bQXgOH33qBfX+fE4PsFWIlW8c98HF3EeNb7QyedKVke4l3AU8cx0bX+TT3jUPm2Dk3d3gUr7zpuTcDBtAGLsNskacKCe2Trh+wnfiV+RHaWDRY3wST3yG/G7lqI3tYaSpT+A12v4BmgMJAdryJX5l+0gWzpHh5PgvnCqqAvIcnAc3oekFb5lA7JCI5sdnjAV206wfsRTsNj9zrOHoxaNmrXzec/zUeVBeyU3iHTnqF4r13pW9ojjPvPQJzRWc9mMR+8YQUzeqBlgeErOvxBFigzjvXPxfpIjC/mJrotDKm9/kIQ07chvOt2JjkP/misPGg== 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=ujqR/KFiKU2RW06rAASJeALWxUVdTpzYmMzqek2uYrrqxRHuK6aobTItJEfj53lsDdPe1nSke4RGzpBklKKuFUkv3rVfRmbZV1qBaNigKBhpSHeKI2syswD1vwDu7PJVBUWOKTylupHzZC/KsrmV1f4jRKkkYBSejNwHw7hH3LsNyG5fmQz9ildWu4Pf65qtCT6KqdZlePKVzGpioe/2uGpN8P4z10m5qQVINZDLI9LWl8MmZi0P6eDZbsw+Y4oQN43GbwYgMvSa2yIdhYBV/1MwEGEiJvyjDHs3tNN6dOX2fmOcKR/IWtc2yAxXId1lTXMX2yld1LnG/47/QuFLlg== Received: from SG2PR04CA0157.apcprd04.prod.outlook.com (2603:1096:4::19) by PUZPR04MB6717.apcprd04.prod.outlook.com (2603:1096:301:11b::8) 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 08:04:29 +0000 Received: from SG2PEPF000B66CB.apcprd03.prod.outlook.com (2603:1096:4:0:cafe::b5) by SG2PR04CA0157.outlook.office365.com (2603:1096:4::19) 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 08:04:29 +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 SG2PEPF000B66CB.mail.protection.outlook.com (10.167.240.24) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 08:04: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 11/23] ARM: dts: aspeed: yosemite4: Add eeprom for yosemite4 use Date: Thu, 23 May 2024 16:03:16 +0800 Message-Id: <20240523080330.1860074-12-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66CB:EE_|PUZPR04MB6717:EE_ X-MS-Office365-Filtering-Correlation-Id: b3996899-ded4-41bd-c235-08dc7afef8cc 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: njcaihONUIZDvt2F+6eeLWaaDrkvl7TOnOWbUSq3VmHgtsMh3rpXhSpBNjuk8Jnbq/ZLHMmodFgaJXx5hp2nwpNT3OeupnMXyV92+mOf99v2ZFVoVHJBIeqdyvilIF2OES6w7L/idHc8hpZuwwEA3jOIOU27EzZlBMkfhHYV1Mz7Qig3EyIZYIPLWkaEJ6SVoiKn9WvCgdsvTSqhHMlQF9ADTyhZ1Rjxyw5sJpNYl8lZSQIyFfesL8Qaoiexq5mFIqIblMR5Ng1Jm2Spxd0yINlja6Xr6vXUyeuW3/FMTFGR883u08VO8Xw8lBqA7DX4/mdJfYQjwz43Non2MuVQYbl5llq1lP8oqGHH6Gifcf5jEv0rwt6tTR666gB7Y2TIStvwvqgyDUb9ts3gNcpHjqosRN4B0BfSPgxUeJqcUOzZi4KGhmASHxs9I/+c2VCHD3TC9E0WoY7lrwMJd5rmmAW0mjKMW0RI5OMxK+TMlyM4QrpmScm3cqlyjHC+8Iu0HSuDngU1by23DRvK0+ph+KEiKkySI6Q86cK9nSM/e5mRJMDz40HfjzQbJSEzLEZR4p0SD1Uq/vxOVj5kX3YrLtnnh1qOdWePfnc9kjw6A//Od3PwfCzpQvC5BDG4ngiUVt2iNuIQGXq2gS2PcRN+w102oP4HUsEZ3bOThSsBS2/u5xcJklee9QnH4lZZViCw+e1jdEeY+0rI2MBGOxXlq1ITKFEYTMCPneu0fkXKYW9C+nCCHDVQ+chp6FePjGyBZQLGPwvHKUy7lkyNvGD5rTXPwKuzZHCWfRXiHmizCtYVlUCJ+8f84RQjzXMrvhMkewMtj/yCcsj2xpI2IC+HysEZVYRjFcN71uqXod/sKtSzM2Ghy/eTBBmorG/LBGgObu+ydgYfTTjxGOUtJZK2/+BZ8yxjcgGcCyXFOCJeOX8El2X4jPrN+31k0h+2gGzLRA0P3LD5nVn6qNBHCz6Z69McaGWKbx0/9gE7DiFkHBsFJlw138nfA6kPMWJOxnMlvdclb8JrbzqtRGfi+Ji59u3bWlH1DdH2kixOb1hhFTdGjLxRrZS8BZxZeqUWJvB7RxzOplHR3QYfIPKeTl4e07m2nsA+vQXvj6yG+bFrCyLJFIvgBMJeDyafk2kIv1D4xRyXPbcqHE+Ud5pWNFdmAo8/DB34Yy78CgHrvsmXZt9zO/bV29yx76x6305TtvZu7yMDMohs9F7rVF/favYj4p3F/0lsG5+3/cMwvBiNr4fif04cihWdlJ/35zyefeLJZBxwaTxLjS9C5LUf0lgEi/rzik0Exz3Gh0fJlkTd8t369GUYWBuNERC2s+KJKcJAt4vUshkXb/fooOctMbXoWWMaWWkTbM3Xhr3c8cI/4Fw= 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 08:04:28.7655 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b3996899-ded4-41bd-c235-08dc7afef8cc 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: SG2PEPF000B66CB.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PUZPR04MB6717 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_010435_251300_1921C1FC X-CRM114-Status: UNSURE ( 9.23 ) 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 08:03:17 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: 13671394 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 4DEBDC25B79 for ; Thu, 23 May 2024 08:05:55 +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=D02CkfgARO1EDJ o/YKAMGDWO3I5FSzxWeP9FVvRT5idpF+AsuHUorSB6MdG6v13IvQb1JyZUxgC5JEDphfSRb5vzsog WH6dQYRvtQRLy0sSbPUey2P52pMdvFNH5FFWHcAMqZzLwDxAuCdVSRsM1SV7pI9uzhVmnin7FWcOG uprxxzO/M6pNFN5RYXJX02pWfs0pPSC3CzDwTfjaHNTgdThmxzq2MHhRna3VKtM3XAsOUqMnzc2eA SuCyszu2RoPRhyfVTAX3YpuCr05+vGwxzCBa+9nGn210TjESPrjdelv1T7tGvIS6rLsv9+MdR5us1 llH/h7dsVc0CZh9fd5zQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3SD-00000005Rkb-1qpI; Thu, 23 May 2024 08:05:37 +0000 Received: from mail-psaapc01on20614.outbound.protection.outlook.com ([2a01:111:f400:feae::614] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3RN-00000005RDf-0cBg for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 08:04:48 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DaBFF6eiHRgfPx/MkydqJ2v19uaxI9bZvgCq6yI41goJYtdxQvG2n8Zpw6Xkee9TnVIkXO24+2kIcnOMlEjnFlWlv28kxrhRbfc5RtG+gQpYho6V9gNv63WVt9UHXnrDEZ4yskAT5UxtMcMTb2qvffZkltERNpoDDfYJje28tkDblrwYbReu8IHklzT6gMUcXJdpMnbPLqQaHHiNBp8jXJYVa6AaSeFBTEjoL9qP8jNA6+Ej7MkW+Rjwu9JW/yTAvOo1/zOsM0HrsNuPZ17NEHMMm3pj8jFgiYFW5kO+Tu4BUGGb/lvJ0QZMWic505Tnp+4UBgzl/1vbNRvsdIuQlQ== 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=Y/sV1HGSo6bZ2tIf88QREuXXJN3VOA9LOIcM4cIDLOqj8Cm18vvTgCn+9/XD95GdP+jWS3Ur7fXp3ak54675f8OrR9QdVSeoe0JZ8G9qBMPcWBguW482QpC5IfIGZlYvqKn25xeWgfYniQFTjmt2xc8g6X93amWKmQ6zXZ/f5VxLqRboD/rpeAb+68y0IurOKqu82mpPMkx0WXaAQltV8TvcSaNDjNFVjeOEsSz7RUawwuuc8jxydgD+X9AzisRmrsBcgIJfv0SCChpoHvF0ykPEsGhg7jzrUx1ZHI/DFGwC4S7hcEiVd5LQzNFekxz6+X5XaqxM3kvr2cDnWLMHBg== 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=3uh8a5U4an7QUjnz4OQCsG/or7Lid4mmCPIghQP6jQj7ihYB0aVmOHOusaPS+QOyxbCiSmEVqBSFVPjBZ0jKlwju3xmofcp4P6cxmBjzqcbsol/2sYGJh8Yzv3ZdCowdMzSfTMFBWk7Ye73bhFtbWtcbnsvvjFga54PVW9Wcu+QtM8F1gbeyi8rvG1N/lxetubZCVPy2qy4ZR7KEyn/SJE0ngDnddC5hItAoKBSRx+OzPssDOPzS3UQumGn9RYCMJc50wFyKHoyo4srba70mUluF4/rDHfKC8Y7cGOHvmymdLHdU9s/GuYcbFnOM86ypiCDv3M5OOKWiOEHsqIqP1g== Received: from SG2PR04CA0174.apcprd04.prod.outlook.com (2603:1096:4::36) by OSQPR04MB7740.apcprd04.prod.outlook.com (2603:1096:604:283::6) 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 08:04:33 +0000 Received: from SG2PEPF000B66CB.apcprd03.prod.outlook.com (2603:1096:4:0:cafe::9c) by SG2PR04CA0174.outlook.office365.com (2603:1096:4::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.22 via Frontend Transport; Thu, 23 May 2024 08:04:33 +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 SG2PEPF000B66CB.mail.protection.outlook.com (10.167.240.24) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 08:04:32 +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 16:03:17 +0800 Message-Id: <20240523080330.1860074-13-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66CB:EE_|OSQPR04MB7740:EE_ X-MS-Office365-Filtering-Correlation-Id: c37daf02-e282-4881-d0e4-08dc7afefb01 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|82310400017|1800799015|36860700004|376005|7416005; X-Microsoft-Antispam-Message-Info: P4uJYFqXj4SHhXaHac67RbBGSjSvv4sSuistWf0OaR15hVi4e/2DnJAvLGsp91KEVBeOLwO7IPqFoUoc4ut48/Fa6k0Nne0zbKzFAvtgEiO2uksjmthMQm+OroQghE9hhWuGN8MEbiQYWWbU/IeE8wUTqcVdgN5Q397/q0HNg+z68D/MzuXGmgAL6RQrsDIf7n50cWUP987NDv/wcw+zkQMj+/NjHQ0xi+JzzUnQE1C7dEXNvsLrCeyDFiq5bCNVg5Jxfbk9zOdYn468gaSgkqueCCpiPsdiU5p5sGwIGPtO4Auo1KHjtDNBoJLoyzLzFM4KxcsneZHfH7bQG9u0Ocguk6LKivPt/RusXRvHYO8HQg9wA8LSTwg7dQixN3rXc4xHfBNBHOLT5UsBIbJCssqtXLpL54P3pNlVzlpL0Gv2OhbRbXstB+85R2xZnUl2XYWGn8ATjp3OFFPpfKgGvo/y7MPtxZnIal3VMPcxz/XE1tQpcaGFaSmw5PzZTm1kNNk1AWuAJHQo9c8IucyfcUGHeWiwKUneBcw5pBUcIoyKUFb05dskYCPhaQDgBvwHlhuidGoKGcF4pPsHTgYB10XSI6iFC+qooda2YHBtIWzk66pyLF9QzNovpBdS1Ds0zoFg48tqSm8ZrUR3JGCVRu8JhbxrcoZZNVh1b0R/iaXwotlXT2APvttzkKDL2/HM5CmQ6xo7CjfpsOrJ47nnUZVgJ5EXrACZN3fklx3B8i2AMmEot+eg04qc55t8J0PRWTAz2PHr1v++6rjPDe5cSAb83qNagZLl8IuaZ0lZdtCLzswIDq/6EDKzUV8caBcEA22RyYIlOQCtOJYTFmAHWbtSS+kAM9KIfjSriQF3NmLaIgkq9ABlWCrqEcn7ga1efCiyrhvcFcssaBmXKpoBMrXKBNx6EzUjoRkzd4WI2ZyrF+vqrLLB+gtRVyxwdqVwGkhSuy1OJHK+ApPlMshrKuZDL/41lc5MNkvZOdELwdbUSmazn++CNdTaJ9Mo+29XJNC9a8qo1XqIj6OlL14i1Sa0fLT3sL7MtSLMUz4BsVxod8F1ScPL/+Ob9qzKBSbzBjQG5cptGfF091mM/T4dSXWrB4hriNNuTi/sjrraiR+5EUMP+VFodkXA/ZDg9sJyXIL282yjy1dW4HNcXsbm3QeP2EYFhrvr7kWauULQz67ZKFIu5kDm+RszORvnna2t57wE2Ad6WE5HXFiqg5/fiy1WcTQc9Qse9aU6/uqv4LThTgk9Fq7Fv/t6Se9eIdMsKST/fw2CXaw1KJ3yyiA9yumci6cReXuF0Up2xE+RVql4LsliSMVFDu45W3E7EYtVxsNBREBti6L5id363qGwVUVHsywsqT868dApzS9odfyFJsfN4vt86QCMjpS57dTt 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)(36860700004)(376005)(7416005);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 08:04:32.4687 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c37daf02-e282-4881-d0e4-08dc7afefb01 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: SG2PEPF000B66CB.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSQPR04MB7740 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_010445_413242_BBD34579 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 08:03:18 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: 13671395 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 927C2C25B75 for ; Thu, 23 May 2024 08:05:55 +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=aBcdHMhl3eUx/u LFD+IC+KtQDFXR364x7b0WWwXrtNxF7CwId+Ekf+Bh+eeq4sV3G/MdvbZju2B2kS2xYk7NgGNApVC rNu2zGLfumUDTUfTBVsQJKuGkkwXV0Ocmfrm1sHDmjKad/PowK/0tuSTBzwkM64odgBWz7HUpZ9Tt fZJKnGfFp0NQqZCdJXVO4i+OxXEk3z9gdB0m8uKmGmpeHJlgPauFpMji3+vVqPkpaBH6YQBV07BCF K5bfH7fkYvqLmTLlc9ojX7fQpxpr/ps0KNQeJBZVJ6HQFJC3OpFg6jM+/gVVrNQ7w6roPmG+U0Vis VIx+DWJFTKggOMsoIrtw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3SG-00000005RnK-2uJN; Thu, 23 May 2024 08:05:40 +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 1sA3RN-00000005REZ-2T0i for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 08:04:49 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ceOuv/YX5+nuMe+Xjd3JrcXOo0JNqSE9tag5TQF4tnhd3BGcvrFdmPBiAteZ/0JxxD5bFGO+7ibiKYJJ38WPNJayHIWkOGBkCu9wrrmNxngN0Q9bcu8rU0kRlBfsM/SkmMziNv+CtroXimQ5x9LL9f7XPMoU8y/Cu/pE2hjt1wD9Q8znyy/DwsrPQvKDzPncQ6tfUfPiOWnAJkk+bGop+VvS8Ri0g3tH21ScnNpQ83PgEujEBkkvwNRFICBW45OXz3lpuf4eUS1pNxPEXplDcejVixxjw974T1QsHMAZsImBQmbTNVEQFo68nnsmPuk6jyWkX3cJwcQYPl6dzVFCwA== 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=jdODsdDvYLpSAmljEv2eXgwPyudu1go6qAv5MJhmC5W58tHOGOohFnAza2ELIQ8epefPChGHonnA3NKy7r4vFpmedZiMegp6+2IznhfhWgXgdIzFtNPXDyVpmue2oHE3ToSU4WK/ylIr514BHm2RDki2/Q79yG2XUtYpLux8AagEhTSjq2b95oiFQGJiy0xadnXiwbd/gkktjJQWidMgc8tnBc0sADf+xhbOr+XsNsUT4hdajmSvs/tyorZiQ/f+ZRNL7Tj4vUQa5gTHS6W0E7PoaAtd7J3cDPLj7o+CO1LIpKIC4og/CkI8F0vtjOtT38szHOFS3zjf+DeNSDh2FA== 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=qfuxwC0eKOpQduTpbH/O2usggAmT1tl9fT/uok8nu8rYUbWqKhzymygG+tAo9dgRzPaTVq0nOMZlmw4/OQH3M+KxPrZ7koaLG9ISn61bqVBuNcS8jFpig9QkyHTcHl5n6lrfYI+IX2Hpc3Yph8cUvuzYlZAh3elJ3cQe8sKl0LcIV4r+wcEgazHpIiWMkgpcIKFhqZDBv11TQftH9PtZbpfzBLc/ggePcxc+5QH+h+icksLlWqsmXEdc8cDHNd6n/fHMd9cC62RPLUkKf+HILiG7tTUGC84BzibZ2pzZ66kXTo2sk8EKSKRAZhdU1eYc4TfaaPDhNUUyD6es+nZUbQ== Received: from SG2PR04CA0174.apcprd04.prod.outlook.com (2603:1096:4::36) by SEZPR04MB5946.apcprd04.prod.outlook.com (2603:1096:101:65::11) 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 08:04:37 +0000 Received: from SG2PEPF000B66CB.apcprd03.prod.outlook.com (2603:1096:4:0:cafe::49) by SG2PR04CA0174.outlook.office365.com (2603:1096:4::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.22 via Frontend Transport; Thu, 23 May 2024 08:04:37 +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 SG2PEPF000B66CB.mail.protection.outlook.com (10.167.240.24) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 08:04:36 +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 16:03:18 +0800 Message-Id: <20240523080330.1860074-14-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66CB:EE_|SEZPR04MB5946:EE_ X-MS-Office365-Filtering-Correlation-Id: 28bf7d02-0752-4a65-05a5-08dc7afefd5d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|7416005|36860700004|82310400017|376005|1800799015; X-Microsoft-Antispam-Message-Info: owujsYG4mMfD21hkIt6B2ndgZE7DVlFs8Rgun/ZbLcBm+l9Z+deTayGiknCNGDHl7zS7prJUEt5JJhybPD6usHuh62h883MRDt/7nymXY9tdr7diESlwBoioK7eCscZlbs67MBz6M3Td7iEaFpZ9omkZnq+tpAswgBXQamZvC1QRkge6iy9NiuO4Vrtf467vjRLzEocRHrpTzExiSGzGGXlsqpjQx3QdN9dwtwbtmDHOwe1h7KB6ppl2gtnjjSDVz5I5UyiYNL8Gu4vEev9mJeuGRy9+UCD/WAzETFnKV95UVFHL3iB4tZwavstTnhaMgEpGhEKyUzUUuSWq0DXhd/CbZLW4MvUjXzaiTeOgaSnxxiTSztgdfIVNgC+3cuR9X0UEweGfzTCMpWZtiJyPm095IYTzKHjxKxNYRkwU2A3sg13evQX4xboCTZEZivFaq0mvkR0ev8hJQ4T1UpkotGIJEEwQ2HcS9hi2diG87HqhbmHw3lfv9x3lxNIr8TwVB02vDCF8QZjA20oe9D45RuOMZf6zYM5X0sX82Wdg/ymaNX+my0MfATCrv2qmyL+48g7aC85FkZTqQJ2jxigKBwWy56VDnBYQU1EMKdb01QvOMgaRnMDIhGiRlzu9sckJlQ7w+YTxANzodnjDj9O4Kkmhqmi0Y0Jx4xBm+Y84xagUwYY1r0F/737KcMpjKDVi7Z5QguW8I7NniIF+ishPSCsllf2f9W8lP+uZFUn7sxElz2e2B8awTIryZghvahOMFGbrJ6bmzg4liq9NTVJotYn4EbVxRGbTw9Tu38NUQRSULQjc2VMam9GR4uEqm+MDggqHFuHWWqh4ro74LMeOTqs3UIZCsR+2gxn8a9/B9Pnw6GEhvvZUbLPgkY3a5NXfxaO4Kwoz2DoeWGB7FldPwDK9vEVFx4dOLCJFSGo5yNt82pkFrsOy5Ego896Rf6ksMVFVqqwco5fAlFeitEY+jPv3CzZJ4QOJZ1zUQuM4B19tOfyqwjpHuA/WkTWwGx0eTac7bVb93GkDKJGDCdNeeD8uHPS6WKq4GwGuvW8qOyuzoYsXb5qctIdzW7ihm75JMsuVTzEY8Fjr37zI4XPWvLZSIfbFDL+NyR1b3vnr5Y9++rAbbKeyWNrJ6BmCQwrMU5PU2WCfOQayzcLrPeMNUq/kvTmMV15S6Y9hNwzXI+AsZWi/Z4wnL1v/+XSDruI60lt2JeuCQ6r4SqfPPMKTOzndb1rU6B8IVo9sXRegHKOUZuZR6f7JwWbequsY04KVUvzAxRzWx7C6/P72ljreMrZ+oRPIikuxBxXjDYxHQng/j72XPRhHd1+OxdVpBeg7aTYcql0zUp660lRqnU5DhjLleipBXXmD7OdBIP8nmSRoaTkAmX02ZXJbN/qAF71d 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)(36860700004)(82310400017)(376005)(1800799015);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 08:04:36.4219 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 28bf7d02-0752-4a65-05a5-08dc7afefd5d 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: SG2PEPF000B66CB.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR04MB5946 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_010445_907434_A4328F16 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 08:03:19 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: 13671396 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 CC4C0C25B75 for ; Thu, 23 May 2024 08:06:05 +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=Y1zQYurDTzV0DI vrkSEZ+vKGtf/UveozUpGTzbB60L324WiGjwC3WNYALIrA8YEdyYx7pEJXHSr5nujulbaQPk+lhFa MpGnV8q/JjB8R5uUN1qSHDxLeBvoyJ6UCdbaZC0Tlf7ey4LSlEJeLl6liYtUFCPdsR1eKiaru5/Ik 5dbp5iK31GR6cp6CM5Hf9Q5eN7u9mCZrpKqdVBxbMbO6FQWGe0GxZKeUI0Fcsy4wdkCYqJNGayuXv zoeXLKgssKTvOsoGCYhzNncVb+dXqZMwnNLUYkPvBi4k2BQ2bzpl+RYUR3GQmJQPHj/oeEJA6Oi5v 43iFBpEQGCxSKfafLztw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3SM-00000005Rrg-1Kt0; Thu, 23 May 2024 08:05:47 +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 1sA3RO-00000005RF8-1IxG for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 08:04:50 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ek64Knv82mbruMUS+vXJoGQ7GX1Uu4CKLIZkWwFZ8w++iaVTXYAq4vSzZiIga79qMiT/Q+cMsOktEXWuoTmE/Qd/Pu7fnMJ/hW7YLVTKQ13BkkKE9g0gk/nStIZ5CvJ0yqCGxuVoNRny+fwDv8jmLrAB92jqsDXuQwWU3ul0AJW1EeD428A3MSwP3XJKroT9nu29fucoOP9j6QBGAZFBWD1Bkbxv6NlU2/Mg4xT/XAIZbe1CP2gbMo7PxZJhvB3uFAHEWa0Jqc0T21HwjVSh2aa/5i+V9RbQwCMIkyhhpEex15DYVYe5wQmRbE/3cmnC85VQuVAAcoMV8PJofRPhvw== 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=aML7n/fAsh2JT1HPJ9pReTHKRoI0L8+uLuL/537LaFG6baSGvFLPFIuqKAN1tQfN8QhIcvJSVm05a+JYXsBf320L4cSUexoYo8MhuyQeRIzzU7kwUh0YVeKF3ttb4ViWZ99Thjubc5YZHCDEWK6l0c5RRYBghgcAdPNT5/M1K1TBoC5eHyWkmt4ryRWw/CejMvbf9/glhkkc74yyUToRLERIbxHLpM6oR+FAnq8shVfSC+GaZgdguOubOMqOlR/ifmO/TQzebiuR9YmwpoGSrH0p07src35tksDXpvWX/CaVuFSqpa0Nm/bbojR9c/UHNCIPt0mMg6C1bUy+qKVP3g== 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=V9gP5sB6gS3Zvfh3NdALvLu3ob4iYeMTmRs8AFz/KykfdHvGNz37fifT+Wg6jZlnNaO9tehyPBTNbf+xQO94dRpHD59rRDck3cqbq+NHuMPDFbeAnifABIDgh357W4xYENDptx+uVwfxXprM9Vw+7bUYTp+fLlqOVoCx1IpuBxUq2BNFyLcYil2gqRVYf7xmyMwWf604TTNkfp+bhoBteNn0tlLmtSfugThA5R3QwueFJMN6ytSPSxfz3lzw8sWEWHc2Ks/B/6RKQ6n7NNErAxogWMjkXofHp8ck5gDahfNf0IYftzfGTNdAFSgS7dTwfdbnFlCiC6EBWvzilV2Nyg== Received: from SG2PR04CA0154.apcprd04.prod.outlook.com (2603:1096:4::16) by TYZPR04MB7154.apcprd04.prod.outlook.com (2603:1096:400:465::8) 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 08:04:41 +0000 Received: from SG2PEPF000B66CB.apcprd03.prod.outlook.com (2603:1096:4:0:cafe::a) by SG2PR04CA0154.outlook.office365.com (2603:1096:4::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.20 via Frontend Transport; Thu, 23 May 2024 08:04:40 +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 SG2PEPF000B66CB.mail.protection.outlook.com (10.167.240.24) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 08:04: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 14/23] ARM: dts: aspeed: yosemite4: Revise ina233 config for yosemite4 schematic change Date: Thu, 23 May 2024 16:03:19 +0800 Message-Id: <20240523080330.1860074-15-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66CB:EE_|TYZPR04MB7154:EE_ X-MS-Office365-Filtering-Correlation-Id: 53e80a3c-011d-4bc6-ebdc-08dc7afeffa9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|7416005|36860700004|376005|82310400017; X-Microsoft-Antispam-Message-Info: 3QNwZJK0Vjwy2VeCjbTO85BWPe8YseGegiPzziil/15wXHrh4viFXZBVtK756o9H2z5ZqjRlCtyOHOKRWjuH+4fT+OF0PKBkMAH4ZL7oz4D6ZUpe/1/+2/XVLxmySRENQmMvJo5flEkrlJpkniA2wWM9mEQCeaUx/DsQcXLD5JpbZ6fWM/x2ucarsMmIh2NApy1Q5RpbPX2chWpbBTJrnpFRcFWy1BiR3asrqDNimdwVIcq1ZX2lbhizNKfPfxBvk02eY5EP22u9oFZu3+xLyqqnVmAr9cgrYCb+e/AnuMeNlkWuhsYVE8a3jUsZCmAVShAK3c1zcgSB6RsvI9YesfDK52Q9zIOmJIQaN+Idy6IJc4hpWUSCUUWM95bPpvuj5rV2XtZdtKuWnP4bwKOGhx3uaKSKYDqLTGYC3orT+mW3T3SVf0DhX2hUFE0sJcoWBo8cDbxHGHTCItvd0cQbzA+SIlJloFm5lmDnSKekxS+sbokzuFKfbhORD2v4Js4F0JiUkQDQlvYdbEPyw85uJzjaRJs+QxG8sgnugtgoU/rrnJd+pvKZZbGJeb5T7e2c1KEVztxlWKYwrZnXKu4iUfBgiq4eUH3xsjtm0SMx2amb/niIWvdBIJ49ZkG+mH3ZwjPTqcEG5FahcfAIw0tyhJi3AIt1nhTWCW+5xf09sLMvq7yljuh6o9nNVuKueX7VpJ8zeb6y3BAi902cY62df7H35xaq5NfInXgMrz2BYQhgMM6UAdfsCshBwIxFKZirbgxxTOd4vslcSokl7GQXKOANr6+iYE1XHpDJuWj0G8/C8YyBLEkbddnvcNCeIAX/SxFIlxN9QiNDO6ilx09LX3591TuZNMOYGbaPnXOQpomUr59kQmwCITXYXKZzzVgmibVNnwe+PidzitZVc7bm6/wTQHvxT2kIHuuLgyW+pm+0U1XxlLRXxtS0ag1L/7VtM0cpZBOOmHHmGmzMpzMEZMASXRTw8IHqIjUiqF2w8IEqupzngnXNJcVoSTubG5opzTpj+9Zf5JkbTZOMMWZYwqXOiTzWc+laR/BAGNtaH91k8yS0eojPy+xxQkHwbj1wVYiWfJ/Po28sc4wKVXAaHJAYFL8v/OyppExOUJRSKCkjUQ7/F/YCJi7LM91lVbLWloW5D/s2aweaD7ap569n3lHbfO1UlSAmu0acazXd/aVV+Ums+m6oiPQzVXla03TXOsdpawiu+JdH0MsxqJHH3ygMALvz+1ChS3QKKvhTtNEHDEz4ySXDqvJ+yOhLN0NzKMYYjPBXHULhhGjvPenZPvGEArFDJkjKZwu95qEqM84Ns7nV+utDbCdVbbCx5+/oYQqEsXF1R2sMH53aSCop/Lrb8Bvj5EfNo9o38FO2ae8= 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)(7416005)(36860700004)(376005)(82310400017);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 08:04:40.2813 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 53e80a3c-011d-4bc6-ebdc-08dc7afeffa9 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: SG2PEPF000B66CB.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB7154 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_010447_420787_E5AE009D 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 08:03:20 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: 13671397 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 E2725C25B7A for ; Thu, 23 May 2024 08:06:05 +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=BPscim/ibNxTBT UjraIv/N0SZTFRz3nbp7D2gz+TVYDJGUEh95VLuKOkTbtLtrT/4rk9XZFtn4WwGMcQ8KLcoWCIUBh 1gccqbGua2/f8jaP0KrV8KxpNQukiyrErYNt4MXuYUgL/n5VPkvQWSO+ZOvpc2LSFKFZ04hmZzP2j EZB08yJ/jv8lGFK84diTLr8ITzcHx9yqTa8RB9Yo0N6qwP6QsDHwzHHSVncamVdBmbSlSlPvB7r3+ kkIq+RYi246zEFnc0CfCvmZAC7lx+vqz5gWaP/me9qXyVT77sVQvA+9a4l/depRY5pQlFOFhGoROB mGxHp2zUpCzYaY9MZzgA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3SS-00000005Rvz-0f28; Thu, 23 May 2024 08:05:52 +0000 Received: from mail-sgaapc01on2062f.outbound.protection.outlook.com ([2a01:111:f400:feab::62f] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3RX-00000005RL5-26A2 for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 08:04:57 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jrm1qaDe4nv69AXKOnQesQBv5SF2gfm5dCfHEbaDAEKILAu+RvWkPR8AEZZIaTWlbnJQeJalp4wcSdmXKouATQAzlwXwPz3KNk2Tl/0MhhP0xcupq42F3Rs4gmqa5xmnKWFD1aH8hmzGzKHws+TcDtX+dlFFk6JcAgxwKZCCtNiGWNfb9RG9qKB2wgqDbQuPCuI7Fpm1e+cTk8EveIoDnewmnItV0mUQ635/rZ2m/9ncSSjSuu3F4U6dwt2VQ001orxF4tY+8aKsdVpdeSvn3Q0GnmStNqIiro/z6qlh4e20FvSSuDTa8A1TjLlwldhEVeO70S1AQxVJdmCrTCQ8HA== 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=AZCfY/akHf0ndfwkVzNG3eGAsD4QBcXgds0jTMkCyluedOciaAjheD0l18IqeVyaPlMLpnF62yhii/CqLI+Tu1MAE4q0CRfnxp2QyTrgrXwCvTzGJkZ56XnCDN0Ke7gWeCG6/W+FKUqWevkisvsn+J7gby9OI9CDKMf32lEeg4w3qIW9M5PwJbnbq25zTYb45wqxhkAdSws+9Is6eIfTXbkg1jlKtE4U6f9UuGIfwi2gOe1zWqlkJ8N2z/hpGt0tVC2scJ95Rk5/rSj+ck5SqgmiEOnG4TorcZ5k87u9nwkJKd6yCijtyvzD+zmicr0ozc28CxBxQ98y7bzFy83M3Q== 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=pE2wyH3olOqNULkSKVv4M4vwY4RIFUFWyFnV6MXNEMi0Ixo/27GwJ6fE5JTpz7cGg7Vcs1UaFQHV5aNeYKQHqEy3IUK+fu3gfPaLuK+rVJRU15L6YOF3qm2+uxTjiFQDOOEgZeIRRhjLYWpgIRUvhoX4L97WzO3crSDrfjrbAyjNAZcnMB75M0dUZchZJD7Z8nzlGya3lz+U2uTYxo59SjaBN1lTVjMY4TzlaiEsYf1cGNLzi4SBcgNbANPJlD0FSHsDvz3c1Q0V/HRrQfs76b4zUIUxx2GfEV6VhK8okQ40CD3S8rEjzMt2PYyQH0i1MFaEpACSFfjpn8U2TFfUAA== Received: from SG2PR04CA0163.apcprd04.prod.outlook.com (2603:1096:4::25) by SEYPR04MB6482.apcprd04.prod.outlook.com (2603:1096:101:be::7) 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 08:04:45 +0000 Received: from SG2PEPF000B66CB.apcprd03.prod.outlook.com (2603:1096:4:0:cafe::89) by SG2PR04CA0163.outlook.office365.com (2603:1096:4::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.22 via Frontend Transport; Thu, 23 May 2024 08:04:45 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by SG2PEPF000B66CB.mail.protection.outlook.com (10.167.240.24) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 08:04: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 15/23] ARM: dts: aspeed: yosemite4: Remove idle state setting for yosemite4 NIC connection Date: Thu, 23 May 2024 16:03:20 +0800 Message-Id: <20240523080330.1860074-16-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66CB:EE_|SEYPR04MB6482:EE_ X-MS-Office365-Filtering-Correlation-Id: 0bdb1fc2-e412-4299-6fc4-08dc7aff01f4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|7416005|36860700004|82310400017|1800799015; X-Microsoft-Antispam-Message-Info: Al963LmPrQZPqg27A6NXzQKBbPReIaJpNmpnnOUbQxnDVwogcBSgmZlKTYtg1TUbumznv6M0jNfXUK6KMDDTOF2IPQrz8TTt2E204+t5CQz9eZ0bMM20i0hQwJ+GKCr8C1DpaZ6THTvr3CH+qG82qkvEqAmGSuefQuz30lpCCJK7iUsjRq+yISdSepaQdInPBm8myAS0hpSb4q9vGohEdf8ekVtNn5aXT+4uyHmkS0hM8g3P4qwQu8JsLNGIAKaiYnNRQPSrVUfYXVscvwp2nCNN8bTwEv11JWHMJFvdB7TmFAjVT3/eEqMupqi/4RtxtP+G5sNBRDyEasG0SW/OB47CMC9bgY5hkN91hjlPfcyEhg1BEedADs2Y4kM2dwgJCuIoDAWbrTfdbu0HEWEafotLH8LtRX3KjYIOkjVKBSQllzpcTtdM7OJGwcCTBF0FM5ZbPBs3tRh2Jjz2WcoQl5UBkyC/kGM+Rdl8EQ/mA+BtebIlcS6uZuZNs0rH8bnWA/n5eW4cqQhYTnyZ5AlVX0ZBaSC3Y8oGwZncFeRKNDjN7IxrmZTkAvokENCpL0z45+MZB6Jj2HteAFnPSXwWSuzb/eUEVjVBvBWw8jzIPsgOyi9+g0C9l2PggQNxzUe3n7ATXVezf1BQN9/+eu+5wrQNuxda2SttNwvbboAAw3CU41u+fvn1tyna2tFUcSDSpNeMleX1ytqHChsFN3T04Hx9b/xPuBMEdJd3U1d1dbiRArVYkfOI+Ocfkp+V0AI/0mcpoHBB3WK54i60yYPUBPRoO6taF1glGHCEfQ3rlGEslMot2XH14o7369/ULBwhwIENr+Va7kR5FBwKdRdja8urezcoLp1fjhYjer+iaJQ9FZDvseC0znhLPfxBV44jeFK4TTuQm0mf/LE6yBuN21dNs9Z/fzHifDg/E/BFJL5fAB3tmCJHMamO+1E+CrmpA3pJ9oV/PL8HDnWQNiuHIY5R+BgTIDKv7oNv9GoS8PDGlWS3vjaM2G4A1QW/Tv8x+rWP/Rw0zq9gkUJ6diJxQQjWsKTnjahHYiKJJzTwr0DfNnsy96cl5qWwYv/dkVDo0JLuMrshB4ofDuV8vEkE/8JAld1+DHPQIonuchdmik3767tfjy0+wmGd0Hkb67QMhdMnv/NQqp/JlO3h13neFPrAnc1FkfuWwhFXU0UmNvEaJVuvQSnGFFzcWeDT1SWa9DxobXkjLlQEUAYkMiMFjNDB0JcvU2I3I/sa0pXY8e7+6iW5hO0XG09CnWV7/V8ILK12oMEmM+jkq9liSRGuZe/5aYSuEzrRVZowFiY05nLk10YQ6Ixr5rBo++ovENu1g5Iu0gtCQgN4NjL6xXChhMhpv3vTsrr5zlvNFGPMeElqCA7ssAnUKdumv0vCS+b4 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)(82310400017)(1800799015);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 08:04:44.0157 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0bdb1fc2-e412-4299-6fc4-08dc7aff01f4 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: SG2PEPF000B66CB.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR04MB6482 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_010455_928346_8615B5EB 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 08:03:21 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: 13671399 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 7DCD4C25B75 for ; Thu, 23 May 2024 08:06: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=/LHfmhwBxwsz4EnN78EwvoWWZAkxR3lpsm7QNUyjt/s=; b=EFJBnRyGjH288m 2XSm6rF8v63hnDOtMHFGyfTcThif7N/zJ3pCO/675jZwezoVUOqCuSL7RoxsvAugQHpoe4YR/bXo4 kuVYYNlYLc81FcCe7ZhLMZW3X2fcd/g9p/dSGLH0dXC42WJgt1T8T9ipX905FH5I6/bDGPQDWLBme IXEzypF1z2uk/VeIdy4njaof//HWnWOEdHYGasBBlI/fBQPEL6fUatAP1pOEasqQrws1x2VLo7zcj Gfl3Fg82Ux9p1UO61I8kkwrqML6CBDQlHMhs7U9jR57Jn1tMIbtnIXz2sFJLFUJdiV+3b3lXAqhQs rBz3EFAEGY8nqvYTF20Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3Sc-00000005S4x-3nEH; Thu, 23 May 2024 08:06:03 +0000 Received: from mail-psaapc01on20628.outbound.protection.outlook.com ([2a01:111:f400:feae::628] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3Re-00000005ROA-0rbr for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 08:05:04 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TUPO0PLe9WMwvtLm/vd5IuXuNJl9euwYtDnyNNDoGipDH3g6FiorSqlIQSUbysjClwdmWzVXIiO5ndhdLx7Mn1VuAGPpnANozv3UThe04zx0MCZZGCJvIgtgniEfvepSDRcRSX19UZKVYGhRVFnnjk9PfwNinF6GbYhVccfVXOJvZyAZLG5rMq6rSvgO8uR2Pvk5Z8QhspGF7C/5yBPcYIQqGtxgGb9SrDncbdJjN6tDKPf5/NjRc1epz2+q6XMQF8SXNTqzEUqjSwJ7Z+yGk3z+BDLrjMPBpH/CBkTXmoJ4gqQjFwIeQW4FujJIonCHwHrojpnwRv7jqFKW+We6mg== 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=jSCnjnzPJ/428WtVEQETAy4ZzN3b/erG3x5cMxUwNPJSjRnBdpdjK/njiA2/dMUsDWzg2gonLi+sdGuy0qZyR6mImu7pJ/2LOCPLEdIztLvgj4oe11yeKBirDuI7lBTO03FLCC7aKAEOPgfPiVwX+Q4XxwMSmM+NYw+6RtcpsL3ehpPwXYuseFeI9KM9gXOle+lxnJ+D6RsmxEiimOGQSwznvKJFIWQ0O9zOuKBeLtMrUeZCDwOVL3TN+OPyLxSv2VsCD+FBbbAAx20SlF/TJcGvKj5Kwrn7J/ZBz/kYMXaLURVsOW+C3gMYyZAmoS4dgjbu8NKKreLg1GN5Guyskw== 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=KqVpT/ygXdK5SOWbctbTrbVAYFOiEobKPI7aealvBvZOHhWABpjhBqK5UZsG0VEEwaeJEQ4JsG7s2+H7epGB8fAvVbXxPooBx8YJVGucIeh650KiZHkbSFWD6/0JS4h3dLXzfBV926y2hX3egdf47FQ4Wy91ZSEEfEpnLyNoNOtpnnHxPuYEXGdCZYlTIu45VMWyii1VV+qKBPwigS3fvqj8wOqYeqw723WIje3C/shnv8qGRB1smymDsEIAxXw+pQ8EkfvCDJYuX2PBh8GAshj8Aw3sDNj8ZUbEnHS+crPiQYB0HgDGOo00WLQtHDllL7+d2nGlWaj4McqWUKGNSw== Received: from SG2PR04CA0164.apcprd04.prod.outlook.com (2603:1096:4::26) by TY0PR04MB6520.apcprd04.prod.outlook.com (2603:1096:400:270::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 08:04:49 +0000 Received: from SG2PEPF000B66CB.apcprd03.prod.outlook.com (2603:1096:4:0:cafe::cb) by SG2PR04CA0164.outlook.office365.com (2603:1096:4::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.22 via Frontend Transport; Thu, 23 May 2024 08:04:49 +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 SG2PEPF000B66CB.mail.protection.outlook.com (10.167.240.24) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 08:04:48 +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 16:03:21 +0800 Message-Id: <20240523080330.1860074-17-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66CB:EE_|TY0PR04MB6520:EE_ X-MS-Office365-Filtering-Correlation-Id: c3dd47df-014b-48dc-0293-08dc7aff04af X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|36860700004|7416005|82310400017|1800799015; X-Microsoft-Antispam-Message-Info: BqQKLhdfdldZh2PXzO/8WW89BhiqnuEL0HNef++cR4g5puK5IB6vgT4SmEfIdrOUIlbfD/nn/0qBnLLdojIExeWKBJn4ESfLwchnrkTVjnon8+b+1ioDeKd7hoBSqrCQiQyg7EEWOnTdoCSH+7BuLQuFCHUL9sO7GLe2/IdOU2Knb6HR6Q0B6nGkwNuvLnv1s2723RTiaKYgqcq8M5NGL/l8r+0tGAwNedXRPiyEEJ2fecbri/W9GzagIdYCAph2T1tKA/Z0vE01mkywuxfS7Udr/68mSVL4z549XOL5GWm3pqBioiJ7UxMJNXAKj+k6kA/SrbHxBTmpC0dUUQygM2O7R9xM2ZeoO706X82OSv5wT5XygwSnur+S3oFH5/k6S8JKTEHFVZwiW2F1yYKxIbHq+0CQFIiGJeWarc7l8VOWprRQa0HJVG1yIMuNADAW21VrUBL7vgtVW2bhf9Rk+tDz2iYiAaMXkhY7j+VlFvm/bYCxqDS34zneqW8lk2xXreJsZ/hb1XQMHpwb/ddIN4wx7sVfOjn/K9U7HtkjaMQoZltDE9j14cudnRut8vcDvFuQ6Tx8DLMFJScIi0H3z3ymfCoXaYLV+MFjIqtV0BGWwho5vgZE/PDQZySarnC5zo+6B0V7QMI5L7QPYs56tGGpE0iNw6I1uvQgsxgu0p5uzaTfADVRUruj48tbYwLi4Zois8EVfPpa0cffjuckxl9kPPmdWxfqrR/wXmyTNy6mljhupDtKOqEuQlPRTabu1Czz+znDxoP89Wg/cMJji8d4qIYOiolHcQoSkXNZPfT8DMBp4ZnuJye13nXD1S7+tDYhRGTCS49NRmKWogLFptkXVcjzanQ5y6zkcMVWzrYwarmogCSDPW5mWo2O9N9seqWrOHqjA5OQQf6fjkROWII1gUTpLDuWVkiCKiT++aBX/ur0R+NR0423OBN1umtz3xhskCuHzgtCURs11e5TwsKd7cy6N+fYTjrlQ56xBKIBgfQMrHx2HimJnkoyuMiYuU2rTG8bIbm3jROL75V7d+hABDnpUoeEnkK6i3XSO0cs+rg8EKS+/JzAv0IxN99ryOoOykQanWOUDVHosbT7LjMwZFxGuU2L+uWTYK2phR1P6So95K2gHvjK76IvjtHNKAt9fvNzC3RPP/I2CkOuHn8F7/RhdpimFpjvU9ijvDAiopO6dqer6sRmqVzF+h+2trz/yol24mDf5CqUoUbT0RwXvvEA7MQtnIf4mUgVD7vdErjFi+rhrSAsWBCsJnY3wNGgVMZSBpZ3v4jotxE9P3kb90HjcTxPdWitasmx6XuvHBj7fHNRoF90CoMgRVIf6JryI9Da2fpP6WkVFbYihrMyUGR5RqMwfRIlKywfvqSHbnSx9n2zvGuqtNdZ0M1T 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)(82310400017)(1800799015);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 08:04:48.6407 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c3dd47df-014b-48dc-0293-08dc7aff04af 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: SG2PEPF000B66CB.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY0PR04MB6520 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_010502_567831_0261213A X-CRM114-Status: UNSURE ( 7.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 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 08:03:22 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: 13671398 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 965A6C25B75 for ; Thu, 23 May 2024 08:06:14 +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=eT6fQNVMy293VZ FZP3tbFwLoYfiuV2u7m6bI15fPa2ArwA6sYp+2IbC0gDU3x5kER8ebKN4DNpKWILSqmPI3Iw17aCd Rs22AYa6KgO5fRkffNZexFU14+XdP18rmBXeGJAY/rVx1IyeBtkXFPvWKV2nw4Rm9aqgfk0pVlBkN fqrmr3+THCtkl0Ru8BUU63zBIxUxy4j75GwlcDo1avmrplw0lHgnfSLP968O4ymQyu57pgslzat+p 1xc+iXLpnvRDC5fULIhPjJaff+ufTd3lBn1Ih4nvN3RhBDqZIKr4UoGaFWwUYQJBAwkwXBhFh1Jpf mre22uf84o5HwUsayrMQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3SX-00000005S0i-24BB; Thu, 23 May 2024 08:05:57 +0000 Received: from mail-sgaapc01on20617.outbound.protection.outlook.com ([2a01:111:f400:feab::617] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3Rb-00000005RNG-38ka for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 08:05:01 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GiR8bNdG9MjWd4ojT0X9SEh7mv4AyLQpAbmntMTUeAj3ikqGXEjEb/kG3btn6cn4KBA8AYtBwQZ4DMYPTHZOSv9P5/iLfIkOvWuymYsUKtIkyfcnm+yldfECgDHNS3l/vDwmt83WWK6yZcAxm7K/1HFBF82TwbXmjnx6iVr11baxBmUUnPMwOoGnqdpb1fYdc/xWXBCwvBzje8A4JvMMOl9XjAUMes4a5YkvRHhnYh1bnM/CNTiczm4NpEVan/6LosH3IXJ6O9kSnD+IWR5zTGDjVj68uWn80g5pRbvG3fC52Aktirl8qR91WCmLBocbZAb+YaM4txAzzOO5Ar9cUA== 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=aSOFk7FMKEBSZ/n2K77jnlvlEV+oBVzjDZ0UGqNye2gbDTUKYdM7sd1Ugxx2Nkv9EGUaxJq4sZNG860NDp9cSR1TQZBy30a6bo0SVJqbs6BK+9nGHS2G2jah/bSYA7KUnnlSumz0hoLxtUszy73AXcZtCwn5EukR1j4rDS7HPfva/ZxqJU997jhQmjnkb3BMWq+Y6UjaRIlPpX+g7zZR38bLYjK3hmXbg9IDth2ToQQYiwoj5pv+vX4VutELXMYEgkpHRfjmVuMNqRQsU3eff3/FqwGalnNfW16AiLlS0lCN3HAxP745Kbo2oBoZZ794A3Egimo4FRc2fVIsS2SaOQ== 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=aACE/E7lR0YeUopZiDswHUYBYZFGXaik8UAnlR9ndaMtU6agfF9muxWIDg3O1/xeCuki2iV+lwoONKDM54mlJig1aHKw+80Qge2B0KwSedaHxhI/E9FzJy0Ky3bIIDo1FM6xwMfwkxVdxDjhI5Hdrc+9Mm0xXICf8/tHcllyBH/L5vGtTXwm9joAbRCfqO0egsDt/da3NJuXag6HlX3Veu1t/oQqnc7QP0m5j8pCulsY+7cSlIMzCs6lwlYjA0mnylmMjyAfT6kWQfaCicr2zvlRfv6ScCnIZpvvYXqfBFDHt9bzoCltXcbLpVOgEA/ulw64W11ejY7HNCtud6YmgA== Received: from SG2PR04CA0174.apcprd04.prod.outlook.com (2603:1096:4::36) by SG2PR04MB5915.apcprd04.prod.outlook.com (2603:1096:4:1d7::7) 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 08:04:53 +0000 Received: from SG2PEPF000B66CB.apcprd03.prod.outlook.com (2603:1096:4:0:cafe::cb) by SG2PR04CA0174.outlook.office365.com (2603:1096:4::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.22 via Frontend Transport; Thu, 23 May 2024 08:04:52 +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 SG2PEPF000B66CB.mail.protection.outlook.com (10.167.240.24) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 08:04: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 17/23] ARM: dts: aspeed: yosemite4: Revise mx31790 fan tach config Date: Thu, 23 May 2024 16:03:22 +0800 Message-Id: <20240523080330.1860074-18-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66CB:EE_|SG2PR04MB5915:EE_ X-MS-Office365-Filtering-Correlation-Id: 38ff4cef-f486-456e-2575-08dc7aff06d8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|7416005|36860700004|376005|82310400017; X-Microsoft-Antispam-Message-Info: Bkzypt5PjO4lIETMlyX5QkCkhx5aOfJIYV4eZ00WcZKwo3jjmKcBw3/hjHnvV85zqBCk3ptG5mTIvQo7YCT1B26fVPVV6Y3z/X6Mp8OK5RoBVGhk3jPaiVNfcXmEXbppbz+jF5PgJpZeVBhSkMAS8s/wxr6Ygwajh/0c7sOR4GrFEidd9/12xEaE8QfS9RMImRVvtjixvznWjN9ow8jmD0cuK4xnm0SqjFdHK04JDs+CATvwzye/rm/m0B50iKZ2GEK62fDO1wqvl9KZL6J84V5KGDVfXERSEFuhekP8suBHrp9Ugj0CWm9hnIXhMBTzEL6pqLds20UT1oNacQIZ64LapjnU8NpFgrVQOaT3q0d58tUpeO9hCB8wkXijH5ced06rBwbJV19AY3Y+1qpHDkVexhjhcpnv/TinUrsb7GXHjsCmXYnMCT0IMJIxAw8soRJowJiA1trMZ+GRQ42/j3y+BKtUPdDhlpmX7K7fI7GQQd5oA9jXTSd1DmiEHa8Otx6VLNXWFGBKA8Sowy7wmrGUeJi8bqDBzRUKNi2Sa+r6tT127PxMOlOy/YHadL7N96eeoMCDD/n5CRjui9LPnx7Btwtfq9P9t/k6FRmXkOzWei7ejhGD5OyVJB9wdR8aEiyvCHX9fvYfEQYZa5vseDWreOB8JpdWoRt1s33EpTrEWw6p28oFV56TkOl6KrPNlsBnsiWkKpssT8inbvXmYtXtrsb8GD4ue3tpXH79QhuCDxqmzZROyq6/+6qaGEwgPQgblIge3+Tj3CATfZOaxk50+xyjJrmaEwvK/z97haSu5nB7+pJI7ZtY4K2F5yImC8ao/q4Nd6RaisT+jZDiNe6otVR1gs1Rgj3A4BwetKqLFYxyayqYv+QhT3Z3dXHYkW4QhQVr3k+SWxu8twH2Vr7GdGECP0AerxRWdZOB9+Eh8FkEIIzl9gilxJja1md8y4EkBZcnazHDmQK2FXDYBHlmFtzMsrTIC0ENGU3lxBZNbNtDP7VEoPmXKWbhhyXt+dZqmY4u1RqnHxhgMYBXaVKwSQGw9gD0nSE0YI814xo9uC6VNHychKVAWJrJt5CTX5/vxgxUBIXPI9QInq01pi748D8yjCyoSPJJgc7hqs6IFjOtkD1apwlpaXGvNsewCsE5JJzgnng5acM9DLeh0Ze38PtZmSdzq9l/V1025kKt1oO7pbl5cjh/ym1p1TVihg0Uwx5aI5yB8DwwIkXm9e7iNvtoCnlg5FpiLUqp5G7gfEEVNKp67OJfnoxvo2RFSS3eWK0q4d8QMcHK62waru8k0ZT4o6xSIlLJCVffBrQUvMqsWHcTAYWgrHNDUblfIJBzWAsGwLmzkWcnIOExJoAH5QrJcBHYIDnOfYNVItj2YbLYWdMSvBkJUm59uTX7 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)(7416005)(36860700004)(376005)(82310400017);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 08:04:52.3283 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 38ff4cef-f486-456e-2575-08dc7aff06d8 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: SG2PEPF000B66CB.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR04MB5915 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_010459_841443_3E88ABB4 X-CRM114-Status: UNSURE ( 8.89 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 08:03:23 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: 13671400 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 449BDC25B79 for ; Thu, 23 May 2024 08:06: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=4ostU3iOHkicgl2deozrrcRUMDjKiksjjcs+kYT4QwM=; b=ur6msChcFKgV4L mv+W0TIrjPnblmej2Yaoz02qodVW6qTlrsGQvxgdCYY5aPr27o2NK42/Chm2n93xwUCKNHD2GjYH1 b2fhRWbBgMyEnwpOH5hGvbPIFUyh4PXceo6p+MHmPiFS4EkbrezVVQA1Mz+PLD5oi8K/HylGlNpEO lHOCw9Ox4gEA4oMPABNMgq9vt6woeH8n+DTR7UmNbHIlrM+57/EGk+K00rVVtK5zep781+TRCnWYr cp1IVo6FCmT6CZQzOAMPQVI/kT1wcxFdgqMi6rmxdI6wfYxGSsNcHbodsZAT3Wdwy7mETR/G1ON7s KgDTTkzPvZKLwW4wjbTg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3Si-00000005S9Y-03IP; Thu, 23 May 2024 08:06:08 +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 1sA3Rk-00000005RRj-0eMj for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 08:05:10 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Su15oM1H6/e9WLyjPlxU2PitYlzkKE2dYe1q8sV5WMb/bM4G6EonZeA7DAmNX93/w42H9o/B5RRSkCffrfJqrWputI4i82OcVhogrxeiQ/ZP348G/SCjji84+xikKuCpxKqpYM7ft8tt9MoK1XxI/t9ScIO8W6K5L+hJyR2SUAZl8F5dIpzk3feSLE7viSOMaNkGcqS2dvIA6fljAFVDX/8IFPsMqyVoGCuBRx15MBwCaHFVqBQMG9HPTdk141EOHBKfluYW9GT8JLKdJNA/SmG/AsOMLJeYLYe7Xv+oOPoLTcHhqS90kI6KF5CnrzVJ88YA1nAgMWsM2NgUIkBOiA== 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=OCk/FN5YJ2MIyShqrrWVewhuRo1PY8fwv2OVT6ms+3V06awFrYM8G9NwAfYPpV7lyKWMlpD5C+6Ub+cA1jFAkcVRoTld5XnvmMCX37sqsxp4NYUTvGAA6NpKJQlJkUcLVS3UUzcLerMX8qZQtuAI56dcg3j1rdJuPN449VJMZF2KyRSYd2dKh850fQHWlCMY/1pMKGQ079MxRs85BKWvgTf+NVsWmYlkHsev5heuue8/E9JQWpsqQh6ClC2x3FZClKWvnNPpON0rAaLOlIod4WzeiRAwwaHrWqdbeXXerU3UvlROLgxggGx/yZNbtyPAzmgewsSZoe0/GW6IxlCyRg== 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=mtJtzaHa4A1Gm89Axy3J1/MQLvsd2hZt7sysYowBjNuWUP4jY3/nUA/bmErNBlK3OUbK5OBEygGWQztxYTK/TAaRKhQ71GUaGDgz0ffRqGPxY8KG58cgdGoD9mRuRwwvVuyjyoQtWxq9TvIUTLcXnV4neVku8UyFbJ4vx9gtsl90Wq3zaek7JZrIOOf5qcW22GtOIAG/FQijIEz+WWvi4XxKsLCea0utXnUftfFmcNtYdzO/2A7WrNj1fCcIE8765JOkorZN4Gb6y5d8zMbal+Bf+7SBKB94tUUQ+MnOeEPch+9fZk+Cmwz0wMTGaq+H2IlhTlHoXMi3e87ZS6Is0A== Received: from SG2PR04CA0158.apcprd04.prod.outlook.com (2603:1096:4::20) by TYSPR04MB8338.apcprd04.prod.outlook.com (2603:1096:405:bd::7) 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 08:04:56 +0000 Received: from SG2PEPF000B66CB.apcprd03.prod.outlook.com (2603:1096:4:0:cafe::18) by SG2PR04CA0158.outlook.office365.com (2603:1096:4::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.22 via Frontend Transport; Thu, 23 May 2024 08:04: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 SG2PEPF000B66CB.mail.protection.outlook.com (10.167.240.24) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 08:04: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 18/23] ARM: dts: aspeed: yosemite4: add mctp config for NIC Date: Thu, 23 May 2024 16:03:23 +0800 Message-Id: <20240523080330.1860074-19-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66CB:EE_|TYSPR04MB8338:EE_ X-MS-Office365-Filtering-Correlation-Id: 04b767b3-d6ad-4b5b-ea58-08dc7aff08a1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|36860700004|376005|7416005|82310400017; X-Microsoft-Antispam-Message-Info: l8iRdh12BtPcVugd/6dsvHNJSnSecpkc4VmFBfJexgYFoysA4NJgFksZZO7ktdCzMW9EG0/8cZne1b0ypI7m3fSacgcKtCl6X5tdGcQswmgyaKpsvNYT/QRziyY1JP4PzesjGviB5nxAfkUf6U3UAJgX+xwAiZsAjXx44+Fhh1SB/GsLd1RtAkb9ZD6fK1blXlKD1A2Mrc0ygq/j/xBt7CRsnM/wquSM+lSKHVQl0l3JM9uyswJqm9cOK4Atd5kClPuL+OPhqk1heqR91BXnensPIM9fqq0P9Etv1z/Pb6qs60Cy5Mi9Ygep3Ir1prjw2Yn+DHs25l6+t6717ETUHWBtBpi6FmAOU2cN6b0IUbTfGGUWUGmLOrMMOoujZGH/GuiCge1Ya7xO1H8JYFZVhzRKBO7280kbkE10/39AMjvXCgEDQxqaGpqbglVylYDpCng50ywWfhEQEa1nmLmEin0TwTpRKSbfUW2fV6+UzZGZg/I+ccJIBuQbaALLHeyS2taxNpS3hlxZsn4cDpowdXJLP2ZDqeFMn83Ll4Xcf4Wi28TXoLk7+IBlLL3KLPG3nz+QdrGxxw7zfW/jpePy+BWoGHFjOxr1W12UVq7hC22PSopFv9v9JB4YVmm+jeUcopXO3zxRE2SM54Iu9+rD9wv48HsMSZzKKuNa+FfX/+bQjVem9T0985LBTtBKEY0Esf2vOp2mM1Jff673oAMbq/9aM9ed60ckwcC7/CWF6W8G3/MzREn2dWZClMSHYhUuvk/r1TOGFhmI0/C8h+4gCuF5tiQVJBoZ0W24rBrpZAEWSYnCtIL8lYCwKxE2H8S5K0mPJSH9LweHAEPWZcr5mPOh9Y5eAZvsiN04rO7p63RmNu7ynQOyNLSerzVZ3OxQWpM55iR7VqjuC3bpBfCZqgBCUGtQeG3g5j85k5sNI2EeL8KqSFBdr2cPheB5v/qon+PVNmoLiNa4JYsjtx/s3m64K9gECGcY9P106+Pgc1EmYvDT9vQCtB2eKyxvZNrBarDbK7Cc3p6p7fLhes4VWdtzisy0nDvy0PeGc5BBAfBTN6gZbnSyp8yOw3Xn3Td3PeLnIVVdob+aar0jUbmc7unwvkUpIAbCAOupBuEOBrwvR3mWe9kz2wtdNDZYVo+KuW6qtDPnveJT1hX5p48aFHUi2AA5+8Zoi6NpK0MEbdVGNlftzc6CAgVwfXQa56V02FrstZzxaCil6I5n3UWkUOukLuugxzfHzmQiN7SUwIkiGI5S3U5lv8EkPrSis1M47W5nC973V1PzZ/i0xtI3BVPd10YbcdzT9065cl3ZZ4YXSEpXm76Pre+mQrRyknp4z0Ej3OUiEmxyFExKh8QWr1kfHgDiShuY+9qOYixCZ5IGLWNdl8A02ehKDjVMcnA6 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)(7416005)(82310400017);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 08:04:55.3127 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 04b767b3-d6ad-4b5b-ea58-08dc7aff08a1 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: SG2PEPF000B66CB.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYSPR04MB8338 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_010508_268163_84FD3989 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 08:03:24 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: 13671401 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 EB893C25B75 for ; Thu, 23 May 2024 08:06: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=vW3K+Y0WeIwoldkomkbto96LnYjZf9ptPaij/spOyhA=; b=LeBBiz0c4Z2/ti moe5XJ0XUwLt0aufqsIjkivPjcpDrqlio9ACsppp22XtEUhlM/nR9CN7jsCZyi54+Vzf8dhTrnKwm Mm4xAEsjtly5m9xLikQ1kG9LfTVIHCOwPWqqgOps9KvLBvgi3CTG1Nhgd8tCzz+Z90iMTM4jrW1oz fwYfRVP2hCj6mmJe9OWzTE/DaVlpVHNXh3J8bAqDgzVqU2mneZ7Eteza0i6VUiditigqDz2rInsKr dlVO6QV3TOtan2sl+MTyVtyqwZsUSdqBLOfE4ood0oLCvP+IC0+hcUsYG4VkVW4okPhNBcpgEuGw+ xCApo4upJmZpgh8Uww6w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3Sm-00000005SCc-1ClJ; Thu, 23 May 2024 08:06:12 +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 1sA3Rm-00000005RSt-18YD for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 08:05:12 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Fw5+FmCCzi+3QNC5WRo8mTT5z5bSEY6BaGuva/k91tYgk3iSx13Qrr9T1zdwWdpWdCFcyobtjfEOrB6oy806VJDiXoRO2+VMlrE4rSnZWOh5IsEysQ24CCHbOOvxXSHQh9FIHIckC/sEkhcD01BrQBUwb+Z/UnR1722wrw7nqNKiS8HYFx2M+FnDhu0bmRAQJpTqXdDy1Q8ZTIzxEi/VFKCOknE62V9yPqGs/M3yCRjLFNJ+/+LwHlou//V+n/Jo3LzosPjm2fm2QnwB/Ow9Db2lzn8uV+Dy4Gt5Q34BOYo/TcSBpiBVubzGjVTAb4SSIpLeq1VTzEWLwCTIvtLWtg== 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=KqucQJsYv0CjpbrkYf5Omt96zhPC4UHyoKTvL+jWbOx3kiab6AElowF1rmmCxHzCuRhHTGAOIfr3Kh1qI20nnEk6YHI15wS8llmn0rW3+X+Ga5B/qOUxpnRFTYHO3bIx5qiKNv3MRxWjB90OjgMzuVe0wJiuGQzda1tct6o5JkP1iOQWMB5dvy44H0J4t4Tpmno5KJZdnTAmMap2IOwL1kvjks0LOBvDg4wZOOspVFgRpiW/aAkAPTHD1/CXLTbRfopaq3lya9iXYN5ts+B8VccTY6gboL9E+8Ph24c4bMcOzgsvboZdvbgebfc8b/hdMys2o0rtIu3q0WbE0iNm8w== 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=bSBL/wk1hjKogOUn69YxPogxyPlLnH7NLzh0G4fy/u22sR0seihqR+D8himJyYo2bxKMTgRBkukPBDFzIWcCam2cdHXdJ/IqKHya1S2ClL3qCkM+zo0hXL6GoFwvxz8lVLNZsOXnr3jN87DQR5/swF+DUpFA525foWG4pTlldSQIBw+/WDZq5zxblryDbaDJuaH3M/9uV7M3ArjXcIufAf1dXksaM7UeePi4Dhwb/a6by2XLebvWlU/sraoeExJqQiW94MbfhEmDNq/ZnKbFyoBY/9jMFs0R+mRCDGmx8dQVRZ+giGQ2Ij9X6MqSfFnPgj34agwjdL8rqN8D2Dfp3A== Received: from SG2PR04CA0151.apcprd04.prod.outlook.com (2603:1096:4::13) by SEZPR04MB6874.apcprd04.prod.outlook.com (2603:1096:101:e7::9) 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 08:05:01 +0000 Received: from SG2PEPF000B66CB.apcprd03.prod.outlook.com (2603:1096:4:0:cafe::3) by SG2PR04CA0151.outlook.office365.com (2603:1096:4::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.21 via Frontend Transport; Thu, 23 May 2024 08:05:01 +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 SG2PEPF000B66CB.mail.protection.outlook.com (10.167.240.24) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 08:05:00 +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 16:03:24 +0800 Message-Id: <20240523080330.1860074-20-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66CB:EE_|SEZPR04MB6874:EE_ X-MS-Office365-Filtering-Correlation-Id: 026daf43-558e-47e4-a01a-08dc7aff0bc0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|82310400017|1800799015|36860700004|7416005|376005; X-Microsoft-Antispam-Message-Info: 5JBuktmbbEE8SCC46ciczCE1tyGhHMc62c2yx8akVgDA31Z7T9hEWjiA+cNhII9iweoZlQcJ+l+o0zQC+0sTag0ZWDuphj0YxCnbQXZaRPS1Flh3qH8aHtFLboPCxiuEfEAO3xVa+f8tnFCGB1wvhAi/Os4EDE9DSBldbIHwWGsf0K7wbv5I5RDXx+NXk5laEmGZ0dwF10qs9F8/4uKup0Zv+CjzRoN1Lvhn4YvfzmCbQ3bqmb8UkBSNgl6jGqIvRgCbr5hrWwAAUAZOscv8yK0RSdiZEkCPnaYDlaJuxfbm9PIkVAyjO1UnDOOntWR9ksCaFSPDPyhdPLl7m52pQqrdsorbcG2ldcL4wpDnqwf3+NNj1LL6PCAsFOUMjzS/CQil6j46T1TWgzm1zxwrvSAlK6LMAzDlCU7I0vLMoPwpztAaXpoQJ7fZL6y8AetSSYOcItcP/qdtUhqKSShT0VhRSHWA9NWxR/LOb6jCQy7OEYs0O/GmuBiiEMYJGHDfqL2quvY9oaprPVc6WuqB+4mi9yR/BxbIrf2Qyg7a6SCP2ihLd/MRvQjFdLUaM42uSE3+xHki4L1x0oC9nhbmngEipOK/Zcg/t8xqtyOYnrschdiifKrahphuWqSfogaEkhMSf5FqkSZGLiMMwdfGcfgeivibHRlMdvOVUZauyN2rhDrp6XOCWp2KbDL7El/UP3tS9fbSMnyZcgaIf/pcuRm8oyNB9W1LX6dyRe6pRS/Q/kgIm43JABRIeFy6t/RHGcorrFjXcbptY/JNiqDc8QrV0Lb0yvQSa4TGUpxJWeohOmPPId8HdSjJG3Bq9YkVllCQXEUVicO2j3lDXQh5ao34/ZFg2kEZ8ZRYo3FQS022vrQR3HwaNLmEk109nKn19v5KfGNv9/cKFe3arQu4LO9xPmou43OJcD+dA7BFYv9oYl1Xapc2qySe8u8o8t2SwEJp7NQp7BkK4xGdQVV4QB03nKABxeDRMhhkhdh1Y/N/MdJ6BaiL8b+4gH4g8Hpdg/pFg2Pa35igB1iN58J0553so46lOFLpS4T8VHYh0fifU2AiwvRnPcgDmO2y7mNNViy0UU3cg+kqKVME610pOeEUS/IJZ3+A/nZzMbW0E2t3gK2jLQ1cWLcqwC3w2QqcGKYva7oJKMLuzn4GI+jnwwYCp55obpPKF9TQDSIfBius7/rRvEFQOcv6U7VAbBAHoo249fwMXZjeNLFuaEywTEVqgACwmb4MwEAgW1nI9f0xcR9zmV9u7ZehKD6oTkUc6qa/mLVE2JjZE78Th6GFGRJn/omqLnPUq3zWwCh2kpAo0a4w/fgU7umghg2ghhUrT5iG1ftc4KDk6REpO5DXXJM48xmF5MTS8HpjJ9KSm6eTvlUXWgwDI8wjojO8yRgY 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)(36860700004)(7416005)(376005);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 08:05:00.5627 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 026daf43-558e-47e4-a01a-08dc7aff0bc0 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: SG2PEPF000B66CB.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR04MB6874 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_010510_517979_B7FDEB48 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 08:03:25 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: 13671408 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 E2A23C25B7A for ; Thu, 23 May 2024 08:06:33 +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=P2hFduvRiek50+ aD0UWq/nlWOyHpK5pkNwJwdfFNZoM1kUHOPH1xHSEjgeNsysPmfndl/lR7GIfVI3VY4Qo6g4lURdg JgNEbBwLuuN0nkgcrrUYQuVZuDqM0dAXxlQjVZ7dhKRHXrz2TbUdgY0CDWmVgE0xLtANZGLZN/RNo unYg1xz+BvsX5bA/W1PkyKYf9R2vDOHeWCRwRGVt/mDxWyLY0pjgWk4aVgk4gxc2DlVejpLMQGaUa UsPwvV/dC5WE/DpY+IIimEKewjv61muE+6gY1neID3mlPyiRiYs71s6Ht9Cn6vND+JNyXcikr5YQO 9Xdz++NJJPTqrV/g1nmg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3Sq-00000005SGI-3yHl; Thu, 23 May 2024 08:06:16 +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 1sA3Rp-00000005RUS-1pzu for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 08:05:17 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fPpS8J9TXV1I/QQ3S8fFVD4nqrBAULxzco645QgGLYki7fXppoSQK6Q6E4iqlej2vP9qothEjsNgqhMm8B7kH7MaoNT39QjJo/wh/sEFC+F7efCr3ExhFSjK/OjHIuDqbv+qWGaVSB6zMPBUiQa/NuyEfpyH1UCFJY1KoZxRlJ27gyltwda7hvhcxqjSM49YIFH+qNVIPdfm5hTPQRXbvFSc0tE33E5chz9025tFWVPUaFD+zeD+EcwouWAyKmb9RqH1cL4fSPUEgZBf/JgN7wPhheiE++4yAGJ1QLEwIAyGqUEWmmFYTdd3w2bWUHHoBqjRWgpR54ZIyNyUuJgkIQ== 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=Og9CIW0fpuuyI+eqYQOxy3E0NnBI8VGG/D/DD2dUkqvztFuaXehjqSFjE4VhR0Cu871JbpKyhRkN/ltOIEV4MUY0+SQy5TSJQml81u3rWnvM7FLUvQfJb3QvK85GCvA+CCW2uy0ez/L7T9qoj8yzAM3tv3Go5ZRZXUc91ZqrxkMqKGaQAP9Z2w4XIl5B9sPwGO0lbOZqPtUHGFdK0SdUu+I7t0zMJJL7GP+p15cnMf46zvc3BDWqc2wDn06dJX4N08XRWcFCtvhq/z52RiP7rO63rc4JFGQVJZcNAudE55GGg5GwYFlMV5BRxRBlVzU4TqI8DoaM27R3e/JU2uFfgg== 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=goewM5vvC8WIDrhr8ONq901vZs5a1hn6m2aHkQln8ZR2NrWr+4QEDex/pEOiAbRb5zMDYfEVSIqrAi40dZygn7rpanB3GFMzcO2Z3DrVJNqIpJsOZ/q7wKFoLkgXIGKk1M8TZt9L8ecYmevNdJZixA9r3NJNT8Jun1Kl/gi4n7P6g3c5Yp1pBbJDH2IIZpBNWvWpvWBHHCiZzQ1uevm2/1xEXKyR7OMG0TgRYGWw6zVG1bLBb/ZGPDB/Ub0OR2fwXeN6dj8JhWBBEAP9Cl65oDrzXWaLkTm/NByvtOdaxZWgnHJmmWvXP5hABwF1GFVsVE0ZHAzVMX8hkZqlwVRd5A== Received: from SG2PR04CA0157.apcprd04.prod.outlook.com (2603:1096:4::19) by TYZPR04MB7334.apcprd04.prod.outlook.com (2603:1096:405:23::13) 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 08:05:05 +0000 Received: from SG2PEPF000B66CB.apcprd03.prod.outlook.com (2603:1096:4:0:cafe::e6) by SG2PR04CA0157.outlook.office365.com (2603:1096:4::19) 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 08:05: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 SG2PEPF000B66CB.mail.protection.outlook.com (10.167.240.24) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 08:05: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 20/23] ARM: dts: aspeed: yosemite4: support medusa board adc sensors Date: Thu, 23 May 2024 16:03:25 +0800 Message-Id: <20240523080330.1860074-21-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66CB:EE_|TYZPR04MB7334:EE_ X-MS-Office365-Filtering-Correlation-Id: df842ad2-2b09-4a21-4f50-08dc7aff0e12 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|82310400017|7416005|1800799015|36860700004; X-Microsoft-Antispam-Message-Info: eIN/4IlmtiEIMmXO42wwcRK51TXYC6pY33449jgeBVe2RAJu6yQx7sjn0faiGESy+/oGfT0NeHn01FpV3ZwODaxZbd7aWjOzTWgDJvemK5bFIDTP7xZJVYYRQA51sONclaNqHuhyZ7jDFQHwVmvy3Xcuqb3Ezf1oPuBIxttBjqFIVgrNPhxwWchDXsGAFT29yMScyYcVQd6zHYRiaubS3RqJuJBreSJujELSfazmvbWxjzu9qye+yGCbK6fbuuFXcQdsOsMH9tp5Yl5bICB3ololplDklJBq1xLszbtiymGm0ZWOB0AevfdG2CnlMPil5THIV31jIDoT9VI9gh1LyAXNqi04xTowk7QJRttcPx1Lh6onrn6Pq6y8kI8NgCJItSVOnG62kLxSuvF0UhQvPgthoS4uiEut7IzSZCVoDifEGSVu6VJhsqDkEY4SbsN7u9vD26akZGJ/PXMhNb6bTN1ilMfMUj1C5Tj+Q12jEOxbaXj1w8LUHONQNlX23+Gk30GMSf6VcQIx0dxOM+SGubzG8jVlocJgd7hBUaCZyhfO8B6ZhFbPY1mQ1zfDdTYrurFUgWqNdCEf5zD6TYwBga8v48mFXIyg+pqQAtLrE7McG8kh8cLiSJOos8F+Ng/2x4Uv6JIAfiLiHuRW363lxOkktcqqNmm09UlCAyXL7fHKnhWwOI6BE5uENyeXxUeKKdmoPScNlxq06T9XmTkJ2FXyskKvNWbrSd+yc1P8nG6pps/NFTtloeHH7pkP2hzKZUZ881zLetuq7Lkr3dyrf9RwrEmjmlsked8/c5sjXrU65PKlTvX5wyrqZxqYonpc8flFc36G1gJvhOWLi/sc2YMRL/8chWSUaj9Y/mQn6O5wfEKnM6ecLMxEoFiv7UMwsUsqRzIMm8hPzUkO0N7Kdaj+RySPdUz095ViTiQLItu8T3JM3yqMjVfqcYMKOl5jPFBHvmWdEDpv5pSDX63oZ64hHjMpoPCWYasyY8OYUshua6xnjh+aidmoSzw5LYF0/Cy7ZcFe/1RDG5MaKC6il9u6DJXVx5ageXzY+nR6vrPMPx6LdmXvBYvKp0j3cqp6j95a0f/fMRVZYlQfy4hpAukTRF6dn5EhmT7JnrKaEkR3WdA/gCDp9arttOXbQztO1jgk9kblWLUhkKA7efV/kXwUFyh3Sh0suRhkx3AT5mjyLkr61sUNDKkFOS9DJEVKEG5OJk0sXmtYlf1ezPTGka06f9pF8M5zburmG+KmhDk8OFMk1tCV/Tm717IvMDdkHm/WjN10j1riVIyq94bDiJ8rjzMek+9SStgk5ZE8nLlWdY4uOeAXHsZv/VOgfZpo0AoR72DrTit4dVr/mXz/mvNp0WtDwzgwsyOETWvCTXo+IuePhCND4ThhIAqhSg8n 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)(82310400017)(7416005)(1800799015)(36860700004);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 08:05:04.4534 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: df842ad2-2b09-4a21-4f50-08dc7aff0e12 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: SG2PEPF000B66CB.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB7334 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_010513_676177_53584471 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 08:03:26 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: 13671409 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 618B7C25B7A for ; Thu, 23 May 2024 08:06:38 +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=Y8LqkAc550nbTQ cq1rauNOEctPGjvKssyi01KLh1EsrBE0hvhxC4r0ia2GJz6/sbyDH+YYkGdvfoo+zyvvis8mJJBu6 8H3SfYK1y4K0FacJ8SccUSd12ZCT9zLQmnHPetW0ZMDNGhOPcOti4eXxt0lgooIMyZ1qZgqsRXpKf EFkNCPbCqGDcAxmHPbMf3CyjEH8DDFRH42BLNL1e796EJi43anWBrWQRv/HbkBMTM6auVYZK38ubv CMrqXxJ0zL07GcJF97x65X2z/uWf+C8/Wy4prdQkN/AZxES5hAD1+ASN0sOiudZNUFNmQ94P217zw gbdbrjn8Fd6cDU5LSquw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3Su-00000005SK9-41CK; Thu, 23 May 2024 08:06:21 +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 1sA3Rs-00000005RWo-2CtF for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 08:05:21 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Hn4r1qHU8BOF6BRjvEPYD94QDEbRWSCHD5lWi//oPXjc3CmKY3/Ws+Uc9uFM5STUc1kEvyXsESI1n+QuO+XLmV2ZTF0mziDQNFcioX86RNzWwJfMHFOU3lT/2H+d80SH4wJf7qnQxHfaDNI1hXNeaYRIAZhq/kC673U18Q+AVJajG8cOsjPX2UZmtpmNHbvvwaJNdNTCormhQDFrtA/aYOdlVtJH+OJOET/Hp7NNbSJF8fIl4NO2Bk/y+L+1/9QS5ePkpBspMvDymIQhHSEAc8o8ZNRP2o+ck6rOU9t10V6sgoyP7BPeGAiTTVxcru2UAASgimaOSUwlFfvZuPrq4g== 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=jvy/oMV5t3LVGHsYY+r6JO8iisOxHQEIivcG05jo8Tr5EoVGEtszye+lXsy/X4lFJAyMUTWzHyvqfkBZIcoqZzKXVbflQhbSkgKhkNYw9QNKKMRENpWxDCKgvE9hKiBj1pE9dO41r/wORUnIpZ9mdQh+x6vbUFh5ekTAfIFvaX7TrUHMb90lPDv9z07hTd6VuhOvthPvZ/liiNce7bugCh23jOy6E0NupHnGPDEcKQzD2ffjtSjs5cQaMVaiobY54WbVIIuI3rdfyA7j2Z4wTvkzN/1YwzWTVjIRGcOl8T1rtv5s2zMehqlP7NwmmIm1YCOGRK2wp1K6726Vztiqmg== 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=Op0gQTWSyi7kAUt8ZfhPYgMN0J/uW/Jq+oBwrjb7ToKWm14TjyG8/DjrovFmf80NbkG/DVo9vmuypMBIeon/oMpVIJ1xAU9zaH6+FCjNuXuJ3W002JT9b5lhYEp8+mS2nBETZFsPB3m/+oH6UAogrX6VktE6U8pkvzN8al1UY/34rjJJ2Xh7HNZGWXWm+fvjGsJ0XWMxBqUxFbwosJQehbJQ1Tl3tmgfxnPp1f8XP3tIDAFyUIfVVE5Qw6IZ20Q2P2WoDpLksaeEsJ1qhoN6eHc30BDBUpRTqFM2PsFNrwD2GAajmw6kb8Jo0+Bi+0QVCvcif4c/5nPWeanMGefrkA== Received: from SG2PR04CA0170.apcprd04.prod.outlook.com (2603:1096:4::32) by SI6PR04MB7956.apcprd04.prod.outlook.com (2603:1096:4:246::9) 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 08:05:09 +0000 Received: from SG2PEPF000B66CB.apcprd03.prod.outlook.com (2603:1096:4:0:cafe::b5) by SG2PR04CA0170.outlook.office365.com (2603:1096:4::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.22 via Frontend Transport; Thu, 23 May 2024 08:05:09 +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 SG2PEPF000B66CB.mail.protection.outlook.com (10.167.240.24) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 08:05:08 +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 16:03:26 +0800 Message-Id: <20240523080330.1860074-22-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66CB:EE_|SI6PR04MB7956:EE_ X-MS-Office365-Filtering-Correlation-Id: ed0615d7-ed20-464d-cdbc-08dc7aff107b 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: s8GoxVSaVouauDKA7CSYH/KK605nFAsFpBWDEf6FoxDTPzer4q1VrNrVQm1B0S7cLopotnhNldM/d0tSiIwEhfi1x+oE6Tnfd/XRFGqgcOM2R2+HSxnQO5E+VZXmFR6Cvfita5o/grST3uQ+MFOx9RV8156PVliahxFh3VHvuEqj//2xrQlNZ5SwqOWIjFEGnfREevngWjpASQoILY88BVzkgcC1ieensPeOIfxqNMpslt+pMz6fLCmnTdrwNglKg1ifQhQQyt3Ji291SSXVQouqOF1AgebJw+W/KxmMpWJn/ZOkzxOFOQx7ZkKEnErPX4vLWlQXG0UcHe9mQHwJtPy460jQO+CLOlh/WuLFe9YIXOybyi2i5gWUQKLaeacagDY5IWdcmDQQ/WSYao8uPnu5vncBPDKhJupnvP7tDC8tYACpi/UVfM3fWEXC77p6q/5B7qYtr2UypTew7F50y9Ux2Vgw5Ty3Fd3UdZ2WWSh2FdlBppfis6UaNgikR72bwRvHrZ5sRv4snxUOWaRQyZiD9U9c4yYKjmSLGdVUeP/3SyW5YAA8r+5WRZ0QiuNlT1A+ImqdrHagwmJJH1aBB1U/3whdPp4cD6tbAUFATN0fxPXSw1ED2dhqXqdSPsMA1FQLGTwpLsQn3/sn166gvokvgPEhERzpiBvDbxbVD9PCCVgOQvJ/D4EeUkdaaUCK/XkUx2+zSPBxdYT1J2oQEbtgL1Xt+Y0mollciR1K9/MabAZa864Pk4PkM36UzaI/9GJaFHWgtcBpQqswyXt3Sv3mU/67EulEFWXyIqIFjXJK0u2G2G/CLqSDe3lI/ehG4RC2ylOz5GGnPr6r11LtSNeo98yXdy/lG3DscpHzJoh4Gl6KBU3CbV5w4tS9lfIfUB5igNv5bu3dny9brv7mU/WMn+XV0oSTNTjX2Nyo7rtQVfrG30NOfsGkaupPKR2SpbO5nUflFFa4s55vcwtX6grlGE0ypbM/ykZg9uIvnnrPs1uMx3GXEI2U8XvhSPjRyPa8Veye2vGwviVA5H1v9yNZ7Dh3D4ezYcb4iLnFMVMRA1oe8F1PnUhp0iYhDCEqLkh9YVKGWf9QCSJUGUjD7C5Hb0Sj2nJhf37Q8S97z5O+nXxCbc+v6Mu3U7gIoT5b7d1QsloLu8ErZ7xgW8V769wu/Z7LDlTx0aB3JSxWg59CCRzxXHeSZj/pptGJqE3YD5NfBZQy2uiN/rh1DgAEcYYgACyAc/dEQBf19Htr9VLmaHtGHy/tFFTtsM1ItPkLVYvnoNpY6gc3IbdQvaAxk9Tm/iFecC/e6EEoPeQF53BZJtzbHxO716uyJqXSNlMU+LCSaJoOdLFn8GDWCT2taZFwJGP8KK7Kkjyv3r0mP+ml1HasIcU7lc3CCnw9YuQk 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 08:05:08.1722 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ed0615d7-ed20-464d-cdbc-08dc7aff107b 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: SG2PEPF000B66CB.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SI6PR04MB7956 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_010516_792071_7AE33BFD 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 08:03:27 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: 13671410 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 6E4DCC25B75 for ; Thu, 23 May 2024 08:06:45 +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=brSwT6ew3Dx3+j 11i3NCsuF4D4li5bSuVadl9K/xP0SDAYCu+irhTmDHrmmQdzbgcOCm0a8fFTr3L2L/q3y+7oVxsQ0 LkAWqLPQ7WTk3nBjVSPdL+/HkkybltNN6wqnxMaty0Y4dZl8Odor+NY0kwGX84YEqzjKdT6JTjZ+S YlFwddOTyGTIOlsZCU6Ky3f0AKrtR3QgWKLCB2KHqYqsrexri0/qZBPmDZn4SDXID/A89/2oMMkVM wE3ghOTZkLVreTKYPUZJI3bld34kkb8emMNfW9kTusReSK5rADmsPAA9lHDy8vTmiK8vZpgzeVlWs +Fewv9qk8hVu5+zvonfw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3Sz-00000005SOW-2yI9; Thu, 23 May 2024 08:06:25 +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 1sA3Rt-00000005RXN-3AIm for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 08:05:22 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bPMYRB+jy1Hw+Prt+iIAmpNUWHBNZF5wxG0wSpKZSXFZS2qWH6vBiZJJNWdr20bMG2uybomh3ioIDzZ5fa6XYEA/BUlxoNYjCJjjAXg2DRIh0CZlGP7upuKNZqvzXdKFxNwwLimUrBk7SdhPYR7LcNuuxDSFqSzROdt/osplcHFfLsDzUyoUmYj0mmxaL59uLcOtIMXPm7N+V5hJQNLNt/Ez+ptsCG9+BTLhqLHObYIOIDi8YeOpmce0I2YktcGSTKbgvLolPY2zEedLeoooXYoEYm1xCkVC9X0u+8VkP2xAtjnCgq9GwAp/0+Me5ijh8TykgYYOUW68CRN3sTkVAA== 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=mmA8GgvWecwZpKeU0o2U38U/QXTiRJK6WJMDMCifaVS/6lUPrXRxu4qM9SD1cQxWZvW1kT+5uYlbV5GfG6x20xX3mzIuQCViiTEt/oC+9RRQAx66uosSpz2FRcqHmEh2xQWgFPHhT5G86rBQySIgXQpOmTdtEDcm/BjU7DLCXreJ7Y9DzmVg/B0xDsXwAAckUzjvGXV9hdHMpOEdT2o46PRQ+/XorUmQISHWHt8KdqyUo90GA38LuiZGch9I1ZbPWgGs/ZOxldJ1N84MDzJeEZlhausg9dTpg2WcjMNNwafvrvh7vnM9I53ifVYkStbTRuor4JHNpBk7QWtzSxffhg== 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=fMNMyMEK1Ajg5h9sxy9ProK6VyeDSRRSrT8m3ArjEUoJelLYswwzmE+LsgQf/eu36xJcnx+JSZCp7HujnQoogRtOvCmExeN9vfs8yQGKDt48zk8xZCSSxDjYswCnyw1G2Eu9cqc8v5DYEYk/hL1IjHRL4YOmUXHfWGDDajn0GdelnBDHpwK2Q2MvCq9OS8PA1CmLormsBeNdu5gEk6hw1lLTLy1VDVySuC9LxvzkPFZqm8KKv/LDVQVRawHC7JbjctLHIwYQNSygILp9vUr+Y/RBg+WFAWiW01ouST5Xc2JQJq8SKljMZRbmUoyOvnir8IlIMC8TTiVh6x6zzJKIOA== Received: from SG2PR04CA0172.apcprd04.prod.outlook.com (2603:1096:4::34) by SI2PR04MB5703.apcprd04.prod.outlook.com (2603:1096:4:1be::13) 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 08:05:12 +0000 Received: from SG2PEPF000B66CB.apcprd03.prod.outlook.com (2603:1096:4:0:cafe::1b) by SG2PR04CA0172.outlook.office365.com (2603:1096:4::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.22 via Frontend Transport; Thu, 23 May 2024 08:05:12 +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 SG2PEPF000B66CB.mail.protection.outlook.com (10.167.240.24) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 08:05:11 +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 16:03:27 +0800 Message-Id: <20240523080330.1860074-23-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66CB:EE_|SI2PR04MB5703:EE_ X-MS-Office365-Filtering-Correlation-Id: 900d1956-f601-4f31-90df-08dc7aff1264 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|82310400017|36860700004|7416005|1800799015; X-Microsoft-Antispam-Message-Info: 30R9VUnM2uqni7wScHQO6I0qlj583GKi8uQTRLaBHntrCOR+bO8/dH8OMQ3meLgD/nIBwFGTRgNJ7e8wHPLynRpBnIroWbHG4HuUKeUMX6rQiSX0OWE1q+PHaKxgGUglgjEmBhu4ChUWBV9VBoHpP7qBGLDoRivnGhSVp2ElGpFMU5FdLaaKkWac8Yx1VBlSMidPESKYtVD1Q7KnqMB8M+3dX7ah4X0pK8RvbMtG6VrQ++OiPOaYQ1G6rghZHD4zldjeTcmZf3sIOU8+yorfUE7DujyCFlS+H75r3dfymPdR1P+ZFQNodv7C1Yw90makkZFBQBnDdmhFBS4q4EreCxaP859RyPk4eAJn5HGduytKV8sjif5lwVdv13eFpG2Q0uI8XHbR1OWJ2EHRvUbKEluLslnOqKhTPBDblg9hvXVZ2S5Ff5RioOme0QhoQvatGxf1tq0AQnMESp/slPdU8UYZzW/tcTmGlgHOhbXdWA43sY/z2Y6LxB3hsEfueGAO3u/1EscixOgm3fjJRFNC7AyoBpFUBihfAFURE5r9OJJ4reYT7KZgEMq2VkojGuvlSWgNsIUdFgKy4/47TktwpmiOfn4yfyS+ygFaRCBlf1mqk5N0DBwMXANK2X0vwebu+YQKoj9K2MZbfa6OjS9l1d3YQe8U9ARUPKbQli2Y+vE6jndaCCz5Gso4YmuZwQB7SlTvJxiUfkHKHewgShpTv286S19KUSLczpzLboO2SVLSKtfkl2gTkxYubrFwvkfXb7SP/EEpADK19FhDi3aVRbSvYT8enyKFPcGjKCywQcDa6bo03x4BLe+x6Bc92S9AV7FF5+H1KZKhhw28UN73AGQCoIc49QItc2ISevIAxDI3e227jh8oTuLUB5qwGphmohBQ+zmwVp3lsSFw+cKA9yLTAwcwfo2ofSd2nrlstD21cw/1fs739si74FSVuFUpQPhje7fk+lEe1fo+y90MKDJL3EvPiUWA2IZD0PbEfDLbOK88rfsg2yGNdO8HvWcRoT6uIxP2GjNV/Jepjo/IafCOyTvHFegE8wHf6XMVkAFEVWGsWTC6Sk+WXXHsgZ6zXffJJXPROcuEnKJ6LWXUplHALebpve+qPbWhSBfAH/NVl7n7Kounpwn2k2MQ77yg2xo3Dbff3L10uV9856S2YVW/77CBqA6rB/5dGot0qL7bbDrDLi5HMxbeC1h4BkFVu66Oj7/x6vV5zfOv/qo4ukzNw7ohR9+tuHPvbCVfhC0xomOTc3kUjz+d8AuWZTnWNWUPq+7QKh0y7tLEBwg9AuiUEmaW4YgZsJvWFYd1h6bDWCSqGVfez7O29mtSkZoIFHK6Gt5YbhPAr6r5QV9EcF1q7vkP5hDA2GnpFgTIiVOT/IwrD0zrCRaulWUqDW/B 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)(82310400017)(36860700004)(7416005)(1800799015);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 08:05:11.7034 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 900d1956-f601-4f31-90df-08dc7aff1264 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: SG2PEPF000B66CB.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SI2PR04MB5703 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_010518_048784_137CA2FC 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 08:03:28 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: 13671514 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 33176C25B79 for ; Thu, 23 May 2024 09:16:56 +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=9vpj15PVgNN+XaTEix+bqPHaavL1spn9cDmxFE6zLzE=; b=TChIeUipyNcvk2 6H7I8THD39Ih6qJOBwSq57lkMpWKdP0gwhChyR9gMoW7WSIfcdqO3WxYTFS7xswROuLLbnF4zPcJx EpoInchw26fDUoqTG5Tihh5PhzPOxYUZxX/nHrLiPf/xpa+takijJaSk1EHMXi+vaw8B9pLKeMeEp lvzhrFtsS7+1FYt9Bw/+xMD0qbGQDz39zgP+qpMHK8L4DwJAZ33mUuH418xm6kEOL/cHnIB9kr+I8 aMAaFQE0jhV+qrZRG6CDeDmk8XjOmE9vD8wEfjIej0t/gcwvdUmycZIU6zD2N0N2S7aSV425Fxz3R VHOYDmcsXV/MraYlkNTQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4Z3-00000005cuC-3S2h; Thu, 23 May 2024 09:16:45 +0000 Received: from mail-psaapc01on2061d.outbound.protection.outlook.com ([2a01:111:f400:feae::61d] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3S0-00000005RZt-47t4 for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 08:05:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WuUyUeSfCvQtLW7fJ38NyqLDDN/x3+//SQyu//XHMCy5VyyX4/uF1WDlCQFY1i9COKse7YT/JVql1bW95JIUFLEAR5gFdHRzEIF43T+ZVuuBMP5NsVojPm8H5vB2wTJcOV6YvsrxoDiWje4r0zw4gk4/8mxO4ge1Ve1q7AP+4ymDitXIoYBNOi6qnuxs7PYM0SgTBqbtuYJ8QYTJP1urjptGmm6u6IZrpR7K7PksMNeml62ZiP46fURxlnbkjZU0JEuyE0BRy53FMUh8G14A9+mCFXb2WCXRClSJf53d/OuJWzRoq9/440yzApNYx6OrOWjkpdNUTWQYEKUyIl5iNQ== 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=/E5tg/AMpCd0EwjdUG5RfJmZJrlX6o4pn+4Lcl6SBsQ=; b=CIFsXCe+gGLk8Uti67zILjtA+aIX/5fktJCIbzNKwDJQVon1ZJJGw/BADW6s8QJkDK0eVW6+UcNuvFGHlW3h30yNlIgDT+cvgTbilwoHykYrihSFFa234q2bCWwTPRWXtrWr0NFzlaOsrS7xzp5yc/MHTBLTqzkMkkO2l0n0HboHbvfFbuzCKDvgUBBPa6yujA8JhxxOq+6KgvUIM7CDWDv44mcxmWUJc+4hPNFayHjTwn1jDWx1Xcx74Ozolgnwx1n0WmB06ApydIGqM6nupIYv1P7F+NRPGG7nr6pTh+y6pIAkxwDvtdh4HOJ5hW6uzU8oJI/abhx/ttwdzME7WQ== 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=/E5tg/AMpCd0EwjdUG5RfJmZJrlX6o4pn+4Lcl6SBsQ=; b=O3GyhXcoOuecrNUIFabzEjYLBnXP96OJppR/AxOadJgeQl+dSM/7Tv6S2R/70xh9ZjqUq9HmzHW5VxwGPsrRYGgumPT1B8YtC/s1IdAWU2wseB5PiVJ0YdYmtd6QZvgdSFGR/XvxptpIhBQVG+mkMfqgt7UAlIcaM3R+IOG7AxtrcAJSL6zNPEhnGDApsBYusrRVhBNEZoCmmIJ9mL+0+6+miA9bo1sTeWVHIExLYl9p6Ov7VGsILOzVS6va8dxNcNYdgjFCRjPc1JAUSGoZv1eKaSokny99HSGB8xVodpAoQF2IdURxdaAwCTEJhDzagKVP7DKAcv8ZqeBLQ2lYPQ== Received: from SG2PR04CA0162.apcprd04.prod.outlook.com (2603:1096:4::24) by TYZPR04MB7455.apcprd04.prod.outlook.com (2603:1096:405:41::12) 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 08:05:15 +0000 Received: from SG2PEPF000B66CB.apcprd03.prod.outlook.com (2603:1096:4:0:cafe::6) by SG2PR04CA0162.outlook.office365.com (2603:1096:4::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.22 via Frontend Transport; Thu, 23 May 2024 08:05:15 +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 SG2PEPF000B66CB.mail.protection.outlook.com (10.167.240.24) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 08:05:14 +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 16:03:28 +0800 Message-Id: <20240523080330.1860074-24-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523080330.1860074-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66CB:EE_|TYZPR04MB7455:EE_ X-MS-Office365-Filtering-Correlation-Id: cbcba8a4-6ed1-4e6e-f1de-08dc7aff144a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|36860700004|376005|7416005|82310400017; X-Microsoft-Antispam-Message-Info: Dpr42LWCi9SS/nIUclmIqJKEHAnx1+ah9DsSAQyUTuvx/F2HfQRdjQ4a/I/UGVqX6CXoQnVKF2gjuQF0TuA8KU6Z0wsyJuCVValYjxfKyxlu6lsFu8IBelXzYY/M1doo57/T0lY0+90w+qEyZOCTKBSmoG6lAY+K3BN7+5KXIGoMgCuFhVU59zzvnW50nL2Fuz2t8PFWpJlG0vFcZEe0q7O/u3ogZYM332qGpvj3CemTloUpm/Ft7xEjFk3g/0bxoeK5c4pc3gy6LrSVav/0hM7RIClqqBTp/8xDdUaNhWBLXcb07Ro+G9XEUnbdOymwpENWMyRE/Aszvf8yEzfSsAY0hthD30bbEDiJXhzTeLQuYPTFTiedQeywn8B/CLAQFtRrwljwOInAifEjfMJFbCTQivCJBAmGv1niiBU5+HkRDAr4I61aGUQNu2t9fYwDae18StGSx1I27rDTNEEXGQybAYdggqbXZum3F5zoQZkdr4uET0SdDcTQ2JsBDbgRTpXonethhRHFQLH0/GKAomlHvZzDhkOBarC/jHn+LC/VAuju5o8vmEiJ9BRkhS4PRCFkjnAvlx2QKThWHQ5DRHrjDPxym4E8QhtqN2lhOhiql6mMgbtoa5erExoUd2BAP6ng0U/o7RS9GExeatOxw8y2dk+lo5DFtiacmAK5p1De4LAXe3o/kRWtoXFYDwch3K8isl5Fob8ySCmTXz4dTL3Mw1aUtL43FD/oZHw+fYUanm6xFDHVrdGNvTEub/0XRSjRjdF7kbc9NMKashMYsHMvZfZ2Dhz7dwdvRUHJXVWk8BZrcgtkRND+QUBAXTN50xsw6jR8AlmW3+b0RWq12UXxmKENdHzAgczKXaexsP0Q7BrNXLn0BLswfhJnvKMCOdWaueN1gB/DlPx2iebz7JU9Ml90PpU8wAYRaCVDMahTk06PLoM0Gk4qyGth2AJ0uFO4ap9kpEq6rciq8SUMD8cJzuiXmqvFKMbAPRfyw8IJCOphZ5kiWyULdNDxclBD3ZnffeUyhC/VYg5S5X3aPPFLdFf6u0d40zVlJxFP8CoxUxCvZtSpZ2HLtwyEWR3EnLWawphZog7zmiQ/pZvnfaC1EADllre+SssHsq8Tzd94UpvxuXV0iBZ790yQHwiqBfkfOZ5CpaN9skjO9QMmB7zs4hYxGgRTa+zKfwPEanZbVw6TBv3UE2Z/jVDRoHonmiTTY5KmBrox7sAgXSqwHms/n4H3QcnukuMZS2vaQY7CgOC1smRYTCw9SZx/diG0sFDShXeu/1bwF2GywOXApLPHI01DxfZQlrML4dLxQvXwPEnNQABqgK/nm+NGQwp4Kf9vN2WNgBKeiRwWO1jkDnIfzcbjfVoDI28VemAuG5Y= 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)(7416005)(82310400017);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 08:05:14.8441 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cbcba8a4-6ed1-4e6e-f1de-08dc7aff144a 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: SG2PEPF000B66CB.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB7455 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_010525_447189_F1D6976B 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..fc988e32519c 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_gpio1: gpio@61 { compatible = "nxp,pca9552"; reg = <0x61>; #address-cells = <1>; @@ -1268,7 +1416,7 @@ eeprom@52 { reg = <0x52>; }; - gpio@61 { + led_gpio0: gpio@61 { compatible = "nxp,pca9552"; reg = <0x61>; #address-cells = <1>;