From patchwork Tue Mar 12 06:15:33 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: 13589544 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 50791C54E58 for ; Tue, 12 Mar 2024 06:16: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=vH4lzjzYbgzhu7BQ08QRtTJpZqDP5Lnu3oS92xa4HLc=; b=fZUbOEsif0Vwfu 5U1Mri4ZU3b01pjTYJ4+h0oSCkMHUGbj4W2VvrTMzHpDjWRIwmgiDM4ndgrr2WZn6fLYt+ju7QCmm /YAY1sTTI5HyBYGVAmAmttRO5A6sqY6iy5PFkh+MPkQYQt7DYXjjf6B3rRxrhmrWCgPNMcqt+uDi3 0mvO1uMLTmeqySEQbeEIKLGllE6Far6Xps/XhGRpX9rZ42mqv9JUCmJZG6fJ7NHrmcabqt6Vj8di4 4HX92GG3Qw7RYEgvl1JE+TpulruNy/pIEKkrsAeRZAv6W+3+WNZcSRPlrQeRuE53uDCDRPVL4sXG9 KcFJasWl/5BF0nCfXrHg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvRA-00000004WYC-3zy1; Tue, 12 Mar 2024 06:16:32 +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 1rjvR0-00000004WSl-2nIr for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 06:16:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FBcIyVDA6s6fG4M9W8JcYJLS6hI/5KwkOnMwB2IgamSRNPOTgEzzJlVylyEDV0q8l8+ZLulQIjNcTucuxnf60IzCtdF+J8KG1QI0hbgf5piZ1UvLQabdrey/Hr29gW/APezvECnqcGYm+988VKYUksLUsafPfH2MtQYbsrR5WXXfdXxjUs7jJ6JUpU3kBZ6KMDPUxcI3m0F3y+62RwlQ7wrxfocBsvxjOUieO+UD0TiUyjglqdW5oDlZLa3EWIn0oVzYl3d5o3+khJTNuKo4S2pRWsS/Gsk0/6zqt7iFMfa+mcldapVgbunky6pxgVTSI2l3qSgr4MCFTFW47JW+NQ== 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=EmSKcEEWKURPlkS19SqAb+0saPQht4EwjxaRbHrRzNY=; b=Te/BdMy+4vX/GeMhaLgLoyQsgoAS9vxos0F3np6uMQBRCGSG0hOZncPXxn25yJp80noUpRkv/CpE+GWMllnz9a4NBIofwX4lrdobmNZlTNh9gzh6lJ+OUqSDE7W6OG6tNg037tNe/m1zO6gl3H7zAqZ0Jl7GaO3LsO1Y/Xlznvci794bh4bqs5WP/hUVMvmVAqyEn815jSrNqI1Ws0ea15nrgTOaqwG/rdF+5Upvv8qT+mplwMfIzrQ2u85yG0TkYX0rvyClMO36H84uXVRwEm57hq5+rcoy3N8mzZ4Vll2dZlwmeFriWVWkim8SLU1MV12+nwjJangJJGafrCCLpg== 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=EmSKcEEWKURPlkS19SqAb+0saPQht4EwjxaRbHrRzNY=; b=mIE0OBN/v8UsTGx8CuzTyYTzr1rp0tVej4s9LdiFINTqqJAHpBKcBMbbGfjB6NZQogloFHj8of8ole2cBOc+O0J/1kElEiYrsJ32MB2/jbkQqIXHj+uBs+YqzngfEB1VPjqYx4IAz/dg5D4IseVV9MWDPQwnQwkEhaOKm3mk70zFPeB0WHHR1HiQ9q2b4wgPsq/TuEPCy/lPo2FuGYNfM1Mw1IfoqMBIFCxL6Fill7l+94CZ06F+rHoM7qdQsuIaVNK6UaGerht5xjSCR0UsYuYf91BQ+H64Q6n3juGJrNTVwbNoKj64l/wpQo3oPFx6451fQxGox6wY58fUe0gTXw== Received: from PS1PR03CA0001.apcprd03.prod.outlook.com (2603:1096:803:3d::13) by TYZPR04MB6450.apcprd04.prod.outlook.com (2603:1096:400:28f::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.35; Tue, 12 Mar 2024 06:16:06 +0000 Received: from HK3PEPF00000220.apcprd03.prod.outlook.com (2603:1096:803:3d:cafe::ef) by PS1PR03CA0001.outlook.office365.com (2603:1096:803:3d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.17 via Frontend Transport; Tue, 12 Mar 2024 06:16: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 HK3PEPF00000220.mail.protection.outlook.com (10.167.8.42) with Microsoft SMTP Server id 15.20.7386.12 via Frontend Transport; Tue, 12 Mar 2024 06:16:03 +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 v6 01/22] ARM: dts: aspeed: yosemite4: Revise i2c-mux devices Date: Tue, 12 Mar 2024 14:15:33 +0800 Message-Id: <20240312061556.496605-2-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> References: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000220:EE_|TYZPR04MB6450:EE_ X-MS-Office365-Filtering-Correlation-Id: 43f702ac-4ec8-4755-896c-08dc425be59f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4fIOEzAzHD0NE+fq9dg8q9+Yh7hW/cJjANzmGleK6b2VumNhcG+omxCXQV0BetQrzR81AAf1vCud1MzyQGbTiCa1sU6BkiXtT6EGyZrVeZCk2ltBLkThr+urnvf9J7qTm6nzGl5SVNcsSMdVJLo7uUVwPt/4ApAe1JO2ms0BHvr0kGHnm2uAyNQ8uuxM7VT0tdbFwhzdmrePubCwM+qZ6cg0cij5eTwZ4ijjrsfHabPrLfbvTBu6Fg3IiJT7+2Ac7o3htwXsXha7oPTEFWmrEadI+FonczVA01Lz5FcRto3rqHCIHRkagNf8yr/4kVhMQTrq0YdLnw4wzvPEqJKuDheD1oIzX24liDTwiDSv0dPQSQEtsc65u5dQFfIfqKnVFIiRRpmIAZlgatNsy7fn5EQhmjqHNyJifyjlHuusHYtTvN+7pjDs8toUsnTgtz40a3daSOr2WsLQVeo5kWzxHMco/ed6HI4nbtpUPEe5Ril6NoWSG4KpVWqRMizocjtcagmwKe/PteCVJAhmzwiu/v1wDHvTUn2LjZzQiaza92XWSMIdnZQv61F5VrdVzXnJugamRu2cZaH8WolaQZ1VtQcpiywv7xM4fG0SRc3gnKIWVKOj1CG+A8YLDYDkEWwPPxoNP229uXxF4Y4X/aOS5Cu9W/dxSmZUgnhGJnEteo1/5jDSUpU/3YsB2VeI3y1bCmzHekU9z0Hh+1DYy07p7J1jxm+YOI9CN5K4GaWXpSTJ4p84zlmFV0fwpK+4KZDg 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)(82310400014);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2024 06:16:03.9475 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 43f702ac-4ec8-4755-896c-08dc425be59f 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: HK3PEPF00000220.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB6450 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240311_231622_904375_02C2CC13 X-CRM114-Status: UNSURE ( 9.29 ) 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 64075cc41d92..dac58d3ea63c 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 { @@ -433,16 +711,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>; @@ -450,26 +726,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 { @@ -492,34 +768,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 { @@ -547,12 +823,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>; @@ -563,10 +837,10 @@ adc@35 { }; }; - i2c@1 { + imux33: i2c@1 { #address-cells = <1>; #size-cells = <0>; - reg = <0>; + reg = <1>; adc@35 { compatible = "maxim,max11617"; @@ -589,9 +863,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 Tue Mar 12 06:15:34 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: 13589543 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 8C290C54E58 for ; Tue, 12 Mar 2024 06:16: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=1Ty3yvA3iCIR4aDti0Lzc02xuO2eoTCPLcFO4AuhJwg=; b=RO5uwdcTdsb3ZV uGDrIxpxm3yCdsC5tOiaQWpwKatjEOqUggV6yPDeTa4KjuFNyCBqQqLo/Pb6Xbckota13SWaiVKuQ /n8Y+hCBPrCJKf/RalGbUD4nCJ3+YY7vIOw16nvC0r0nHruG5lN//fPJRdsMiD8im4ftI+zwebRBd eCBjnjIEojoQVhELts2KEqqmo8eXo3BlL+H1BNlV06YbQSjFuKoUnV59ajv42mGvzAO0YXcZdD1mF vQEcfgAgPJpxsDM8DksY6O7+gP545a+NPPWJDho5jnuUxTNthRcKlBrfbUZNDJ75iOpEpb8D4XTTS JwatdmFGaCTqVl/iqXsg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvRC-00000004WZ4-18kJ; Tue, 12 Mar 2024 06:16:34 +0000 Received: from mail-sgaapc01on20604.outbound.protection.outlook.com ([2a01:111:f400:feab::604] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvR2-00000004WSs-0Ffe for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 06:16:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dpxt2sqbz4tDAoWZ8XI1jpWVXf3MIUyfq8cvE7sOgS9ynANKljDHvRM5pUNZibvs0oejqCGu87rz2e3Amt7tM38Qp2bkmnGV+yKd1qeEDiWrulJzOBV0BzYNeFBOzqAM4HicE2XIFQ7QzYeI87r3r/QW8R0dF62gLe0B+SpwZxlARJPw5Ld1Pph+KAMjzX93QBDtyCj7Sf1ZljDi4v+uAoBkZv7kR3iIOuC3RlMVLaG5Btx40N3yDewJGtfB1RudHZiYGBDi81QdmbiZuGkcJP49PCp651McA+3vt7CObwOCmqbgPABbVcaH2wc1D4ruLr0MEt52nIM5QPrKWnxR4A== 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=5kCO11WdUiFDfGWanOnHA5fSAvcgtGuDJsJBtZQkii8=; b=M2pk0rXxmIACjTb9O2Jsqji6oPJW0E003jkw/n+XdWSHDcgpxEm1ln5ruAspEWG9x5EMDmLxglXayuiD8gNA4IOCFVs4VwnVaLMDizLgIs72nguAWFaJNErT1Nyy4kRGudwLdT/yvPmhIWOz4KP1JCCh9ImK7Ii6uzDklSNqGSyQnG5kHqRxBES5GNB4ILXYdmXyoE+M0I0AR2dGZDTfT7GYb77SdbeCNG3MDyto4EQ7rODFUSQJCjU3/hOURgfRy3PjyKjNKk5XVWE97raj6lgnoZsbsR9+6bbD9SjZCUIhQG/M8oFgq45fNsa8IujbnH5+5LUUpe4GvqrPNF8Lkw== 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=5kCO11WdUiFDfGWanOnHA5fSAvcgtGuDJsJBtZQkii8=; b=ItNhVRRsGME77CyIdOnk8UbQl9u14eltDppkIwaljVFQ06wK6rLq9oFwlqpuaNDpip/rEGwyQDjNj0K1BWU/sn74iAtgc966T2tWNfnFLA0rAH6RoW76v7asyAbJMfviw50XmCTf2xDmVVU8STrqr07SA3nyEQDPlYbWqshzU5K9yRMTQxmJqI3jD8lUzGU2VMuhyT2tNtZVyvCq3AJeLEin0oByMXnmue2NR82iX0ami6AT168s4RdiQQBPWQT/r3e2X7Ya/jhm+7zHvFT+v4nK7amyiKb5hceal4i/Jzdau1JdDczQP0X4KbEabU/yR8xS369mGrLs9y54M48nSA== Received: from PS1PR03CA0022.apcprd03.prod.outlook.com (2603:1096:803:3d::34) by PUZPR04MB6200.apcprd04.prod.outlook.com (2603:1096:301:ed::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.35; Tue, 12 Mar 2024 06:16:11 +0000 Received: from HK3PEPF00000220.apcprd03.prod.outlook.com (2603:1096:803:3d:cafe::21) by PS1PR03CA0022.outlook.office365.com (2603:1096:803:3d::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.17 via Frontend Transport; Tue, 12 Mar 2024 06:16:10 +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 HK3PEPF00000220.mail.protection.outlook.com (10.167.8.42) with Microsoft SMTP Server id 15.20.7386.12 via Frontend Transport; Tue, 12 Mar 2024 06:16: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 v6 02/22] ARM: dts: aspeed: yosemite4: Enable adc15 Date: Tue, 12 Mar 2024 14:15:34 +0800 Message-Id: <20240312061556.496605-3-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> References: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000220:EE_|PUZPR04MB6200:EE_ X-MS-Office365-Filtering-Correlation-Id: 77067ecf-8fde-472e-a493-08dc425be863 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: k/OJGeVgeqMgvgMgSgOXh6oi0aJ5AbWOD57XR0SKMnz8A9gc1A+t6r1FQlYNktCxxI1y26dBkMuxU1tei+xAZcXjvIKlhx90/4S9pfv/kdflxvTb21I6rkrCUMkFc6zIQ1UigCLNEew0caOwnOU2odIPlzbRTtZiy5W2LIFglYKorBrwK6MvRAsjwQ7D8Ijp+Dnb1rW3JWIWg5yniz/wIl2j1IImYlCbPetfMExsQs7X24A5NTaCrpCdMBs9TM6dI9WWNE4RK0pDnnlimR6TrPKDpfSyi66YRXX46tmf7mruNQOIL1t/eE3m+n5o6/XV9oBMtx4Fo1lsdHVzrpYA6KzvSJ02vDeaYt1ynGr++oLm7I8+avdTFc6HhHsVbZfV7r0E6dF5WklWbqvM4KVCJdFuyzosFUSVcCawMvDbNvE8eMYWBWDghYeZZTV3DisIgqUVAVH+wBTqaElLC2ibQ0lo+pX6krEhseZGd4P+O5kGUoAvPxygv0e6PDB1w9KRzdX9LGK5NTv7broKDGcYRpEOQlqvLtqYkj/X0Q43Wylg5gCIWjeOQpENPVe+ZTC4l8A1q1F5Ux9wwFtyspqJ7DNEow0dMHGsJwKJ0IF59RY6V8gffZ3IKIhafyT6v2iIbr7NEcwX3pKJrVLKlOV6IdPTp31Jl6tCFy/yHRjfO/Y3IrWiV7THZkchxZz6LLPtVqwb6m2WTnmvZrgaGQ8O/pig/eDL2WYX+tQ/sfyS/dwYAq1Z1/Lkhpmvr83mgu/W 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)(376005)(36860700004)(82310400014);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2024 06:16:08.5881 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 77067ecf-8fde-472e-a493-08dc425be863 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: HK3PEPF00000220.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PUZPR04MB6200 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240311_231624_194380_2A86CE3F X-CRM114-Status: UNSURE ( 8.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 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 dac58d3ea63c..6846aab893ad 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>; }; }; @@ -920,10 +920,10 @@ &pinctrl_adc4_default &pinctrl_adc5_default &adc1 { ref_voltage = <2500>; 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 Tue Mar 12 06:15:35 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: 13589542 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 61795C54E58 for ; Tue, 12 Mar 2024 06:16: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=hCLw79mrPmDyIZs8WvpUxJAbIaLhTC+QoyPCngI7Scg=; b=ET4HUpbzm3sPFL PsjbnKPjYdFPlLi+9bRTdTbj5vXIhCXUWea1GnM2xaoKolN/dF+rU+QO3IGruBVzw5NJPwLc3+evz 4iQMPKTqT0nEF8d96r60BlxaEkxZxF3qjYjeSw5RPp54APJNRkBSvc0Tj3G7+jbBzt8SPLcBw735/ LYHa/UGAFhj1/YKVQeZCsvx+iX8NnC7x1OIJ18lMw9wOI7r0DXtqZd4TfeRnC9h3y24svguQDIBZV Bb01PIDZnfYt7a18Qh2BYtEK/iZ+UEvitPFCjWjSALb+Ub2VeTi4fPO+3PTh5ORvWe8+dNR/tQn3M ojQYLbu8PwapxyRqzw5Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvR8-00000004WWW-3YlT; Tue, 12 Mar 2024 06:16:30 +0000 Received: from mail-psaapc01on20626.outbound.protection.outlook.com ([2a01:111:f400:feae::626] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvR0-00000004WSf-2xXE for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 06:16:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GX6PcF0BuB+7+P/x8g9OGughP9wHp/f9Hkz0rZxli2d3xgfo2nAkuGiwuP+Xb9Qc8JuP3jE1KlV0tZheqkpXpj0Z/bT9s1En9BPoxlzdmd+6vKvMBCrgrrN0S4F+2f9x7TdVCcK2LetOJqmyvQ5R7V7EfyyX4p721jmOeBvxDjwM2z383cT0vjlKDN/Dvv2o2wdkNS4oPS+kQTYSOmNmQK230JSj9sPT1s4ErbiKswPLwbwDpGRDO4L/g3hhwgbYJLmPj0N6YI+rmbBYCNxfgYEbdZSQd3yS+5/GoybwRyLG0JQjctNqCtbed/cTsVzsLr0encV7AJoN6m0dUmfOqg== 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=MXS/IBxr+oV5K2cp3jW9e7qRwk8DHsYfz2fJN3Mk/J8=; b=CLdtUYjV1s05fmvicmAHvL51pOXWJU3j8LTCLUfOi1Gk2nZAvQItIUR9E0Dn3noUvx8snYOeHo8o4+9Z6Pw/Lmpioh3yvAHVNDa9Q4SLLlSCqt3/sKy1bjk9cC4C163Dk7ZIi7gLNKTmqV1ECsogq81FCesoqoJWQ93EpW+CuFF25WFWkJVnBhjzH9mO9hTzOSvgNuuG7iR5/l7a+LW+UHPDcEM6rjiYelziwyDYNud/InbMbhIx/ZrJg4OSFBCl1/KqNMs3mVjHrF9D0EtU7jyFI4RiUo35Z3cSkozg6VedmDNGASGelBpIudVg/hDIX9AlI7+LUmcDiRowPbfOnQ== 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=MXS/IBxr+oV5K2cp3jW9e7qRwk8DHsYfz2fJN3Mk/J8=; b=p7lZoLeyMY0EkvHy0UNMMdM11g1decax0Ta2LlHQr+r5hW2dPCaOnzuBhtfoiBdwb+AVibweP3YQtdVFu87XmSzSrsL3Mw/1o+lfQHkqwCfhW878MCPLoIXJC3tP53z3RpfPIZis053THs0XNssYG/VTLt/GVixwi5KxGlpfexL82azLUESNsLJe/71/SxPVsI4AiqtkXB3BSj8F9X0DZvBLHvT7PEHFwjYYfkysbvjfs4kd6I0FW9IwUkjj2YjZgLLDZcU0FzWFZqUkWgZFM/51EVOIaXdvp83WItSHs5DVygUN37BujsWlqSUZUTRnZIGnizFQBk95BglOM3g0hw== Received: from PS1PR03CA0021.apcprd03.prod.outlook.com (2603:1096:803:3d::33) by TYSPR04MB7715.apcprd04.prod.outlook.com (2603:1096:405:5e::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.27; Tue, 12 Mar 2024 06:16:15 +0000 Received: from HK3PEPF00000220.apcprd03.prod.outlook.com (2603:1096:803:3d:cafe::1a) by PS1PR03CA0021.outlook.office365.com (2603:1096:803:3d::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.17 via Frontend Transport; Tue, 12 Mar 2024 06:16: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 HK3PEPF00000220.mail.protection.outlook.com (10.167.8.42) with Microsoft SMTP Server id 15.20.7386.12 via Frontend Transport; Tue, 12 Mar 2024 06:16:13 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 03/22] ARM: dts: aspeed: yosemite4: Enable spi-gpio setting Date: Tue, 12 Mar 2024 14:15:35 +0800 Message-Id: <20240312061556.496605-4-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> References: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000220:EE_|TYSPR04MB7715:EE_ X-MS-Office365-Filtering-Correlation-Id: e235132f-9689-4e92-d2cf-08dc425beb3a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AXaq9GWJdcSBEO3L7S+J/6DRQwt1pSXwqoeLZzFNlfDukcEkvFqZLkjgkokLkG804w5HKxZIv0OzuL/aCY57WVs2wB5S9QjZ3c/73SbsOWi7tyH/Ojw7RvPke/iyMyRpSGNiaWE25hI+ZMt9jdKm+vBjp50HOn+oIp47Tqfwtw0rGFdLLU5SWan15+rT9e1dFtDWXGogD1mwKHZBDM9R1wUXZ8tyTWeQVXziOsnyW3xid/+pcuWf3F///3y2M99DNSHjxabKMFp2M1pfyzqdWpqsvnNjwNvNMfnRHgtNW2gu087BQD7EL69QQ89GbEptNnO/OXfvJEZNH6ZoKslKYaKvToxOb1NKvneqrhTHefrYF9JylGmipHj2WIjfIcwLiRq48D7Tca9Tx8cf3TznY6GNB9gpqrm1mI4Ir4rxz3Mg5qcTcKfhLMWeZc4g4PclvynUFFo1ou3ItwZ9NuK3xZf9vGr09/RisZhkWBXew4Tt7BSkXddKCdxx0w7g5cRFJXrS6dhO/2SXsLwjDgRBSPUMbDT91E3DMeut80LydA6OQBc1/7DCswWfaihyMRpOY1qy51DoxkAKU4gG6zssKOGxRt53mu6XMmEUfeZcp/J7duXeAV+869VyK3+ArV+BTVLtOMLNmGDczM4oY+6WMWyNUIA0287BMp4KLrDrXIATPvJSlLX4yi/c4Lrux3thb9WkRBq9J36vbO2HSR8fLzTRM8ssy9crK/CtnI31O3DVGKfeuLhYweV+3Oj+PKiC X-Forefront-Antispam-Report: CIP:211.20.1.79;CTRY:TW;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:localhost.localdomain;PTR:211-20-1-79.hinet-ip.hinet.net;CAT:NONE;SFS:(13230031)(376005)(1800799015)(82310400014)(7416005)(36860700004);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2024 06:16:13.3538 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e235132f-9689-4e92-d2cf-08dc425beb3a 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: HK3PEPF00000220.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYSPR04MB7715 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240311_231622_794203_752252C9 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 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 6846aab893ad..ea8fd3ec0982 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 Tue Mar 12 06:15:36 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: 13589548 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 DF894C54E5D for ; Tue, 12 Mar 2024 06:17:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Ax3usJ4lUNIF5DpjvZykpTHFxE5wyvywAYfD8n1cgI4=; b=SoF5Rvs6DgsXbp mVIty3ZDbRddLXBC2eS3gzAuVtYrF3SE9kD+TWGN67qI87f5A6WPrIFfrRr7hcrHg+HsPyzwGY5PB 8JAJIhZPI0MRyy445Y9rrypydFkrTGSVYKyi3cPHv7Hd63811WS80Wk+YF+USqMlEwE7gGYBf9HbR i2O+rPt+kA7MGBPIQWs8E4cm2g2pnEJFGsMpEWm6ox+cfdFcdvQf4JdZp2hfxXCzDDEUBVgNtCcaV wg9VsOZMa6OUDE/qszsPRF8gTFNynFR4M7tVtyPK37aJrPJwYsKrqwXDLhMHK9nWC/19IWCPoKEMd pTWdsupmNDO2BhnhPxBw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvRR-00000004Whz-1RzL; Tue, 12 Mar 2024 06:16:49 +0000 Received: from mail-sgaapc01on2060f.outbound.protection.outlook.com ([2a01:111:f400:feab::60f] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvR9-00000004WVg-1CS4 for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 06:16:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ReLVyFaTgCEXg6YkZs2AtIPkzElTErdpO/gm++xJux4QNI9CiIA/s6cORogJi4yjQdm93gbFoY211AwMBm4b0RWkHhL2j4wJVp8xXLbn4N6fR6jUbp62mwbcHC9gvok88qfZte2Xf/G5wwHQMTsYf5uKCTj5ozps690pH/JVvgaJVfFqyFsiLu0pmviaFrhDXOeFNqc9+h4uAYUlmUMyasyRZoxgkq9Gz8EECjKuXY+JZhogBsMCbRMhZrjA1gzQ49HEnh6L2iuvUjGayqAmT/GVzLaglcbm6eijThQGMwtv71UY5lNHGl5LLwjoBcWT4dNXrFlrmTrLI6SpL05tmw== 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=B5ns+z/bWZune1KJ9Uhx7h1a0Q+DT0TnpkyUTwFsiqA=; b=UWsp1cN9Ki1+Imk2oKkQxiFScEcxWgqjEkKDv3QFYE9OzNZH3PuhiwoQRaP/0jvmN5YQWObO71pCvkakBagNsE34MzvA5iIjw6ges1ammJ8T751UXkHaU7YAbA29g6Q5C2Rq1uSNrFbmEMuSpf1/LfOxjLtylQZ8KIxhc6fXzOk0pZAintV5VuWnF+MsUtJ06TGr5lrIzdjzsNscXtvvvMHDuYrdX2GEdyznkb5Ba0bTibRfn4M+7n5j34Sxw+Gd3mwX01ni6GfCRt98WSa8+l+5/p+Eb5iLL0E5wb7/6PcgyA/FQOUOpMpjqGYxVjQ5kH/tLli3G+8b0Af/4cwa/g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 211.20.1.79) smtp.rcpttodomain=stwcx.xyz smtp.mailfrom=wiwynn.com; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine header.from=wiwynn.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wiwynn.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=B5ns+z/bWZune1KJ9Uhx7h1a0Q+DT0TnpkyUTwFsiqA=; b=Lv6TuUdGILRROf/xJc4lueuxAOMdpFHFhh0E7YH5CnoxNsigln7W97TtKlQLoI1HMrGAgENEQPTWgf88KlBgR5ahBmxsAbjbqRKfO7XUTgrixdZJuLXiJJz+6mIJ/JxI2hdMl0V9aFMX53g8UINIlOAgJ38P3fsszfXWWfLUjtx1sI0jF5FXTkILOwLa2kJS5QHH6SS4Q+MKa8BWgQUinPq/wCN065A0Pg61VHHTX+5X7sNSQzItNzGsHnK2O6xvVXMXDeF5v2lo2Aav+9zC1hQqYtv4StPqj3sOYNgGE6hNOYU9I0V+rz0VizdKOqYDLsHV0VxK1BHCYLfm+dCeAw== Received: from PS1PR03CA0007.apcprd03.prod.outlook.com (2603:1096:803:3d::19) by SEYPR04MB6288.apcprd04.prod.outlook.com (2603:1096:101:b4::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.36; Tue, 12 Mar 2024 06:16:18 +0000 Received: from HK3PEPF00000220.apcprd03.prod.outlook.com (2603:1096:803:3d:cafe::17) by PS1PR03CA0007.outlook.office365.com (2603:1096:803:3d::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.17 via Frontend Transport; Tue, 12 Mar 2024 06:16:18 +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 HK3PEPF00000220.mail.protection.outlook.com (10.167.8.42) with Microsoft SMTP Server id 15.20.7386.12 via Frontend Transport; Tue, 12 Mar 2024 06:16:17 +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 v6 04/22] ARM: dts: aspeed: yosemite4: Enable watchdog2 Date: Tue, 12 Mar 2024 14:15:36 +0800 Message-Id: <20240312061556.496605-5-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> References: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000220:EE_|SEYPR04MB6288:EE_ X-MS-Office365-Filtering-Correlation-Id: 2fd73229-2b3f-4388-efb4-08dc425beddf X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Z2j3nvUA3HYQzuumQDz5FVMkPAQejMTWblKNVF80A7aDH4dQt46zCOV2t9iP1illM/hkx/aqFOzp+34qnla26c8jsJKbAb1SWRz7azdj8wNZz/B9QNh2vreiU54rl8CX8SXeKOvRG/BXSo86vMjHsNxh7P+H/0RluWCbXAnpwCfYbKQNEpy66PbtlcH6qV9XT7Jmn/kYo7X/OUVqDzQ1X9t/Q7FfO2rCm+askDLIFyious39so6nfIz/nKn61513fIeqc0Ty2l1bDb/0UIiEudYwU5XBneNUR+Mm67pTcKKmUQYFzFp3IrVL22lC2me81wralQasDh2kjOOim5FkKFY+AoUjXmPVxGMdd4yXDCpAEzLaAyBZJR772r3aX9s99u+vtLhnMwGRlKfIN8hBatfXmPgEo0tah4XPdEHFlzaamdxx/FqjSb4aJU+gIWIrYnXjrvDAl0kiK8QcUv7es/cc2v3syWo7iDM0923hFeAMONVdDiZJzE5iqvLn9poxn4+A3/vxMr8DoMD52aBDyLRgfIIm5t7Il33vqVWK12B4Wyx+P12/SCJddX3132zwUCjTSQWeWZ0S9z7dzKDy2nBSKYRqns5j+fqTy1PGG+nFiwwOJnkS9mAFXAub3wuyypCtFxFwd0MLoWKc8WgugMzdKcKZNZX8uxCTLCnp+yDddBkxLbpznB95Kgy4KtfpogPjPvYE39yRnf9gdFxpoTy8++FW1znCcXH8jOER6RYD2PXxaIcvEYpj/P6JARum 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)(82310400014)(1800799015)(7416005)(36860700004);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2024 06:16:17.7913 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2fd73229-2b3f-4388-efb4-08dc425beddf 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: HK3PEPF00000220.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR04MB6288 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240311_231631_474784_D51B39C1 X-CRM114-Status: UNSURE ( 7.46 ) 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 ea8fd3ec0982..f8bfdefbefc6 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 Tue Mar 12 06:15:37 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: 13589545 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 E90C6C54E49 for ; Tue, 12 Mar 2024 06:16: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=IbMXs1aED2a42m0cNvF/IOtiUnbra5aDzxO2gCbx3YM=; b=f0Oim/N5nL+cSp 08cO+hCRolpoL+HHBnW3wvQmjLnJwzoQAHM9Haz8rSYjgJTWiqQUBVdhPyJDREhCHJJcf9meRL1K8 qIhjVyPgrK7CoiAcF720BCI5R3z04u2TZJFbRgoKnIHJ4qCgdZcjYsq2HgaMNrbXKpd4scBhjEHOD 2QGpaiQHI/7U/K4rBzvFKnX/9WXplhOQodTPb3RgGocJ/W69uqGMW32ni7htiEHfTHN/8gS4V86aL DZYpdm7QfGIHlP8LobluNXd4sWBJVTaAgsNFCaF9JFd19ODPJXe+Xk6hA4RX2tKrqETO8lgUhYIz7 FZ46JgJ+qr8wouTW4ItQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvRD-00000004WZn-1xuT; Tue, 12 Mar 2024 06:16:35 +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 1rjvR6-00000004WVF-35ak for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 06:16:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CaUvVFroNsB37ZKwCLPe/PqXpFwXqg3BtRUuIeleXlcIZuLFKqH+1ATUiFp2XEI2X9Lskhp2VHDmG8GH8h7BQh0R4Da6jdn14YmDaAf+j/Xwl8GddHfEUxw9iDDs0Wzez/s0T1x9XfcsL2xt32DXPFsg7FPyxGfLNjKh5nLGdvD5oNLWMmgNPE4T07iwFWiS8B7n9CHyvUthzv0B37noz7wbWb/ZMC1u4LIE3DEgoGXDErdVVsK6Az1vY5bPH6LnYwngGy2SShNceseRngZlmYVnsZV33XimRtmjHKrN5OWBtaudTDXznpc1V76QueJpVshSz/PDIEAdLW65bTjMyQ== 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=Y+rCbKa980zvtFSL+aiZSLIdHmQc5ZtQwhUuhOWMtss=; b=fCprGslSC5AHMREZ9SR1dZZYaFGd2wPSrU70ygaIO1gLr1FhXZr8cb08DVMKjqXa7MnLS8qdOihOzO57Mbh/Y6x920momnDZZh6u54scHyLZaF2DF9UfOejNQQFZII0KUq4p6dhBJ37dxvPU9jes/ijwqtth9PlMgBMV43mE8DJKdIivNCmtThrfQFk3pDJAE2D6gX1ADtZI9NYDuj5hj2dBXzhP51gQ95mGqopBgiTICQ2vOYvN0tkBfw9yiP307d8CnDEi/l4lVYncBabPBD50tG+VOxojLXuGIHIyIdcz6tHNABc3Cx3aajUMRPpYYtPkU1/4cNE0wMmQlbtt+w== 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=Y+rCbKa980zvtFSL+aiZSLIdHmQc5ZtQwhUuhOWMtss=; b=BLZlWrYLH28LKcvxgQp2vfjdi8LgLH67AXu9BzAJJyhjC4qQtD9F1undTYfavX93lcxz23R9sW83ocinSbX4UBrns3ndFmKK/1jywSr5j/KqmliW/9QyMoHMynpCm/eSbIl02c7SXzuHXsd2mWCqH+QagC+JwIBEvfSV2uxStssK+Ar/vuHKeflKerKiHmMkdlxOWWBP9eNqG3dqylzWnA3ImNZ2dpNoRvOTWH+TS7vlOAUI/IW7ZIRJic16IQaOwUtBYSjSJUFTrJMFte6Mb6/73y2g7a1AR41tIT8TN0LRLx7iR6tP1dh/Y6beksZM1Qt+JbSZ759FAc9yIHbNxQ== Received: from PS1PR03CA0006.apcprd03.prod.outlook.com (2603:1096:803:3d::18) by TYZPR04MB6765.apcprd04.prod.outlook.com (2603:1096:400:343::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.35; Tue, 12 Mar 2024 06:16:22 +0000 Received: from HK3PEPF00000220.apcprd03.prod.outlook.com (2603:1096:803:3d:cafe::18) by PS1PR03CA0006.outlook.office365.com (2603:1096:803:3d::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.17 via Frontend Transport; Tue, 12 Mar 2024 06:16:21 +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 HK3PEPF00000220.mail.protection.outlook.com (10.167.8.42) with Microsoft SMTP Server id 15.20.7386.12 via Frontend Transport; Tue, 12 Mar 2024 06:16: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 v6 05/22] ARM: dts: aspeed: yosemite4: Revise quad mode to dual mode Date: Tue, 12 Mar 2024 14:15:37 +0800 Message-Id: <20240312061556.496605-6-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> References: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000220:EE_|TYZPR04MB6765:EE_ X-MS-Office365-Filtering-Correlation-Id: 07aa9906-3d95-415e-7303-08dc425bf02a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HQSnIAWriNUSql9Fehgv6M0tcaQLORFpzVEJn/LJRSLgf3anjmNNJrI3gn8f/h2/spwTTAqIzcDksT8im6Y6k6JG5fek9js9k6KH8niHSFZFjlhHX/U9Nx7/2zjhA+jy3Zrgvc0d0SrG/pBA9N5XymcwhVqShTM27yT3lPtJEy4YOGFfZPXPQXz7YTxqjDQDsqGRKJRL3c/NAB10wAWDfDjdeIZ5464NoKw9iooNqNupavmguXGcuL7PwfVmjC/TWEcycKp1W81fAd3Ygcqe/KCbsqV1aTU5EoxhldvLEo4V9JcrW2PbWiFRsjmCUMkfdAEHLL4hxX8I/rXwmp5YNNvrOvwx8xunVLgaA3vfvVKQaYzHHrNqBrLZPydXSiXik8PgkA3oaoqTAU1YnemPdrXpJCtIG8Jw5+SK8tHBxTzonFGksyT07JOqDOppXEznG02kzDoE8qSvpOSi1FTqluqHJDAAM1x9wm3HmSEC/EcYjXXWQKoALqbWjWWiGeBEraJtVOz/TPs8z4DaqqqXl0nnsyBtsv0cn+65yv8Rm/ovADy5ma+eMPQ7dgvYcOW8iihWPcDePXXyGF2DXggVoQVwZBT8ZxNZ9Gxd9a7h7dDJV45vlS/gGz0B/tTIm4sGkFlIOcQlQBhOCFNgGQ6foHGoUpxws3FVreoT0igwCYPNFnef8mVc64Q8z8XT/khyOxRUqDIuddzoZU2iDJIWpDl9XxOxMNt2rYyW1ZA2xTPS9a54BodA1SZyDcWZePk5 X-Forefront-Antispam-Report: CIP:211.20.1.79;CTRY:TW;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:localhost.localdomain;PTR:211-20-1-79.hinet-ip.hinet.net;CAT:NONE;SFS:(13230031)(376005)(1800799015)(36860700004)(7416005)(82310400014);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2024 06:16:21.6351 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 07aa9906-3d95-415e-7303-08dc425bf02a 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: HK3PEPF00000220.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB6765 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240311_231628_798545_05F6F08B X-CRM114-Status: UNSURE ( 8.34 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 f8bfdefbefc6..23006dca5f26 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 Tue Mar 12 06:15:38 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: 13589546 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 C7573C54E58 for ; Tue, 12 Mar 2024 06:17:03 +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=jXU3ljpV4yUX4lPO4QlyFGZ7d5Vy6kLkZLqsahO5yi4=; b=HsMA8dWBENkRGi M9JtIbd8Me0jFuGUOUEH+JUZ7MzRcVD/HrtODSnTFjwiSNzV41kbxVUQs+AzKBQf7J+U5gAw+uPkh wxa/KuUl8bYjZK19HwPlasjsZG1WqDG7/b38cpFHMayXNnqINuQwqpLeiR3CdMRAEaIdfEQRNvMqd qmJQxzS0ncMZ9ECoKbHsVcHyiI15HSafrj16E2d6YavvTrJaWZLZOCMBW0WktjY+fEYnOSonEvJut U9EgVdXdt0UP8jWN5X2/NlM4aEcm/UiszU+RIAS45LZarILV9G+nUAA9zqd2sRgyHeko5KkzXDZDZ YAXtkyYCPjL9bXvHBTyw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvRP-00000004WgX-0V1f; Tue, 12 Mar 2024 06:16:47 +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 1rjvR8-00000004WVo-3uLp for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 06:16:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bwnr37gUMphMOprxRW7IXQV/1gio6o547SiqeLi++5bcSAnAcSA1iKMt1ZXk9NaSVXmyFfw0Z7rW4nRCfFyB69hO4xGDfkyeiEbKSG2We8iPrIuo9esMLsu0DTLNGayy5YobKf+2k2q4wzK0e/x6dWSjpS9zAFpduJBpMa2/eI7hHeR5H5so+M2N6SBjiDee/eCyX41NW2TzVxGL62opqoW5Sd4jdR8Y9G8NdO+ITxlNAOF0fnEcQfuCLKUSBfqC0Yt6nDr7Qy7IepmLj8iNjDZXy9XThfSm/1KUpQq38tq6fZiBhG5XSPGO4I0JLXIuXtNNLnC9s1vALdHq9w4Lug== 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=oyfzsiMTiBll4ouoSSuk92xJoh4krtds9VMlLuTcNyM=; b=KFj1vm39b9qT6AkRDgaSADCr3+D2weknkNdWsQkRy6FoYCY7dXSFCIE5D0vFI5P6br+3kRFatP4nm6c86QepzSGdFW6uriglsmEkcj/6GYSQBgGtSyeWciu8RJDdMgSIPDfPgDzGZ+dlVKVvTWxWjnXRn+tuGanwH9nya9VlCpKryEVZXLdpaDMDiMmoKak9oSJFkns+bF55wFiS4H0csSiUWIrFE9sTa4azecdECnlaWjINnEKltqjfI6mSZJkxs0/AW1gTAwJYDrkDoTe2yELReC9jKHW1LDPVL91A5fJhs6OxhlDQA17galK0uKIgbzb/sC7+XdZDoVZLD6nkRw== 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=oyfzsiMTiBll4ouoSSuk92xJoh4krtds9VMlLuTcNyM=; b=QPiGSpqDrtDvQ3ANnVAmrYAlZVHuks2T2EHCwDRrrFqtgjlq+paPrIkvK/KacfPtpDO8h/rpko92IlpaQTpCbMetYaMvsyMY9nMeAxQRG4fK7RWtiHa0aa3AIwQAHL1YMg5m5WhFYYYG0pgwobohGR5D5Ds5kx/2WRGYpCleCULJ7OOJn1cGbCkCmHErpIqiss3V68g3StYBlLoxGPN/3HtjFknwVIsd+2Ct0FeUDg8VuaiHDG+Axjmpbiwu0KLHFUcXtu+x+X8/XgHk713FOm4Q86vP4Hp20MSY/c7dvBs8uM4/FUZNZ6oJ8E++k2R4kgnK11i2T1OU7sAdyCkfQw== Received: from PS1PR03CA0022.apcprd03.prod.outlook.com (2603:1096:803:3d::34) by SI6PR04MB7830.apcprd04.prod.outlook.com (2603:1096:4:244::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.33; Tue, 12 Mar 2024 06:16:24 +0000 Received: from HK3PEPF00000220.apcprd03.prod.outlook.com (2603:1096:803:3d:cafe::52) by PS1PR03CA0022.outlook.office365.com (2603:1096:803:3d::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.17 via Frontend Transport; Tue, 12 Mar 2024 06:16:24 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK3PEPF00000220.mail.protection.outlook.com (10.167.8.42) with Microsoft SMTP Server id 15.20.7386.12 via Frontend Transport; Tue, 12 Mar 2024 06:16:24 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 06/22] ARM: dts: aspeed: yosemite4: Revise power sensor adm1281 for schematic change Date: Tue, 12 Mar 2024 14:15:38 +0800 Message-Id: <20240312061556.496605-7-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> References: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000220:EE_|SI6PR04MB7830:EE_ X-MS-Office365-Filtering-Correlation-Id: 236fa6a8-6133-48a4-4cc8-08dc425bf1c9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Gdjq27Y2tcDCSX1XIY4NKRQr/PHdJ4Z176v7VDe4JDuCNSKCOaVewYCvIx+QP/NsZ86fHq7pSh/FrHo6pOMDD3bVXDlQWChjV390VfioO9fhdz0tjITorOJrTuNhrVGvADE10ndCK+SH9zbYQF8Itey0IQzJCfR0drSbVEO2tAa64HvJnsZAaokGLvlpE2OYa9cGlgmkDMErpmQHlMrElGTZsTy1im38CTgO9ckzG4HremmXqd63qEnhAS5zmkJim3a0Rd71TojmKSAl58COD3DVloOmQIiyj24BmVzGY3WkbQojE2wVV9spzUkZ1ReVaM9k3FWwfd5PFcwY+ue7H92YtiELwsH03NVey+yunteHjC1vaziy/8kq9myX/tTE2t6x1OoASzKeluDAeoukDHOto681MECmptcHO4AGp7R6TvczEVSkhz57MgzL2G5AAr0X5ZlTRweta4SQA5otHTUwWRODiiVPLHdRbHBLzFwaHK3vM1mbf+eQ5hrmLticpY/u8b5N54of6EMOJrpTbyGXoi1WsjigzWFOykhxaSNDJnZFZByWoA0TPUdKD7J6Bjz3jiYF5PDtOkNoibDosdI15M+Wh0rl94ZXYPLMf+FPoYJ2TEDAE9x6Xj4XHAQ3Ms+F0hIpdcCnPAfI/E6KM6lpmwZvzilEffQkKP3S9yP5nExWhCUHcIO1Kl5RyRKa66R92wwF6JAhurJMGL5n9OGnSJtrSPqxy3Sp5l+wysuiLwUnPPoFN3hjUpa4ub7w 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)(376005)(82310400014)(36860700004)(7416005);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2024 06:16:24.3538 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 236fa6a8-6133-48a4-4cc8-08dc425bf1c9 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: HK3PEPF00000220.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SI6PR04MB7830 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240311_231631_009328_BB14728E X-CRM114-Status: UNSURE ( 8.40 ) 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 23006dca5f26..af9f7067c57c 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 Tue Mar 12 06:15:39 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: 13589547 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 20331C54E49 for ; Tue, 12 Mar 2024 06:17:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Wp0+srkCmxP0tVD/H5wtqTuyvHOw5cbqcsOqZ0wDY7E=; b=UPyDY4KyNgy+Y+ Ztoj4NjfArB+2F4ZGbOeTfU5ZhyzrRY6ymbIo5gvtOrpaJHnbvkhMGVLLPFsI1EX+tGnwq6gLnlZS hNWrv9VPQf/VnoVqcej0Om18vQJXqxzQ0DqRlEzKQ6PHFCJ4ap4l2tf47etBu4hU+v0juUsjpBToS UgNCAPFPDRz3DcdzJO9ggHGv6zVc1R9A9jIiqQ+6itQHYOTvN+MWbHTV39lxQKYqNyjhP7Tftz/jQ YeP+MmJYQqh9VebXOI+UEBWEmCy5lesEEDbXRZxBHVEsGlcZ0+L0Grh1JLLoy0iIWrnZP1qnvcJ0X Vq/vhlRDW04WvFM+xxDQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvRT-00000004WjX-0G0h; Tue, 12 Mar 2024 06:16:51 +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 1rjvRB-00000004WY7-3cHU for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 06:16:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DxaYkL95vNTJDuH2a3tv3X6c6Inh9nTH99+irkFtGTvymyXyhSbTjM/cW3cOePYqP62I5m7GoNrSyjkAOnBtsAIuO2gxoegU+246cliY7hi3NNREtLTh7UcJE6doIdz74S0P/aNHkAsWQTlW1qE/xxyDAVmoqZ1G1+9pmAqIW1f+8QcHG4Ls1YoFOQtW3tyXisMBo4lXDmXewQC082L6EEFMMOXSf2Enw1pOnrta3/NIZWxykX+HFUcPJX9y3cKFi7cDesN/ljc2/D3l4t2NQqXtUyE+XxLnIJ6WI0LopCjtH8YjNJmPJ7VbeHqkxomNodcZk4FvcMMz9ooh6rFJ5g== 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=GzEHseuWZgbqaKQJTdqvuHDahqAOJEonMBupyxnn32I=; b=eAwrNOFbjmmEmk49QO4UwvIhLBsBrvRfRINWs+Zan7dvESkndpt3hWVVOndmED3VdpQ8WzqXJsavu9mTBFiwCduEKCkhw4i5tsS2CEh2DuYMv7ZCvELfjPFBJnrvbCo1AldLcXwBGxOvBbl7IEtGRslY6bYsspYeHRAEX5dHwkCYAsd4fPIPahhkeBpjY+KRyQViIwZ2Gde6hz+cmggHnDzU0uqxOEhvLgUAUO1/90ICz3ePFE6BcNS+2iXIMjxROZXPgaMaWGGW9gtxG5a0hHCpWaIiOeKKUVn1gT1D6DBQYuSssx7Jtxjmq6p9TaykofdLvEAnemOnMoHoeF82tA== 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=GzEHseuWZgbqaKQJTdqvuHDahqAOJEonMBupyxnn32I=; b=WtU3c250lK4MS1aICl6U0D236sF/1Xa44eMln3WMX8XFrmCdwoKl3rjYyq/ZtXVF938402xuqRJoi6Rrzf67SlHMlct1sIgJXuucoTiaSIQmo2G0Wu7cqDok/LFnsNdMjPS9krQJsLuaacyn/ukkm06c6wuezgG/i2pSBoUG/rGWgw9SK+ol68fmi7m8EItYy6fa+W4vB5iF3HoSgLP5cG2oCMVExl4zGkSxwVXBUDgVaefdHWT99i2Zk/9dFS1OEZZrRQUw1jeJnIkvis5HBaIa/InL1tFycsNjzPfF74tYDmF2XjHSsSCmQAZEKkOlV5Uv0NJh2mubA4WjBlikkA== Received: from PS1PR03CA0022.apcprd03.prod.outlook.com (2603:1096:803:3d::34) by JH0PR04MB7680.apcprd04.prod.outlook.com (2603:1096:990:6f::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.36; Tue, 12 Mar 2024 06:16:28 +0000 Received: from HK3PEPF00000220.apcprd03.prod.outlook.com (2603:1096:803:3d::4) by PS1PR03CA0022.outlook.office365.com (2603:1096:803:3d::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.17 via Frontend Transport; Tue, 12 Mar 2024 06:16:27 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK3PEPF00000220.mail.protection.outlook.com (10.167.8.42) with Microsoft SMTP Server id 15.20.7386.12 via Frontend Transport; Tue, 12 Mar 2024 06:16:27 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 07/22] ARM: dts: aspeed: yosemite4: Add gpio pca9506 Date: Tue, 12 Mar 2024 14:15:39 +0800 Message-Id: <20240312061556.496605-8-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> References: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000220:EE_|JH0PR04MB7680:EE_ X-MS-Office365-Filtering-Correlation-Id: 5e051118-99d8-48f8-c13d-08dc425bf3a3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qTA5je/3JuKvOs1dk6YZ0f/jPsUiWICDuFDN+sOwUpGoESNn0JpdKiXVVZ7aiLZZBz8NfiQmXotCY3bJNXR/KZfrzIwBZ3E9Nz7aBbVb6nISyuZGkO7qAu0tJWyYCKmApf64PsuV5vcTbpmqHTtYm3fO9UNbznLGuPeuIloiwCQ9p7MJNIGC7NDKCIJKRLpU7HIoEnITJpRF2AG1d7Ayo+QCN0xOWk6nl/COTnlO4sPvT5lwtZmtiknROIANsNAm8t96AZ+qEJEfQ/COfD6Q7f6C8TIOb+l/Ci8HQkyJ40jOi9By2dnKYY+S9lGTxw6Yksmg/Yl4+3xGbjFp42rrGx2COZjjUHmzrbk0urd3+CZI9d18+/TAGysgIXaJT+jsBKBBosupCEcT4cqGupfB8J6BnyHaEWXw9+CF0R0WskFFCUuwVJw+xYtxrPMjneu0fsYtCQfytDppOJdHGN9S0BUPUu/yAHPh1a0pjXR4H1WU2BzYKueI79ZsB2gGNb8iwioppYSq3uOl/xDhCJkeXj1Zd8H8/Xb2q7bicHhyxz2ue/H4b65Rom9n0IC7FjcF7qZc/cvvff4N7pXO7jfs0sbiqQhw+bWDh9MZjffbahFtxrmlMfTMt+6yELtWaQjubx/32z9uGjWA0MQBN7e5x50Za42BqcG6rIWuImmTUJ2qegt3tHPKrEUhYLHjbzwvULogXHNJS5EDrYxEyj50Wzh26BRzWDBosq4SwsaM58Vjvfru9LEf1fveeCV1xVcn 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)(82310400014)(7416005)(1800799015);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2024 06:16:27.4632 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5e051118-99d8-48f8-c13d-08dc425bf3a3 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: HK3PEPF00000220.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: JH0PR04MB7680 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240311_231634_009353_E67C44CE X-CRM114-Status: UNSURE ( 8.05 ) 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 | 251 ++++++++++++++++++ 1 file changed, 251 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 af9f7067c57c..b1775b5a6782 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@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>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -193,6 +221,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + 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>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -211,6 +267,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + 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>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -229,6 +313,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + 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>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -247,6 +359,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + 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>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -265,6 +405,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + 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>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -283,6 +451,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + 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>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -301,6 +497,34 @@ mctp@10 { reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; }; + 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>; + }; + power-sensor@40 { compatible = "adi,adm1281"; reg = <0x40>; @@ -683,6 +907,33 @@ rtc@6f { &i2c13 { status = "okay"; bus-frequency = <400000>; + 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 Tue Mar 12 06:15:40 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: 13589549 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 38448C54E5D for ; Tue, 12 Mar 2024 06:17:09 +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=4vk3GXuN4QxtaIxZXGBp30CqJ+zcLzAZJ28sW2u3+4g=; b=wIVLQe1NHe9Cb4 gstp+cvJ9pcQtcuU0nxNKfb1FtqAPvSKI/0retfCysD9HAzf0gW690c6ejvV/g3Xuk+QgnGfr4bfM htjFY3uvNxrN8DlJFN62sZFZkzhKJ4Au6W5Vjc0VRGHjykbnZ3uEiQUyRznRctsv5PBqyGEZtqGLM agI1mm1p/cN0L3SKciAEX7i43yItKE4yv7d51zN/KQlF58em3ZwbDGtduV2qsyMz9Da6bev3Z8/st 9Vc5w+bhShQjuUMC4FZpEbLV5lsgCnGJjVyY8E7octVWBtx7UvJO0/CMngM0iLWBkxTKRydEVnj8D aaCA0mm496gfsQXXP1Xw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvRU-00000004Wkg-3b9v; Tue, 12 Mar 2024 06:16:52 +0000 Received: from mail-psaapc01on2062f.outbound.protection.outlook.com ([2a01:111:f400:feae::62f] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvRJ-00000004WbU-1H8E for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 06:16:42 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=F71UYjKiyqrs0gBboYqtQGZMJ7N9WrwPin9wsMf458euefMPdCKZ4btLzRgTDx3nGB9sVvlrytQKLIk6VZGUSbb/0ZpX9H6lDuiTxJNeAdY1H8r91KXwK93bPdg8K82alpRAmyN6XryioaBQH1aCHx4p9s18/59gVxBiZMZexfMOURS6+ATOmXeoF5Br9iebr0ENq/TSM+l730rtUblG4fa0mTxF2aDp3XcUnEiJHU2kpFZ9POToCCOyRZGjCl99DvmPD7ZW1NJU+9S5cpcu0Ci9I2S37QqJrq/NS0+sAKBCllrtA6mJTpJ9hHKgdOsTIwR6gwdOAKbQNrqWOYTmQQ== 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=IINSoxJIm5iybOOhBOWJpL9vfzS3qN3CTn+pgk7JS9w=; b=GKJFVU69FDVfygk9FpAUYun4ZBBUhXGAujATC2ArHynLg3KCcAJ551rIv8AGPaGCSikOLt2JhJ2JFob/tRJNdCtmD4Q/1V2anWG4nde7MuSMNL0zyu+FhWUJUsCHG0/tHDNdhZtox8V2AAxJPfDlqmIrLMUaY3S5e8pZnalhiidAybJiVJW7usn6bghjZpTXJX1Il0SktEiPWTNQN5TNwvRn2FCJfNoKYzbDqH0b8dWywUOuxxyvGcNgwLz8J0+nJeLYgzGOKZiT0XMLxA+vr+7LLhcWSRYokDNGKYQU8occsh3B2diaTTlvt4zfcF3ojF/EHm+51IVMUyGzAI6ETA== 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=IINSoxJIm5iybOOhBOWJpL9vfzS3qN3CTn+pgk7JS9w=; b=JZQ4Pt4r6WhkQfgI1Cm2TEQGKGqNzU+6JC8e3mA3Z2rIkBJOc8RkFwwCkqjfVFEvYif6v9Rf1uAqWN1gwcJPltxHJHFiR/ZPOpwSIece79AhtaRTwkl757PHHUU5PrL2D9bmU7CJLs3IS+MFK/DrK4cpmXkCO6xEd2gP8z/i8Fv8ntaaIOxbi0YEzNnxqNpMutNQam5b95Rj132Clu0xN5GHHCOgRPm7cWBhpCtlgnxQy4srZruUfAOdBYjlTu37+ZidAvqa1Bo0eHtJq8OD2V7qtx9DB14SkjAkWvhKsATyCogNAjDhkwcVMvDyYcBPoH5dUkm2rtYiZ9pn1tj8nA== Received: from PS1PR01CA0023.apcprd01.prod.exchangelabs.com (2603:1096:300:75::35) by SEZPR04MB8405.apcprd04.prod.outlook.com (2603:1096:101:243::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.33; Tue, 12 Mar 2024 06:16:30 +0000 Received: from HK3PEPF00000220.apcprd03.prod.outlook.com (2603:1096:300:75:cafe::50) by PS1PR01CA0023.outlook.office365.com (2603:1096:300:75::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.35 via Frontend Transport; Tue, 12 Mar 2024 06:16:30 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK3PEPF00000220.mail.protection.outlook.com (10.167.8.42) with Microsoft SMTP Server id 15.20.7386.12 via Frontend Transport; Tue, 12 Mar 2024 06:16:30 +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 v6 08/22] ARM: dts: aspeed: yosemite4: Remove space for adm1272 compatible Date: Tue, 12 Mar 2024 14:15:40 +0800 Message-Id: <20240312061556.496605-9-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> References: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000220:EE_|SEZPR04MB8405:EE_ X-MS-Office365-Filtering-Correlation-Id: 3a461927-8ed8-4cc7-d4ed-08dc425bf55c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: eXwkNAUIiQHGKCU9UF28+uDXS6taLDkJf0gR/tNWeE56yS1NnAGx5fV7dJDgWQBtaJNxYTOyFpdYk3+CklUtxSKixKRhy4pdX9LKl+gTaLUs1Tk1Y9bBtC7K4R570Qwd6Pq6mDD30v8KSNPIhTzcnn6aGYqe0JlhUmalsZOBkySmS9ogw+B8pjczRt6+KtracNbwRx/LLeeE0DdnrMEIZcbmLKckNzT4ssQ1ZG64biZ1FF/RPjNCa60sB82tTATMf8B1SVOasS2FbDOcS/1lVBd3EORByY5AXn10szWjNOlycQUO+v88NilRLIm7NmwBDdptNAiMAdsN8lOsHLNpsqZH09xMHx6SCLsQHP8sX2DRCzVA+FCIEQ2oiIVGa02ALVP+KE3hVmRLjAGFH8xsK+FVb9038qvvkDQThfSOxxwMMT3b4DrJO7XpRA2SO7ctU2bUfLq4zCgop+yo/O9QdYVeXKDQ1Cilv1FpE+8w85LDDALHN2HDy4efiqQIeeaphM080Mu7yOvxAQqQn6pYL1qs+ikpRJmHnWZCpJfRtBdRkmPti1XitjdRnJmv4fOJdK0CbY3o5TUbobEwueroxtOuii+r354/Wgb6GDzau72h3evBeKiiLJdMPkhfY1ay3fdLcPAd9l0AxxYAOgiaaFqdebwTaIIBuAFLBplKu5PPbNPk9FDtoXt7e4eCzFzYzI+cuuM/gDc+pKhT6IR5wo7prI2G/SKx4FFQbQXIuDbLQhNiO1FfROsmJCUxHbsE 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)(376005)(1800799015)(82310400014);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2024 06:16:30.3539 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3a461927-8ed8-4cc7-d4ed-08dc425bf55c 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: HK3PEPF00000220.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR04MB8405 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240311_231641_392668_FC67A3FF X-CRM114-Status: UNSURE ( 9.74 ) 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 b1775b5a6782..cbf385e72e57 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 Tue Mar 12 06:15:41 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: 13589550 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 2C78DC54E58 for ; Tue, 12 Mar 2024 06:17:09 +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=7fibSTfSTN5ZfuHlBb8HdzoAsoPVjddQ562gu7PNFPI=; b=Zs29Ru8Tt/tlnb mcaxpK3YqTzzXalatjLi1ilMXH7NPSIB67Ieu4XQCpS+IgRmWEiS7kQKHUCMlhAMbmdOQygIsP/XQ Zw5pJf0IwB84dFdKZxypBpTxmdhExnB8A+O3zzef8GpdJrv2x3qesaA3uY8TJFwuiTD9tgRx8TwzV 8YSFnwrrkps0M8lRUe//CvGDhPDdeDP3bXhaSqcIQWjQxxhULDMi84Whq/xPKLHLZ8MOUBRCsPv8G HJzCAhAEnDmKYdRC6LdQj0p4W9pA0yjyd5q4Fxyibc4p/YG6f5fm3kkBh3XuazkB83KaWfaPGwOpU n6o6Ho29WtqqEw+irDRA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvRW-00000004Wm0-2gpD; Tue, 12 Mar 2024 06:16:54 +0000 Received: from mail-sgaapc01on2061f.outbound.protection.outlook.com ([2a01:111:f400:feab::61f] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvRK-00000004Wbv-2Qfo for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 06:16:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YNm47q2D3kMyI9Kr+5bdH7bc5i5Guzb9VtzDho9NjpoRZJqZK/3WYUo5x/9fTYd7t1r7WaUmdHP96R6Xfv09119gsOhJcui8arQejojWe/HNiG+nC3VaP61/8yx9ks30NwA/KS0MKfOUC1/0kETuG38c8UH2QK0mkFHcgRAV+yS1VW2Akp6yZ3KJ6Yyn/slMbR+qLjikr6WqMozZIULbRLSB5whvdTheyeBEeTKmafXAOL7NuElve6zVfRk2QPRjf/ZBDsMxVYYvGt5o6JaEScjntGvdwfWYyXSRbitRalEk0N54nOe45eoYlwIveUb/7em8raPFh97W+Vu1Xf/jRg== 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=jLNGMUNrdX1hlgNVJ+IEvc2cz3VhRE8IbJel5r3BG4U=; b=ObAMw6Bnu+c690hDDgbZDSCfCT9rDsLMIYher4R4zO9tE4BUhvo/ezCGLDSmus7A9Jrnw2EGiz5o+hm+SLnmb6M6J+l6XtmgYzT5LTqzdzUwM4aN3WPgK9O5X9+zrC/Szt8E0yAbO+e+/54QBXieGJG0BaDVlKzqnETimJDXHac6QLJtXdNaHoecgtdp9Ph160rHOlbJjwXXprud2VCY9D0HxdIC8/OTBfMxdmZ5Wu0GwFx0Jd9iv+hhuyaCXnO6aI5Sdz+bQ1io5He2aXOnT0T0eX5/6d7gLCO+/XCTuvrHvw4O1qXCXzgNqnZxI2N12i4oj3iEg50wQ7Go+35p0A== 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=jLNGMUNrdX1hlgNVJ+IEvc2cz3VhRE8IbJel5r3BG4U=; b=sI5GsCBJJFTZfch85CFHSlchNSE0+SCY4FygGr38TkcgfJQSvbf+Lp0ihCpfS/gdZrl9NTJWAhs9pvbyleIDnZ+QapdqI4ru2wfaE7/x4vwBW4iuPXda+UF6Jng1LzE/UnM+N6zQvmhKN0M+Y09Uko9+Dufxv8mk5ZZttKpTNaT09faQovBQbC1l63AgYcnmSk08dju3CM5hmPEnuN6f2gQRWVCBy+C6V670/xJShqYXEeMoyLytmJhrXo8fEYfdvEJq6jgKUun5TkYefLmuqNW0NiBw/pIgPzkrvD3ANBtcI8q1qlByRhJuyDj3q9zEBMQg0Jp9Sj1sLET5GDdMHg== Received: from PS1PR01CA0011.apcprd01.prod.exchangelabs.com (2603:1096:300:75::23) by SG2PR04MB5916.apcprd04.prod.outlook.com (2603:1096:4:1db::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.36; Tue, 12 Mar 2024 06:16:34 +0000 Received: from HK3PEPF00000220.apcprd03.prod.outlook.com (2603:1096:300:75:cafe::36) by PS1PR01CA0011.outlook.office365.com (2603:1096:300:75::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.36 via Frontend Transport; Tue, 12 Mar 2024 06:16: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 HK3PEPF00000220.mail.protection.outlook.com (10.167.8.42) with Microsoft SMTP Server id 15.20.7386.12 via Frontend Transport; Tue, 12 Mar 2024 06:16:33 +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 v6 09/22] ARM: dts: aspeed: yosemite4: Enable interrupt setting for pca9555 Date: Tue, 12 Mar 2024 14:15:41 +0800 Message-Id: <20240312061556.496605-10-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> References: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000220:EE_|SG2PR04MB5916:EE_ X-MS-Office365-Filtering-Correlation-Id: 21800f14-5142-4600-c198-08dc425bf70e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2sRZcovAX3wW0Rl6QuZVuGmJGGCcPw5pWS+d3fKeuiUHqSCsx/kjvC8He0z6QsMJcipmneDChsNIu3YFJFVcXiCKmqPwfTj6EcRgJxX+iqF4BTtJlbqaAHeSbfm3+R5zRVWUaVT0XDSE/7Age6TLSidempffA5UQLbtxyHf20A+QRMMGdwiLmQlPMP26seJ5FsZhCaTheCLbY2mb9i7pl+4oV+WVwq1pTcXSLITxoWgc/tOh7O+6CiNxkKrQYrHDR3WFO707ktX/Cs8PkhsBgAj8JgXxGwbP/7pHx0t/twhl6+Ns/TaPpAj1aBUzyQELGHYjf4tsdlwqfnZ7a+F8aDMT/BFc4wOyK5715IdpX5mY4QOyNXIQ3aIfYWMnCjJQngSe0LVdRgEK2Am/pV31QLbMhQ3lYPiYk9ABXVF5R4aW9nNBxvNxG+fGj61V9i49lCKiu9BJNYIckntDq2KBYgCCCcVzn6EFKwOgExXg/qq5LKluhHCjIUmQiKHZs1u+mUnh8lrBVpj9waFPret+mu6VUBWSoyVFcn8IupGXUm0ZHKiE8JfEdfes+TC027zV5T7qYMNOoOSn4Wnh6Jkoy1MbTPFJPgFElQ+2tvNhUafglo2dw58WY5qpsSu+tjqjAA1ZNGvJP0OQCui/hZff2KJOze2+iqJvCzZ6JiHHkD1PAyxNkg62KayypJUVxVtjcNAfUTZFxllABBNjrawMFk6EpoDq5vraAIhA+fcxBckpV3+zqJiTpcb1+6OBSAZT 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)(82310400014)(7416005)(1800799015)(376005)(36860700004);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2024 06:16:33.1976 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 21800f14-5142-4600-c198-08dc425bf70e 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: HK3PEPF00000220.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR04MB5916 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240311_231643_015571_7568F373 X-CRM114-Status: UNSURE ( 8.58 ) 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 --- Changelog: - v4 - Revise device node name - v1 - enable interrupt setting for pca9555 --- .../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 cbf385e72e57..4b23e467690f 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 Tue Mar 12 06:15:42 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: 13589551 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 80B8AC54E49 for ; Tue, 12 Mar 2024 06:17:26 +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=+GK6Jbg0FSkXshtMEudNLIPdrj6TV79iNKFHGdwIRTY=; b=yH37J9cJVvp7kZ DgusVIz47siNOi6WstdgJTKyebVHlSWUfWM5mgI3lIOTItCeGPQsgqOHpAn8FWJMspzdP3fdUeVfS GVNw8BzhwxL5scaWOWAYwo++/Ba997sgE0csiYI5Xx4LDNzIUkJC5Y0VOr37ML8as7H+7NqSBJyGq BszITpwcwYviNWjLSCsIWpcw1DBnsd/v+Sib8epXMa3xqKRVhtWNeQwhaLT0ZM36KRuOyiEmqYOPU iItpUuQ1iFmUdVgvv/1hjlcmDDAwwIqqF0q0WLyNDXgOT8laJZ15q7Xdfu5H5hPbsNZUK4u1qlas/ muG2Q9QwXwSf1ZLEKKpA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvRk-00000004Wym-0oFD; Tue, 12 Mar 2024 06:17:08 +0000 Received: from mail-sgaapc01on20618.outbound.protection.outlook.com ([2a01:111:f400:feab::618] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvRM-00000004Wd3-0u82 for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 06:16:46 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nKY/aDj6Fy86d49px4+rTjiRCRCcQspYMPMa7FacjvFbbCrJAcvHBDnCwr8ITZM7i54CqAorSaUw5uK2SChKbL305DTF+XJbvHg6iyK483CAg4C7XPa506VzPjcaNo27UNey496DFfXHEgxIZos+0S+zaokEu3rsO8ds+TwFaxb8xOsJx+uJci5s6SERSHofjnfVGuVx9NsrA88pP5fzzlZD7oyL41qTuUFI3/NdaxR4I88SFi8vRqSdRkCk2G674+IDNIbOenopiJBATrRlBLETjD6t01t//94JdrWFmk6xWgINelMKg3WV2uZ7i4A3dz8zhyixYw1ZO26ZvwniCw== 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=DosD6Mfg6HM5skGoPJsT5gKYffO1qIysmMfEeqUA3og=; b=SC3LW7nG5i3vlyNBfwMtXMLxdPXs+YvtGB/wSGsEZ0VH0gnkv3zcC01VB0Xj2c2SPeDaU6hthy/vyKmDFeJwH7FHuuOEzcib7Kvi1QCnmOX0Sa9yVmdHZT942st4KiFMloWeO5XC1Uc7gQgaBVHUYJSGm4hU6Q1CLHpyBpEMmv4YqhSTc4bj5y6cOGRiu7m11MHcndiLvgTXqzM3B9YEHDZwrRZE77ObvV0albwMq9cHu4Ure29W+Cs+ENU1ra55D0t/PFZ99xwpgvj0XAV08aPV/OmssYYMNkr0TTSuF8xtGTu03nauVe82UW4pxfQG69BzoqLTK9pK1F0z72dINA== 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=DosD6Mfg6HM5skGoPJsT5gKYffO1qIysmMfEeqUA3og=; b=x2NhRcqZfB/gWAIG+w3MF1xt4tUeNpDwBUR9WJU5vHgKAuiat5Yps4GBIqKIShqsjNePnKNl1VbEyh2fECw4MydKriheNIkAI+mNiyJOVqzRhbIsAtYMUuRT7HVNz8TkTkobKFi5esa38rGOSA7yw0OrEEmrAdJvTsPVjeT+g/yEgSQLaJnIOrbqTUOYlZwC08aBnZ85Sky/Nfq5c8fVtyK4z7jLz7IcRuxbytgPYZH9w5pUlqf1iOgzUzcvXm2fd9CTuSVIWqxZ2Q3SPFxv988xMhmUQFZMya+owqBZPNiOTpzDZBI+ekzr1snAa0jDsFGyh3iAg8vMH1vVg+wrLg== Received: from PS1PR01CA0009.apcprd01.prod.exchangelabs.com (2603:1096:300:75::21) by JH0PR04MB8037.apcprd04.prod.outlook.com (2603:1096:990:94::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.33; Tue, 12 Mar 2024 06:16:37 +0000 Received: from HK3PEPF00000220.apcprd03.prod.outlook.com (2603:1096:300:75:cafe::76) by PS1PR01CA0009.outlook.office365.com (2603:1096:300:75::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.36 via Frontend Transport; Tue, 12 Mar 2024 06:16:36 +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 HK3PEPF00000220.mail.protection.outlook.com (10.167.8.42) with Microsoft SMTP Server id 15.20.7386.12 via Frontend Transport; Tue, 12 Mar 2024 06:16: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 v6 10/22] ARM: dts: aspeed: yosemite4: Add power sensor for power module reading Date: Tue, 12 Mar 2024 14:15:42 +0800 Message-Id: <20240312061556.496605-11-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> References: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000220:EE_|JH0PR04MB8037:EE_ X-MS-Office365-Filtering-Correlation-Id: ac55aa41-b136-4d69-d29e-08dc425bf905 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7C/fKVCkEJJZpZJsOW6Xyg4iq2aSUEZn1fBgtYYjhDRAbX0K1fKnm367zI11GVe/UrNpyGLxueDU2GxqyvoVxs4Q9JDuaYp5PZOqHDoL68aN15rgVKgy9ip8aERKVsx0TWMz3A6ZQ4wHCuN7/lZ+2V6BDq85CTmCmV6Ztl/CLbS2Z01fLGR/0KRIuw4NCPaZ0soA7ptg9MhkNL8Gmec2Jk5NvfraDvWcnaP8NkuATLODv/6omi20yP/0XGpAS0SD6sahcsvXucLppC8PN/osuR/uu7knkw3mfgud461o7+O22eHVsACAIUN9GeZ7rKgeOqzv2v4DQ+L2w+HpDcEbZ12xoOz8l5S4X3p+HJk/VDXfZwX+ILDsk4UBXRf3B0q8xLCrzKjQVXQHREP4ztlAP4fQda9+8uqX02QxZetkwDlIn47ZF3v1sDw0p+BrAnAC+ATyi0TYxsx+tYil8G8SBrDlhZCkagsa7W75D4hVsNGsXvh3V17f8l6HjNnGF/Pq+Rn6dx76xdiXaGjJLpuCrmdiaTzY49qUyoVNiYwGQrWmjaWc1cO1e8ifpf0vP84Jqmlepzk5I0p/VQTZilRcYpwY2sasCNl4Z5lLtIFc8YzQxNl0gtKjyuNEd0vETkc+Z/huqKldjlXF3FseLABKkuJdTXWQv1pg/wfSvsOrS0bUqzhwYwIkPpariiwwLi/i/yh3P2WRnVYOhB7i6DqHwlPoznZG6ESSymygBGnpY6dSvpQTbv7gEomez9AmW2L4 X-Forefront-Antispam-Report: CIP:211.20.1.79;CTRY:TW;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:localhost.localdomain;PTR:211-20-1-79.hinet-ip.hinet.net;CAT:NONE;SFS:(13230031)(36860700004)(376005)(7416005)(1800799015)(82310400014);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2024 06:16:36.4945 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ac55aa41-b136-4d69-d29e-08dc425bf905 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: HK3PEPF00000220.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: JH0PR04MB8037 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240311_231644_350289_36AFFC05 X-CRM114-Status: UNSURE ( 8.50 ) 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 4b23e467690f..e8d7eb7ff568 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 Tue Mar 12 06:15:43 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: 13589552 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 92E47C54E58 for ; Tue, 12 Mar 2024 06:17:30 +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=o/WaB7qKYsIyoNKhUYClfg+y7Joy+5vFbXTH1LlVvtU=; b=GADf6vjye9Z1BL /qO5e+mRmAFZ2DuwuTddN3EiD7uh3/e2zXux2d9o1HLOkZ1X9mTvrDTkcH97Puml0aGrCeOvCkTfM 9mq8agfA8xeKEsbc7ZDd86v5iCNPZjs2j5Wq+u/Etffgptn4+f9IN40Au8sQU3ADMwizzNynPEScL uNX9ninskVajFo24ekMKBuRBWRu4VI4eejaKGI2XAUTSULgIAkms4PD/lWJV30zbIV4uTKrHOik4C eBN+BB+DRtGOWuH0/CJhc3qFuEjX72pNaxEF2ZgspifG1zjapUgU3HVFThNf/C5oBJx7VMo5c5FbZ Os1E0laQY5tkfUlnXQRw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvRr-00000004X56-2IgU; Tue, 12 Mar 2024 06:17:15 +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 1rjvRP-00000004Wg0-3i2H for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 06:16:50 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DLYo+TZT1QGb9wpJIL01tQnxEOzwE8Qn20kqhK+ux4mZPuD8Wo5t8USHx+ZnMn3fFwhf7LxK+w5n96MJMoZE47qTizQ63bQKDSJ6o4l9VlWfPoDM0EJDGaULS4rIhnbemix4hf6hbf8eg0Ikrkqg+5mEGTb8f0EH27CXNr9fx6/wO158DEIDEPxwNfSGzgTxAkFDZEfrkDYQkRvqV0S16syU8vpEuzkkaT5MqFZX72KVkuiTNX8NsFK8W+7LsVrUjq+1/4do2C63b8ph6NuLUDGMZxdozICuY/KjTEFgsqSv+Vnen9eU/GlIAmaQXAKOmrOGlWoKiXjlXoOJWpe/Qg== 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=83qzPgFTx360SjxOmqFNjD3Rm3s/Cy16s152N2P3fZA=; b=P2J14/PV/GYNTfph9ANgHJBgEzkTzA7MRfi5QRjJQ49/Wh95yosRkswgr2wrNL0jSq0vWow32toYEhIKEI2KFnZtzVkG3l5E2y46G0fCKpI3ERJwKBjSkWtiq+nZChunEJFRMchCLa5VCP//zYhk8zbe0cvHiijggZ+xzMY1pI2fuSRU1eTW3ht5SJeEgQ/NgV7HPkFARLgs+qaNnSZlMeg8rZvA9QyCyZCNO5denSNy4sm6fgckFqMTxTFjhf54lalquNoBX1einSwD49Sgdhw9a1MrYV9Q45Tx44hIcqHJOD/VlgeCyrl6IsXnm3YSFH8lXHcAuvUdEi1MdZlXPA== 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=83qzPgFTx360SjxOmqFNjD3Rm3s/Cy16s152N2P3fZA=; b=sfzXDfQE4o+/JEVdqgiah0WMM1NIsgiSnAOcMfnWyEvZQpPE7MUqdLrLciBoGrRmnH0UX0xspsj8bglANWIZ/9E3lqN9qGIODhSkib+35Uet1JombVjcZbXmOejsLYPl6kL9zKpMSckdHdRKGgV4TKcj+WpdBm+4Yj/45zyP5YMFTEigkfPcXNfNPcliWe7kn3rLQhylzfbDnlphnRL/sexq5edeMU/3YkfPnQxnCGUtGKjuSw8lmM8ajJjDiMx+jovojPCbZqKkdjmZBx77yaqYk8ZTUejPyJ4I3yIpyVFNt0lrJiATa5fpTirRT8jS3JIfhNsMtTefY+czNBP7AQ== Received: from PS1PR01CA0014.apcprd01.prod.exchangelabs.com (2603:1096:300:75::26) by SG2PR04MB5687.apcprd04.prod.outlook.com (2603:1096:4:1c7::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.36; Tue, 12 Mar 2024 06:16:40 +0000 Received: from HK3PEPF00000220.apcprd03.prod.outlook.com (2603:1096:300:75:cafe::b6) by PS1PR01CA0014.outlook.office365.com (2603:1096:300:75::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.35 via Frontend Transport; Tue, 12 Mar 2024 06:16: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 HK3PEPF00000220.mail.protection.outlook.com (10.167.8.42) with Microsoft SMTP Server id 15.20.7386.12 via Frontend Transport; Tue, 12 Mar 2024 06:16:39 +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 v6 11/22] ARM: dts: aspeed: yosemite4: Add eeprom for yosemite4 use Date: Tue, 12 Mar 2024 14:15:43 +0800 Message-Id: <20240312061556.496605-12-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> References: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000220:EE_|SG2PR04MB5687:EE_ X-MS-Office365-Filtering-Correlation-Id: 58d503f5-1c45-4aaf-0a98-08dc425bfb04 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: snBOFQ2rfDeUKR4xNBwtRB9qAHnvzdE1zMMDOPxYivhxAUehzaXaR4EGwAIHWL4QN1/ebSKRuHjxiDyXAi5EgKIkFapUamoOdAXWznqvcgm4FRiiM4KYWNEeBASUp1IvHAVEGuLENHSjULAVNebRfYzsKWA31YM3GmWXgjow0ea04/LVo4X0wbeN3H9VRsR5YNEdKprJo2oww99x583JHTywZd0xHOly8QhrweY4yNowWH4SMDI+MjEvf5AKiBasdAcCGhiQ6qBb6EtT2X1BPkTXCTze+NjQ0H6T9RggUI1vKMe9MMyPnzJIjI6S0y3SNbwjmx12KcYHHZU49fT4TEpQq6LOo6jGWhtL0dPr48oJiuFSOkEnbz5b9iXqLx8C1fTxXCAR3z8Vq87aW2cjgplJXzDXqfYPVvtEZCHxepONfFnVAZ3GE5xtUCSbKWRsYx5DrUu7twBNBCAY0Yug+kIa1R4t8ZsZz9PR4iP/6ZmEQdmPwhhpq5t2ZrlFELa72ePOFtEIeD1fHjqfLiHGdgSzJmsmvU10yvCHEYYSv01V5sKGZgMcCOcf/ktWxEh6qAvd/Tn4CB9+dv26mRYmgrL8MP4ZsjbgldTYpfz/ZUgEt+pvIKi/WZIP/72dcN5xtj8823cd0qkP1oenKc3p6vEMjEfAE+BieX2Uia4aMOvac7UxljscrcXjebc8mkq6c+iWmpYWFWpvloVdfwc1mRK2+NFq1xkiK5rJRSq+DtrotQyLRwB4M2kyIBTHfmED 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)(376005)(36860700004)(7416005)(82310400014);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2024 06:16:39.8383 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 58d503f5-1c45-4aaf-0a98-08dc425bfb04 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: HK3PEPF00000220.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR04MB5687 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240311_231648_615773_52B84AD8 X-CRM114-Status: UNSURE ( 9.36 ) 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 e8d7eb7ff568..f00df378a371 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 Tue Mar 12 06:15:44 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: 13589553 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 7B498C54E58 for ; Tue, 12 Mar 2024 06:17:37 +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=mldIHNQVs7A3GXHRl7TGDYyQfWKm4QEp2JAEd/I3qw0=; b=UkFsAKx3TtYje+ 6A49dnJJQAuCLRQHWEVJt/wtcryPXO+CXT77p+mkhH5Rm/XWA8JYdUCyprZlt2cXZlm/TNEc1CJ18 5PzRc0IHq9FHJ60QQ/FSZxOxxrdSioFvlaUqYt8ZL2QTt3VFBJuhR7W3wnGskCQeRt5vwJy4d2TQ7 8T0UvK9fkTK67C5ALH455EeU/Vn0rykymSrBxg7BFAqk2RVCkZPgoLKQxGAY1bqp9FS1LFDCDb4hM v49s/EL/J40VNHO1Q9RKWvt+26PRS5ArIVmosh/iGpGFKdoNN7l3X1skcKSPlUbERGWRso1dcpSF3 9INhs/yfy2H9t5z7ushw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvRx-00000004X9j-0V72; Tue, 12 Mar 2024 06:17: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 1rjvRS-00000004Why-0mEW for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 06:16:52 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UUeNvSfU2leyDig/9TqrXMXEah2EOg+/NLd7EU0Uf74fleZdRZWdURSLoEFgUg17oojjAgVMVdBPbHAf8Zngy480VzHt3rLW1yf7UUEzBvzPb1R/LvHPSNWyuFF2x4Q12lHBSpoSzoqMmGBN6HvCxGNTe+ASNqATwyt55NQcMWZeS4FJJGe24gJ/yzNvDBRbvwQz1Zhdlq6RvYWhH71YIQHK3KsshpzelnFbsfktNXpL5Q7a57u9+J+qBLzeegOOolVBXL8Mbx6Aj0qmSGRBq6LZHN97tz+eXBhhzEGEulc62KPpH4G3NWCqL+SZvYsBigcp/m7jkCdZ+s/tK9vZmQ== 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=phXviPZoJ6ps795hGiyy1iR8IfUBkORR79WtFgTj63I=; b=DNXCmBAS2w3gU+zWVlCqNULoF00IDyJQEszISwfQOOKnJIrh3YbZO4+s36MG+FLJndsLr6TYkUcupIDzr/v2gO1RVHSZ6uekVvjRZCa4aEsMCbHcSi0H2M+FZljzGyC7g7th00sYsheu4OjByV5zOe/BZQosV8Pb3EQDYfn507sGaIey6LpDsRJykBhN0ifgZLognUP/thOngw/s4c9onmg3g+wG/A1gyNG7OrB9bUPXxDisq/s2pMIbhNFt2FlGpiCA5xslZXP2tqwPwhAl695nzqlGICV2qG2zQvXQByGpUXrs3w+/33pNKIASA2tjbVYFu5Ey6vtPhrUxs0i1BQ== 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=phXviPZoJ6ps795hGiyy1iR8IfUBkORR79WtFgTj63I=; b=rHPNkZ8O7SGhzinkNVrca89qljHFEDWEjGvIsM8sfK8yhuATQODL7TCFACu0I2eoUc+t4sqC01iLT4sYARDKUDc7S49yke6rvkClmvSTPbqv0TY1QfdBhfPu3ftgUkaxT98m0QcqEpCzVplR1P/G0QLtWo1DFrdfyOHI0irIZuZmUsSr5tW6S4zjkuoHSqoV/FWLQnkafpkTT2tqZ71JUotrL1NpEvwcAmUW6MVIAodL+0+6Z7LLBlbTvimId6weihGlxiy8l+4Zdp0bL38avcq5SWtZD7LHE6cbclH763eT7ywNNwdhLPh5gTS+m1qvDcM7/AZigROTxiXIptbQBQ== Received: from PS1PR01CA0001.apcprd01.prod.exchangelabs.com (2603:1096:300:75::13) by TYSPR04MB8111.apcprd04.prod.outlook.com (2603:1096:405:96::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.36; Tue, 12 Mar 2024 06:16:43 +0000 Received: from HK3PEPF00000220.apcprd03.prod.outlook.com (2603:1096:300:75:cafe::8f) by PS1PR01CA0001.outlook.office365.com (2603:1096:300:75::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.36 via Frontend Transport; Tue, 12 Mar 2024 06:16:43 +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 HK3PEPF00000220.mail.protection.outlook.com (10.167.8.42) with Microsoft SMTP Server id 15.20.7386.12 via Frontend Transport; Tue, 12 Mar 2024 06:16:43 +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 v6 12/22] ARM: dts: aspeed: yosemite4: Remove temperature sensor for yosemite4 schematic change Date: Tue, 12 Mar 2024 14:15:44 +0800 Message-Id: <20240312061556.496605-13-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> References: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000220:EE_|TYSPR04MB8111:EE_ X-MS-Office365-Filtering-Correlation-Id: 419b19ae-7d95-4bc8-e019-08dc425bfcff X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xYbXx1LpXVeeHgdLNulLQ1U92wp9OOw6dZPIipY1KvGcy6Dn+DU4CaBZsuHMhy0LSGWBOUCFOO8jUJf1K9EcykSUUMUkyQdqq9GWU7VowzbXWWUZDTng79HmRnmVCZnDdMObyhfaiP3yopX8OVdRAQkcBQtiQd75rERAsBuhheNRmMvXqYXC1yHk2DbiqKqqOSVQQBYKBlYyBfsKw6UVbOGH96RDuPik9v75S++WJGpxabPO63rXAQ07yqGeKyURReNAG1KVoH0Vo6QiWmJDlHiW0KCKml3w8cb0KF4DVie8SrqoipJVgI+kSZ21oUvE+9ePEVC6zz/x/6lP1Z/6C+3J8OLABbJ3Pmxt6Szsi5+pwJNBkniE8duvoetz3kyTHWdYuVWsS2DfUv7aQ0BCkdaDBpY/uwhqfYE+3RW6QuEVgvldjGlQ4nKhnhr7Y6SWC0CPFz3BjczKEFSDeJCr4H1Ac3LJWAI9Fehf97TZMTTzHR8Zi1Oig2zIk/PJRbM7W+I4Obg21OWBPaT+v5SkpsNEIzjKo/adgHFv8pwte5l0GW2Kz+IGfXgxyNUoEO9dvIfDL+ndDKtC6wkM9IuHdCnPgv6d3DWpJEi6oYxOxhSiG+TLJHvhqFcf5DLArCxvVJTNRo602fRSGXGClcR0EWAtc8GQXkc6xJh8nhz3NFn13efMhpxfnb+SpAualwZUAPKferJfwlXxVAOFKisocN73qgFbsg8ZbpjMq83KtDASJCPDuwfpjFfRtAkeH5Ya 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)(376005)(36860700004)(82310400014);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2024 06:16:43.1664 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 419b19ae-7d95-4bc8-e019-08dc425bfcff 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: HK3PEPF00000220.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYSPR04MB8111 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240311_231650_499746_82C6BA90 X-CRM114-Status: UNSURE ( 7.64 ) 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 f00df378a371..bb4cba8f057e 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 Tue Mar 12 06:15:45 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: 13589558 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 CBFBFC54E58 for ; Tue, 12 Mar 2024 06:18: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=V2wyQGdLi+BGp/LajI3bUbdrXEM0krv/mysL9qsdm8Y=; b=LUjiNn5jdgCAzH UV5JXwIfQ6aKVC+Rf89nAgKKZqPiIBcw2ZyZFgPttL43XAcRUqY4bH9I2I+YRwpaXlqoRFC8vLNjm kxfi+CGIuM5cASOLM+rYDh2Dhr3NKiz2Z7FdkxMR7YKZfD/o1fC4NxhESUh8EihJjqMcowxLoyp3a 5c600ZATrVNxTNGF2Tx2x5bqUVRXVfVO5mgkg9+esJ9WlK84Qdqb66XOlagE2cHO3EqdNKH6oFDHn sg1IPkiIR8Q92WxeBPSlMKniXgHXoQKmOImtwpc7ZpKwe/k8lGvAYkR00uF3ds4nzMtjoVDEyslEO DpEIVb+rSRnVKclo82Eg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvSy-00000004XqP-47Et; Tue, 12 Mar 2024 06:18:25 +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 1rjvRc-00000004Woq-1zOp for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 06:17:05 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XZ3kCz6kfXn0gIVBOSdnhYIFonjXF4cbn+dnRfN68CZKYF8bzp7hc/2Vlh71zX9Mt4zu2F5/NK7Jbp2agullmW3+2C7Zanaaxj9TzG4fTev2ycFh8rYDmg3XpUELNNpMWct42ErnWOo8CAVvxNeE5yfTHC06AWvV+QuKMVFGGPSSfI7SnxgFXcTJ7bZQ/5KSuqRBib8lTua00ydN5p2qTS+u/qbTkR6Kz9C/PGADyoo7LUExXLmtOH9g1cYZAAn8hALvO7mAW5JUusWNQ5d1F1hQDFGvJ4j27j/rb2nHNovedxcymhUkq+Mq1Hi8JIOzgqzi3w4I4+yQPH9OfmDZTg== 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=beZQnJO8EVDQsB6FD+WDIWhawKeQLQfwrszb1xOyP/U=; b=ONzJdkHhZLv72X/mpy52neu9/lSCTxxqCOa612OwQ1QKjGxt6DsftoUN4pqcGc4eyzDlnFjI1hGtj5IBfNkG6ik4JOCofuykfG+4W0PyKhVSJYZLjZwh/vbpDr0FosmKnBDuoX6gOt4aJefszmYDQAwNgq9TWTifZtxcljISlI6mb4/pyh1eCRmGKwiSC/JOIeawZmJMdm1p8GFTkIioeHZboDoIqFR/BL7fAL1eJQEPqNEOochK993jmKlVaqjQ/z9XpHURkwL2p0ZifarE65N9I/GEfhV8hASabuR1q555PqCdBDVsBCHgbuEYPI27lEciNpB3T2Wd7iWWuYNecg== 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=beZQnJO8EVDQsB6FD+WDIWhawKeQLQfwrszb1xOyP/U=; b=d/YYMUe4b4BAPKxc1I5Cd26KhL39scHg4f6a8TE5dv+VBUERjPxO023rFm8UJpP8cAISFxuVciv9Ec+90ovrm8pSW30hUEz2wla3trDcnsyciw/yYgB9eDiLGyd0eTkZE6ib7CV1/KuXSPl3uqHK/+iCSuC2P9F8ZK865LTvdTVoyQLe9Bfc/YWtGuB9h4P0RDlKhF/1IsimK98EwHGOTDPBHmmc6Le6ttgTf5xMfELkITaHXuw2sDn+cwTCwPRAbfe7fnngTR2LJI5nBa8zGLAZKKMTDFm/gKgDKKXzhJE2w+vsjTywuMcTF9SrNmkWziSAkdxuk2DyUIkpoZcI8Q== Received: from PS1PR01CA0009.apcprd01.prod.exchangelabs.com (2603:1096:300:75::21) by SEZPR04MB7339.apcprd04.prod.outlook.com (2603:1096:101:19d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.35; Tue, 12 Mar 2024 06:16:46 +0000 Received: from HK3PEPF00000220.apcprd03.prod.outlook.com (2603:1096:300:75:cafe::40) by PS1PR01CA0009.outlook.office365.com (2603:1096:300:75::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.36 via Frontend Transport; Tue, 12 Mar 2024 06:16:46 +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 HK3PEPF00000220.mail.protection.outlook.com (10.167.8.42) with Microsoft SMTP Server id 15.20.7386.12 via Frontend Transport; Tue, 12 Mar 2024 06:16:45 +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 v6 13/22] ARM: dts: aspeed: yosemite4: Revise adc128d818 adc mode for yosemite4 schematic change Date: Tue, 12 Mar 2024 14:15:45 +0800 Message-Id: <20240312061556.496605-14-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> References: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000220:EE_|SEZPR04MB7339:EE_ X-MS-Office365-Filtering-Correlation-Id: 2aaa9c6c-64a6-4f45-07e2-08dc425bfead X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: S6bCtIHHEGCaWHnhKAhZIo7w0XpeHgrp9XviIEu0U1Et0yvVrv8gSvzCqAEvnv9I40+/Mk7qrlbKZ37TTazSQ56fSLea5m5Wk+KwHNSdauifEkjSatxON10KCFmc71kI1cwvgvy2s0GdQDbCZ97ihDstDX9hHeY2AC94whvcO292dbB2IFWcsTlxY3HHj4/IRWIMH+mSXMsROt2v41lLhtJGCscNW4G6X2Cv4XQ1O043lHyshfBbvXSmOCGlcr2rHFnOWZrtj83Q7d7Jun4epBS7S31I7UlS9ao5f6dAtvs1zV8We23Dknzuvt+YC6Z3YpDVM4SENW9Uh4hEvaRjZzEAo3YtNBEK8cHc26XdjhBgQ9l6Ajmo5c+ElRfLmRvIS+pgBvOcR21vI9bBZ3tbwacyRDPoR+D9MGYI3sqDFt0HqU/prCwPlpmSvMuOyZmJtzADoCYAjyBXjwQf7p0P2YAhm4NZ0LD/EkCq6GFLatBL5QrU3qio2q+3IERj8mAZu+8nHC8BgzHz3KLVQlSzWlQ5UUPXk+Nw/qLg8uvmgAHdgawUNviTlZM+uQ+Lu+LWdqbn19HH7E2aPDAwSneD0teXn31nfXwbq7f5bjEut/wYlZDpqFo0LMx4K97SeCSnUl7bRUXjQhl69M9x9He3dZN33iddEpgxnks/bOumpgwj7+mo7aq1qNCvrPwAZyzKja0/XBq0HTQOVoNw9iKxHNrvBQ7FywmCSLk7R3fAMbYkEv2c8iF8Mh2Qw0DN5UvW 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)(82310400014)(7416005)(36860700004)(1800799015)(376005);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2024 06:16:45.9790 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2aaa9c6c-64a6-4f45-07e2-08dc425bfead 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: HK3PEPF00000220.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR04MB7339 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240311_231700_962345_F28CF316 X-CRM114-Status: UNSURE ( 9.25 ) 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 bb4cba8f057e..4cf4b0ca1024 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1010,19 +1010,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 Tue Mar 12 06:15:46 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: 13589570 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 B42AFC54E58 for ; Tue, 12 Mar 2024 07:31:10 +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=P8fyNvMA4fG4EcO601FO0V8y6mVtUBp4Z/iKNWr6JPI=; b=on8aTnRoA1uHOP +ncx7FE4PpieHGyAhFTZ2McteY3kFoMpiezc+QlFi3VrC9D4mjrG32PS0T0m/GQMh0Ksg6QjA6bFu WSbcwVGUGV1+g5ovOc18O+rpUW2H/FhTLEpbn6oQ5lFYttvhzOW+WpDo7+BCLTbOK6bACjWUM+91k dgLBHdioarYBeiA49dv2aJ500RPcxGUo9AaywRFryqJqkY5qcW4kKub9VoEbZGE7yOddgZZ3mTtmn PR5yMd4Dg5P6fGb6yjFeK8M+GmikTQxuXtNp14nmnELaVUNyJuY2xMCTomd9eNnQ1C30Dh2GDIDnX xk0VLJUZoGkHVMJP3eoA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjwbK-00000004jOP-3YSl; Tue, 12 Mar 2024 07:31:06 +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 1rjvRX-00000004Wm3-3DqJ for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 06:16:59 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GVjxfzDqUd1gAbbEieGcTmo9F1JzJRas6w/uLyclsTC8g93RoeR1llg0JmgWVKAeFcnzyCMhfFq1OVqTdLFkfR9ZK2WUz3mb22KvAmIK//0uwaz8OWoJ2sTizPjV/ICVJOQyKAkISUL1I7flGCD9yq/12aIi/Cid25AeVnemPef7KMDFVjFPpUuXrsLHz37F1r0Wjwi72yOy89Bj5ahIRYhmOKUd+97mWbkGwtQF9TvM2pfSgjKtW3pGJ+9c/5L2HYfD68Kj2IzkCg3VT5ncUOwm6aliczRB9HcKiuDsTc+8UNMmR9hQeyCWnPmy1z4yx35H8OeF1r6ymVOs0dsSbw== 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=0G/0w18p91abLzXYuBsYuPzEWdrZURAnJ260VnL/nkc=; b=ljn0UiYR4eRzlS0GS2+GEm1jgHwRzteOVf5rA7kJRQh4umNSFdnq3hLniDBHcRJcM5fDlcNro/GZey5whfrj44jZHCfemKe/uQYjvcCyI/vtRXA+egnBuUZUbe8fyUKEXtisfP+Hml9tJmlDJtC5f0UACq94epRZWFZfsatF4f+PPoD26ypVigbGa4aQ36tR4iA1Eq0+NH2ARLU0JM2BVc/d9dyuhaXbaFySDPSCwgR6fTBH5X6k1PNyG4K7WMh8EVFSx7MRveR4Mk5EXY0vtbOUC1cZ6JdETa5iLvye19hlhABWmWv4uHHA314NJl++1BKrPwQi3ffMWzOYMBaJPQ== 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=0G/0w18p91abLzXYuBsYuPzEWdrZURAnJ260VnL/nkc=; b=TF71l8iN+ob4bwDTIpZabtbMrLgMWR6LBOn+dxOVmx2JSF+v1FG8YAqVmSSdRaH7miaXeJTEPwhgH1ZPvvGouZK5M2a9mnf1FcVxV0FcbKviQzKzrhKNcyKjD0rWJaaxxGCXatZg74LGquHq28kuOP1QdBtt1g22gUdi10Id82e+1UQnZX3ojTSZOvvsEhIKH7DTNugkrOyZwWgfLGBn1i6iILOvjSYQDq5taLPGV05etLGjB/gZCkcUA5o1FtpyIO9V1YvCuCMoqSOCImdJDGe2j9RJmV7n5yDabgN67Kfn96Maxidv25EH85LaxlvR+015SxcX9spwfiO4FV/SIg== Received: from PS1PR01CA0015.apcprd01.prod.exchangelabs.com (2603:1096:300:75::27) by KL1PR04MB8104.apcprd04.prod.outlook.com (2603:1096:820:140::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.33; Tue, 12 Mar 2024 06:16:49 +0000 Received: from HK3PEPF00000220.apcprd03.prod.outlook.com (2603:1096:300:75:cafe::5c) by PS1PR01CA0015.outlook.office365.com (2603:1096:300:75::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.36 via Frontend Transport; Tue, 12 Mar 2024 06:16: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 HK3PEPF00000220.mail.protection.outlook.com (10.167.8.42) with Microsoft SMTP Server id 15.20.7386.12 via Frontend Transport; Tue, 12 Mar 2024 06:16: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 v6 14/22] ARM: dts: aspeed: yosemite4: Revise ina233 config for yosemite4 schematic change Date: Tue, 12 Mar 2024 14:15:46 +0800 Message-Id: <20240312061556.496605-15-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> References: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000220:EE_|KL1PR04MB8104:EE_ X-MS-Office365-Filtering-Correlation-Id: fb5c01b4-cecd-4e5e-cd55-08dc425c0057 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OI7JIyGJe9wiOVUtZ9ILQeCgwRS1rwA+ga9sErNfSw3kCg/qLQxvvoc/LHe4fawCvYOZCbMynuk3yYrAkknk2X04mrxjq+smaMDzRHpUGQMRo4/MTiPxJHTG9uNF5WNI5rUFM+e1c9YD/Uy8uVJe71G0gCcdqWO2WdCKpoTDx01URRY1b1M18sHEOXth5Ob9krOTxjwu9RAKwKNr+CTxsRw4/O3PdZuTriwTeLiZI5KgxnV5zqvJxvX4ooisj0gJ5j29S0UE13CI2nyTyJdkU5uhRhVLbWGcBrfFSBZ1V/AWxrefmt/Alx4uqNKYcJGN61dghKYFEuzXIXFcAKpP43v6OwYFx9FqVV87fmDZtHD+hATtSbJ67llrw0oRLm7tUMIv+TGR9Q1kxbwlierd0V+YO2nhb53hw895cLgSUJcV7Bx6Jd+kOcGv+0AxsICq7UbXcw9R345cCSdwTEZBo4umsS0qO5PMVjDE1h55cIfaoYD33gLJcu8ngYUbMV/gNPNBSu+lvUuhcT1Xc9ZZnhKv0w0dWpUU+DAUAmDvp02KddFFx/HFODWw1Cs9Pr0kV5CSbr6Nq3c0HLi/PT/BLszeW2JUwocuH4F18OMh0JglGXYw9xpHWziJmeRzptnBiJozEFovy93HuXaEctA4i1V6wYcJ30ovGYKI9lPg2I0Gz2aI9bsLL6UJlb8Fgi00XZXIE1/Vvhs7w37NeY7o8fEZNRrfPXSU2ki6SMNhUQ7N2dYMjwD0Tcw6lSD5mD5g X-Forefront-Antispam-Report: CIP:211.20.1.79;CTRY:TW;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:localhost.localdomain;PTR:211-20-1-79.hinet-ip.hinet.net;CAT:NONE;SFS:(13230031)(36860700004)(376005)(7416005)(1800799015)(82310400014);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2024 06:16:48.7758 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fb5c01b4-cecd-4e5e-cd55-08dc425c0057 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: HK3PEPF00000220.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR04MB8104 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240311_231656_050149_BDCC2BA9 X-CRM114-Status: UNSURE ( 8.03 ) 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 4cf4b0ca1024..f0e93c74003a 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1026,28 +1026,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 Tue Mar 12 06:15:47 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: 13589557 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 3C41EC54E49 for ; Tue, 12 Mar 2024 06:18: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=SUdhg6aTjxx+zH5B9lbn9ni7WQ3PqV0LnuQpzLJYVV8=; b=yg4TldQOmsMqm6 fAcNcZoSnyDLLQ1CcBPeM74oXo11Lxdt4cTqnwAEv+HGkkvvYFLkU9KSOx4cjHSOjPOH/X35Nq5Ka jv4GLqxdcLanj0zcvQB+rM5X6g7Y1gI2ftVTsluA1TNEN5WULnWijp4pS5UskC2HQxr64jBHTAFq9 Nrt7PjhUG7N1b93/YTj+B3OJ8/7jt1wHP2+H4KIARGzoXr+CdxVKxyRWNiaoGCHhlvPoIcitwuRNZ L5mF5Q8+tIXNI5nuBVj6bhS/U2nbn7D75NETs/Hy59wjlzpkbSFXPYr25T9PDkk4y2CDQNYWS7L0b XXBQJDTbYV8w0p8Qxvqw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvT0-00000004Xrb-2qf9; Tue, 12 Mar 2024 06:18: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 1rjvRf-00000004Wrf-0VG8 for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 06:17:09 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eYzxYx9in4MEMyVK3N4Y1XVBMneojXEbD0GqeyCS+HA0cVQpg23A6aXpXktqDvplG8kchKRxxvzt854CqntTokbhlFt8EzKYsulNkFNf8vMoSpB6Xc63lON6jw1DLZoMtBEp3Bv9gdGl/dKH/pZLOxsVOcc9ZkQuMSE7Du+gbe3VYXdJ9NmaJGwWbhNMlCOKb3ieim/tg8els1Zp7XWT2wU4Q6zHXyq73UwmHDq0sWmIeH4i3gck0aP7Rg+QRDKGkT2NWajUdOXACBSlvoFkX9wD6Uk/3YNIs71vzRFXFHed+sVGrXIEqekmFWzOF8EgBbbwQADPFhkGTtUspasn4A== 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=LUNtvQ1Eth8qm1pnxm9kajQVaK4SrxDkTRzAWRlpwnI=; b=BuUSMo0F4VujlBBPECnwJZLM143AtkXZlQyWr/kw0/tskcOVMBYhBxOOZiWhQhrQRt54QADpiR+uvvYDfgsLAGbYg+WejVvUr4iN/ewZp6WBwSjLWZxbbW1ZMamSNzoL16tvcJq1LjJtZWI44J37kjm43vvEUXm9lWfo1b/Lo1MSOTMKLOs3eENWuPO4s/PjDC+XCc/u2qvOqZt6FCQZ/t3GthXuyMVA6Dho+uytQ0so+6PbweUpuBPUwl4wLJBZ/bT5h5831tJQPq4IGknN2RKbWU9L8jGwWn/93t77HMpm+UUQwsPS4X8+YAAuj6VTfyjZw1vqMY4SxGTEvzVQ/Q== 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=LUNtvQ1Eth8qm1pnxm9kajQVaK4SrxDkTRzAWRlpwnI=; b=sfllnoIeXHMYRCKwIZf0hts2h/tzPN2Al81n89Pp4FakF9nMHkXhqX3maL5uomo4oZ5HEfmL5F2x8pz5+IdweW98V74bHVSCumtgtrXP4DQsbmbGVQ7B8NTd99xunKHsH/7LO2ARds1oWXQXeggHjRu2Xxq2ZSUfI02kO1ZI4Oj9GseuGRWORedo08MOZPYpxXSADNK8DLhJetcUOdFppbDioZezv0yMDwDUeWxHp/IJykh4AJjV1EjMyS9H3V3vAE9tL3vlzM+8b+NMTyJrvxwj8u55/iw9kCu7L5o7ulfkHnkeQNE1wLMSBufsEcJO+3z8zSOkJF9sKt6i5JSPzg== Received: from PS1PR01CA0002.apcprd01.prod.exchangelabs.com (2603:1096:300:75::14) by SEZPR04MB5874.apcprd04.prod.outlook.com (2603:1096:101:7d::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.36; Tue, 12 Mar 2024 06:16:52 +0000 Received: from HK3PEPF00000220.apcprd03.prod.outlook.com (2603:1096:300:75:cafe::8e) by PS1PR01CA0002.outlook.office365.com (2603:1096:300:75::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.35 via Frontend Transport; Tue, 12 Mar 2024 06:16:51 +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 HK3PEPF00000220.mail.protection.outlook.com (10.167.8.42) with Microsoft SMTP Server id 15.20.7386.12 via Frontend Transport; Tue, 12 Mar 2024 06:16:51 +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 v6 15/22] ARM: dts: aspeed: yosemite4: Remove idle state setting for yosemite4 NIC connection Date: Tue, 12 Mar 2024 14:15:47 +0800 Message-Id: <20240312061556.496605-16-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> References: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000220:EE_|SEZPR04MB5874:EE_ X-MS-Office365-Filtering-Correlation-Id: 1411db4c-5dc2-4940-e137-08dc425c0210 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4spmlKYp255FLw6YZf/ULNoGaHOCzUFTrkuor9OGxnVfLHeVs2dpcyq60KrOTEVoo5mXKCpBopGuf8hWUemQ/cuP+DkoKqgSjlSkR9BcCd84jWMvpiXD49d2vQZGW21Sk1/mYXdbHPInq7MH3I6inbVugLalxgxAEMT8m2BK/kWBiREhOSvD8+RVR2v++YTSewLU1iQlbKhZIJ0y10XxidT4pcmaG5XBRT7FHYNuqkAMW1t2tNgAf2N/xhxI0kFEjMfEfJPygGW9XCXFw1n9Z7Vj8qBGHQitubNO6ASFA/k4dVS1LSNd0frnUCBqjG1+9946o5y5nYvUFeo0fIib3X5PseVtFjZUS/aZ9oHeAHcIstcSI+vasSb7TOvBWPQPZhRv/jI3QuP3JZX6JocZ2wVyfOTR+Vo7L/XtULCIT4cRxT4STD9GzTHhjss/0utGBQZoDq4Rm2rbFOfDRX9SMIqunThSJf8WRfJW8hczDt84rQvZBRth4FWHekH2cM0xYgEo5rMZS1iTq/0diUWFiOkNSDCo5qkK1+vaoSBghGWlPlDag+4N8EIDt+qUVWkzfTQtgrYnlTGBVzjxQBqifdv/ImEYDXmaPEvOILg9yuAzRY6yzFlqRCaS2+VDF8W7Ea6kq6B1T9t3HD58Bvhh9zDTolISy6HYSt6ziTHMO0MASrF+RH5F7TH5MnIWW/3vSRBe6qAJlHID7qIhAboO9jATevhTJlJxPCgBQoFEw7pp24PUqcUKBL2bl73lIlHV 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)(376005)(36860700004)(82310400014);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2024 06:16:51.6665 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1411db4c-5dc2-4940-e137-08dc425c0210 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: HK3PEPF00000220.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR04MB5874 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240311_231704_572802_0B087A27 X-CRM114-Status: UNSURE ( 8.33 ) 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 f0e93c74003a..6d5710e5753c 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1227,7 +1227,6 @@ mctp@10 { i2c-mux@72 { compatible = "nxp,pca9544"; - i2c-mux-idle-disconnect; reg = <0x72>; imux24: i2c@0 { From patchwork Tue Mar 12 06:15:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13589554 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 854C0C54E58 for ; Tue, 12 Mar 2024 06:18:31 +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=I+dllaSrMqb0GoS0NXKD8chs1HUnOwo45j9aYoixxIU=; b=tBzMKjr0hfuQdR rorvrV8+kd3hdckOkQwQtGqu9/8sE6c2gT5kN9+7zJGLLL56HNQddr2hGiFb7ujZdracAc/Zy2Il5 6psWuMrA775rpTEs268QlNUq0QsEOp9rIx5EAr9CuFiqN9QbPa4dnTE3eVfsetclBZJe02EVCy3fT uABJGCZrmwfXOhtItCMVfoHLK0Zt6iQz1PifUn6W6TIMbq9ALDQ53k1c8ur6/SVHpyojXBy3wjv8W 6Bmzr52KUAfmYRwSlwamOMTFHaosDzSE2Bd1AIiBFtm5sBjNud3jVbRtF8wJF8EFyxOL+w7cOOHII yeQuOhmbW1qGHlg+rB5g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvSt-00000004XmH-0sR5; Tue, 12 Mar 2024 06:18:19 +0000 Received: from mail-eastasiaazlp170120004.outbound.protection.outlook.com ([2a01:111:f403:c400::4] helo=HK2PR02CU002.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvRg-00000004Wu8-1zOw for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 06:17:13 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j5+YMJF/sfLa4zqi5Nxd8Ef/F5RGy6y35f0f4gJV8xBdpUTs19T2zR4FUkclIkCS8wNlAf2K+A3RkUUsP+mAo2dTQn11TxiCggnNWlfW4D6UZTll/eKNYYA9iqj7oKI2ZvvNvdJGVmOZMwWn5H1JVaVkOt0YmpybdhW8hJHi968yGxHf4g2q91LXatFmQOYw9Zwy5Xu3HJ9f6yoiIt8j0IUPmPXLi4yu7eE9kDvuWrqJyTLnjip5NBOaOdDKKghrgRuxF7euGX2HdLMf5y8SrWy7GY8BsrQ6mttJmOb1h5LIPGrGMKxSi62gRV9atHo+Z+tZvTH4iVxJgmdzJ6t+qw== 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=4MHH2Jz+W4orJ5EBt4dkQqpH0oa10SOQc4zscRBPuPI=; b=eBW0AsEo+OdE93Lg/QBzEZ6jYzYrZJeJyWtxmZWeCEUygy3yZl9lvUfciQP7kvzj30sfyVE//eNFQKYPkPQq0ZGbaR8YTOEYOWmY/0apWFCo7BK1jdKLW42/njnaS1htwY2ZixnXanB0LcM3/ycrUy4ZfaOyguYxCx4Y/Ena8tTYCsd/XsBKMHieFoljOTgnn980XK8awPdkesvU00LOS9hUEPjvOEDGr+KLRVPrPBkWpjE8KQVKe42ptiktN9hKmdXdDfTu8qYXoKgYW1Su92tWfAU9vc1sGg4UDakcilVrCzgmVwMwd7PFwmNC5fcz9lotKZvkEz0wmp11nwIgdw== 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=4MHH2Jz+W4orJ5EBt4dkQqpH0oa10SOQc4zscRBPuPI=; b=WUuNjFG2vd1lmz9dZpiv+2xU+2C8sAvEGXr+qvxI+i/QsNKZloBbg2W2X3Cz+x0XxDzTPjv1zDdWOwEIxsJq1+UMfryPaN1Mdqee4nS6OB+bGKCnf09NWxD3Z7h3j172p4DUZlCrBAky8C2hKAHtBNiIK23he8No2XBAsyfOSBJ4CjKyRVO+jevLnwP15zkpxCW+UQAj5mVEpVx9vt6mbmgL8/2X8CJe/0BLRo5xYmDbFQ6N43awG6/6V/tqMIHDmQFOTFBu4SiCPboH6kTdSqeMNjSkB+Aps8C4V4iT+PBpo1nJhotTuNFNNq+93C1oA3YT4FtW3GpCO28MgzyN/A== Received: from PS1PR01CA0007.apcprd01.prod.exchangelabs.com (2603:1096:300:75::19) by TYZPR04MB5607.apcprd04.prod.outlook.com (2603:1096:400:1cd::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.33; Tue, 12 Mar 2024 06:16:55 +0000 Received: from HK3PEPF00000220.apcprd03.prod.outlook.com (2603:1096:300:75:cafe::ad) by PS1PR01CA0007.outlook.office365.com (2603:1096:300:75::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.36 via Frontend Transport; Tue, 12 Mar 2024 06:16:54 +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 HK3PEPF00000220.mail.protection.outlook.com (10.167.8.42) with Microsoft SMTP Server id 15.20.7386.12 via Frontend Transport; Tue, 12 Mar 2024 06:16:54 +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 v6 16/22] ARM: dts: aspeed: yosemite4: Initialize bmc gpio state Date: Tue, 12 Mar 2024 14:15:48 +0800 Message-Id: <20240312061556.496605-17-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> References: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000220:EE_|TYZPR04MB5607:EE_ X-MS-Office365-Filtering-Correlation-Id: 2b0d159d-8724-4093-08e7-08dc425c03be X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: aUL4w9iDsy5wP5ZSgb4y7pWaNuyrHUcYj0bjb4kn0aLsSQGJmPS5+AodnfEsN0u/Nzmf9M/HwpkpKNK9QadLP+MC0BPj4+8eRO7QBTXb/leb4rtdI2abBxVn+DxAAfRHWr27DEoq9Q6UxipL8pcEKPnavLbHT9082fiIE2QG9rSjbGe0kOVzSAk2QOJjLFQj8ln4GfIq0UJq2pnYJq4ZsNO8Oarbbec1kzHcRbDKwQRkXY+fj2qwXX58fAT21D5i5B5DYoi8jQv0BH4ja0RpLnlNz1cEUQ5rN6n6212dKd/w/LTiElU/Kp7TucjtukH2cAhuHuB80sGw1vurBVOD9bQd3Kai6NQrvqY0Gdkk86lKnrx0WRoPno5bjCvT2D1ZTUgTMfmGcycoBYKvb5DcFA6Q5toszQ5hUS+Q5XFfwA+RI6zNtpMr+EfLTSM+hOsQRAnH/ZJFzoK3tOeC5b8K7d3wDyJkxMPtFWVUBShNmmeQPnS6EesxWySBtXYaU38RERU4Ayb/d1fjCa1ibmBj/0JUaofVlG4o9sonyW3pJybOBHu+l88z+PCDupgfVL7HPs8V3ynejEQhVj4caM0skq4b+uaxd+QAZtFRlhzf97mD3n3cyui6GFz5sMtOMy9dShBJCKcEpsiJfQXU+3/PExuZLASZN/GaDMXzsCJqJdZbHCJVz9pzlPblZ5ko1SAKRx/60NF9l4EFoPthfPoKtoOkd8ckbJtj8fAz0S27bzw6VJDOPd3QMmwbduufOPVU 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)(82310400014);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2024 06:16:54.4790 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2b0d159d-8724-4093-08e7-08dc425c03be 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: HK3PEPF00000220.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB5607 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240311_231704_706518_75830D04 X-CRM114-Status: UNSURE ( 8.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 Initialize bmc gpio state Signed-off-by: Delphine CC Chiu --- Changelog: - v4 - Rename gpio-line-names - v3 - Add patch for revising gpio name --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 235 ++++++++++++++++++ 1 file changed, 235 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 6d5710e5753c..1b91821b019d 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1271,6 +1271,7 @@ temperature-sensor@1f { }; }; + &adc0 { ref_voltage = <2500>; status = "okay"; @@ -1298,3 +1299,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 Tue Mar 12 06:15:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13589556 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 3E5CDC54E49 for ; Tue, 12 Mar 2024 06:18:36 +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=250v/ehyjqqpu21T5IxLcLdQyiK7lcX5oqxzdJMP8SU=; b=SM8dzzUSFQeBHs nGA1+ShM9pABzSnGh+rXrNmWTIBuhIRuAeuHH4SEwxmPXlvB63cXglFKpWVh4sL8+vFCnR+0CazmZ s0tuoEf5cDLTE9EvdtaZsV3f4gjb6OK713US+IHZpELEj/HTgimLR9YBohRfKB6FuJ7nbqRQRlpTv Wsv5PmDS2U+C/9uuM79UmCYvkGkVLZ7OFhaCoqiKsUYHYgADEgke+43sbijotQpuPRdzPMapA7r15 3mQ/OmlLFIJE6idDSX8db61lsDQfl0kR2C7ZdLhDPGCWfK3HhIZZgljMCOUvJJrPDZUm3jjjdBy+q jJyq7oWECLmqqZb1imDQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvSv-00000004XoD-3b5a; Tue, 12 Mar 2024 06:18:21 +0000 Received: from mail-sgaapc01on2061e.outbound.protection.outlook.com ([2a01:111:f400:feab::61e] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvRj-00000004WwE-2Lmd for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 06:17:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jzZf8yLzcYNhwNyQYq+NoYRskIRe48YBpaRjGlh+6o97fXpxhNmbs3fcMLBM3Ree2rNPqnTXDiO7TB9bt0HY/8ewFtONp08yg0akPsKMr0+zvBixhbFuLq7+UibFWLOYAcBOeHUrjsJJhkicSUxD0f9EAVp/od/1xgEGLDz1grWOTQly2IqIhWrHyAj2ZkFGcMb8/K56lyAekYFTJ/yRCQM/F15zWJ3NehvuBe5iiTXjUu94OpUjWvsXJ2ji6qDRdwM5MmmKs2JPC0FiX2pJF0SLfsgKXzQQLYYzDZv+8Ra8uT6UqVExl3W1eXaMA9f1Tl9J9j9LjZZ9su72G1ndBg== 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=/hXRdHGT6gclcd6zL4e7K9sLHTZfQudcpy4r0rsZRUc=; b=cfrc3Lr83GBE5rg4atYJvA/YhVWqKvLeSeskpjZQo0Pf4evhUK2dASl4C+g2hIInU56a3jdiEMZ7c1zHSWII6JUo99XWLwLmFT5MqQIkyRlPBlYpHTAAtw7UWHb6Vk9dKOfclsnjKjixQURnmk/WX1mAW4PXq+EP2WpBjF22kB1GGT6PdpzITdkbLJFqv2SgX1ooQN7L+wRqTydKEBSazcNhnuDFFup+Fmu/5S6yNQUCt8n/OWMefCLSqWctX32Vy/bdNumhqEzBYXZj8Ia1JkgVit/u5Vsq97qgDslenWbckVntLFKR3BK8/kRxqzFXjTOTzpoi+Xt3tVvzp16VOQ== 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=/hXRdHGT6gclcd6zL4e7K9sLHTZfQudcpy4r0rsZRUc=; b=cRswmvtWF5oLGzf+Y1CM0s08XVZzV/w3qOoWvZNdf/5l2XOT0A2OJk/ovl7L4iqRlTLxEloEGpMboQ9q6lbgHBw/iUeQnMu1wjGnGZ96S0R8HoWL9nJJqgj6b/YRug/uF5goNYW+PAClegZL/5KcxT9AN9I1fVKtdiMB6Ceu5MaEylZHM6315OnTmpGZrAYe/ge625RZgjx61MvI4E/2ngP9E/BJJInYXTogUTZKclVXvbusDdO1LFlLSOHoxO/P0MKYPouc+zGFjS2j5ZK27guWf+4A2qJk34Whs7B4aPkhkEfi2GRdPCQPbLOMPHyb+BkyD9NIl1FsiVkkR+6yMA== Received: from PS1PR01CA0019.apcprd01.prod.exchangelabs.com (2603:1096:300:75::31) by OSQPR04MB8043.apcprd04.prod.outlook.com (2603:1096:604:2a0::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.33; Tue, 12 Mar 2024 06:16:59 +0000 Received: from HK3PEPF00000220.apcprd03.prod.outlook.com (2603:1096:300:75:cafe::5c) by PS1PR01CA0019.outlook.office365.com (2603:1096:300:75::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.36 via Frontend Transport; Tue, 12 Mar 2024 06:16:57 +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 HK3PEPF00000220.mail.protection.outlook.com (10.167.8.42) with Microsoft SMTP Server id 15.20.7386.12 via Frontend Transport; Tue, 12 Mar 2024 06:16:57 +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 v6 17/22] ARM: dts: aspeed: yosemite4: Revise mx31790 fan tach config Date: Tue, 12 Mar 2024 14:15:49 +0800 Message-Id: <20240312061556.496605-18-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> References: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000220:EE_|OSQPR04MB8043:EE_ X-MS-Office365-Filtering-Correlation-Id: e365bc82-e110-46ef-43ac-08dc425c057e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GFcWp7WEML5pN2z/OkLMUMp0xfrl6Rvoi2eBPVuJ+9pcjOnl1nBlS2B43HECrjejh/n628bXvt3WaUkB5aeEb0WQSDjlomRlgwiYh/z+YWBQ2tJWBCl6h5rkvNh3Ikgmqt2Rkc0HLqw0PFtXc2Yv/Or8RGigtxA2HH5F9ufYsQ+vAeMm5pROGtmdoRpKJe2K7FW3AV2BeqvQ+Sdd1l0KOFyfcDvlK5SRuRFrnt0nepHck3FsHRYZlv9aG5OXndUgPsJ5L3KBLsFJ1M5dK+iueGxewRCYN1YGBKWIuPLRboh99DvgLY2NsXQJp/ru6Qt/KcTA3oN4CzAYnTUwkp8MQtisc2mPNuQtfr4SKdHbEzZ6j8mh0wADeACA14tToyEtNqgaWpsbA+zH08BaEnz9k4mU3gSXFaizvkLPPgAuIVFkfCkFvHQDVWDmTmIuA12oKMbf4HCej8t/YBJqDwoscrKBQc6MCbnLUUqRlQCdbrJAotnm+afndOle0TVt6dO09Hi7nTmzIjVg1Lp1hWDtkPU5Wn51FoA2POtWYXME/Vs448Q7CILF9TM1lxzeJmZZ7L+DnN+MZ/X6BCxXGbMLtSgi7KdRx8fUnVProhfqXAjxdLPDPZcCx4aoqulOVdl9Yh3LsyGvxPxMkFp/eQQvSISDf3ApQozky8txTwgNQrkrLFW4N/J17Mztui24Km9cdZV4+CHlmZDQY/0aRjkP2l/8PgzLtVf2raFxVa1QY7txOAJRzZMYRBJJ+djINrvb 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)(82310400014)(1800799015)(376005)(36860700004)(7416005);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2024 06:16:57.4165 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e365bc82-e110-46ef-43ac-08dc425c057e 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: HK3PEPF00000220.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSQPR04MB8043 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240311_231708_511918_3A261515 X-CRM114-Status: UNSURE ( 8.81 ) 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 1b91821b019d..ba7db2693277 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1095,8 +1095,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{ @@ -1108,8 +1118,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 { @@ -1145,8 +1165,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{ @@ -1158,8 +1188,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 Tue Mar 12 06:15:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13589555 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 8F196C54E58 for ; Tue, 12 Mar 2024 06:18:35 +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=iP7n0NfNS2PQfeEci69C0nZr5+wpBwtFakqDnLVN7Eg=; b=aS791+qZpnZwlA ZafuYfo/i9Qaz6HcpenEBJbY5lOeA2QgIjSrHzQeeTfWmUuxE9C0fA4DGGQ4CjA/2TK9EAUZQ+AVR cu/httN9GchCdQwwUmpikYFm5gjTL8WGTfigHLK7HV4XRMQ8z7ZbaraprlbsFkQlsQN+Dl1aVJFrD C2hZ/iuu+MBAHnzXh7MmoyZW+CHt19Olju2/fErz2IXkHv2lxRcdr/rSCnPcc6TZWsNuDwhoAgi8z 5yETw+IZRSwV9mje5fSlI2wwZO0/A63ePgJ78a0e7ABz2HbpbneKDyzG5zMuxRM8c1zI2rCIFHhu4 pU0TL4n6Tjyi4b/3KFXQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvSx-00000004XpM-15AM; Tue, 12 Mar 2024 06:18:23 +0000 Received: from mail-sgaapc01on20605.outbound.protection.outlook.com ([2a01:111:f400:feab::605] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvRk-00000004WxD-3Cue for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 06:17:17 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a1rCtQIuLz7qmHBXVwwZQZIOa/D6hcnQpJHgvE2hzQDebsimpG2Uo1WcK5Nt7Q3I+Wm9jBXAeTaF5kARSa75nImRXSaWKzyqkPmIip4QyFFx3xZtCUF92r7IPCaJE5wXdogjfJxZgdjvABJWP9oLuKpFqmNaynme7Ff902PMmNMj/GCrtwKaPQZHG872GhmGBwrk6BJcupfhb7y+A+APe+NYZkv5BTyfXoFvEYUFqq/f/EvhCleDIbDuDSHDjQoe/AF/Apklw9AGaJMIOdnojvpcjD0wy4gJ1z2Ll0M0xj182aROfvnSI0DOeHDL3aBcpsay4/1FttSQrvMZoaIavw== 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=4BEb0VNkebzyX9KOOyt4sO2RQFyCihySzIUwiU7dv8c=; b=E2fjEs54L6RGs9e1uUTKbGSiOiOBnHWyf5u5BA7Mzw+34gUVclIL7Hl2VCXAmG0k20va+3r+nk+6gY0XqjdJVwDLLOf9PWU/Vdv9HjkVCUCKVMTKLM9+WFSGHqPCQnIRbq57YeIe5PjYuuWU1R3zvpuvlebqznPDGlN3P5bhq2Ycc2yWBlgx/4OUfykLK1w1v5fk/0QwjxmtLmtqozbhkmGbTnUcUKoxLsFqZF98vNDP9o5hrjPAap2kjKzQWIVDhkQ8CIF0VVg65OUBPuUWYkmjc89jNSE9tjG+7IbXgxbnZd7p5ywUhrp05+AHRlSEC+iR0+BCVOqFgPlJkDObhg== 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=4BEb0VNkebzyX9KOOyt4sO2RQFyCihySzIUwiU7dv8c=; b=i092d4nojSAPx+HZ7+/WZ+zmIsrZ2ZLqZKk18ixxIqGM7j122zbCH5iuPrompGty7VApV2GxUL1WHgYSMFVeMp5m0QebFF0SDbgfc6UTDAKiJTO9Ug29e2XMMUA3a3AhMmRCoZBbhb334Yhx4tJl3c2Itm+7fP0zgwjxVtslS9tovjsX9586iaHB0b8MwV6JAZYXPTI8/z7ZwHkHewKL+ttnYcsQWiOJzUnH7F+DGTo2y/B9MgK/ZCdqnaqVD3x+syJb+5R6QVQTN0tsBG2fdRSTyE/3ChPYZu4usBF14qdC2Cjtn47mIK9kEdb+xPcJLUlLjNB8OFXL2oPXLFGzHQ== Received: from PS1PR01CA0022.apcprd01.prod.exchangelabs.com (2603:1096:300:75::34) by JH0PR04MB7087.apcprd04.prod.outlook.com (2603:1096:990:32::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.36; Tue, 12 Mar 2024 06:17:01 +0000 Received: from HK3PEPF00000220.apcprd03.prod.outlook.com (2603:1096:300:75:cafe::18) by PS1PR01CA0022.outlook.office365.com (2603:1096:300:75::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.35 via Frontend Transport; Tue, 12 Mar 2024 06:17: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 HK3PEPF00000220.mail.protection.outlook.com (10.167.8.42) with Microsoft SMTP Server id 15.20.7386.12 via Frontend Transport; Tue, 12 Mar 2024 06:17: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 v6 18/22] ARM: dts: aspeed: yosemite4: add mctp config for NIC Date: Tue, 12 Mar 2024 14:15:50 +0800 Message-Id: <20240312061556.496605-19-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> References: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000220:EE_|JH0PR04MB7087:EE_ X-MS-Office365-Filtering-Correlation-Id: a2985b23-a947-473c-9fe5-08dc425c07c1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7hKuFwm9HDvEeyX6HTCaf/IsTgP4k+rSIdTcgnXzjDDmreKJkjnYRBtTiy5GdURMmTK1YxF9/FqBxcQbuhGXqhdsM2GJpDtYLiSfCspi6Ogdt/iEtT5a1G8aAlj19A6P94gEdHf9uIlcIO5qsMZtUwG3JIy41rcBwZgbr36+nYhe1wJU9f3e6g4CZxyZ3g3XprFvZo9LtweHhShIsEGDIn/lbaXuRk7Qkw2LN0F4PHANUndQJDMVXkggiqWCk2agx0y+pRUyfVg8iX7TvNbRSpoIo6B97t2uWvIjTajTZMqx3OR/l9GDpBCFi95WC5gCFtwKdpcXNNWJKocLckVhyqcGnSdBXu0kLJ5FUauxxVPSNBp6dpGrOiNfOfXXybKNR1xq4PrOo/HHHxAkP2xw0AhZeJV9dxYCnVks5CtmiCq6AmHU/DpumEeyz8KebdXoVEM66hQHHGTqpAMim4jleD8ZxyVNeWDf6bN3SFdjzCfKqX1nY7q/Eu/n8Cwt200kWXmpMAAwtpYcm62LTqo+rFZkzpoG1KsUYPt3u6kTLBtnHB4O8Fc97hd2GVAKvtsLcpsaGm8TApdhF5zvI+MVRxCps/v1S65eAfeGOVIFzFiDVnTH2+xjfGS2ADumuOXTLKyGRYE4KkMAan2B9PFopDfwuM4erAY87tOAxCbiIt3N8rouuN2vAwezDrQc3VwU2zGK33BAnOxuSSx11UFKLS12uFcL+qMmACzFNcDhnuZZCBlGjO40Xh/QQ7Hy12qV 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)(82310400014)(376005)(1800799015)(7416005);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2024 06:17:01.2134 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a2985b23-a947-473c-9fe5-08dc425c07c1 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: HK3PEPF00000220.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: JH0PR04MB7087 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240311_231709_364856_1EFB4FF2 X-CRM114-Status: UNSURE ( 8.46 ) 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 --- Changelog: - v4 - Revise device node name - v2 - Add patch for NIC mctp config --- .../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 ba7db2693277..06f22562b381 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1273,40 +1273,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 Tue Mar 12 06:15:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13589559 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 83381C54E49 for ; Tue, 12 Mar 2024 06:18: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=XAzbIwMqRzAdXeed0P0N66KqmwSta/lsxIdeLk6ZKY4=; b=i/y9r8pblk440q OdepFNcm9Q8CkRG3gUv/1LvjXdqtQd1XiSfvWX8+EDqCRc4AdM/wtwGlNbUNMbmhFQ7Dsg6q2jm5u Nu5WorjDoGEwdkTZB54KJkn1PDTkezq1CMKn6VvF1B2nv1Wkc1XMKIxMjg5XKbZz7FEJ2x/KOozuZ ZKw9ZmgMMSb9I93GT41SjCi/n6J4rVIfCTiouz2oNkQnwRf/HmI57C13Z5FneV/Y4C30atuDBSbbj h1hLcF/Ncnc0PaSVMp9cLk3Qz1fcfNucCpRbDcTHVp0VlkcMbsDCtHcljCWWyesJkIBcUVxOIaC0q D0H7E0xZ0Zt7d7O/hRtg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvT2-00000004Xte-23wz; Tue, 12 Mar 2024 06:18:28 +0000 Received: from mail-eastasiaazlp170120004.outbound.protection.outlook.com ([2a01:111:f403:c400::4] helo=HK2PR02CU002.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvRp-00000004X2E-2eV4 for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 06:17:23 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PUE5cUy4BOGqK8auo5EeYUbXW9yA1GJW86jgJdJrD0IinCf0TQAAA+ZJsgrLqbMo1UB6bl0gmU6Mx7nDdffUQeUcFc+fm6MXp+/m+KMnjodARi6YV/aSVqpXq+OzGRZtSJFcNUnq6FV5vJhs1qgmKmxsct8Ct0yk8TpytEKZspMe+YzAKH0bSdoDxbFz/5u7MCrZ0JcQlqZbjMpl+1pLlQt9G9zL9NouL15Je8uCrRewvquc9C47lF14NUDRVyT2m5DwKg4onCeXjbFOgJ/ayfw19HJq1U8AM2vcgSp167BWebbJG+iZJwClXG0KK/u0NXYT5DgwhwD72SwSx0Gk8A== 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=GZ1ITGzsLBsbsx/6Wb+lUCJdSYKrzhoPrVv7DVKNP6g=; b=SR6coH8qhStCkR5/cUgdaxOlEXNYRtGtFoMDJC/3FEjVr4ZPq9w7mmKeMFBqCiMAgmuXHlt3I5XmAaue71J8JWECVlhwF60EWJJdClKTtxP0UAWKJ3AupByCZ0Ky72ytTnqJigTA45hZoJN6ByEaNXgtxfmnxlqFa1KzNzyYd5ETsnsqRh9bO1vgqkOjBGTygm3Pku7JN0DNMZFt1ezF2aEbGOJM3V8gbD5DVmxHt+aWOLxtwulIDgcV7XCxnwuENB+M5zi+t4Ko9l+iXiJT8T+TBPEziHazYZPoBubqVT3R6Yav3X4fIbjgZU+Js4pMEZcGjurNCV7+O4ItIt65Kw== 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=GZ1ITGzsLBsbsx/6Wb+lUCJdSYKrzhoPrVv7DVKNP6g=; b=KmIvgnp5Og+09TqVscRcNvJlerXjQgEEwl+X1TQKnkZeJGo08/W4T8cEoEL1+07eL0QgTa6ZeYLYBYu4wEyoyZmCOU32zcKFVjj4YiLSItGdhlNCUJRvVRQQXE+xjiMB9Zr2hrtYL01cn2u2aXtDcU0wCCCTO7wcFxDsKGpS0kCO4js+hpCyULWbaXUc1EqQR8DRV3s5aF1/9Keg/Iku6iJ1ME+993+0YjVkvAF+Ephali9BZPaqZdHDdnO+khXI0QCSJHZYi+3l/uTOnpd68Q456BTMBeq2t9zsjnCCbTxPPNV2efkPmzV4n2+HODXVHnubkjZl87uNqa4uTe2VSw== Received: from PS1PR01CA0017.apcprd01.prod.exchangelabs.com (2603:1096:300:75::29) by TYSPR04MB7005.apcprd04.prod.outlook.com (2603:1096:400:475::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.36; Tue, 12 Mar 2024 06:17:04 +0000 Received: from HK3PEPF00000220.apcprd03.prod.outlook.com (2603:1096:300:75:cafe::cb) by PS1PR01CA0017.outlook.office365.com (2603:1096:300:75::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.36 via Frontend Transport; Tue, 12 Mar 2024 06:17:04 +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 HK3PEPF00000220.mail.protection.outlook.com (10.167.8.42) with Microsoft SMTP Server id 15.20.7386.12 via Frontend Transport; Tue, 12 Mar 2024 06:17: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 v6 19/22] ARM: dts: aspeed: yosemite4: support mux to cpld Date: Tue, 12 Mar 2024 14:15:51 +0800 Message-Id: <20240312061556.496605-20-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> References: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000220:EE_|TYSPR04MB7005:EE_ X-MS-Office365-Filtering-Correlation-Id: 822f5ad0-691e-46cd-da99-08dc425c0981 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: iP8x521w7U35biu8zTeOTbgRZTKnKrVPyMsIcKFrmIbPypcBDMHLe9pdxzC2gKKaRdS0HQi5sa1DHPPg3Qn/g1gZWLhwzbOsiUav/o9oy7jwnx/E3CIYYMls7s6f08BNWuzhTL3/DN7VymRqqkt/4KyZUNBgnd5Ds4tXcThr0J/oPIHhdhviqJVEf0DRyWsjM/QhTOhZ5q11Hd5CtfsAzIGfG9yZWJIW7i8Z6PPYyCu/3+AE6F7OQDlufxdPe4UO84ZUipfQYrHqKGVk2KtZqW1cOTAaBjCglV2hCBKU6FMUIMXXMov1D/tqweHDgkOFcB4tRwTLCSs5fJYzxqDHJELIVcho7V+IotjaTg8x/4PxBJIzCTHMpn8YDsdwCj00zkvTUuG0iQfQUMpMmHh9FVP4N3sduNJrtIuImqOZCAnA8jufFdzlQIzlWx/I0uIuEsFDlXkDsqxAZCdNDTkSDTAO9n7V6wxKghKEkBYHf09j+O1MDjHpMBuLVg+emvYmJs6dUc7pwdL2pcDNrr7pUYMV7nOnqbhWc2VDa230G7koU7bY75DS4KyQORvkPjI99DhRwEDSPeQt1ki+6+rmwK41f3dylNCDYdqKx3Ntx7dhYZ5MKYyEtR94wPS224rc5e980uFL7cNXi9dG1RkxUN7qudZ+1OkrqeXZou4/o9SxyERpvtPiRDl0WW5F2klu2IFUTW4AJpN4mtMOehGOtfdBPDNk4GKUshiG1GkCmSHg0+5scjXJoXH8U37rseh5 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)(82310400014)(376005)(7416005)(36860700004);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2024 06:17:04.1509 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 822f5ad0-691e-46cd-da99-08dc425c0981 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: HK3PEPF00000220.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYSPR04MB7005 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240311_231714_119604_0CD04A5A 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 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 06f22562b381..d85c29cbb286 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 Tue Mar 12 06:15:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13589561 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 D5A9CC54E49 for ; Tue, 12 Mar 2024 06:18:52 +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=Dz8tJ7UDYSi7WxEs2BfSnyCkZ0yLKQ7me0PKD2ejjbg=; b=dfN3T4XMLMXD2Z UOv72EeGXOliCanvMSDW+WwkCJiYKOe5RDQ3Pe+jnEM9+3GhvaYcvP8ZuQTHPunB7rjHk9e++yJDQ rNxCfE8UX2B4sENsXVpL0tqxXC74Tm/9976LBDYUY1eOCVM18Axy4SKtsaU6rFKTdncM+nE4fd9+a yvuB4rSaqCts+FNYSukDLXMVDQEOC9QG8bLuWIPIx0KiY5J30uFwDHKQI+9eHKYh7cYMHmEUWDZLJ XtzYFgPYbRbBBRfp9JHi1KI2oyeX4N8DvajhTYqqPTSCK7xUrBUVXOveHFpV7nHbtnGVWkTPUsmdl 63Vzai0mxSSutI0GGIZg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvT8-00000004XyW-2kH3; Tue, 12 Mar 2024 06:18:34 +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 1rjvRw-00000004X81-1K2h for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 06:17:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Xu+0ww9FT3/AMLaReG5h4Ou+WdQT7y0uqcU/TWxxr6bRWyJH20nCxwsfkQ8qFbOJzJoY9XpBw/jMNtsQPf2PvZW/GFifWWaGTTJ8FKNUgRDfYq2tg63Sjt/taOrfovHcnUhzP01USHcA2kMW1GFp28Apd9USoTG/keIN7rw2dYPGLgVJ1d8qwg8ajFL+yQXKB9ONUvojVajkA46XdMFYB54+ygpolKfLIwONmMsQ2Z9FhMLM+3QH6PaKy0NpE5vxB11AyPwzahAplOiMo/SnO53eUfdDJJWjj0xx1MTX7s/3F/SzAcUqX1a+fwtBz3MYClZ09cSS/6llyHIx/UoqKg== 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=sBq9VnGrz2DEHMXloeTKdDOzMCEqUFDFsUmpXJcyMX4=; b=VY5BaYvK/+wiThxkEzv0LOGfmm2q1X1SIUat8k77VzoXPyKSANhAvzoUzsU+YePZISx345dGP+oBL7shOu1dFgxzWQnbsB2hMlCjNFqsS2kHtg6wKHqF0j2O3algUF9EbkKXHsY0403JlWY487g2tq1zx9Nr9trai233AIBZIeCpduFol9U9kjnSNLoC1oRq08dxHbCR2WN9cmbh9sGqNwbqioVD0gK5c3d96+22kCZyB8vwNaequF4cDmgCT9f68K4A6l5pwNf8kHtXpQmQ5l/jSZBaAOCYiEaTW9gk72iesvcmjLiG/O3Cjezch7qVD2RPIE8iJVjnZKmcxnEeMg== 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=sBq9VnGrz2DEHMXloeTKdDOzMCEqUFDFsUmpXJcyMX4=; b=umghL/0+FhwdVECiwpowfgaMrp/57Cts6CHFxJ8xfAhXUafaS3WSpzC0Sn4RIw1AJ7+RR0eqr6ODups3H0vG1k8ID3lGtu1PeMPXn/lUBtmkKREOJ9jpFbdHM1KYrbdQp0UI5h3nIb8Oa9kVesMF2to/bq60bg3rj205li5I3Qdd5V4TlXLA+6VkifpWX1WJ4pmUBBtdwDXAGiNk7lVmYHiZ61kPRcB4KDRqXmF3Mvcr0ZFr9pUDEiQuceEuNkzwukAu7Xul8YG3FPuq0xkcdI/i23y48zFEE9zzpXZoKsdQ4xkpkRWz8od2MXqGsbr9FgYasdGVHvt+y4w2dN47jg== Received: from PS1PR01CA0002.apcprd01.prod.exchangelabs.com (2603:1096:300:75::14) by SEYPR04MB5979.apcprd04.prod.outlook.com (2603:1096:101:8d::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.36; Tue, 12 Mar 2024 06:17:07 +0000 Received: from HK3PEPF00000220.apcprd03.prod.outlook.com (2603:1096:300:75:cafe::38) by PS1PR01CA0002.outlook.office365.com (2603:1096:300:75::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.35 via Frontend Transport; Tue, 12 Mar 2024 06:17:07 +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 HK3PEPF00000220.mail.protection.outlook.com (10.167.8.42) with Microsoft SMTP Server id 15.20.7386.12 via Frontend Transport; Tue, 12 Mar 2024 06:17:06 +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 v6 20/22] ARM: dts: aspeed: yosemite4: support medusa board adc sensors Date: Tue, 12 Mar 2024 14:15:52 +0800 Message-Id: <20240312061556.496605-21-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> References: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000220:EE_|SEYPR04MB5979:EE_ X-MS-Office365-Filtering-Correlation-Id: 02cad1d8-c20e-4dc3-a004-08dc425c0b2c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: q730AiXFsgySfVXXJdVViBDRqO5i3kdzV87a5leZDpKo5QE1LY33ZSF828jx/euGn1PgolYrl4zrdkmhsFWH5DsJJBu+T4Ig/0Q6cnCXl0il0TLd02ZbLKTDMWeSZUsDJGh85ucmAcepprLCg1U0wHjG4cMP7qk/trjMzBIVFjceTbLkP+t6qYfA45RyRSWwf8zmtjREDHzqg9VqtKS58W/h4csVmbx02Cw+O2Kif+RfOt8pYDy9B8dQ548KAaCx917qo+RhmTefaBmbhs4PuF++2jo+ri8FCFC1SAYhuOxRlD7H+TS2G8Ig+iRcbq0tDkqBAt5Arn0oJe1Sv1JqDxPUVyzuEu0dqIvKwqplTgWwu9+et+6t03shD1wkiTUTyLJf6Q3WR32Oku2cuI4NbHXazdtPpXaJeXDqx0hpAIe1qdNiE7Ksj4cqVldU0hE8idj9G3gx8IxyzMfb6vfYQt/e/o32O3Xn7w0a7Up8Mb9nru9+y9Q9gaH1j3OM3AsKgLk1msXC6ZSd4ZkiMhmaDzPGYW3Qzn5FNvx2VDseGSw0J9jhZvYbgCTxRihPSCrCvd5+YDFIkUzua+0yde5CikH6bKq/5qTrzJKRoERapdrZdc/AZuF+2ZJAk0pjpWE2GhxoASlPff7KpV2LO/H019NlbX1FMLpXIKkFROg1g9gMF2t+NLqXSG7UMYQEp4y1vUR4FWwAnLh/guwLcDdFsJJzqC8cb+1ArDLOxFD0WmxNg+bYDpk5QQ//GvcgIPYb 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)(82310400014);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2024 06:17:06.9634 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 02cad1d8-c20e-4dc3-a004-08dc425c0b2c 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: HK3PEPF00000220.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR04MB5979 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240311_231721_470496_D4183C81 X-CRM114-Status: UNSURE ( 8.77 ) 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 d85c29cbb286..db195213a848 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 Tue Mar 12 06:15:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13589560 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 696FFC54E58 for ; Tue, 12 Mar 2024 06:18:46 +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=S4cyCutzg/L+AndTnj2vyXTt7xNP+oR6ZfygA35tBN8=; b=EJEmxVdWp2uddh 1gxfpFyra1exvGGyTK4QplJ4egwKu6E2AqsGYjSravMZPkC2wQ6zctr5FdLaeBR3cUvq+jU4QW8JT ee6IGppziSQLb7c6mi5jKpNAOvGLQ3cd3tyxYWRmCEOb/TUOIduuDoKL90B3lqZBdv0ODeBNSvhbA YAIXJfMJWrcHAmZ9Ef4T1MagGUITq3WoAHQAxSICZlVd+AKHjFqF0WosDkfT2p2krIVW+h6qweYu3 8g4F/RCgTAlg1DYneoeHlSb9E7Fkb3oH5lYlfVpWryd7B7yyeGOgxizumUvCsm/HHPq1iRw67BfMV 9HSW6n248a2x/jHmYdHw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvT5-00000004Xvm-0faF; Tue, 12 Mar 2024 06:18:31 +0000 Received: from mail-southeastasiaazlp170100000.outbound.protection.outlook.com ([2a01:111:f403:c401::] helo=SG2PR03CU006.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvRr-00000004X2t-2rGF for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 06:17:28 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bKz7Ms4KzJe5aQCp4wN4TzapyXsexPzJ555D3WKtBU8CzdJ4t9tgET2sP4gIlMK6lkpSFaNYxtF92h/15bYLvcChrZmOGVzAGzI1s1HmDr6zWEOxGdAU5ACZ76oaP0siQUSffOG53pwWUMw8nCYiA4cKxURQ6MJRRH2/Eo14oXxbmkzV4prwU2sOeZlWj5vu/NkMlu0d0/IuNOAXx5v9Bgjr1mWtARkp7fHSUCfNBoXdON0XRkA6ftlGh8YZSP6AKmQJLAUggTLH7V9tvfOhuuuoEhzG6ZaAHx5QkzTNx6HGfmBMKudiQJBsXLmmJCSX01Ld6iHqgIm3YZNb9lLYkQ== 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=WdxfI4PjS5CO6uON/CHP5SOM/e0DDCkLYoB1X5E8x0I=; b=O8IoglQUb1OdgRFDEiBaiwEOr2eT/pu7PJ87Lpq+zOtP9dR+ji17tvNESiqeLrkuMKz5mTfZCGRrc/7L+JlSZH3ukLNjbt6r0uW2HrYAOlidh6npuseETB1GzhyP94Ka6PxAIAQzaZyxzVDZ+t2z+jA1ttAqbTpMFkG4YYD4kb2yUh472PnZYWmOH30LHIj/sGuTYwXtnB7prfNCE9aNKQDVcoQ5GnjUh9DjYKY6zLjqqK97xOy8H5tuKs4RZuiR0IGFZAWWmlAZg1VCz8YIZYDe72RI2pTR1Nw7zB3DHc5xgBMSzUSk/B+qqMnd/J+Aj0C6TrJTtd3rYCZTkRzCGA== 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=WdxfI4PjS5CO6uON/CHP5SOM/e0DDCkLYoB1X5E8x0I=; b=txk7P1YDCgqgOf/h0jKyHUklaVRESEWYxKIMln28QoX9AHUXQvZL0fLShj92cLB3qs2wZZ627Qv1I3NDX4Wj05plvX2Xek8YefQkEzPWJtiDlRXNV2cwplEtB1wL8UqRBVquX19kiMlx8HuiznCeOtPphqjJNRNScjwIsLOMZcJtXBQXUiS0bQTRCWEc4it8/uJB/KrIucld2VdvFfppjQPn4xxCLkduGs/R/g5ohYU75VpJxV5AwuQvOzx8NKqAV7lZT+R3dWBbGEFWYkMx5/rb4PlbaYaxGGEkEIuUME9yMI0wazyCRqT69hKXVwStc6/r7GsC6X8Vdn+A2YDaVQ== Received: from PS1PR01CA0011.apcprd01.prod.exchangelabs.com (2603:1096:300:75::23) by KL1PR04MB7683.apcprd04.prod.outlook.com (2603:1096:820:11b::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.36; Tue, 12 Mar 2024 06:17:10 +0000 Received: from HK3PEPF00000220.apcprd03.prod.outlook.com (2603:1096:300:75:cafe::f8) by PS1PR01CA0011.outlook.office365.com (2603:1096:300:75::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.36 via Frontend Transport; Tue, 12 Mar 2024 06:17: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 HK3PEPF00000220.mail.protection.outlook.com (10.167.8.42) with Microsoft SMTP Server id 15.20.7386.12 via Frontend Transport; Tue, 12 Mar 2024 06:17:09 +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 v6 21/22] ARM: dts: aspeed: yosemite4: support NIC eeprom Date: Tue, 12 Mar 2024 14:15:53 +0800 Message-Id: <20240312061556.496605-22-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> References: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000220:EE_|KL1PR04MB7683:EE_ X-MS-Office365-Filtering-Correlation-Id: b6e07951-281f-4301-f06e-08dc425c0cc1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8tDvhsNFac/dsXNe0JEfCyM/0I6LKFdeX0L0OsLnPsmLKzKEwP3x1l9g51miSjX2LFgg211/PISUVndRQGjVkVFyw6OW/HO+48LJHt/2YqOxyQwvf6f+v396Q0R6JQecS+H2HHtBbhKYfqaTJm8dYHYu9Agkjysl9FyTSyxYePmbFCvBAFGh3ovf/k3KS4b5FcihoNz/0s3mnIN8sztC/gqbhkMz8MZL5zx5hSyeV6iI0AxAv04gmfDK9n7KleZrzFKCcbq6Pygklte/r7Cx4Lh7tWIItibUrbhxnRGf5KdLm8yMICYFhyAWJVafcGsdVMC+/BPvtDQgw4QgbwhXIRQTtor014AkZbcJdXVIdQ3esYnZlYWgzv6mgmYnnw2aC5OoyTGISuemJzMiIqxqOtFlv1TcxxgxxBs+AajGIjpkF/VyRPsul+ehvuxKevTrqH/Q87bfrLBU8Z80Tux/Zc+TYPpQL511UsAoqKTw/e2h2TFRQ+sDk0UFgbkJ9TaKuMRzFH7d5ZeiIgYSYFzjkA2RZoQZTNJM6+1oiESJpVYO85KnPFiXZ3psXIBINhDuWKFvhdBVCinN6zeFoNj1fabDb5f6PTqr8C6LozJf/y+ZGXBPd4Gfu75+ulU+UQElR2D3qLvyPZX42jSHHmsAeP4Czue3KDuyKa0s5Fw2BUs+sgDCrH9OLxEsmn8xntJlLa8lA+6kCT52tsXn666pPk4NBj0Exc0DJbHVL3PqjrpmZIwKugJtfYI7CUS7iymO 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)(82310400014)(376005)(36860700004)(7416005)(1800799015);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2024 06:17:09.6041 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b6e07951-281f-4301-f06e-08dc425c0cc1 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: HK3PEPF00000220.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR04MB7683 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240311_231716_416413_F02B2DA9 X-CRM114-Status: UNSURE ( 7.88 ) 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 db195213a848..c2d184b21567 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1330,6 +1330,11 @@ temperature-sensor@3c { compatible = "smsc,emc1403"; reg = <0x3c>; }; + + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + }; }; imux25: i2c@1 { @@ -1346,6 +1351,11 @@ temperature-sensor@3c { compatible = "smsc,emc1403"; reg = <0x3c>; }; + + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + }; }; imux26: i2c@2 { @@ -1362,6 +1372,11 @@ temperature-sensor@3c { compatible = "smsc,emc1403"; reg = <0x3c>; }; + + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + }; }; imux27: i2c@3 { @@ -1378,6 +1393,11 @@ temperature-sensor@3c { compatible = "smsc,emc1403"; reg = <0x3c>; }; + + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + }; }; }; }; From patchwork Tue Mar 12 06:15:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13589562 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 15E28C54E49 for ; Tue, 12 Mar 2024 06:18:58 +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=NARZrfn6mm6um4id68MJs2JdzwoI827DLFERl+vPDwc=; b=h1+6O4UeLCXzFr D6AbiWRPWasGq1atHAgvskmzvyFseW0pn4Xt7a6QZN2UL4HoIsTaulnQ0rdSmgiCqGKTn0cZy8Uaw frSvlqL6ri/1+aLUg9C7G7nvLve/Tt2TOnOxZD8ZM5hsTQHYGYGb+bxUX+o+SdLuwfbRIjxiYkmdS GR5R+U6l85iae0SsbdBxWXL1s+r9NupeGRd3k3P2L9nQMVq1Ve7GduE3/Agmq48Za8y4zMeiN9pTw UWR1INHdpCTjc/8x3NrpjmfdBJ8cxbKAGaUXtOwOwtWSugMkc2O2KLmVzFytcSu+Guivdxuq65Y6z QM1XXr8pKcfaxka1hc1g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvTG-00000004Y4j-0nxX; Tue, 12 Mar 2024 06:18:42 +0000 Received: from mail-sgaapc01on20619.outbound.protection.outlook.com ([2a01:111:f400:feab::619] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjvRx-00000004X7n-1C2H for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 06:17:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=StSVDf/nCcqpbpZt/XrKAkjmz+TGcU6PpsPyvOQ+bnkr/NmvQ51N3nuDlJhOw8tlQE7XANc/Jc+76pAQDt11xQ8Ch0do9No9MJzwyRHrPo6EoBojlHpXo8RH56DZdk3kOK0PZV6yC7mJw2yySwBKhMCjERhZBK4FkjTYOqBldytF4XR+rFoZoTgmy++BOj/sql5jIRwUuLLsDO6SHXIhmSdlCjnr37hLM8zCrUlk5y53aUY6CdpIC7Mbc4E0kqJyXuPMtfyr5+A6GwrOSk2FKFOvxZjpxxP0zDeTKp4SIcFPnw+aoZ64MQqbpZ2nd+vBzlc3QikN/lKbOEdPsvu8aQ== 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=rd3HIM5WyL6SNThkdGueerfKvyKQ76+KUnD7777t0BE=; b=ct7Wu7Fz+eazeLW9mXk3uIGP+CnmkBd0Nlq/dP6e11nrHFICwldbHlmGCQQDs16Wi4gKDsT+gwM/OivPDEuhAmnQoTHt3dTGtUDVShXLrX0mpq6m6eROaWeCz1z1vDd/FZZPLy5HMtR5/DtyiyFM2tloLydwAlIMR71GJmxzrrCalJXAGNb0BFQ/1Cgf06iw9755Hgpac+Gvz5IqU7qb565fYldj0LB3PL7u8VVEtYwhHeXG2jKk4XzGiFW2SCuE4djmgluVnc6EdzP2LlrcIolVPGKxC4IRPfv3UFmObePeO/buHkmbdh+bBv6WUNZBQtAlOeltqJMAWuzvBs7EZA== 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=rd3HIM5WyL6SNThkdGueerfKvyKQ76+KUnD7777t0BE=; b=09Fp62vzEN3WOhYUn+B9ghByBi/8V4hKMVS6U9lemX2PAB2h3vFsAww4osAawFrm2OemyOXjGgLJp71p1hWIBOET9bdCrrcETfcgfvVveJQuMHb46+C/evw322Qi0djiHgk7UjfnAnebBbCaK0JTOBGFt4GSCdyJ5PhPmx9Nm0YgAGvt+SkK0S/QuXNkWkuL9sRFvQVo2qU0M0zgRQmQOQmXK4mVU4cJ+DQG43ujn7eLOfXGy5PFGPDfSBAjEEwGAlImhCRGshcTFFpxw9zUq8igRz2/08ofbSRg7s4P5ol2D3JqTQTqgRIAwfSVatSBEZEjig079M1HoDyYRuG7AQ== Received: from PS1PR01CA0022.apcprd01.prod.exchangelabs.com (2603:1096:300:75::34) by TYSPR04MB7637.apcprd04.prod.outlook.com (2603:1096:405:38::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.33; Tue, 12 Mar 2024 06:17:13 +0000 Received: from HK3PEPF00000220.apcprd03.prod.outlook.com (2603:1096:300:75:cafe::ed) by PS1PR01CA0022.outlook.office365.com (2603:1096:300:75::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.35 via Frontend Transport; Tue, 12 Mar 2024 06:17: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 HK3PEPF00000220.mail.protection.outlook.com (10.167.8.42) with Microsoft SMTP Server id 15.20.7386.12 via Frontend Transport; Tue, 12 Mar 2024 06:17: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 v6 22/22] ARM: dts: aspeed: yosemite4: Revise i2c duty-cycle Date: Tue, 12 Mar 2024 14:15:54 +0800 Message-Id: <20240312061556.496605-23-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> References: <20240312061556.496605-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000220:EE_|TYSPR04MB7637:EE_ X-MS-Office365-Filtering-Correlation-Id: 417a07e1-91c3-4b54-8de9-08dc425c0e84 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: aJDAGWvgIafchb9IisdcirFuUVga15rQijMjQYWnQStNjWvDQ3adJ50CcgA8IdIbC1D5yUYzc04b29HBlR4MRZE277/2eJrcdysolkMjPl1+E82AMH/gLYcNnqXvpCr/mA4ByvrwPa59YHKYfi1MB2ahfh5xEpTZUjWRM6w9CEXjkxqWHRp6T2vAquohwcQX2WHIFUrzdY9ydBU5rBFoTW/uDaAba/0KIAXuNeEWmIU91/RXWogA6oyqPTo5lVkq6mXpyQwefRMNfH1qAapcVDO3Fhp/ojZXoZQDrbHwWelqtm3qJEM3fWL7CYGKERvtHVUehQht/8/4zTr28H8Cc3B7sigwH7raZNuPdU9TruDN/DmHjEiJbgO4S55EgboEsUFnV9lTu19org7KIBFjjbmD6TArvFEBsGkVBTz6y1GrCnVIppJQLkAwg5VDe08UZG3BDe/GAkOJiC8YV/b72MF5Rcmuf+un7osVEgm6f+LOOvw6dvsKaIZNN1lb7zJ6ekoYYrXEb26tRIp46Cr7PIEtvLHgM1jBb2Z8RZ5msh0lIxCAQH6sMRpoWq9udmBquviOQO4kC3jXkkOmv/oIfoJ3i14zthXLtfxbq5h/A7xKQolfZUY2Ur0zbgMdvwiF8QH0q5yE0jNnwQoGEnJLm/10ZUSUX7OL2vGLdxuGUAL+izhy2vo23xsJ/4CCgwY82wBJKxq0ixIxrvPMWRVHriFm7UnTVSEW4PUp0oU0Bkxm82czb1QP9I2pvfFM5Ggm X-Forefront-Antispam-Report: CIP:211.20.1.79;CTRY:TW;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:localhost.localdomain;PTR:211-20-1-79.hinet-ip.hinet.net;CAT:NONE;SFS:(13230031)(36860700004)(376005)(7416005)(1800799015)(82310400014);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2024 06:17:12.5104 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 417a07e1-91c3-4b54-8de9-08dc425c0e84 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: HK3PEPF00000220.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYSPR04MB7637 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240311_231722_392928_58B8DA3A X-CRM114-Status: UNSURE ( 7.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 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 c2d184b21567..c86e4a5397c4 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; @@ -1306,6 +1307,7 @@ &i2c15 { mctp-controller; multi-master; bus-frequency = <400000>; + i2c-clk-high-min-percent = <40>; mctp@10 { compatible = "mctp-i2c-controller";