From patchwork Tue Jan 9 07:20: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: 13514344 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 41637C46CD2 for ; Tue, 9 Jan 2024 07:21: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=vH4lzjzYbgzhu7BQ08QRtTJpZqDP5Lnu3oS92xa4HLc=; b=qqfRErNgHQVodk AzW5eeg0bT8qf1W/WJKhPCoSQ0vCkiYipIeFU1TlsipbO6wvGTOIZUdP949drbpJTLdsZ05iadV0H NDHdjSmAoGMri08iEZ6RZGxuWuY3syYlGU+UVhOJ+yGyaPRI5hWm91G9io80GBjqhA+s7Rpd6DKJx MgUqAha9uPex6hoyi3Rm1yr/qwmam42vFyPeLg40czzPgguKzLHQbq5B3CcltOlpi7PF0EBREw8QV njfOAbbKJKimRN++gQPKVmiBO2PNDhOyQVgbLvpvoKzDZeNiQL8KqB7PBRMXgnELsKPrJYysQrACC 3kwn47mbLUi1IAM6JvTA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rN6QJ-0077qf-2i; Tue, 09 Jan 2024 07:21:19 +0000 Received: from mail-psaapc01on2061d.outbound.protection.outlook.com ([2a01:111:f400:feae::61d] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rN6QE-0077mu-0v for linux-arm-kernel@lists.infradead.org; Tue, 09 Jan 2024 07:21:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HSz4y6UDm+IFd+zObDjNT3i6l+pXG0LwQgO9B4+fRwcER0nXXXeXyZQmvj68jk1Msr6C/xrHqwXwt5XgHxYgdhAymzCmQO+Fbori25LU1pcfrpB1DGiYwYwC+r8j5d3Jq3GAmQrn7Xw5aaAM1ady3i+/FFK/1XJ8o+n4gZQ4OviQb4AU3RK4BnUS+6g9rnepBQOC8C+CER6AaAtsrdDPpL3Iu/AUwWTu6KnHzGfRqym1l7xvVRxnpFZx585NQ/DGAXB7KJqCY7UzHXTzX0thOBh+mjXTv9WJJRyVFDrzcgXknCzCIYBuZqPzGC67XY7buMSexZVMi+ynLpOYZueU9Q== 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=PtlNyob9jGE05Tkv1CWSqr1qnTAkbFtK6+i2wQ2zNB/yNARcK07n+f6hFX1Fzh70qoAOgWaUxyTxKXJSaI6XiX+nnrpb4H3Ayg9CUkDFH5Bdyof6YV/4d3s/oGt4aazf3Qlhg+3BI0Q9uH9hkVZkHoqoDsZ67McuYfqPzrK1TqXfoLJQhDPJ/0NlnWRNyIwwUsgs5cXCbqWiu5WEc+vwQVGYI6KMNdjmEg7EF251lu3ffRX3ounwH2ehSCz4yhjxyZJ8rmDzFtAQsx9hsQUNMlbD1AWIN0PJ3Zll+VpHRJh9pBhZm6rVP7pYK+hP32ccuBcEThThoJVxyV+MQhGNUw== 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=DXuZ+KSfs2FxWEQbdzoc5qn6V8MFCPkKcOeQXYmUrRfAGbTTd2mdY0SKjlGMnxdYgAPSUefsTlBLP5m+YZLZE0Hvow7Bn7TY2kaDePlesOWiu98VLaCHnMeKqTQwwaNeSGi6SrMd9zbFuF9EZIiURNhtLYHrrySTKZ+XL3+9QReuCTB4+mwKP1B74bHH8SBvCnmjYPMZLHUNlP8Yw3BpfX1us9oivXnRdANxvBliTd+fQpBKxhAptcSQ+hURsQJfgrWCKwSMFGViu1rpGibt/5eDw/3M/o2IphkTQfYhmYVX9xf3UzrlORI/xx2iDalkZXTZcfvy56fNQQfGFCwTjA== Received: from PUZP153CA0009.APCP153.PROD.OUTLOOK.COM (2603:1096:301:c2::10) by TYZPR04MB4495.apcprd04.prod.outlook.com (2603:1096:400:5e::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.14; Tue, 9 Jan 2024 07:20:59 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:301:c2:cafe::79) by PUZP153CA0009.outlook.office365.com (2603:1096:301:c2::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.7 via Frontend Transport; Tue, 9 Jan 2024 07:20:59 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7181.13 via Frontend Transport; Tue, 9 Jan 2024 07:20:58 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 01/19] ARM: dts: aspeed: yosemite4: Revise i2c-mux devices Date: Tue, 9 Jan 2024 15:20:33 +0800 Message-Id: <20240109072053.3980855-2-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> References: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|TYZPR04MB4495:EE_ X-MS-Office365-Filtering-Correlation-Id: 1225718d-88cf-4406-4878-08dc10e38711 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dobb9ea2xYoC7UCpCWrfUC+oCy50PrRxADHspucTGuBRoq95LgXlppduhLwjlL94GSupZJzyIfbPCDRaR0CkPLKJoU2cH1Uj/dKWveYCmxPGQOL+NV+S0fNG2eoS6FBWHn2//B6LCSsOY8KpQ0+kB4mZtTiPYmiUE91Ck1AID/B2vwVeeGirJDS3NSQP+nqdW05jedV0050AnjG7b/N0sPllQtj0uEpNARp5pICQHCPMJtOFRLXr6lMRTzguk/ZPB5YSFwSU+Xa9cuuamkygrJUJwf5aH+Ci7CK6iPOs4sg2E7T9lVibXinucQsmJ8nEuKvOjzJJ2IbWL6/YKGaINfupkK+qX1z30gsPeOhRuvxPq7PRK8w+q99p1QBm4KIGD86DXMMuDcuTllhBR1/R6DHh2m4EqMI9BaUwSb301pkjX2RnfKZ776ZA1N40tcVen6UsPT9Qb+es4DodZ+FLNDEYZsTDHz4SaReBun9ulCkuNvjIDR+udB4EBbdpmFBrWl2qgAyffg9sCmFndFHJj5+1GPm3VvgV/w64+zaYu/+bZLQTD+H6G2noDlIWpVcIX3AsoRDtZoKhy6fDCNy8GtO6ROV89/ic2cki6VHn7Bh/wUyzf/GhzLKSEvlbmcQ3QztQm8KlzeDh+nHbjZUllTOsOzPJISUQzbMZ4JvearKsSZbqu4GvdP5eX2pLyHAkYiHN9GVd1PRCDV2qYHk1Cg== 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)(6069001)(4636009)(376002)(346002)(396003)(136003)(39850400004)(230922051799003)(64100799003)(451199024)(1800799012)(82310400011)(186009)(46966006)(36840700001)(4326008)(83380400001)(36860700001)(2906002)(8936002)(86362001)(8676002)(47076005)(5660300002)(7416002)(9316004)(82740400003)(478600001)(36736006)(41300700001)(6486002)(6666004)(6512007)(6506007)(70206006)(36756003)(70586007)(316002)(40480700001)(110136005)(956004)(2616005)(1076003)(356005)(336012)(26005)(81166007);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 07:20:58.7413 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1225718d-88cf-4406-4878-08dc10e38711 X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167;Ip=[211.20.1.79];Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB4495 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240108_232114_472834_46F8B86A X-CRM114-Status: UNSURE ( 9.94 ) 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 Jan 9 07:20: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: 13514343 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 6D8DEC46CD2 for ; Tue, 9 Jan 2024 07:21: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=1Ty3yvA3iCIR4aDti0Lzc02xuO2eoTCPLcFO4AuhJwg=; b=YeOpPZ8u1aCAH7 SVLRUanGWqwd0UUFB5uXcmYSZsPCILGeEn4RYyu+OnFfG85dWvNh3SHpHYGKUFyPC3WwGRSOKe2He yn8pVXfLD+B2n3h1ZIXfMb3tACPP3VkpI3BN1/yqfOyQ2Uq0esVFS13f9kLf9HudxvP8rAZti67p3 U50wZKmYpA43paHyNx65Cy/6ZKuqkE4iUTPb3ZYYX0V3ZO2ifC6bjC4Pl7IUipH+nZ3ob25H8ro2D q/JWKOVg0xznB8iqmnFM0Y5B4+Vpv2WmhNqCjhOEMTyRA5/n4iQZq7DUCL95Ol8TTIkQ+TturGZoW HMF47BRcraQnHyBeut1Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rN6QH-0077pA-0W; Tue, 09 Jan 2024 07:21:17 +0000 Received: from mail-psaapc01on2061a.outbound.protection.outlook.com ([2a01:111:f400:feae::61a] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rN6QE-0077mt-0L for linux-arm-kernel@lists.infradead.org; Tue, 09 Jan 2024 07:21:15 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CvjGw4moZhGsI1ZMlAm1HZNE+QkAlq8VuBJuSpGfZVs2zuAxL521Mw0f12gD6ChgcrX/M4JVxMpHRRdZABOYsMGAVcsgHd5jBBTAHtSIEoqfoqspmS+QAQ6XLeOUpJecv1APF5IZHGU7BslfyU2Eg5O2s/RjtLpJYRZZ5VeSA4tLkQX4T2IoCZjRMXJQ+4/gYgZbeeGGF0D4SlEQEYsDI4nJd9NyARq2JQJsVaXIMqRzPksZnb+bnADwotam6iomw3pWc8uexZBqOJbIrAllwB8iIPNs4o9b3jImTb9Pkx0KFzSC3jNwhnRs1WJ3CmASN/BCVa6PT+vUgp4KxcmFUA== 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=fB3NFW3JFF9ObETBXx9m8Ipfkt2uRwlMx7QEljRqZb53X6TmA+Sl1jFMUvsH9POjVZTYsSBHh6gdgM3GtjWohObaTQWCA2HOjZ/72/5LWMf1n7ixeaX68iQYLsNkGBITJWkbo2Y3XPq5+tLTlkDMUc7zfr6FO7Y7YSkxsq18CbDWu5Fr+f4OBNP8/rrqHxp1zeLO5+CmFmvGOh6mU0Ckjs4WQRI1SJdXdyTPvxxfu3hq20tV6bLq5xPnPN420kMukJA6/040ena6OVzP1k1/rN6zAAtBJZL1OOGtDFyd7ZMpyUZKVRo80L/f+wMOwin7eaqFIVCFSACm/EkaI9m+Ww== 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=nh7BpVjzCe+vXZCIKhsB2kifX2uSONrPPUX/rUdvnDm9FDgklE9JAdy7w9/t4wu6NpBeaSXI8yqKeM5/gl/ENlU6318PK2sJDyazAicVMRE3hZWYDvzPvGU+iJghv5lpVJKpjwJ7f3/miAuvRFBtbQssqJqy8mWhWuUZ6XP+EYekwtknAuJlDs5+zvbgga0uuDm4jy4MCKUaqR6QwreiazKl0oxGjc0bXdZJEu6wNXdL4CM0Ug6tjYzaS/gHnSQnTaFunJ9b/6PKFZCp1JyHLuLyK916VCzfkhT6vNgwuofFUG25SuhqYtzb13AMIlNugkl7vJY5tJ5ldngt2M83/Q== Received: from PUZP153CA0012.APCP153.PROD.OUTLOOK.COM (2603:1096:301:c2::20) by KL1PR0401MB6380.apcprd04.prod.outlook.com (2603:1096:820:c6::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Tue, 9 Jan 2024 07:21:01 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:301:c2:cafe::89) by PUZP153CA0012.outlook.office365.com (2603:1096:301:c2::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.6 via Frontend Transport; Tue, 9 Jan 2024 07:21: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 HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7181.13 via Frontend Transport; Tue, 9 Jan 2024 07:21: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 v4 02/19] ARM: dts: aspeed: yosemite4: Enable adc15 Date: Tue, 9 Jan 2024 15:20:34 +0800 Message-Id: <20240109072053.3980855-3-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> References: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|KL1PR0401MB6380:EE_ X-MS-Office365-Filtering-Correlation-Id: d6f4f89e-11d1-4fa6-d646-08dc10e38882 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QOjmRsJjnvUZr3354P6D/SLiVTXLWaGsgN/QLjVbvl7xsz8+GMogSiZLOcUs+39srnmqDUaEwC/e2qubhBjVAzV2XrUozR1D6D+hXZiP4gpxKPVXOyOuat28MmUIKUlvbEe33eydnzoway8V9EgHyX5bQKw87djPQWTATkMFPjr54Czb5fImdxT/BYbOIAqNqIkJ8mNTTcAM7LHJKQFLeIFS8OSLpo1pBm/dxxSQRcN1bnJ5qyS9+w3KRH1RaLorkrxyHakoEMraiveKuhRrDc1EVs4mBroh4plugLW+FkCEwWvV49Eg/ItXByl0bmVugJZ+sDhoDShHib9mOCGyJmmQWuz4Mt3DnNRtpg+FcVX86jOVo7qyhSlGpRzgmq4R4miy9jcXVJyP2RKoyA0iOk/PCqdxoEyci7txGyaLJVuSOBtQUywJTS56IjFgEYiekbcplAVuc17T8gpGbxg/Pz8mFndSVv/fAg2u6o+G1JQW1aTCqOQK1LDh9Dc16qfwdjrrUTzViaWrfRYiAfOJuDF2BN3TR6CGPRhgw4EUNrZtwIYnzhTJYN197nHEN05USFNBUXgG7CFkxK6K3hda1adSz+ZoNTeWBo+Jrizo3GwknfQ+sWmAqJ+67vcCbKHjXtwi53JELgylFX73+3qufjQ880IPVHSSHPv1jRaz7ZZ2q4aZ/2FgZ40a0j1BUrtVZ26b7rzNN4G7dyg5u4VhPg== 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)(6069001)(4636009)(396003)(376002)(136003)(39860400002)(346002)(230922051799003)(82310400011)(451199024)(64100799003)(186009)(1800799012)(36840700001)(46966006)(9316004)(5660300002)(8936002)(6486002)(8676002)(4326008)(7416002)(316002)(478600001)(36736006)(70206006)(70586007)(110136005)(2906002)(36756003)(36860700001)(86362001)(82740400003)(356005)(81166007)(6512007)(956004)(1076003)(336012)(26005)(2616005)(6506007)(47076005)(6666004)(83380400001)(41300700001)(40480700001);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 07:21:01.1633 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d6f4f89e-11d1-4fa6-d646-08dc10e38882 X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167;Ip=[211.20.1.79];Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR0401MB6380 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240108_232114_222326_6097163C X-CRM114-Status: UNSURE ( 9.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 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 Jan 9 07:20: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: 13514348 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 4E0E7C46CD2 for ; Tue, 9 Jan 2024 07:21:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hCLw79mrPmDyIZs8WvpUxJAbIaLhTC+QoyPCngI7Scg=; b=01/sxyq609O0IH fHW3D5YDuCwnCpQ6p0lU3TZBD7ohlf4rUeZergjlcSFAalMJoTT+s3UMJY5ewf2HaxArv9SYHPfh/ Qq4rKZMjoDa+DBAJRPrSKfXTUmwMN58AX3oQj9HiFYf8inle51moy9uvxTU0p7q1FJr85J8Hv1tJ5 dgTipL8PBJCDXeKstWLavzjyROQYKGPo5eDdhMP1AJA7m+dL8/6LS3qW+Sv4YoaYd4odGFzLb/JCT S1RCG5rfj7U6It90lvzCbbO1P1rnm2mYPfN/vtnzTX1Y74RUCKFeglL0PEu4mMI7YCKqAy7i1NZyw 9sgHfEWydKiNCGQLI4Dw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rN6QS-0077vO-0U; Tue, 09 Jan 2024 07:21:28 +0000 Received: from mail-sgaapc01on2061b.outbound.protection.outlook.com ([2a01:111:f400:feab::61b] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rN6QH-0077oA-3B for linux-arm-kernel@lists.infradead.org; Tue, 09 Jan 2024 07:21:19 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h+txASSd7vjykcow3fzqDRmkQbp3i0TWSb2/wYAQuzXvWuoYDJahajVddt8NnZGCB76VSgYLbmmWjYJehlZDm+et+gQnEN4vvN/LdMKW12+0LlNfPErgNdUN+o6uV9fqlC7k6YKOUd6ZsDF2Yn2MmnqtuEVhwNBGiZgYT6/fEJxNl13d7oG3Wple4b5LUzPXb1yX+vjcpHvIe1Y5yWiEDybjmATlRJsicP75cSi9o0YMDoYGmMulBiGQYuDaZyPt+U6p48qNdXgr675EPwr4MkzNEvKKwWkc+SaEGX7ljecyLiPhoHgp05A678lv0EtyCLZPwoMuIzzJZ3r5vwj+5Q== 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=jTNrDZCYMdUm/kBTS8cbOJxLX6pL0wh9geMoz0yvCoykhgeA5yybzngJ8UZfF3IUxLwHiU0CZN/TLeFnZnSzFYQEfWZ+ar2gooDNFzgHZ00XsvaOoRu1j+G7fHyOIvWQZFGpY772zZb3Nm73xl/dkgdMuotSAIFw0TMAs6M6pTgCLDYJxrsHauOfHPXsk3WBkxd1ICWgTujCJ2WD+55TYUWu8aXuXSj+aoPbt5GQk7RQx4XTq7ZHzHN1eZegsmdbYL6BUKu0GAE73F9jkZu4hNOi+eWR0FTtYnaEAF1bHU4ioSTqZAFRjQ6G4aQ7MrR59cpGLE9dOp32n0MMO/rT2Q== 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=Q0ItonQCq8u1DO6c7xHcQoUoDZOHHhkNiW6EEopeIDW/w9puDDHFHHpaY41OfDXZVPl7mpQH8m9Qh+pzEcQ5qt5Q/jR3rZLKu4EsxHNQ2/S/wpXGjbymBgWCuWiqrBFytd4BALIz+eYo+KsLaMWIsFrUblp+lINh7bk4OqwuZOFgK6yIyCjZBJTb9P9wBN4yn7QOMkDgNF7yS8XmGdyTye6nyhB5vluh+v9Dnjj/J+zSy0ou4OI2yWK1geliOKFjGFlaBRIk1/uQXj8oXV0fpAYn7jt3+p1+JPHb5A8P6KERLOEgVV/URZ829sWEA35AjkgbEwrhJpxvHlcs5J7t3w== Received: from PUZP153CA0009.APCP153.PROD.OUTLOOK.COM (2603:1096:301:c2::10) by SEYPR04MB6310.apcprd04.prod.outlook.com (2603:1096:101:b3::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Tue, 9 Jan 2024 07:21:04 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:301:c2:cafe::4a) by PUZP153CA0009.outlook.office365.com (2603:1096:301:c2::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.7 via Frontend Transport; Tue, 9 Jan 2024 07:21: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 HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7181.13 via Frontend Transport; Tue, 9 Jan 2024 07:21: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 v4 03/19] ARM: dts: aspeed: yosemite4: Enable spi-gpio setting Date: Tue, 9 Jan 2024 15:20:35 +0800 Message-Id: <20240109072053.3980855-4-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> References: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|SEYPR04MB6310:EE_ X-MS-Office365-Filtering-Correlation-Id: d0dfec52-d1d5-4cc9-75d9-08dc10e38a26 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: k2vbLPNPZjTFwa+Imbh6KP9T5KWyYUSnVQ9o5DvyCyb6IDTGxqM9axNuzpvaVzzLLCw9m8cR/CpzRH3QHQ27/dk5k3q/2XJh31wk2Yo71Pznl+BEKbIjRG7Dygr3p5jMWUWolVR0vTBYAwXyFRCwxFXWI0R4Ygi37yKi6a9VkMKmue704WRvHN11mMwyEwk5Zo2QYKyxHr6eIPzYPVfZFHinJ0h4vDt8p8BrQGVPfbIhW45HboXbwc2gKTkm9s+F2MNs0S7wk6njFOTl60eNR+hxBNs6kpTdP8QSvlgKw9rFvMaai8wovaRSOprr3J1dpRQNurirI9+FgwPtJs8WRPC0is49m80hQD7TsCDPjIs1tC1Mmj7AglwY0fvKCTO+zcqD+iFpfX0mXBBy7i/H9Bdews/17IkBgxQdNsY0dRHlHf/CNaDRtxs4poIg2mRXHbTv1KFR5SIpTqJuVQhIbMgAINld3NbDxZdCeOISxehAqhOwY/wLg9eYI90UxR2wesjIeQSTe7QZXuaF4jS0mRKzbl15wyFqdeU2wbD6wQyrnuQqmE0igohYaVJXjGaMGR132eYXrJICjksyV9eDB6CVeW7bzUDaWXuUyT8EZoIMYE23Bm70q8DZpjzYueAXYTpy8Sg0yt6g1sPru1HCZmjL6orlwGpw4HM6hHvEYuC8Yokn/0/gT1sW3mdtB3KWQIFkGtJRzEIcPAlmbIe92w== 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)(6069001)(4636009)(396003)(39860400002)(346002)(136003)(376002)(230922051799003)(64100799003)(1800799012)(186009)(451199024)(82310400011)(46966006)(36840700001)(9316004)(6512007)(956004)(82740400003)(7416002)(5660300002)(36860700001)(2906002)(36756003)(4326008)(41300700001)(356005)(81166007)(6486002)(336012)(86362001)(26005)(1076003)(2616005)(6506007)(8936002)(478600001)(6666004)(8676002)(47076005)(70586007)(110136005)(316002)(70206006)(36736006)(40480700001);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 07:21:03.9133 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d0dfec52-d1d5-4cc9-75d9-08dc10e38a26 X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167;Ip=[211.20.1.79];Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR04MB6310 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240108_232118_257384_3FC9F344 X-CRM114-Status: UNSURE ( 8.82 ) 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 Jan 9 07:20: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: 13514345 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 AA971C47073 for ; Tue, 9 Jan 2024 07:21:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Ax3usJ4lUNIF5DpjvZykpTHFxE5wyvywAYfD8n1cgI4=; b=NLC80ePfNnzZx+ AIyoKQaQgHwxXXU1vojOA5ZoSt+xt1nwzkv6ZyLTW6Fybqf1WRx45gkEiKYoYqsShVXXZsELTGG6r OeQ0r37wHJ4tbkCrYaOWfE6cARAkIJnvNrawXeNqrOzZ57AL00FEqj8ZoBLJKcgJ5sjmsYJh+P+5F ex2OJ5NaRJJRO1AKeHdULpXC1Htrt+5br5Zo6PZ5ReB5Qr6IfBfVhdeFbUJ0t6NLVvqCUl639+5Gp 7b4ydlND7VdG54XlufeMem+pVCxjdls4C6f2kvZGDX0Wv/9Q88hWVXfWJmpqEvwhHlh3aKm3zhlSX hdG5EknTmVGuB2uMRuMA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rN6QL-0077rQ-0K; Tue, 09 Jan 2024 07:21:21 +0000 Received: from mail-psaapc01on2060b.outbound.protection.outlook.com ([2a01:111:f400:feae::60b] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rN6QF-0077n1-0k for linux-arm-kernel@lists.infradead.org; Tue, 09 Jan 2024 07:21:17 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=asH7b60wNHj6DtXkyDaFsYG4VejE9s2QiBKZ0ArojJXIkXShCaP+FKyMrH5IJraD10w7pZ0tH+Tn8bXTc1T+3Ooh05Knlpq6WHfL3n0iCyuO78jKX/bH/CnzRultXM+lWImKEcIoXxLi+bhydsJVxtSw8Zh81+c1aJmvqoE8xfYScHa6/YuMY+WwVWh9RXz7H896ziEnu/nOzasd4Dms+q+3bA4hOi/ZuslZqmo7aVx6RJtrgsmxSeT/wn8dtcQGAEhkOxtv+7QUVsGRysKKx65ps14/dWfQIiaBn0BtKifZu3MA+oEL5+89IuFHgWVTyZMCY5Jmo0HpvNyhcT+NrA== 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=ZoDoecVHuv7CkhOcyfavttpT6FIg6XnjctL/yXdwhGV/gFzDV4mkOURvKsKRPXHtM5V0UkOOWBRlbqKyLdERhbObZ+MXqPPU1j35TLjGkE//nMnp2OzzzejSvNirY0j0KZxeCeI425sbNskSm0UcbBKePm6CT+7hMdDgmReL21d/yNxU0Z0odOiq5XNWfCLuDc/a3vPHttmTgq8zcRDRJrm7Badl8x7Sck4ksZwv7AM4wTPqKNXQyvv1jr7+RQ+UJyoASpLmBRcTxUcmWebKhBYetklqscSayIq8nDUR0+lz6y4b/XVDhw0YYPmpbFJ7Fe45Yc90QsN2VsN8axNXzw== 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=WJ+ecfaJxIq6s1uqyPiv4wF2f0gPuGU4S5cpClQcFiwmqi1AfH6Zt5upMsvTrQcxM7wuBKWwA6g40mYFnLeQfcmyUaBy+z0VI7HehGmUWxvuuzX8lgEWwwjrkcui4YEpuwf/wDU83HP4m7E4m74NujBBO2f223h3s/ADqA/6o9ZDmExmQN1IsMAGQ9ngqk9OffV1kJ1ID+nj3NXSZqjno9Rp09eLtJh9gUubCKaePuVQte8BUqpp1GX6u9WzrL7AQWiSwOzDCbgLFPB7NajqWRbZswCKIoTtgyCznpXzZ57Av9llCZ0cVt2juucPwqQ9mlevwNCTfjdIP+REGV67nA== Received: from PUZP153CA0006.APCP153.PROD.OUTLOOK.COM (2603:1096:301:c2::21) by JH0PR04MB7372.apcprd04.prod.outlook.com (2603:1096:990:50::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Tue, 9 Jan 2024 07:21:06 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:301:c2:cafe::a7) by PUZP153CA0006.outlook.office365.com (2603:1096:301:c2::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.8 via Frontend Transport; Tue, 9 Jan 2024 07:21: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 HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7181.13 via Frontend Transport; Tue, 9 Jan 2024 07:21: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 v4 04/19] ARM: dts: aspeed: yosemite4: Enable watchdog2 Date: Tue, 9 Jan 2024 15:20:36 +0800 Message-Id: <20240109072053.3980855-5-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> References: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|JH0PR04MB7372:EE_ X-MS-Office365-Filtering-Correlation-Id: f77c426a-fef4-4dc0-8e32-08dc10e38b82 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: hxnhqCvxlHx5rywOCf5ehGVb+pCAdgPcnhzNzOFAvP1NMIUNPN3XYH0jACtADJrw/1v4/WScQ7J1nikRmg/fPX5mo1TTPoh9Nt1nA2AWy7gjBfgXY3+7f+fr9HfJ4zn4gEdj00OCZnMSmYQYtvCHpGyBkdOWerb9A4QmQhzWHtSf/Vdvw3FypSjKpvBdSqVKwPhJ2LCM3M+0nS7LX3a7SFzYRgjvCF9q4Fp2PVkGv5gf2nZuuKocTX0Yip4mNf67qf+e83aTrDwcEPCAM5/CrBOGqNMA0aYz+RL7FSViXFOlVBK6mbeMTPVf00cOVEokQJKhs87vtJKUVGfpUnruZzXc20u4NqqjNboMdlmJDriTNd6DmD//6FXMxwrOLIOQ8lQLAxz8KRS2y0e1k+voMWRIR5OAAF2w4+tE0fhJ+RZGIpoJnQpC1n7J8tHHcvA9N9S9FN+lj+XHtcxLJnU6PPMer0+7IEzL3hPV5xao7EDMm4oiT2BrviKwdEMdKqe4524i50hPjMcjT31qxEVI7dW4AiCf9hWFQqHUUBWMfp5eJ0vykDiwtrjntNmVT5mgOhXaIsu5JbKT/b2r9QhcZUcOQhXJpfeAnNA/9FSdLC+yx8E/BtZgX6H17qfIOm0vQqzwGyPqzVrzDan1qkmeucvk3zWrVjxe9QNb8OWOiL5c4n1VqiDkaZUpNxwolZqXDI08ovfrnJA+NMH3QLj5dg== 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)(6069001)(4636009)(376002)(396003)(346002)(136003)(39860400002)(230922051799003)(451199024)(1800799012)(186009)(64100799003)(82310400011)(36840700001)(46966006)(336012)(26005)(1076003)(6666004)(6512007)(956004)(2616005)(36860700001)(110136005)(36736006)(82740400003)(9316004)(5660300002)(47076005)(41300700001)(4326008)(4744005)(7416002)(2906002)(478600001)(6506007)(6486002)(8936002)(8676002)(316002)(70586007)(70206006)(86362001)(36756003)(356005)(81166007)(40480700001);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 07:21:06.1946 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f77c426a-fef4-4dc0-8e32-08dc10e38b82 X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167;Ip=[211.20.1.79];Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: JH0PR04MB7372 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240108_232115_280866_DBCEADA1 X-CRM114-Status: UNSURE ( 8.11 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 Jan 9 07:20: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: 13514346 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 7445CC47079 for ; Tue, 9 Jan 2024 07:21:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=IbMXs1aED2a42m0cNvF/IOtiUnbra5aDzxO2gCbx3YM=; b=slnY9Q+F9DcKII DgupjvnQzTMJKAgNwXcVjXuef74tAmwgwNOFr7Kw0kZbBf00x7V/+NTb5KnB9SZ4qORg/0E1zYdK2 +BaILMcYe5XLsyhuBRi0+RoBhqMFmPtjYHWhttS4wzbtn/xYMEzdL2yB+zohHShhb/BlQx6Zxh7sb Jkr6hYEU5/8mqRLv9ndK7SHpqkS1FgyD9pNCLVUHBxfsVg6UPw47km6VnWrrziIrVc1RJV+iOa3fk l58MFRd8rZbIiNB2FECJ2mIMyz1hLF2r39GupEpLudjwLh/hb67Ya7KIta2PMmgiIihEfdgS3Ir0+ Hh0TWM9VH14bd2Hfmp2Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rN6QK-0077qy-1g; Tue, 09 Jan 2024 07:21:20 +0000 Received: from mail-psaapc01on2062c.outbound.protection.outlook.com ([2a01:111:f400:feae::62c] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rN6QF-0077n4-0Y for linux-arm-kernel@lists.infradead.org; Tue, 09 Jan 2024 07:21:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TXCMk1c2gdB4OUB0JB6F2s2lIaNb/AXjWROQ3tqfE6d63fbW6nYzYCqs+UcgCnj73vpoeJIyuUbYfVovwR/7mSx8Ra7Gw8eWLCsDCZ9AiDdPk0m4yE1N7QkeZsoiHx2QE112Ee6RiBKXjLXeBuumNOs2zQNKAImcliHpcETZIEXVV0UJQT4pbi1aT3oT0/PHrxGt86qHA1n9PoJHkqmQ463rcyPZPx9H33qq/19IFU9RmDd/0H0uEmOzEKvAyddXRGNMighmOXrbOhvCYewTpJ9c5rHiFF3p8bpA9/s/r8Gup1ifg2FUuNH6eph40QDY5tdceoKrOyyYPr2gZehuMA== 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=YOdO0lhs1cTu2QRKXic/P8op4T2XrJw7JQxqHRY7TfEpSeobfkqQYqy2E+IVMMy6GC8gpFoBxgfu3ftcQhztrrygPd9bmNtlM54gjbYkIvM0J6i12atytIexp5mMNwB2lI/wdDpouwkRUX0gk+aj77CrAIKtW/Yb+gJAOpA4aOMoN5tRFaOz/mWlIK4QexbRUMEbmppr2mcVMJSiy6UzJ6a3JCG7cNq01wXSGgomoO9VT0MVmRSjBCSjTWET1lqpBYpFGoHxTzSXmuthL7RSYh8/2SwmPj6vvjaCK+bMqxfds2aY9MeWIi1w7cMecWyUmTfozE3n32rCrNYpSj1LXA== 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=xO9tzI/Vz2o7L1yDGUc9PT3H2naqXIJ4L8yxi1Qv2wjY5T18/CQIZYNTT1ho9ej2/9LOehB8XRXaT0T1ApCQcwUldY7FgTDh67GjHsQOThiOJk85gDyV1r72WFeqeaApkJ5n7zsvapkMO/HS44P/Y2zRsJl0EJpGOJGPnlaG93JnAONOkS+82TCCUL/w7aWEg49HjumuOaMgrGwcPF0P4raRdlJ+/WVtR/4xClVjx4NVxBf4obPlnD/OHa+fXEGSVZtNyGWKj6n+LF4HYoHD9J845VjwMzhAOxCD5j9Icee1KU64xZCA6NLIVzFsX8k9jFmOAsb/gw1NuOgdeL5v2w== Received: from PUZP153CA0001.APCP153.PROD.OUTLOOK.COM (2603:1096:301:c2::6) by TYSPR04MB7424.apcprd04.prod.outlook.com (2603:1096:400:47e::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Tue, 9 Jan 2024 07:21:09 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:301:c2:cafe::b7) by PUZP153CA0001.outlook.office365.com (2603:1096:301:c2::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.6 via Frontend Transport; Tue, 9 Jan 2024 07:21: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 HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7181.13 via Frontend Transport; Tue, 9 Jan 2024 07:21: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 v4 05/19] ARM: dts: aspeed: yosemite4: Revise quad mode to dual mode Date: Tue, 9 Jan 2024 15:20:37 +0800 Message-Id: <20240109072053.3980855-6-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> References: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|TYSPR04MB7424:EE_ X-MS-Office365-Filtering-Correlation-Id: 23f1a44d-2146-443f-a449-08dc10e38d1c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XnzpoUQmxwfK2BawIv7F7C2b3KgrnZiazidnbUqcxZW0x3FAFkl9OjMfvHvLIvHSkdQzzLvLE8KQV+bCBoCaDHBVaBcgXFRA/uq1PoyL+tBBL2XoZBwbB550EpThb/blRPrg6PE7nKrxD4RUyde22GmUOyTex20GDsm1fSNTJwu7yptORd0SvuCIvQvO6WOqws4EuzlzTxGwLLJ8PvPyKuhXqPqrnbtc1DpxDHYkh3XJkDDAv5zIUGbMfWImvMk9xU1qZhcYrYiGu9ZDkfQmWQM2x/xPuBwC3OUQZqI7Y1JQx20nwftOtCQWI4/z7WGrZ68GBvptxgZzkI+t5l5ZtYhJbxWiV6Mwy47GVDxGUPWoSm9Y/Y07A31Jbr0ezX7AmXsgcTe5QFSGi2Y5PpkGXofCveeihrRtoSUHjptMMFJWUDMoxs1OhJlnHlcj1A5WgMwBVper3B1/Jq4A4MAWvUb+K1OimjF/AXNcag3WkcXR5sXN2M+RbaZrxyqsehVLbJC+rTyokN6p9D9kJs2amtFwZdzAYqBVZHXfYQJINFIKSjZY7sBqiD1Wn/MyxiyPZLTO5EZVWGZYAODMIIHjvP8QYbKJcLIwgluv2tjHS4j8+L3HhVEENOdCOS5KN0EQb5hAtsTp4nyZfZ8wIoBcVTSw0JP+dgi6bq4j28NzsqHZB56iNP3+tsHo73KVCOIPIRKsSLj492DxmKaKS80xBw== 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)(6069001)(4636009)(396003)(39860400002)(346002)(136003)(376002)(230922051799003)(82310400011)(186009)(1800799012)(451199024)(64100799003)(36840700001)(46966006)(40480700001)(2906002)(36860700001)(478600001)(6666004)(5660300002)(7416002)(81166007)(4326008)(356005)(41300700001)(70206006)(70586007)(36756003)(316002)(110136005)(36736006)(6486002)(8936002)(6512007)(6506007)(8676002)(9316004)(86362001)(956004)(2616005)(336012)(26005)(1076003)(83380400001)(82740400003)(47076005);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 07:21:08.8821 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 23f1a44d-2146-443f-a449-08dc10e38d1c X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167;Ip=[211.20.1.79];Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYSPR04MB7424 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240108_232115_220749_4DF2862F X-CRM114-Status: UNSURE ( 8.99 ) 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 Jan 9 07:20: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: 13514350 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 2FCBDC47073 for ; Tue, 9 Jan 2024 07:22:00 +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=rEYYc6bO2fuvq1 ur6RmuSfYORYmaMxuEL/LiMrW9DgXcRiNokXOjf7LJR0HZNNfB5S5u73rNf8X6pH+Bh1O8uNE/i69 QBsRAHsEJrj5KQ66BxE66vuOy7impCswgLlxRFk9iyk9NkuG4J0InhKgQBTo5HXwugwtZraCuAX1x Zv70I8abMpNn4DXSn8HSKET97yKMXdkmtWcO4GBxOIXQfB3YWyITFNVCDhwnCJ8v8pNY2xZDtKn9s doIxa6AIqGtat9B/dRzLvQZ8CwW23HltfV65bpF7T3SxGLQevgW61De8bKs2TQ3eP8J+WlmdT10EP hO9VfCkJheSQxIIqk9Jg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rN6QT-0077wJ-01; Tue, 09 Jan 2024 07:21:29 +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.96 #2 (Red Hat Linux)) id 1rN6QM-0077qB-0z for linux-arm-kernel@lists.infradead.org; Tue, 09 Jan 2024 07:21:23 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YW29uJX0gtZxkEFJy9EtdYAXJH30JNJzbHBgQq9P6Y0wmnmarPvvxYrIAi4agzuEHYGY1NV1l1emTHAR6c0cwB4f+9AoprkJwRqECkvth9UPBF+jq6SIUGCpIcHyCmJMpsJ3OZptIeLkC/AYGF104CyXO0MXgi8xzN0/wi0qL7zvSIxJwhpRarPBUpyg0llrNEd79ybWH0BWPaQwdhdJay1RU0sgiA8FUQysgpHOm/asZdEJWYj4RCeRiRwsAWkD2Da7afJYBlGsXi5vFJXXdlNi5VWZqWxSFnXPNV28a9t4Vnu1E+XI6vr8clJk50RaZQPF2c9mfeAlxN88x1hW0g== 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=j5t18rXk4dwSK0akkJBVR2zx5fEaIlnWkeocq9YoxuNdx1rexPoI3MAq2kqtVpfEVWs8s9keixc/QzX0f4UeBa/HPLDPr3BjOwNDGXCG9A64WBt+Z2/0VIGcKUfcb5NQ6J2rIBRyg9Lu2kaT3p1nPrNGjx+KNgm4w0AtgzKVDJAs3O+qqH2UMt3WfbOBN5wPYgxrut3mBHS0++VVE830pkoWT5Vu5Lq2gNkb10O+cg9di7VzupC5vZ2kQLMVpkSYoa/AaeaFCzGLfll1TdVXiFiaE/tBDcVDOFxUnEZbYwVguuDoshcgXTUz1BqUtm7jTNTe3iY4WITOKR7usqacAA== 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=mTQVEWZ9cZrL3SyjJ49EbUvHsY6zWqLOL88uGDZ93grlvTS7kZq6Y7L6mqhOFt0x0QX0lSval+s6mWK+HxBjJSlb/urnLYAENZY4uWhWWm3vLadKWZvdcoN4Mv1oEFwhFnTNCt7aXlBmIFxDjX8AN3/KCSrgDCIA/K/ckDJbL3JKapP1u2MAD+Nh/JRmav+/cgPEYpfIE9LR7zXboqrS6fOp+G/7eHUc5drBYbDjGpCUPFahIA44Wwgrc2VINItLn5n56Y92S9mmYrC1C6dfu0JvEPKomifAMol6FRXpf35rhafvF5eqS21qX7ir5dclEn4JAltQZKPyV05bN8KVCw== Received: from PUZP153CA0015.APCP153.PROD.OUTLOOK.COM (2603:1096:301:c2::13) by PUZPR04MB6960.apcprd04.prod.outlook.com (2603:1096:301:113::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Tue, 9 Jan 2024 07:21:11 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:301:c2:cafe::37) by PUZP153CA0015.outlook.office365.com (2603:1096:301:c2::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.6 via Frontend Transport; Tue, 9 Jan 2024 07:21:11 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7181.13 via Frontend Transport; Tue, 9 Jan 2024 07:21:11 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 06/19] ARM: dts: aspeed: yosemite4: Revise power sensor adm1281 for schematic change Date: Tue, 9 Jan 2024 15:20:38 +0800 Message-Id: <20240109072053.3980855-7-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> References: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|PUZPR04MB6960:EE_ X-MS-Office365-Filtering-Correlation-Id: 3b8d6f51-c935-43b9-8033-08dc10e38e9c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FLL8TBA9GyluXchd/T6fe5a4GYQTswe8luEdJwLqOQS+xl41/lQoA5yZZq6CKkylUSvBHMg0fxUjS8F2zfHVcGK4vYU9bgHbRTMkkDCEQC92DQqwBQRpidVxF52om5Q5IyrCbNpoFlCK4YxcvwT16q28QDLySosA7iAFNroBP5aWClsmCef9cOQdLpf4h6ArTcZkKAHJOBy5Jt2hDx4gzVbTWNaJJSgkKWh/q/6eUFWWGDCpcQe0xIK3w5218eRBLt9HOaewLesACFIjJ6qJiuO/CaeVOjhKxr5/CCnp/SOyMa+esUt6FN+TWtCyqDracrI9GsSCrpLXc+nsePqbDVaQ1kyhqlgXO39R9bGef/7yL97jMBat54jpxfb6p7D4jq4JxyyBIwClnB47wEv18kaWoBaztXquewNidOcNIEKAc8ABJwlc+8QRsNleEQ7bquAjDmBYEZMNi77KAm/A5HBVVAULjecdQGvrXx4Xdi0xmSWq0/Re2lIrbawx/uCDmCYsW5E55DtznuLjSUryWKETqw/4MalvBWe05qkWP4VbgSMrvGGKId42xm93lnklFePGoJqbKcTQQixC0PwjHhhxoWaWqcnnShHa4CJLzeBJ4XgmqhybWqaQMIVopbzTGjvT8xw9+fOH7RnaoIPtfWonaeV015NC+b9HxWoL53dB10tb1aFs+fz/h3vH7zXA8RRk813m8JxdiyzS7f/WQA== 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)(6069001)(4636009)(396003)(376002)(136003)(39860400002)(346002)(230922051799003)(82310400011)(451199024)(64100799003)(186009)(1800799012)(36840700001)(46966006)(9316004)(5660300002)(8936002)(6486002)(8676002)(4326008)(7416002)(316002)(478600001)(36736006)(70206006)(70586007)(110136005)(2906002)(36756003)(36860700001)(86362001)(82740400003)(356005)(81166007)(6512007)(956004)(1076003)(336012)(26005)(2616005)(6506007)(47076005)(6666004)(83380400001)(41300700001)(40480700001);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 07:21:11.3978 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3b8d6f51-c935-43b9-8033-08dc10e38e9c X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167;Ip=[211.20.1.79];Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PUZPR04MB6960 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240108_232122_468012_46AA9357 X-CRM114-Status: UNSURE ( 9.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 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 Jan 9 07:20: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: 13514349 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 CBDE2C46CD2 for ; Tue, 9 Jan 2024 07:21:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Wp0+srkCmxP0tVD/H5wtqTuyvHOw5cbqcsOqZ0wDY7E=; b=wvmApuL0dP6+P6 ESMBTtw7cvIcD2eiEimFoR5D9VVHNY8xgk8gq+/f3clVzBodpR9Qs5op7HT2by13MGvojD3TO0i0R pyhGDbM+uEu6NTPz5s7KaVxHw39AuJq5BkLij/aM0pp1pz8pgVZLHhkSN/osgOIIn49pxjcCmZSny 7r+uG3+GByJjg4t942cbA7JMrfDiQS3qAwko87rwP0vjG0kx2kgi26iVeSg5BxjJ9vbXdbQRfahgR 6cxHbvVHMD2+j4/Hgpxi+wNNOw/SLEfhZ+e3BvilKJUzvhdQSHATzklzqlR6UIhDov9x/NqwD7Yu7 WqnVTf11OZIaQAsJvCOg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rN6QT-0077wj-2t; Tue, 09 Jan 2024 07:21:29 +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.96 #2 (Red Hat Linux)) id 1rN6QM-0077qd-39 for linux-arm-kernel@lists.infradead.org; Tue, 09 Jan 2024 07:21:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f2VoYDX2XLR6Ivv8MK0pTeoNo2qcxnnMIBElGxCu4ixqnVmlqL5EMloFF5KjIXKabRrt91qrNwJ7TtNercJDTF9JnLf4S6M2vA+HamhSXog5yr60/XH/1rdz7o/FJMM8FbP69b2A/aTpZeCA7pDaPyQMxA5LX/QTtyULm3T9gIlSIk/QOJUBCT+QaKmwrUcqvfyglK1kR4Nt9hRmOGb57POufgYYgSHeol/dCO8RRL330Isf/Qlt/eE/OdCG98GS9Zk8q4MMCXh6rhBPNuVBr6zSvbtPHG7hHS5bL/obvjIf0Fwg0xQv99B8NJ48qpJas52G9ZpZA8T0Z6L05iUdSg== 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=Tzltf94eBR+nUE6y4Oxk1teARwTW2la4kk2fi/K+eFj4i6WAOgfLAh7Edg8nGm2xLVOpqj9rWSyDkgO0dnQSfasqsW6+38QGp7yuWqoFysVPwTgvnFiLVQuyquUKHiyLtAmcDHpZqcV9vWDUI5uM5zMV7RK4v2fZDnb9/G/i+7ll+QCC+jux6RORyXHl5W+zCpGd87iWuKmxLWKDD8smAG6ezULGPR9xXf18fdLtWn6gzEvlpXgY822GdRn/7A6dchIR3aS8hQSSy8kSoAYLV7t70lAsGGLzOuuhrMKCFauwlmgnMxPTIWNzbgrpJg9TNdW7L7wK5CksxAbQD+s81w== 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=AaAIICy/EV+C5P96VRlARRYt7fnDLSkSee7pnvI+yBzYBOYxqRo1mvjJHHGXfoKxqPUKc3l+FOIplHp/lk+V/x+2KRfzx7OUUKSNoDcmoSQklyFfrjMLDQkc8ev1LSWORquT4rGIDVLF1qTOCw4BOuCAleSSbFHFmuW1tFEgeWjf2OYzf/ziXOXNsOUJcKE0jD0FMfyidZlm074e8Z2FLdwdFpOQunRek3vJ6nKRE6UhpCx9GofrceLyazM5+P+YF7nwWoOKgl1d5tXyZpGbOFPJ0BaP2ufbuNGTXnCvaJ5lYd75DWX9MP5xNyhqQN9Rr1+h7N3hzngC7WBfXElTDA== Received: from PUZP153CA0007.APCP153.PROD.OUTLOOK.COM (2603:1096:301:c2::11) by JH0PR04MB7071.apcprd04.prod.outlook.com (2603:1096:990:34::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Tue, 9 Jan 2024 07:21:14 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:301:c2:cafe::45) by PUZP153CA0007.outlook.office365.com (2603:1096:301:c2::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.6 via Frontend Transport; Tue, 9 Jan 2024 07:21:14 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7181.13 via Frontend Transport; Tue, 9 Jan 2024 07:21: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 v4 07/19] ARM: dts: aspeed: yosemite4: Add gpio pca9506 Date: Tue, 9 Jan 2024 15:20:39 +0800 Message-Id: <20240109072053.3980855-8-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> References: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|JH0PR04MB7071:EE_ X-MS-Office365-Filtering-Correlation-Id: 50593bff-7a4f-4d0f-6f23-08dc10e3902f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bObgvnrnxTaa6unh8Z9q1aMi3KvK9ytQjzLKHvcfxOjfE0tEYJ20wWR5Ol7fivRA6DCkJ0FVwd8SzQhGkd6u4zSMwHETkNZ/caBfBI3rh1kWuwMJqmc8ZUXY7U01vBu+Kn714dqimEYvMixA9ccK5GQGweirQQlIA8ZNsSFSRXiHtU4Lt4d/F0f1nb5ndot2FqOuSsUlZ2q9CkDoIjBIs3E1VD82GlWiPAr9XNYCEnOK+ul574jj37Ruy00nyP/gCCSRkTv6rkPwFnpZY8/PHmyC+uT7sw/1yBT4fjg+d1EJv6b086TieVzfkWbmwR4Hm2oN9zrHOoIr8gVY9xRvwGEGgGPeTMZZmP6LVKY1XnihOOqgRKr+mztIEFEq7onv0sjv/s+W0Fp35r3WAoG/4JX/UBY3UyOzX0ps5B7ApmCDNqyESDaIzBeQZPfcNLb8X7HWVGi74IUeZHaG9RNjaOygkhtEiPERWnz0uxpnyw8FrB+QXQqZwapFr/8d8a19LquEJtfxPMaQqjXpH4IuvhivJr06LzYwrupfwhzD2juF5r2skaJNtPstIaICGwqM98t4mwvFJtMTVSE9aKaA8kZQmhRHLEBRhWFbLORfvcRjD45Dndu73DOGjg0RsFB1KDO3nVT6XPl/4nIJk2Y/ES0iutThhsnAT2GW0kl+vXmF5mpRC2yBLH8TpFIBSVeRAAuYOc4qH2NkrAkN5QnFrw== 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)(6069001)(4636009)(39860400002)(376002)(396003)(136003)(346002)(230922051799003)(82310400011)(64100799003)(186009)(451199024)(1800799012)(36840700001)(46966006)(478600001)(110136005)(70206006)(70586007)(6486002)(36736006)(5660300002)(316002)(2906002)(7416002)(4326008)(8676002)(8936002)(6512007)(47076005)(6666004)(6506007)(26005)(1076003)(336012)(2616005)(956004)(9316004)(41300700001)(36756003)(81166007)(356005)(36860700001)(86362001)(82740400003)(40480700001);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 07:21:13.9291 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 50593bff-7a4f-4d0f-6f23-08dc10e3902f X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167;Ip=[211.20.1.79];Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: JH0PR04MB7071 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240108_232123_062196_885DC1DD X-CRM114-Status: UNSURE ( 8.41 ) 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 Jan 9 07:20: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: 13514351 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 85E0EC47079 for ; Tue, 9 Jan 2024 07:22:00 +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=EuL84lrlXVnALq YhwOG7UEgC+9YIXFP3UCvZFGeCssi1a9R/QzAmbWTePkLtREM+brFq47BCEdliTGyfeJjKNXJUnCQ V7H6hsHh7KEzj4TOpyPiER5NVjFH2D48l5VmQ+1jJcBMQmtdgRLJEWYQA+R9D2U8NxLcMRQl2fOgx CzJNC0k7LsdzgYHbulaMxA9nhkztiGwnqbfUAtqpuTZwoFMUpDJPcrvoV2XtxNJSs/qPZmWgdFbuw JFy4/vCD7u/ZTTe9XdabAx9PxGezpEugycq8OIz6GKiAB8Nb9LM0RQ0sdOl10b5+U3uJIrzbBFGEQ fY4VA9WjNZkJgf0CYTyw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rN6QY-007802-21; Tue, 09 Jan 2024 07:21: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.96 #2 (Red Hat Linux)) id 1rN6QQ-0077sx-0o for linux-arm-kernel@lists.infradead.org; Tue, 09 Jan 2024 07:21:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=amKfKM749mWDt+CjU3O8kEYCVbjNlR5wybV0xUx64cLS83TaLMn4Q3IMxYODPulTegvSPA9pt9WVKgvr5TkYt9u86xvVKpHLYE3bV8urh/KYL5QiSw4Im7921T94Wyf5KUvyOZQq7BoWAFgt8QMS2ZgGvFbx3lZVm8pVorsUKn2koT0uhZFt4vw8lzsz32emfd1JwdmhUZjpEuwBpswzR+5HIk/gzJZVX0QeWQ2nsao1yiuBX/G09q2t5ZFfQsS7BLm4DgVZd4GHxxGvYeir0QaRpLY/EXXcVyAvUh5XfUoNnJ2QBBXKfn2M5LcnL4kiSNGJt4shJt51UzkqqgrSOQ== 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=LCEUvzKkw4bpOY65KOY4bPcbOFhZGgNyEYXYtwZAPNRHdfekwxxfqWSC1qX0kxoLfpjnUHsAG51kbqSTATmEfCTRlrtLPj3bC68y8ueYo7YLlt07hPzESZHfRr5YV4aOfqBKvhxNj7HlYPiQP46qHEbBNYNaV9vLEYxgGgahZWJE8ekCuZJOWb9fhu+9RJa+E6YoIfBmd5YG/IiMnOO/mOi7beHTUzYj+ksEBFAWEUzALY5VPfuaxYPzYnPp4Ie6FcusdXeRfGf2IZtrZ3DZ88MrZCDJyTi6w/Kh5QT/VkbAGWBk0kUUqy0icsCohuMjnMphCfgc3GhalT2PMGIdOA== 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=UnBTLK9oLafdxO0mrDRjSLUVM/hQd42ZYjx6Zzxn9WjC6Ghs0LbvkQQpSVnj6PMwzfriL8XrumYyKEsi13riBtbsK2TP3kl3DTbCcCSmFY3IV2OXd70e44CkxeTTprLHgIIBhCB4Qd0HlRB5L7ACDp4W5PcXSJXWb6HVENbNHI8UEMSP+4oReHHjpgb8sjhhH3NS0xmw97JniEKza/dfj60jeC0M1P15KcqcS96RJQR317ZffWLeMAxtUVTSuCPNsWOPjQ7N8ixzWYjAlh/T/obAcQxWWa3+M5HTXk9WtUltJkQl3u8ZiuAMluaL22kXDqQfLeVrocOsQ0W3FHuHAQ== Received: from PUZP153CA0017.APCP153.PROD.OUTLOOK.COM (2603:1096:301:c2::19) by SEZPR04MB7856.apcprd04.prod.outlook.com (2603:1096:101:228::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Tue, 9 Jan 2024 07:21:17 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:301:c2:cafe::26) by PUZP153CA0017.outlook.office365.com (2603:1096:301:c2::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.6 via Frontend Transport; Tue, 9 Jan 2024 07:21:16 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7181.13 via Frontend Transport; Tue, 9 Jan 2024 07:21:16 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 08/19] ARM: dts: aspeed: yosemite4: Remove space for adm1272 compatible Date: Tue, 9 Jan 2024 15:20:40 +0800 Message-Id: <20240109072053.3980855-9-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> References: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|SEZPR04MB7856:EE_ X-MS-Office365-Filtering-Correlation-Id: 5b28386f-c925-4f95-fbcc-08dc10e391bf X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wzCpxhIvAeAYvm17QcF+uU/yw/Dpkh1OEoJJ9HhKput3LHqkgWjbFt7HUZr3tBxJjpu+lbuWardhIlwpcH6UUge2VBfdWpqaexNQiBb7APYAGP0z0RLYpdpwt96cA6+G0wzCX2vHSWTFo9PKE5b5jPovXoK8e2jG4LhSbzo67ZTHlmibv/g6SZPC5e4GhmpDVXEUZJp/T9gYkL84ZrB/epN6IGzm/ISkvaYD3ATzsIWnXOZQcE430OQSU6ocnKRyd5FwctlzYIsb0C1eNGRO9V/vu4iME0d0WvfbSK9Gqh+p4L8eNM9Sz1mt4+LX8G4lozJ0bRcg9iCFePFhCVAae4aNIYpTvprdJLsY9BP5DK+lt1kP5XHYnVzklBog9h3KB+mSKzgdqWKeHDYDaHGENTXDHlOfk0WANXmr9+DE3Q8ox4KFEs8wwRUXzClKNDeHebTLEIE+m3iPitfl2Mif7ulpD4LpuTtJy7xD2rkON5zta7fpS8xeiO7TS10yp4qVy+Xy/BLeBormqFtuDFjPSIAHkKA3UEykN4l6Bu55CtkdDR4SgJ1LLYgpGWhOY172Jx8mjLbGTaxP9+MCfw84saoM1r679VjBxz7Hg9TRpd+13Bapb6K6UBkYflQ6/ri8x0A/IraVdYf8BLoudBZf3qDjTfWtTiMN1RJXQETRKWKSatYPVwuTSrrFRsnA8h4MO4cqPL1wBrAaMmUz16NaKQ== 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)(6069001)(4636009)(39860400002)(346002)(396003)(376002)(136003)(230922051799003)(186009)(64100799003)(451199024)(82310400011)(1800799012)(46966006)(36840700001)(83380400001)(6506007)(6512007)(1076003)(26005)(336012)(956004)(2616005)(82740400003)(47076005)(36860700001)(5660300002)(8936002)(8676002)(4326008)(4744005)(7416002)(2906002)(6486002)(6666004)(478600001)(316002)(36736006)(110136005)(70206006)(70586007)(41300700001)(9316004)(81166007)(36756003)(356005)(86362001)(40480700001);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 07:21:16.6479 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5b28386f-c925-4f95-fbcc-08dc10e391bf X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167;Ip=[211.20.1.79];Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR04MB7856 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240108_232126_288249_335C92E6 X-CRM114-Status: GOOD ( 10.39 ) 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 Jan 9 07:20: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: 13514352 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 2452EC47073 for ; Tue, 9 Jan 2024 07:22:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=7fibSTfSTN5ZfuHlBb8HdzoAsoPVjddQ562gu7PNFPI=; b=vJAr9qBKzvZzb2 or16nKSYwXGfKDQ2LbcUZfOzIfIB5rRxpwGk6MiBicZ4TLmhHBD7hJ356qrhn0MWMpjFqB8Njp1l7 cAl+/BT2T6S4c28zqTUzEKbZvq0GeN8T5Y2qQ8PdYzuocAu3rJqjGvlkstexsLg4lfXw3Tj1Lrpvt gv1rYNctn3EvndmK2kyYHlquNHhO7f+i4NYppnWXztN7QyJ87voK+tTbEWQkfTETP8IrER4CRyN9C CYKLMa6Il4FvpxEc2UwqhW72rB32OJVDcs/2qRt3VmD3u6Cgx1L91/XHHM2gJpRzBE3eofl7yHTik Evs/zZp7UlzE7X0U4Ing==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rN6QZ-007818-2j; Tue, 09 Jan 2024 07:21:35 +0000 Received: from mail-tyzapc01on20600.outbound.protection.outlook.com ([2a01:111:f403:2011::600] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rN6QQ-0077ti-2x for linux-arm-kernel@lists.infradead.org; Tue, 09 Jan 2024 07:21:28 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XImq2nXgriy91eUw4LyKqn/phfQASQ6pophF0Tme1eo83XBgNGGFintRy30j3//GJEln1Z5HLTlDKVmJPxQGWWOF4xyALKM0vEU5HlOvLrn0ocMwVgbS+A63KCweVAVkGkQtae/Z7wNHlhygJ+UcqzFeR8fQ9SjfFAoT23jl3p7z21pMqu5C6XXtqQneB8wBwxE9DwakM+H4wOt88VbfdhSlJ3SWcJ/BOUsk6NhKUW+txRY+B20RHzFQnW/8YjiKUwiMwgcDv4xPb6zFQ88/XZV3ggcipMgownu6XTRbP4kDrUIoIvjKk71mDGeoqw7oZNJeg1xjoacs0LSF2loN3A== 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=j8nqx6rPXMQAvIFPT3hqZ/MdD0QBltDtq6A3Tpk0riC02kRsuWkPbNKw91EKLtzYo7RQsrEtNvQp+9oX1LV3xfIQ9v7XEBvBmf93RBnGpi0yQxONwGGM2NUWO/iOPGWKHzNmYmJ3t4Oh5JT1WAFUxDt9QTOT4UAfwfhM5+bjRZcBVQGJCd3AcXPgNKI9e5ZHYgfq9Oxi11OKi2pfYuMUeKdTvD7oiKhDUYDUBC2Qh1yqn/esUmu50Wt7kOuD7LTA7nizVEOFGZJTKjaUsCcefv+XjiySFbyZHZVSLm6537C/Qk50mIowjGT+tzsHuP5CrHbXSMJLZ362R2KZUxUZeA== 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=MUIo8EyDyzRGFJMFFMiTIpLhVEjAgh9pp8zVRCjZvA9ao6z5AwVbTTRydAkpuYi9FMGUx9j9X52CNDemUEluzHciUGukVmtfSTqg6PolkZSMKJMFLjEM9GM19b6KUFkueNGNQDAIxCvMdAvNnyG3/lQm9wT9OmyTtH8bCkqE8rgXdYBsdwmD1nf4JOjrbNnrfTRQgH07EIUZF/REGUpBD3OPnQYb658gLXG60bFhN2NPmyExhDWnxlguFtUJrVRhFzllHwpHKdilZNXioma+iV4aFXi2uYVooXFFgnJI/NdJKphLdMRZG4wKGNIq8D+Bg0SKEKleLCN2IbVT0gDcaw== Received: from PUZP153CA0011.APCP153.PROD.OUTLOOK.COM (2603:1096:301:c2::7) by JH0PR04MB8210.apcprd04.prod.outlook.com (2603:1096:990:aa::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Tue, 9 Jan 2024 07:21:20 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:301:c2:cafe::fb) by PUZP153CA0011.outlook.office365.com (2603:1096:301:c2::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.7 via Frontend Transport; Tue, 9 Jan 2024 07:21:19 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7181.13 via Frontend Transport; Tue, 9 Jan 2024 07:21:19 +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 v4 09/19] ARM: dts: aspeed: yosemite4: Enable interrupt setting for pca9555 Date: Tue, 9 Jan 2024 15:20:41 +0800 Message-Id: <20240109072053.3980855-10-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> References: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|JH0PR04MB8210:EE_ X-MS-Office365-Filtering-Correlation-Id: aeeb4f4a-2c3c-4c20-625e-08dc10e3932a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cGWKtyI0YHsoqUSMzZlCIFIxI6afE7niTgvXw/5Bw8bdomOJmEaSmT02tTePVgKZloagbbLHzeCPFQVsiC1NozDO8mYwTChaUuZC1w/z8MhSfh1vODTnn5GNFsy+NR9tSbQz7q7JwBizHPjED0MCvObrsZsWp3To2qGdnCsRHCzIuhm7fnI+bgm2kcCf0xJeThdevuD3FoiqNgUSy/kQk1Y9l3uyT3po4ajWpkrxeFoRZEEFNPhV7tnXYuqVDfj5+JRqP32L+7yCSog3vLYeRwNTRBcuuCWrYZgh+9P0DTWp9GNPqwbRWWB6xAh0waih0/QEZ0GOgPfkNMTxbF/seftt6VhRK64NvyqhQJINkKDzNuG9Ctr1vH1WFyJAuyXGDTspFGT6LTYNDxErb+WIhK7AKtO0vs8W2rcuDAUqRoQbVg/vkimAzhpTW1IXdB6vYZN6Slz433RQR0GUqeRYDOrrsCCTfxUIV2QDofBVCuJDIwICto++Xx2TLrqs46psOPx1HcBdYzNIugSIbB2Oje3ArFisW3snvN+JzBQZHmhaZv37Vom+u0w+Hle7rx21nPeuqL1VhokwC6ZpcRajbNneqHepcyudKpT/R7kf3aZ03Hv7XMV/O6O4PaUw2b9e+G8pRu2jStWgFvQzODw2gQLvTepZk60D2ZfMFU8UYIZvBHYFLIaKdbzWm2ux7StWjX+l2Hb35jcYEwsqFcBjaA== 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)(6069001)(4636009)(39860400002)(396003)(136003)(346002)(376002)(230922051799003)(451199024)(1800799012)(186009)(82310400011)(64100799003)(36840700001)(46966006)(83380400001)(6506007)(6512007)(1076003)(336012)(26005)(956004)(2616005)(82740400003)(47076005)(36860700001)(4326008)(8676002)(8936002)(7416002)(5660300002)(2906002)(6486002)(6666004)(478600001)(110136005)(36736006)(316002)(41300700001)(70206006)(70586007)(9316004)(81166007)(356005)(36756003)(86362001)(40480700001);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 07:21:19.0385 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: aeeb4f4a-2c3c-4c20-625e-08dc10e3932a X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167;Ip=[211.20.1.79];Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: JH0PR04MB8210 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240108_232126_962555_DB9BFF57 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 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 Jan 9 07:20: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: 13514355 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 7D915C47073 for ; Tue, 9 Jan 2024 07:22: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=GFXUykB0dLSs45JveQAeux9PCt9q3dnMQk504NZaS3E=; b=B//ilPrkqu3GZB SWUVQQzV45mew9PJpMIbBx1xY42LK6TKCOkyqm/uHPRrHlBJe+FAaD6Syd7mcjxz0rx3asy0gvi3H 0l9PVhzCu8NtdtIKMoJyZMxpsf/OOd5OyuInMh1rhW3aKi8kikasAauqf2gx4LogiyJnwA5iX8GLO k+v4gA2qm09F/JP4tnSMJZzZ5/w+AIFzawJLl9NqnFBTP5eO3V1224/lfwQdSsA49wYAe8hJq4Wop xWRl7j6bICfdIPdMfWVDR2OyBSJHZp89GA0aM6SacaCZ2EIjsX0jFiVzQEh9OHWx9o5gi8GOt+1cu 5CgN0tsLjy1zWXg8eKgQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rN6Qd-00784r-2P; Tue, 09 Jan 2024 07:21:39 +0000 Received: from mail-sgaapc01on20608.outbound.protection.outlook.com ([2a01:111:f400:feab::608] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rN6QY-0077yF-2Y for linux-arm-kernel@lists.infradead.org; Tue, 09 Jan 2024 07:21:36 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ESiFtRbnyBN8GH4w0CxoIIedW7MXc5ZbLgeKJDftAElnh5Z+7i2xR/drDdasiZwMyaEEfOXyo78kFSJssOg+U6+rVDav7l36FekOdczLVlmW7E5Oh+E3ZBALveixAPOxDCoJ8sVn2vT5GzkeM/0mbrgxiGiSDlR6yjY8r93NJfLiGeUTgShifshwX7YTDJYt99b2EBGSWQQD/r9Gg5AR44Az8F+tRlJbHAh4uAf2z9CGZsa9WFx7JgauIBwwWDB9hXkWN/ied/1JrmMNf2cu2XrOMdpGpBdAlPyqAczQdnxoZISwbTSZ4Qf56RM+3neFcoh6hEO5dXzdqBZqzUwJcw== 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=HtqQUkvzpz5Gr8tpkdwXofht6Yc97OkbmG2K4Damyzo=; b=iVU02/v+RQ6jVAotAcxzASNx5Ic2UEi9nfnfdW6Fm4sFkx77d4lgfmRabr1dIM0gNWP/NN9nBw5L61zDcMt16x3zbs6m5m8VDEfVSlcYRZVODZYe9PcgAAbLsjiV965/MTHj81T/br3yO7Po14JWhl1LglfEuV1tEawmHpLyMw6Qzxa+S20xxGeIHV4Jve8lf+l+/YzWv42cVe14udBvhkPtIuBHecWp1m1qLjqBkVgLGMzszsbv8fm0MvI+6GoUMqlR/gIaeFlf2wTfl7ZigIm5IDvauvMa0NfdhHipwaSNHhWVwUPxo/UhsqTn06q43v0FGeYIIc4LO7lAje0eYg== 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=HtqQUkvzpz5Gr8tpkdwXofht6Yc97OkbmG2K4Damyzo=; b=02eLfoLtcmRFGildhI5xfTf27N1n+2cA5Q+xpyNZGvh5QGkOCBptcmE4zXXFOrd6w5GEAEc+wJg3ir+mlgRdnMlITiSqw2OcBdz9Fb3NdQUMVUVBqCxkgCEGWRu/XvdgJiTusPXP5LgyRwilpKVoGfX8AUGYuHcvCQ5FiKsnjOGUo6edF1Zk+v6M++IEIZuLqkh9htbc8+2azwVwKeo60TWayad2GmcnFrjNLm/S/6PplDAslvwA0VfFl5iiMLvhbRIGJYkJhRo5GSGkK7bZQd5V4b3Zl9AHRjaB9O6fPC6zYDqnoYnMMSKejKTFq4k9dMPA15yVZPDtJdH5tiiRNA== Received: from PUZP153CA0013.APCP153.PROD.OUTLOOK.COM (2603:1096:301:c2::17) by SEYPR04MB7474.apcprd04.prod.outlook.com (2603:1096:101:1dc::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.21; Tue, 9 Jan 2024 07:21:23 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:301:c2:cafe::bb) by PUZP153CA0013.outlook.office365.com (2603:1096:301:c2::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.6 via Frontend Transport; Tue, 9 Jan 2024 07:21:22 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7181.13 via Frontend Transport; Tue, 9 Jan 2024 07:21:22 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 10/19] ARM: dts: aspeed: yosemite4: Add power sensor for power module reading Date: Tue, 9 Jan 2024 15:20:42 +0800 Message-Id: <20240109072053.3980855-11-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> References: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|SEYPR04MB7474:EE_ X-MS-Office365-Filtering-Correlation-Id: 31b52847-e479-4cbd-2392-08dc10e39551 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FvXzhsA07wE6vxgEbnbOx4OsrBP4MTfyMskwaCP3/gFL0j+vESbmmj5NGobQJPGchrNiXGSZvYFJSrLDTQHo1WneVQuKUQ4l0JDaYdR8UMUD+ZGW60L5471IWHsXVQ72RYwUq1qj6mzp98sVP7ZbLvnYkuhjaxdbsC4h9xqGtCAB04vgUFZ3tANy58BYuPKeGbHX/hwzLvUpRz69AvTCpKT4SIazDOLjUrN06wlwje2eDxvZcLSCDEveInAonpoB5JdYBHufQy4XObkmfRzL7u+A/4N9zfLpiYg3wqrCh8nCnxVqyhzW+URuUooazJsj5uEIC2kKH1vOJcUsfYoYi/RMXv1KSq59K+6ghtL5/1Shr0k+K4Z5V+0BCAeGqS0Qe/jtx7aEm6sAYEO1or99kIHAOAEVmklXmzybsmwuUhPYwadkYMWkpFFVI8K2JgkhJiIg4yPM3of0+6Hmiw5FCsDPXOP41VZ9NZCC7zCV7nRiVaqwjn45aXHNT8pHgzLoNJcBFS93fSuoRrjv/Bt7CpkGi7u/PqXaYEE3no0XAImuUuEXPN86/vHtRHWwq0NimzI11b6kKevga7XxOnAJ2Bz4GZBAkH1cx+snsrDB5XttM7xIRqGindq15VfJezKj3/Ryvv9op/0dAIsdmiYiC3zVySEiJJs0Hoa2lUJkv9KSxtiGktMbxrtjIXbDM8ph6/BoZwRDqOZngayR3kjVtw== 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)(6069001)(4636009)(396003)(376002)(136003)(346002)(39860400002)(230922051799003)(64100799003)(186009)(451199024)(82310400011)(1800799012)(36840700001)(46966006)(41300700001)(356005)(8936002)(86362001)(8676002)(6486002)(81166007)(40480700001)(1076003)(7416002)(2906002)(5660300002)(70586007)(956004)(36756003)(26005)(336012)(36860700001)(70206006)(2616005)(110136005)(36736006)(82740400003)(316002)(83380400001)(478600001)(6512007)(47076005)(6506007)(6666004)(4326008)(9316004);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 07:21:22.6479 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 31b52847-e479-4cbd-2392-08dc10e39551 X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167;Ip=[211.20.1.79];Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR04MB7474 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240108_232134_890192_D198032E X-CRM114-Status: UNSURE ( 9.04 ) 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 dce413c99037..3028ba4ee815 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 Jan 9 07:20: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: 13514353 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 6144EC46CD2 for ; Tue, 9 Jan 2024 07:22:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hSjrNN/t7HxUB9GaGY+m4zSq1CcqhtDI8uhdK7H7AjE=; b=445HXsITc9zhws BgFdqkprLRKXU/OwMDWMGDFCsX0ak5eqt+zRpsYkbn9eVEp4GXDUpQdo/5j93hYihyH3bk7UpRaqt QDW3p0PWVua1UcDu/J2z3HBiY0XaNa0bbqOfwo2SXdVadTNmngDjA0b+3I7kpn2lCgPltw7L7uJyU y3A8+C3i9+97VPl/lUEV1KLm2egmbw2z/OYl3KNf/BTqqKl2gA+i9zm7PUB16pPNRDuITMybQm3ve iAFeGjB1uPtE+2uvtscrRTe3KJ/W1xfkWDz+w8MM6SnkxZ0MaazQg14R06/C4clGPAAiaDfoXu9c0 Ub4RjeUslYHqQh1I4PNw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rN6Qd-007840-03; Tue, 09 Jan 2024 07:21:39 +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.96 #2 (Red Hat Linux)) id 1rN6QX-0077yR-1m for linux-arm-kernel@lists.infradead.org; Tue, 09 Jan 2024 07:21:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=U6bD0T0cjkrC3z9enLNpvkJ5pIqJttpHHqmTphi4jN4WJ5OblhevTqIdVH7U5ZXIsbuTqna4aMvL9s/SrGEHiFFl6rURR2RBW9lu7o01QEmrrCRczRkIlquTTjClR6nIBvlPPRqpUfXcFEJe6OVKOmx/dTRzQpzw6VuUFQUSVxnGcfC96aOaJgTbJiUYmCg5xvtSgqMWa2C4dlkvxnm8mq/iqFZplqdFuemPgPgiAbnc3i5fpGfn6mQOGLr0dlX7u21wj2eD7fmjGr55wqQer58zkwbS9wF4YsJ3ELbeQ3uRK8bd6pn5T+tDYz+aq9YfYrz50e/qKMCmw3Hbv8487w== 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=i4XxCcVdEp2P0YWI8o8HTw0x9V2iQ77kFJCgNzZVIeI=; b=W3fbb5mFe2kpfD3YpIT4w1dszsfU3NZQC9zL5mmIbw0J6Br8obs9hp6fS+uv7p3JdiJ13kpyyfJI/QMV65k6LHrfZTZ/3YoMd43d7iQhnN5aV3uRML1PhR2dTuzgQ3IW6Bi2iq658vVEvgtE9KS2bEshlSxo92opz5t3usPH+gp8oIGdY/721j11iU4pD7CIWOSzdsNYsNoRuU7+LZ/+rt/qF+qsGkYsV478rwogQP2fOBO4ltrXgi3JY2XoA3565r0RwtCFofB1P6BZVdc7WS+WFULoUhp/VhSNAoofsi4w3g8tl5BG9XsydWgdt7C91KtSyT0SUh065ZFzDnC2HA== 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=i4XxCcVdEp2P0YWI8o8HTw0x9V2iQ77kFJCgNzZVIeI=; b=dozQxrZ7S4gpDyWYGfsmiNqhh5hcZbeycYt6BKDyYQ6jKfg6Zmy/9V9EmNLQXYILI2b+9XEdI2O8DRUqHqCzyMMJXErNRV1nI98yJAo22oZQLs1ERxSrwTQ80rtCDo1GlOqY0QBG0cPWKXZsxKO7BGy5TFn9cEuqXKnN/fEHSED1fUBk7ABkfehk6B1CxLnjz7/L2g2jU7L+w5WyjTiWchHHQ/c7zha5PzOUN48riH/BiewTUb3XRdC+yS124svUW8He2CwDfr3PWuTrR0sayDQws+tNyzZBddXCotWg8xOGz6UWvdsokpftLdnPgMlcafuC6V/Tjs5WVFQstLBeWQ== Received: from PUZP153CA0009.APCP153.PROD.OUTLOOK.COM (2603:1096:301:c2::10) by OSQPR04MB7909.apcprd04.prod.outlook.com (2603:1096:604:291::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.21; Tue, 9 Jan 2024 07:21:25 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:301:c2:cafe::5) by PUZP153CA0009.outlook.office365.com (2603:1096:301:c2::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.7 via Frontend Transport; Tue, 9 Jan 2024 07:21:25 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7181.13 via Frontend Transport; Tue, 9 Jan 2024 07:21:25 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 11/19] ARM: dts: aspeed: yosemite4: Add eeprom for yosemite4 use Date: Tue, 9 Jan 2024 15:20:43 +0800 Message-Id: <20240109072053.3980855-12-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> References: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|OSQPR04MB7909:EE_ X-MS-Office365-Filtering-Correlation-Id: 15dc0cb9-2d8e-4c64-8a92-08dc10e396bb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: P+wRtKGUamqws8vFnSJ2XCT3KeLBtsoXOzfQYZAzx2H9kfAjqMMQFNAYUlAymzQwt5Ju2/vEKdimPWiNsfaDhjS41pSfcwDuMpnQ4C87FPYqFAv38j1uYfltuqRSohSuR97x2GlFlqRun3OpYNNnnuXLPiSba8xnPkNq5/cyes9S1jsdiXvMFkWXmExzsKUm6WxUzOyLnNiIdSCL3tGXHRazfEK24rYP9eM4WNvxvHReccRo/NjbcsmXCB2W3a0L5NzCzv+6bMaIVmNCYnLW6A9W5LxjxFDAC/MpGwr9KB8iFif8VB1tUaXZTKnLd1rdhpfBl3lLOVWi6jFv3Q2AHBU4W5X5yb6vR3fET9ZOKk0FS+PbO3HYUqgn8d5tjb4c8sQUJpRzU7nzh7r9at+J7sFaUiD69QjXs0T9HiFQjdicmIqKqOUHvscVrXId+a7h2xeaZsYNCztmRVXBBfqstecUPDvsNqL+PV7blg749XiVh3ql1rsPjgduS1Gr7i6dDbA1V88sBnKi7GalTREN6/+FUP5Akh8rvGmy4+m2L9R1lePRihzgUpkMjYYwctMXoECvEjl1C/Flf23Ebt1FZfJLh3aX+kMgrL1hqI3pdTI/2AtazGjEba4QNSONUCmEe5dzttUGff0C5WBFrmndwJCN0+ublbsfQZOmtsVwRkx8ibxdmK8yV5Z2oZFbf3urSVIAU4iiU+EgT5bcY8U4kA== 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)(6069001)(4636009)(396003)(136003)(346002)(376002)(39860400002)(230922051799003)(1800799012)(82310400011)(186009)(451199024)(64100799003)(46966006)(36840700001)(36756003)(5660300002)(36860700001)(6666004)(7416002)(4744005)(40480700001)(478600001)(82740400003)(2906002)(47076005)(4326008)(81166007)(356005)(336012)(2616005)(26005)(36736006)(8676002)(956004)(1076003)(8936002)(9316004)(110136005)(316002)(6506007)(6512007)(41300700001)(86362001)(6486002)(83380400001)(70206006)(70586007);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 07:21:25.0230 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 15dc0cb9-2d8e-4c64-8a92-08dc10e396bb X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167;Ip=[211.20.1.79];Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSQPR04MB7909 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240108_232133_603695_1CC8B5B5 X-CRM114-Status: GOOD ( 10.01 ) 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 3028ba4ee815..32c602124033 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 Jan 9 07:20: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: 13514356 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 6B866C46CD2 for ; Tue, 9 Jan 2024 07:22:11 +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=LfVJGFkoiKnuhvXiigp7nwuuWJaGp3prjj16ivPcF74=; b=GokmvV7kR4DdIo 9rQW1UcQddKOrNqQ+PGdgzqNKRauwoVxU36Fhh1MEE1cPeDAfSmvsZwlReH1/CVGoilBvWvn5nxFp sGXhwCATb7pm/jyYM99CICA0ZmmC3MVH8CGaKAufIN3Pb/OeMMMIQWuC1BBmMc9tVR5Xoae9kw5Yo iW+ZXap3/dD+2/8KzXc3onjudgwArZxcIzBSMKY0Nw0JFczS/szHVtgRWnIuT/Xmq3d59MIMYhuxk Q7OcxpHl8NSPahX4owZ8FIGH6S9FLQPKERCwemXrHh8H0GF36eShpGZoDRCSSbg143vQnzyx/+J/z rHZrrbz/bOh6McpTOdAw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rN6Qk-00789x-0V; Tue, 09 Jan 2024 07:21:46 +0000 Received: from mail-psaapc01on20600.outbound.protection.outlook.com ([2a01:111:f400:feae::600] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rN6Qd-00782w-1v for linux-arm-kernel@lists.infradead.org; Tue, 09 Jan 2024 07:21:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ahqG3meiWAX609T6rELYf3NfKoaZ9n5xgezjZdzvI/6mjxOJxEpJs0diividnRsRSDNHmYG2sp8JYRAEONNpuw0vi5/ohU6Ro/or6CMN5v7nyqGkyK1/FtdAyDjwzsMNPiMYdgd/coFQA7MK95srKXAHsBavWXvYYt4uh7P3s0nNLuEXGgvQ1MJ2VmOrA4toBUGQskWi4Cz82vjA64orXybxSwBMv25JpM+4YfnWMVcbmm+yb6ldU//T/+IIC2ystkIM48o/fSe/VjT5P6A7+zoCI2uiT0GT/5Wk2qHV2EDdkboAsOB/rlVYmO/kV8jx+SVcMuJS/M2mhl5IqM3f0w== 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=g6SBrC22pzYsy1098dJb+MNOSZHyygMA2V1d0CFPWng=; b=d4jxDQEMCDn66SXllB+0sqqpCy0GYYIKMUe6+yj0CZabOVdpjQaLempDJ4xtpzaa/0z2xy1GXy2WVFwa4CQUkQrJB/QTnXvKaqbu3imb9dIPO9glEZ9Q3gazp9urOD2bVTKGQk2XEKeDRSuUQtDHeSy52sbJ/crZz7/dApx4zHoqOluQpM4ZaOZRJLAkOCVfrwC0tOjljDjM0getEiGpVohz5BdiW0+rySO9l8AdifU2EsFaQuDQvD1EKUB3odJZtq0PYFCqxwbVZwfNfgtbn28VkruaVwCUWbvy6kkZGPKRxO1s32xbkqzbSuSMJcWAPQ7XP6rx3u7hV+TbaYHptw== 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=g6SBrC22pzYsy1098dJb+MNOSZHyygMA2V1d0CFPWng=; b=a7HbmJsdjv/5J4BTSLIne6EHxUzrjestCNMcVrm/+J7jOSCyzcFnNIOAbtgXQt0kITOFSHpgI0JZgtGK/giME8IUXJJ3yFx3bIiJEhtxq/ymvzg3NbZ3/zsxdfeNenZmpmibvZvurFUnnJQIZG/gUe8lzaQxxuIgU9ObC1jqUOYU6Y5ZkyJwLKlKvnv0RQGj0lQIALPgbWRJ41ABdTVUv9g0NEqWz4cFNv1kyQbzMifWWTZEA9ndzxsRE1wCOdefgIZE00bkwNm0EHxn+OkTqFRLOJklAmgUfEq6eup4YbrzF/xr31er6QBmKNj6OIfnWjmdgYCREXIHGry8BmXrXA== Received: from PUZP153CA0007.APCP153.PROD.OUTLOOK.COM (2603:1096:301:c2::11) by SEYPR04MB7576.apcprd04.prod.outlook.com (2603:1096:101:1e4::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Tue, 9 Jan 2024 07:21:27 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:301:c2:cafe::2c) by PUZP153CA0007.outlook.office365.com (2603:1096:301:c2::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.6 via Frontend Transport; Tue, 9 Jan 2024 07:21:27 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7181.13 via Frontend Transport; Tue, 9 Jan 2024 07:21: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 v4 12/19] ARM: dts: aspeed: yosemite4: Remove temperature sensor for yosemite4 schematic change Date: Tue, 9 Jan 2024 15:20:44 +0800 Message-Id: <20240109072053.3980855-13-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> References: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|SEYPR04MB7576:EE_ X-MS-Office365-Filtering-Correlation-Id: b4afb2df-14cf-4a9f-67b7-08dc10e3981c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4TIHsDiwppZxkeL1N0T4Xi9BALJ5Xc8w5/bBuY9rCAcRHLV51pzTHterjcy4uHsefvAkJ4B+1O5nBOJrMSDIyuOSA0h/MBpD3sFvAsTOoWcVMhZak9BfOMD76pvRgUWS4yRKcRXz+jBlJZpRm+B7qkDSkVNEOlyPgs3odNyN+4tElB502mC3zBZ7zIpXLMqn2RtXfbCnvgbusN5SUVsA4cJFPKhZ0NFN60JtRV+pZxVnr6hHnDrDHZpRTWIg8A4qWkXB4Y7TJXXT+ob5PcRpCnsbxIq4nLzV+4zt3+Ls9sk+waHf+l6es2jIo/qjZdVu7IitF5ETvFTxB56u4kiTkJnSLkTo1I0nU7CYHZXTa+kPSszPG4U6pvK18adRj9pQqXKsfKUlcNiE/d3qu/QnAL/ZgunvH9s6JAdTA+JHcSWK7g393aUp4O6haiM8x0Co4G8ztQu9zbhwQZL4+ZzZiugNQA8x33qRb9X3DRzBq2kll5IZWUSVWQ6B7rAchDSObc6hax7y2fPgY+s3T1kmXuJ6NxMs9SA/xtmv9E/YjJt1DIUtjZadUQgH2MGzzEkT3QhiEEqVbxNmIdJjH/hXc8mUnuQoSOmnksgDHCduQhvq+Fz6rs+sEPTk8gcxAH0veYOCvLB/8BldV8cJnPk5ELzY/+s9RhQiadq2vGfrBoFr9RSwfSnds9qolQqAfozxYti+62An685TV12013bNHQ== 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)(6069001)(4636009)(136003)(376002)(39860400002)(346002)(396003)(230922051799003)(1800799012)(451199024)(82310400011)(186009)(64100799003)(46966006)(36840700001)(336012)(9316004)(83380400001)(82740400003)(36860700001)(2906002)(47076005)(41300700001)(86362001)(36756003)(356005)(81166007)(316002)(36736006)(110136005)(6506007)(70206006)(70586007)(6512007)(6666004)(6486002)(8676002)(478600001)(8936002)(7416002)(5660300002)(4744005)(4326008)(26005)(1076003)(956004)(2616005)(40480700001);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 07:21:27.3355 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b4afb2df-14cf-4a9f-67b7-08dc10e3981c X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167;Ip=[211.20.1.79];Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR04MB7576 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240108_232139_662286_429312FD X-CRM114-Status: UNSURE ( 8.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 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 32c602124033..4b227bd3982a 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 Jan 9 07:20: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: 13514354 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 6A7B4C46CD2 for ; Tue, 9 Jan 2024 07:22:07 +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=RQXlYiWZ5RSgaDUCQJBxEP4RBqYfzVXHeo5TF4aS59s=; b=XhKdZivkqKvv04 tV1rYTBWCV6SL1De8DmsduIIIVNJT5NwSjqMg3sGLqgyBjS050YoKW00M8VA+WLEb2+zO5n5+/Hkz IKhETW0SP5WCu5R6to0Z9wLHfFqpWNJ6gfRhsk3d1CY4x9YJnnIH0r1545RXdnrj+5DqVXd3pXZnw 35qPNOQTWSHflppn2TrY2nOTzqcTMHRW1eB15OWOjeOZ4q1moAlnTU5w1FQsckwxgPpSqs3GzR65Y hbIAZcE8FsqZTo3XzukaovJBDyoNTebbZtw3L5k0pm8cbouy1ZECdzf2BaovpTUYgPn+FGZugCnso UXJwc2O1beOwMHAq7SuQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rN6Qe-00785m-2T; Tue, 09 Jan 2024 07:21:40 +0000 Received: from mail-sgaapc01on2060c.outbound.protection.outlook.com ([2a01:111:f400:feab::60c] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rN6QZ-0077yd-1e for linux-arm-kernel@lists.infradead.org; Tue, 09 Jan 2024 07:21:36 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LoVd2w7ch/4C3gwue7HBld8Y9eEjKUIm0XBgpimcN3Gio3zhmqBWbuDHo4czNx9k8scR4wG6NVtAqUX1PljOFsffVp8ZvoaNL1EiTrRXvdLCDT+qWH7932845AqGXZvNHtGPhd6/RDbLPHRIPl/ObxLzyImGNGmJbg1EgTXi2P1n27X1uML+JDcHi2A5ULlociwqMEqppfdKwTRw8R7gO3+bCv4BTJsF6WxgEdI36NLCeCpVQFIJAY/SQkCYZnmSzc2KuLCIdcxnb+fdbBa71robV1fcm9+b2piYuoTq5rGscVI5aV0cJj+epdONjbFFBSv+klI6XlHml/WCWhXX1w== 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=AALHiwYYxM5kavG9Ao2yCDeGWSHTFtVZoM+1NRfYiig=; b=F9c9K/cRqIJ4Ff7yrS1F5h7c5F4pSNQzJkzmknSVw4ZQVQGwvmNxXP2s3vGk+QHIRnyE3emiR8ZrXHLju3dNBUZdoha4ckZIyp9LA0y1YfLHo/IM0DD/qpY9dOiw58S3SNzacHaj/oEdtc9+MCdrKmWFiE43mBCtW8RYIYcve8yqx4Y8/B+CmSoQqNFdfLZc0CNptg73s0c096C5AxxaE0lYK6c/nvwZWeGNFqCCHddUvuxiF87Wj/lgnVttYhnK/cuJIiokL9FLOi3ELb14D3CwYMLemmbgWmbX/oebUmTuycTsQKkgmpPeMZTvBxM8m8nWDgHTWksFY/6oN6r95w== 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=AALHiwYYxM5kavG9Ao2yCDeGWSHTFtVZoM+1NRfYiig=; b=n8xR1i1mouKr5dkhaZv2hwoxpb+QcVkR/92thCESCVTTWMhk76gjZiqzFM//kR9G8FbGfyyilmYS5VkygYhikulCR/IykH9cyC4UtogwXNk3IrkZBMbf4IbkS5sfx3bZVH8TJAgzxlOPS9U28DGrWJhS6AYL4erF+Onn6fMpMDf7jkb7KfvUkDaoUH6ALznVq2hV1+Bj5inMb3A2G99+pkUZS5rJw7x2Fd1AMbSDFGcbrsaabG25t2P6b02cXRDHUDIDovKtzHXKt7py56ugc/WO1CuqT2e0aDZScdCmYIJgxrthEP7DHtu00B2uj1/QeB7Ge2vV2Zz+lxclgRPQ9Q== Received: from PUZP153CA0005.APCP153.PROD.OUTLOOK.COM (2603:1096:301:c2::22) by KL1PR04MB8144.apcprd04.prod.outlook.com (2603:1096:820:143::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.21; Tue, 9 Jan 2024 07:21:30 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:301:c2:cafe::1a) by PUZP153CA0005.outlook.office365.com (2603:1096:301:c2::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.6 via Frontend Transport; Tue, 9 Jan 2024 07:21:29 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7181.13 via Frontend Transport; Tue, 9 Jan 2024 07:21:29 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 13/19] ARM: dts: aspeed: yosemite4: Revise adc128d818 adc mode for yosemite4 schematic change Date: Tue, 9 Jan 2024 15:20:45 +0800 Message-Id: <20240109072053.3980855-14-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> References: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|KL1PR04MB8144:EE_ X-MS-Office365-Filtering-Correlation-Id: be13ff35-3eb0-4738-6c48-08dc10e39984 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2Yr9CEIfIvIt60ln5ToHxh6ocjXF9m1wwTjRKjvExxIoy1ehGr7vU5yJBPCFTH5Ulvq5puuvjWjKftFfvfkZOcBtjChiFPREQNj+A1GHBnFIea3sxK9xUXx4C42F+OjQEUZvah8B3g8LSYiETRV0ORsDxkM5+gdUju2S1XKR9Lfs1OOEkYxxtYpP16mJvbmK+gKkj1xwzim73Re6Q3GinequI2oH/2PMubU9QvwFW5B0Akas7ashpONKXGKBLsMibkKLfOx2rCQpokEqfyx7XdRo2ltFCoHDH6IMNp/DObXup9K8JkEiHHF4JveFJE08a+C91uFcOwKNd3OmQ0DxOxK/wXdTuAYvBirwVETdLtjmq4spZZI5XHmrz1g9qLehfgN7uYPBbrzWA/pjO3NklcU3qw0yxLP1XwQ7MLJ9Pqcg7XFVZABUsscgUZSTdGBnsptfDf2eqOIpziZ1ZXFUi7fM5n5NfVqLhSu94KiEj9SRROe5chhtRuml1xrXIHfR7Zxck/YqPQRqcSpCaDfMHedvl//qOwpcgaT7UsahMMrhqoZKPcjM5yUmHLpXEcxT63BYuHVnRo4K/LceDG30/8v7zzLJTsPUKWAlLpZg4C4a8cd9uhYQVtWRHxG6qbswGymc+eg1UKBxT6yP2zgZb6uTDYG1kV3+E9h6ELDzHdLN+pQbr0fpEc7INa1c2W+cxnK6SNt/X9LtrR5O8bm/VA== 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)(6069001)(4636009)(376002)(396003)(346002)(136003)(39860400002)(230922051799003)(186009)(451199024)(82310400011)(1800799012)(64100799003)(36840700001)(46966006)(70206006)(70586007)(47076005)(36736006)(316002)(8676002)(8936002)(478600001)(1076003)(26005)(956004)(336012)(2616005)(9316004)(83380400001)(2906002)(82740400003)(5660300002)(4326008)(41300700001)(4744005)(7416002)(81166007)(356005)(40480700001)(36860700001)(86362001)(6666004)(6506007)(6512007)(6486002)(36756003)(110136005);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 07:21:29.6793 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: be13ff35-3eb0-4738-6c48-08dc10e39984 X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167;Ip=[211.20.1.79];Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR04MB8144 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240108_232135_562691_7DA80ABD X-CRM114-Status: GOOD ( 10.01 ) 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 4b227bd3982a..904c0ac0d8d2 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 Jan 9 07:20: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: 13514357 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 114D0C46CD2 for ; Tue, 9 Jan 2024 07:22:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=L6JL9WJ640I+LWTG0cj/c6H3j25hgbWjdYF3Dv+3IgU=; b=3NGuofzlZUOnq0 XWPKmjty4Y9tC8yPOjhVO30XV4PzHh83KCrJ9OuGscbneLSNqw0yC52FdSvgOk9JfEKbetgB5SZvE Pw0lWw+WPx0kS4xgLqdGShQBpGSvxgK6CXOHg2YbP9yLxsUIjoh3GCuwVBqvP06BtNnRCZby0WW6B BPOb12YkUkbGVueebZ3MGezRcqC1ngAhkLBA7eXFzwXNOZuWid6W7qAszKTWgfT+2Q6VPn5gfMtFz cFTaF+S5IswnTD0Rmet6zrnG0vFEXppRkyl8Gj83RottR28nl/9jw88KyFPHS6DmysBV1WDqCWv0W qkb4+LC43Nutxify+Fsw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rN6Qn-0078Eh-32; Tue, 09 Jan 2024 07:21:49 +0000 Received: from mail-psaapc01on20608.outbound.protection.outlook.com ([2a01:111:f400:feae::608] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rN6Qe-00783h-33 for linux-arm-kernel@lists.infradead.org; Tue, 09 Jan 2024 07:21:42 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TXrcLHjSxsG6F0wVumYtt3piMWelZXjPeZFPJi3UKo/aDBDbYOKD8Opop+dFVTZNIjIJOjdLK6AvhcRhcJF8v+HDTODpQysQhyIgScC8yTdzwZF4H5o5dU2Moy6rx5sY8zgZnfZa7r8+nWzaAP5+hCG4UiJC/anl+9+tdUXcXOCzb0XMI1LdrtfwSfcyHGkeQz+6I7KxbSQZGaumZGzLEp8ch8yCfxxJFNJo88IMbY0nXqsqq35xqzb/CPlZt+QPCRunm4UzwcZIyOGwjcO6Cnx0jM2/lZz93BguIf/8XS8I8G26SoW0usidYnkkm7H+jT+IyLtjVJ5vM7hlfLy98w== 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=ypdE8E+Og4B9hXjKCzAhuUhw4Chp9PyEaASS1wZf8LY=; b=E44EE8mjA03cL+KbbJWcfm894yai5aolbSnHnnDe0EepnkMT7zH3TxbUQAhxDBdxFMyXR/q452svvcEnPcsxHOsYXpx+W4+BfVPRvgMZPMU3mhc7OHMGy8A4OSINh7dCS6VA0QYVrarwKtKRdxfLMf4TVjRdhh+OuJgwKUayRk/CU9t79o4ep4FhjmVI1yxEli0cEuP1L9PsKoFwVPbcrL86hlLyvU4GPLBGFm3Gf+eHEsBGlZ14I/2of8HGFmjGLl/WPZ715Of8ew4XeFPg5dV4veFeSqx8oz2IyIEA6ozOAqhL77ElJedN/Etlf1ynTzADEvOAq8KI/nCFoEpMKA== 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=ypdE8E+Og4B9hXjKCzAhuUhw4Chp9PyEaASS1wZf8LY=; b=iVHjrfYj4/ZTksMVjZbCmG+4U1ZCCIib8kxlLTIME5jk/Qbps1xMHasrItmtC4E0Ork1UVdwpNMJDo47XKHigZbPNBFsJ8MRC4nxI6Mf8VflTwFW9o2wM9G2b1NU4PduYhAwgBL089yQowUIoe72b5zlzGW73D7m5DaQt3u6niVXEwPe4tSlzIcnzT6esN2HCDnkjibr3VV7YGdCjcfmEbFoTUq4yhMRL7gRVm+HXLQQ1WqpLTsB91VNQ/dJptJcHotnJy2MTIrelWC6ypRxiTMrcJGA2q/ZofYQSSwl9a0YkQAyeWXbmX6w/uCDWZmU4rgMjuFbxjMKpLrBHJKUpA== Received: from PUZP153CA0016.APCP153.PROD.OUTLOOK.COM (2603:1096:301:c2::18) by KL1PR04MB8191.apcprd04.prod.outlook.com (2603:1096:820:148::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Tue, 9 Jan 2024 07:21:33 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:301:c2:cafe::a4) by PUZP153CA0016.outlook.office365.com (2603:1096:301:c2::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.6 via Frontend Transport; Tue, 9 Jan 2024 07:21:32 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7181.13 via Frontend Transport; Tue, 9 Jan 2024 07:21:32 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 14/19] ARM: dts: aspeed: yosemite4: Revise ina233 config for yosemite4 schematic change Date: Tue, 9 Jan 2024 15:20:46 +0800 Message-Id: <20240109072053.3980855-15-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> References: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|KL1PR04MB8191:EE_ X-MS-Office365-Filtering-Correlation-Id: 813747ae-99dc-495e-bc46-08dc10e39b38 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: c4RdqgZVwPvHII4omk/5kj8Gh3YbucUH7RvxBfa/H1oXiDJm7XPqMHtJ+nWah2PhugR+cmdZS2hcuY59Uy41EADYCTCDAS7D9m1r27sOsLe2Qco+pkzBHJojZLk7E6XrfjHPu8i/HYCaiCq7wkTKfJ8jTJokSyp/sbAErqTeDHMzo9ev4PX3MvsI0Pq+JDdlO3hKeDqL70RUCcEo4rkFReZBTkhFikmZHTALcGWRG/NMORALQt+3wrRLu3h62zZIHcqnFsCYb+c3Pw9K1kVX/wpYYTRWJiXmec04vUecEZg18e4GTO+EmytSOBxGMWSejBdAEIiaIFdcrms9/U9MagLhojNbFtvGWd0gMj6U7tMoXVThYq7XQzlzVLLk/DlkmVAuRTigWhLfxNRw6JBUxbRzqVdOn4YE8+B5bP5dHg0oMkp8DG28MrlLiv2zvNM5UpKqdFNYZcf1jv0Yv3yvlPO+AsoSn2KwvwxOPvsGc/ZfgYTAf/Sj8ZX00/5H3uIhmpBfhBgPNSadQehTlHMVAXSG49RXKW50NodIHFOGMkBsS6av2rUrPi1c8lvUO9cvLZJcvx586ivMQ1heE+aTiN6wmtONBjI3j2JCys8AmxCYbDjuVzCEoSQu7C2S5PxQ5gYNXV3cScyDWZpFzsiifFybmiQ3s1Mp5jDzWxqbKWENo/3BG8sUkqe6qVw94cyImk5VhhpaBZWRFvfdVDdoWg== 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)(6069001)(4636009)(136003)(376002)(346002)(39860400002)(396003)(230922051799003)(186009)(82310400011)(1800799012)(64100799003)(451199024)(36840700001)(46966006)(2906002)(36860700001)(41300700001)(7416002)(83380400001)(47076005)(82740400003)(81166007)(356005)(478600001)(6486002)(70206006)(70586007)(36736006)(110136005)(6506007)(6512007)(1076003)(956004)(336012)(2616005)(26005)(6666004)(5660300002)(4326008)(36756003)(316002)(86362001)(8676002)(8936002)(40480700001)(9316004);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 07:21:32.5387 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 813747ae-99dc-495e-bc46-08dc10e39b38 X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167;Ip=[211.20.1.79];Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR04MB8191 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240108_232141_004259_14630B65 X-CRM114-Status: UNSURE ( 8.69 ) 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 904c0ac0d8d2..c61b46a0a262 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 Jan 9 07:20: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: 13514358 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 383FEC47079 for ; Tue, 9 Jan 2024 07:22:20 +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=9DvsZGhdaP+VDkJ756cV2xvBW8eP1M5GZTokX7ddLHE=; b=Hft/MMStUPqS6J cvi8o1/BdO/MbI9NyyQpI884DqDYe0jh3xo4bZcxYhZwErKNxEl3k6RnAyyu6EXVQUNT2tL4ZGNmM qk+N9DqVMR4fkavGw87H2Q0SFMqJxleCCzf+/K4iB+HkuImaD1xWCqPlsPRcVB/RPKMYFANjrXvo8 sshnAWTyeeQ4KPKLXTj8TXG8Zp/rUOBrygKbbxgt1djd3EGw6O8j5IUc+laVZEeTUUjibpjvzdNoA nh8dM43Yju084PxBykWbEBROcioz+E+s5ObvEA3V2ScJdVVivr+EWh0Y1/C7FS3FRXaqIBIt9gSsZ pdeYA3N7JS0XSKJ49C1Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rN6Qs-0078J8-00; Tue, 09 Jan 2024 07:21:54 +0000 Received: from mail-psaapc01on20620.outbound.protection.outlook.com ([2a01:111:f400:feae::620] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rN6Qk-00789R-2t for linux-arm-kernel@lists.infradead.org; Tue, 09 Jan 2024 07:21:49 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nU5J6NiaJ2/sO1kP78hPzsAo9zYFCzNuD6sAmjQPvYnNMflGOL7KAE7A2ridPLa22BqmWJ92YM4MlpWDkNkCU/kEwBPsQyJkNoe59UoudeHROcptHFTg+t8O/w/KkxwBPxhA1mnw/sYw8YOWX1/6VocJF6l2LKBHgmN+Ctxoy6oa+QRxTvHRjtvcaKL1HRnmIRRq1RB9pKGM1GFuErHIWxWkvMAfSmGPKxN+OxY1YMxb1vGmzH+ms1QQlcGBlWcHC43NijzTY8PM/H5mOPOEXywoJ5xnsDmbx3XxuNekGbkfZSBCmTEA4FBF207xSv5+N71OLv6G6jMr6dVEg+pd3A== 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=uLcFwW1tv4p2JWNn5RjVO0elk9Pwc8+X6o+/UN1v+Vc=; b=UoC6CLbAWM68ZE9lOxkZax3ot7K0Wux2DFhx1P13uEpBmVuseVEseaytM2ieb1WZ1pXddfKHtS3gqPFm7MMKmkHVrBO0lSH8WSmjNfkY8496PhHaPPUSdXDHvE7TWXCqLSL7wPNyJWD7yJJWv+uYvcnBlUUjRgVIXGd6e/9pco3ASi88a48acMQsmiWb/4AwZY5jQIs9M8clHmOttTrzGsA3cSjgVEc7GmXwEaR9l7yx+cuFJGS9DFUPDbrvadjCFiHgdcHSril5Bl3OnbQKb5KXpF3nMu3iKhzcFkERIvjBiE2vj2oxTO5kT0M0WdybMirhmM+eeMSRSvEK+/UhxQ== 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=uLcFwW1tv4p2JWNn5RjVO0elk9Pwc8+X6o+/UN1v+Vc=; b=gGO01qDi25dj/UUY0AYbMc4/iRU21cUK4p+gAbP4Bfxv5IhaeYIj9C0+tLLiNFvfDWxxhbDNamF4C2Q/w/JXGlsWh4LkvLbMZiuY7nVKHYwyQDrJpkR0sA40ptmL9KPuXoxxfczJCa1MG7W1VskD13AaCerqOI1S+0GL09ZR/Ti36SroBr73g3aIsDT4ruvFOF3D7ViUf5y3UQh9KAN7AZCVpZR7WH+jn6dU/lsp+WZiW52pcOn88QH+VjINcx7YXrWL0f2H/4Xw3w8f47kQyE7t6OZAeQ76LANulcjIt58xR+4YtCQ7Yd7KjvxNdN2vPy+OY7YWxQfj8FfY5/QMHg== Received: from PUZP153CA0018.APCP153.PROD.OUTLOOK.COM (2603:1096:301:c2::14) by JH0PR04MB8212.apcprd04.prod.outlook.com (2603:1096:990:a7::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.21; Tue, 9 Jan 2024 07:21:35 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:301:c2:cafe::59) by PUZP153CA0018.outlook.office365.com (2603:1096:301:c2::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.6 via Frontend Transport; Tue, 9 Jan 2024 07:21:35 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7181.13 via Frontend Transport; Tue, 9 Jan 2024 07:21:35 +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 v4 15/19] ARM: dts: aspeed: yosemite4: Remove idle state setting for yosemite4 NIC connection Date: Tue, 9 Jan 2024 15:20:47 +0800 Message-Id: <20240109072053.3980855-16-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> References: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|JH0PR04MB8212:EE_ X-MS-Office365-Filtering-Correlation-Id: 68d8aa7a-8302-43a3-2174-08dc10e39cc2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QJZNXd4QBFY/ukWTurN11DUZd0JJnpeQ7jYTUPen5JOrJzF8uTuJykWBx4g7iy+pHHlyfCzzvpowucUM9NZDIv165YLjqSh7BZIlC2yANTrrBzCFmPRP4t24WF0WadpyXssRmW0CX1AA/C6U9ieuAHWxaBb7rN0+LmykTHc21o41MNhc5R4fX9UggQrgL6cpGT7Iu//JWBoeQ+YzlFKWPTv5N3j8r/pEARbjC2q0EY09kO6gNn234/bHW4hoFjLb40tyZYjB+Kz+7nW+B9P7/1ShJjt/l+obaM0cXvEjbelzsIH+NtOuKr0yn1BmwBkCeKnnbgYugG+R8nFwYDxiMgqcegAISOdXv27LW9l30hYmVs/uxF/2zCHQlEd/kaM7BSnkHbjK8Dh/6VEssaHHdvsfgHc6b1pYroYF+zgDaEJ7mfSmvOVO2aa14j2oHqCEde/aAxv33nYqE7mJC9Ll+3gGoK2WN446pTwKZYIkFr5atwfKRf3+Pwtwl/8a7PckooGRSobujmUGaFI2c+Od7lvN+N6TVS6XX81P6YAef9CSwd/w8+CthisrQX0JzgwyMEvO7xh9eytikqD73oEhVCTWtEVlcCGrgG//1oC5xgEw/zZEkFftL9DZwvqjVKGHCXn7uJD1VteRIrgoLkcx5tQrJK5VbyhX5davkUa/Zw8UIOcBxu2HZO+VfJgUSV1NnLwue/KFDlC5u32KRqJ/tg== 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)(6069001)(4636009)(346002)(376002)(136003)(396003)(39860400002)(230922051799003)(64100799003)(451199024)(186009)(82310400011)(1800799012)(46966006)(36840700001)(83380400001)(6506007)(6512007)(1076003)(26005)(336012)(956004)(2616005)(82740400003)(47076005)(36860700001)(4326008)(8676002)(8936002)(4744005)(7416002)(5660300002)(2906002)(6486002)(6666004)(478600001)(110136005)(36736006)(316002)(70206006)(70586007)(41300700001)(81166007)(356005)(9316004)(36756003)(86362001)(40480700001);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 07:21:35.1325 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 68d8aa7a-8302-43a3-2174-08dc10e39cc2 X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167;Ip=[211.20.1.79];Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: JH0PR04MB8212 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240108_232147_006410_6929BFDD X-CRM114-Status: UNSURE ( 8.98 ) 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 c61b46a0a262..6cfd9c231700 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 Jan 9 07:20: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: 13514367 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 D24C3C46CD2 for ; Tue, 9 Jan 2024 07:37:11 +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=Q+9ZI2LvcNs4jhlwGxHpnwMuOg+UkrcVT828AgUIRBA=; b=sQVXRh/hPxWu6r DnOgsLe0eSrCXXA5Zh9dfG5EPJyUoJqGdxTpyM2ihltl5WiDrP0Us+KoEeFBTbRQFAQziACjkQkbL YQ2IYp4TBMUdkfxId1N24wVktrIEfZlTGhV7ZjuUL2kv3EipXrp4H4QRcpl1UgH+2mGWLRf16kLft 1Tx36PUMcvxDmFTlXiD+OtmXospY5MWeU8DoWfvWhEHDsnWIzyhkH0TvmdS+BZKN+2/d+4vYBT3+a S9qSxYj3+pVbDsGO02CRCIRqlcyn7KV/1eUugGC6bxyV6SjQMLqxZspXNFallkxoIja6nUeKxgGHi 6HsREfjoATkQKrmyZUUA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rN6fC-007BN9-0x; Tue, 09 Jan 2024 07:36:42 +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.96 #2 (Red Hat Linux)) id 1rN6f9-007BMh-1n for linux-arm-kernel@lists.infradead.org; Tue, 09 Jan 2024 07:36:41 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jlkmXkD/eL6sgn9J0RIs+6GaoyuBCHcRFGd4OWt12nIj/IByP+j567iXAHB/B9sPxVxNpk7NS28wm2GP4394TkE+7pupiB4VOST+pZfUgBo97eZQ9FzA6wPJBiqLaOL1aUJtVPx5LSDrr5kEScOurWLyeHyHuXjdx+Nr2KDvOkoJzRyMUINmpXPcTfRqT5fpuTokKPYt45UqSsyiIIitup9mri4yC1kSYM934UE8k9KqWhrS3CXlbt6d4wSuMGS53gbAltMpFiaXFIZNGjAmO11wNfqaKsTFOuQCdW9MVVHXv8dn9L2sf8wBnnikmKimFdz4NqdCNkuop6kV22E83g== 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=Ghd7MUWeahElP55YHQpIY4zwwZsB/SJzcvZ4DnSLI3A=; b=CI56B1sJgz6lKWHSDogX0v+uuEJsAuV/oD2N4wrV9iwAo8B8SdKs9wX7Ke3uvNFhDpVh6CIf6/kWUjmg9bIhUKmwKXyYv657ypYhRjYazXXGH9VYjb4WqgT3AJ+WXlNsJe/85B+cTGTUhzKOdqRPi7NGQCc/Ess+e09p98uIdGggdOfoVIGN2lEuGn+QIlRCvmzzeJYCOmplEFkdQrT/+PSXAPHz30HjptZAXFzs6KGeo3rg9UlNL5LuAOc/dQ7Cjkay1irbLv9Q6sqpi7/43Z6kiBxtYP1fW2o5dFODWTpI6arYzqXKncOJkFQ6xdy8BJwgs3qVwhejH3M3auRWtw== 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=Ghd7MUWeahElP55YHQpIY4zwwZsB/SJzcvZ4DnSLI3A=; b=omNISwtXEbc6PJYHrs6EwkIRldNb3/IUqcisrZpmKynvinliadKn3VAyrkVz0sT6Px8tch6nlv9Z37Qx2E5VEUZKC1K9YnYqRU6FgY1N4PEMNpGDFVrppvwpj/w2Jir217wIpjg2/7jVE9bRF0Wd1Eur61mNw4dqS91WS6Btgv9ZIl/fx8UQXshkCLkkk6vf/WRciZeCmO/hR6XyJ/5n+gX1o7VAOBhabWgu4tEs9Z0t1PF6MUvdWCwfNdXWLRj0Gf9VlBlowKkn7snZZHsyu8zDg8yrkNnUiO97g/dvd8jNr8BrI1X3iVuVdkLsuGserGcbJQl430CYt4QxhQOChw== Received: from PUZP153CA0012.APCP153.PROD.OUTLOOK.COM (2603:1096:301:c2::20) by TY0PR04MB6224.apcprd04.prod.outlook.com (2603:1096:400:32a::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.21; Tue, 9 Jan 2024 07:21:39 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:301:c2:cafe::b0) by PUZP153CA0012.outlook.office365.com (2603:1096:301:c2::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.6 via Frontend Transport; Tue, 9 Jan 2024 07:21:38 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7181.13 via Frontend Transport; Tue, 9 Jan 2024 07:21:38 +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 v4 16/19] ARM: dts: aspeed: yosemite4: Initialize bmc gpio state Date: Tue, 9 Jan 2024 15:20:48 +0800 Message-Id: <20240109072053.3980855-17-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> References: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|TY0PR04MB6224:EE_ X-MS-Office365-Filtering-Correlation-Id: 072b8e0e-42d0-4c53-fb28-08dc10e39e7f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6KnK+6jckNzpG2WYzC0j2XK//A7XB+nm+FlmF5qOqE5vFcpJynZSmnP+Zsec5BXl5XHjGSzCMPUBeNwUfIpM+PmCxWNQE4jXdq2mDeu9+3Qf4aonF7WIsUaHDa1B2DukeTL6N1RdpLTlkDeaxS0FiG7RgYf4qxTuLrPzlrSjn0Qeh/rlw/dpsaEYy3j5KIoAfSV8XV8nnsc1pBFoVDYPHxMdG9ke1Ud0zx+K3f020CZJzc6d12M2O2WHzv9bslCzgOpeJJMKvKeztrRkXN+RTGsAz82Nk/iJN6uK9xK8cNoQJjDvvAodSFaDwN3ynS+y0v0r7VQltbuq+GTz5ntj5mt7v6F9F7TQjaJG3Ppocx200XV1k8S5AfNsPsMEaNH+5Tybys0Wo9fjDA5W4qw72r9ZsSbsDcqNVmZWs+4M98N3amg4d0sv1cE3F9Vl7/vL5iMV1jl+U/DhiUv+8V6pkd+LVTKYX59xRBhyXeyD3Nh/DSW6HzxrvpdlHg8iK7GSmyHKIigIuJlq9AHeckIi68FtJahoKCbc2sCIWjMacb5Et7XYENv/k48PzFN4+BfM/sf4UU4VyrbxNVTnRQFqmjtJ31R3Z32RBbs8Y9MYQeVAUadlL7EpGlFa0sZRGMy3/7WDMfm1y6uMZ/IMx++Rq2aMLruAi7wGwwNjw/UOq04eFVJ9v5/777AddJSBYJVfcuGVq5lcC0tVBILQW0cysg== 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)(6069001)(4636009)(346002)(376002)(39860400002)(136003)(396003)(230922051799003)(82310400011)(451199024)(64100799003)(186009)(1800799012)(36840700001)(46966006)(316002)(36860700001)(36736006)(110136005)(336012)(8936002)(47076005)(8676002)(36756003)(6666004)(83380400001)(6506007)(4326008)(40480700001)(70586007)(70206006)(1076003)(2616005)(956004)(6486002)(478600001)(26005)(6512007)(7416002)(2906002)(82740400003)(5660300002)(9316004)(81166007)(41300700001)(86362001)(356005);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 07:21:38.0544 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 072b8e0e-42d0-4c53-fb28-08dc10e39e7f X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167;Ip=[211.20.1.79];Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY0PR04MB6224 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240108_233639_622727_2F9C6B5D X-CRM114-Status: UNSURE ( 9.04 ) 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 | 192 ++++++++++++++++++ 1 file changed, 192 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 6cfd9c231700..0691c09b6e74 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,194 @@ &ehci1 { &uhci { status = "okay"; }; + +&sgpiom0 { + status = "okay"; + ngpios = <128>; + bus-frequency = <48000>; +}; + +&gpio0 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpiu2_default &pinctrl_gpiu3_default + &pinctrl_gpiu4_default &pinctrl_gpiu6_default>; + 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 Jan 9 07:20: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: 13514359 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 92B2EC47073 for ; Tue, 9 Jan 2024 07:22:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=98F4dlah7SCJh5rEybL8htGhSP0yEPS87f93hQWSzMk=; b=toyajy7keb91MX YKXh+AmVJ1RPMLHs+QkJVIpwkqe3TQP5DU7KdcrBCGbMkvBTghVE/1oaAC1yXBZ7MlH39GIHM6sGt UjSoQjwxWKc2U7RTEQcpbDuTjHICj4z5fu1gZ5UzyK16xRSXJOpFhqD9F0b6tdJsE7Ra3JtJei3Om bjBrLPu32EV3WsdoSB0f9xkL0udUFdN1jxUfBjppV7DWuQMbywa3UEG6hE/z8yAZjXP/1/RIB73kE 1E/CGsQx++hUG4f9iDylCd8XACk/VsQFLCizQr4HrgSaLbzw6xZBHasNevtYsLreevm9JbzRGHVoU Sf7G5uIti2Cmb5bDPuxg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rN6Qx-0078OF-0z; Tue, 09 Jan 2024 07:21:59 +0000 Received: from mail-psaapc01on20601.outbound.protection.outlook.com ([2a01:111:f400:feae::601] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rN6Qp-0078DZ-1Y for linux-arm-kernel@lists.infradead.org; Tue, 09 Jan 2024 07:21:56 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LcCJLMor4KWc994Il8iz8g58IS+dWIqDWRMy2qYHMXKN1vuS4/cmBIzJNUiOcZggt94Y1xVn8/Jw9ToMKU3IO4980EeLWzfDWSBNbkkg6u6M7qPal3KPujAKxQR+6jqsIoy84fNZW04tU2P6yOOzN72czQ8dhJhuS4wZ2c1/wfgHTDjh9t5jy7tUD2HQtn82fdzWBzlHQMyzv51C8dOsXfEUuD4W0nou+xojHFuI6cyGwDO4LAeLcyKDzzKEuzplM3lWrBg4iwVrOYPvLnas2RgX/bl/Zf3AXdaP87j+D0ICV9JRuBmCELnT7R+JZ7PVjzNrA0mOQLvkjREaVRaorQ== 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=RBTSEJaDMhAEKSGaohrRxSGM4W+RCgnOs+FBNlaJsUc=; b=n3f1V/fmHz7S9I7nbqQ89HX6NOFSvjfTYXlOrQRAqnon5pqnLDNo4ScRealXhYwm4VTEHGSK0prUUW/xoAGJmtFLrbhw1CfTfOmDmtVmI2tfQST6vrSll7SvJVTn/RVtbYfeWJ5v8+BnO47d1DBTcxjdodAmolvlMPJaDCOvuaEae+P4oOPb4O+pLXM563PPipwoOuneKL64MRbJ8Oen2mlCKejLcfaEMhD0H+Fuch2WZoL+7WH/MDB1QqNKXiAZOd3Dec11itZi9tQUmuM+r61CERv3A2GyLqWfF3RN4BU3NXMJa/1oVmhUgVQnwrfFOaM0OzI83//nxtb/DO7WUQ== 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=RBTSEJaDMhAEKSGaohrRxSGM4W+RCgnOs+FBNlaJsUc=; b=GqX9yYMrBw8uNnQB3L5aLDOJ6vZTi5pwfkf2ciiQDG8c58qWFapzYLzvfhaCONM37eUX6ybEje7Rq1LP6bFgncSJpzBY0RHTdkjCW+dc70YXJWIui/ehvFeMGInjHDzxBvqvaOBhxzeYCxl1161ZkLKErhAUEXiuKqAQyEKq6FG2g2DfskAiMjAAb49paNQgofnIUO7PclEVcz5PIFiDPHGYcgG0fotv4gOL33Em2S2W1UC/rSI4rCwXjVNsz3sRVRfP+Mzp2ioiAseY4eAg6iuWIOauEJk7M1xGT3tsfwPmpj7lNrq9czeKUXInRolkNzQPRJbP1yMmpxcyYmO6dw== Received: from PUZP153CA0008.APCP153.PROD.OUTLOOK.COM (2603:1096:301:c2::23) by PUZPR04MB6090.apcprd04.prod.outlook.com (2603:1096:301:e3::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Tue, 9 Jan 2024 07:21:41 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:301:c2:cafe::94) by PUZP153CA0008.outlook.office365.com (2603:1096:301:c2::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.6 via Frontend Transport; Tue, 9 Jan 2024 07:21:41 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7181.13 via Frontend Transport; Tue, 9 Jan 2024 07:21:41 +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 v4 17/19] ARM: dts: aspeed: yosemite4: Revise mx31790 fan tach config Date: Tue, 9 Jan 2024 15:20:49 +0800 Message-Id: <20240109072053.3980855-18-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> References: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|PUZPR04MB6090:EE_ X-MS-Office365-Filtering-Correlation-Id: 17836793-dee1-4cc9-e49f-08dc10e3a08e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ykFP8eJa3WUu/nipU8xveI2nO812jJTjLE+19syor9kY0Le5jWkfMhimoneYtSTVF5uloK72dxcdLZ64vS+p72xcII85AZqZoUD52a9AksKVLD0X8C8lwgz0sHGr3pGYk4kPue5Zzt963KtadtVI7oQmhPPWwc+dBAeZxDICgveHDNHJlnSFZ5Ian5MU+vdaxoxlFOcnjMDpC7DXMfZThvzEY0EQGbJ7JA52SZBhAAxbZ7q84ZcKUHi/aD1CWzyrctOWCmePJcWV2yrTo9+8RBgKF6gAssJz9WmA9Uwa2FiEwWtflMJZBirLYFpSnLAw0TEt2PzNP0EJ0srIlPM2jg9i8u2FiR+T1wXN3TWrH6AcBY4FqhtTaTnTenanN9BNqJr+XqU+tD8mv+S875tyq9FyHUK5DOGMKF99PyHg7U9yeYtn6qvFz52FPlXFMT9AUAXCctndxJgpGZAoEc5sNuD1BpyI4Dr1nGTII3aFTlqWZE4DWHJj6JUqmOJTjGvxCbKn0aSOZCiV+5bbuJ7994JRQGqJ86p8T8O9FlXF/YLHTtzEHUPtm+etLwXjHfHsdRAUrJ1zybjJrtJgtphYQZWkc7ncjOj3cGB4WuDeo+N0oG6KDJ3FpmoV1JO47mhyddblYSX+alENTM30uA2IlR4Yy0st8ca77rsPLS3EwZBwSKaV6K8toFl/vcm6VTc8twzhvtsrKSaClYUsCzRHwQ== 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)(6069001)(4636009)(376002)(346002)(136003)(396003)(39860400002)(230922051799003)(82310400011)(186009)(64100799003)(1800799012)(451199024)(46966006)(36840700001)(41300700001)(83380400001)(4326008)(478600001)(36736006)(316002)(110136005)(36860700001)(6506007)(8676002)(8936002)(40480700001)(86362001)(6486002)(47076005)(36756003)(82740400003)(336012)(6512007)(7416002)(1076003)(26005)(70206006)(70586007)(2906002)(956004)(2616005)(81166007)(5660300002)(356005)(9316004);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 07:21:41.5076 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 17836793-dee1-4cc9-e49f-08dc10e3a08e X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167;Ip=[211.20.1.79];Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PUZPR04MB6090 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240108_232151_527693_F387BB6E X-CRM114-Status: UNSURE ( 9.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 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 0691c09b6e74..ea36d61423a6 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 Jan 9 07:20: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: 13514360 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 928BCC4707C for ; Tue, 9 Jan 2024 07:22:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=5eMBHLuh7LogTdO63bjj0bY1RSuGY1e5SeeweZ96Ts0=; b=LvP6z/YdwFIibt R1TrzJhuGqYFca3g3n6LdBUSrC8NZvHfN2mwQ+rFJC4ZmkWdMerOq+Q58F9IAsv160LziMPNobypY K2dTQ4wS5okhG1VnsBlGDrxITAEpgPNIJBekTrIDFd86W9+YqbLGrSeacaGed+lvFh8c8Pxoc1Rvg 7jquOKNfby4Jo078VjzE9xbcq25fYx+ELnDhBL9Xjx3SlhtlDI/+D5kVi6C/TN1+IFeYbcvMJZmjO 3dsoCkxqQP++Jb3U7zn8S7lmvgGQSjlG2ulo7aWPLjah+24ASIeZk0y38GtTZsq8KMhBtk/wGTrYb //DTRF2WJZXT4Ly9CeRA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rN6Qz-0078QX-1A; Tue, 09 Jan 2024 07:22:01 +0000 Received: from mail-sgaapc01on20611.outbound.protection.outlook.com ([2a01:111:f400:feab::611] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rN6Qs-0078HI-28 for linux-arm-kernel@lists.infradead.org; Tue, 09 Jan 2024 07:21:58 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CeTRDI6mR4pv8HHwpt+H8ANBH74nS9uKbQRWJFlNLGbGXgCOQgIqfnc6wCAf+JnlTXo2Ztnqd7ZPQ3hzah+Uj8NhckvlEQK/CrG9Vc5wz1LJEkJjO9fwOqN/wrZLoUzTg459L1VfYTzwvA5JflZr1K+xMO0WYixiDQteveqo+OB98Rdk6lZwmV5peCBY5CCCrVHsdj/lRXMJB0ngOYfzSwLTuTAPD9V4BrDjkfgfIGY+AblWCS77BfyLLZgpVAL4mUzNDwCEftYRxtX2k4dXKB4P4nDOBfIOHgr+KxlPSTJQrAzIMnP3MDDDfwXg/S75C1sR6WDwrOj63f2JHZTZxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=i/XQg6kpljPfLQXpbCmupwZO3URw+vKzREh2KKtjR28=; b=X59jYvmlvx1oPHNgA68DdcnjpN3NzGee91QvYP3ivmlpj0MLLnfSRVKAxg+AH5lWzaKpkb7bjB2xUgumFvvZnSqD4MrZR5bxRvjxefU4PsK/WTJgvAq805u1AjR+GTk4j+iEnsrzubBkYZN9LMlgvmbkXKcz1ZQ0rfieuuOymwQSSTHQ2ovNsRvQtC5UI3VwC0kyyZXHxkS9Qb8AO+JNnlsE2skX/PjhnhbBwcXUSydP5yW2DynKO2AmopH7n5tg3lpaAzk6aM+N4se0EC4Z2wKJRq6cdvluh18w9aIk+nB61qESnRxGqTrZ3oE4Xp8RKWUQCxGfFpWGdhdXepu81w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 211.20.1.79) smtp.rcpttodomain=stwcx.xyz smtp.mailfrom=wiwynn.com; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine header.from=wiwynn.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wiwynn.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=i/XQg6kpljPfLQXpbCmupwZO3URw+vKzREh2KKtjR28=; b=QnG1bbWR45Lk4qhIguRsoca1nBJCM04+MBRaE2Dg5BtzKd57KHCuoNuhE2V9Sh0eaxQnJqVcutwmHLPRy8sqr7nLNq0QBMVLNQ8yHTne3JaGupbs0JxDRfKUHYejkW48vXCTX4WBofl845j5T7x3ZHpdvy2GSdBd2Icm8psbjD5thdEGVjc2W/UT8uK2CVUnRgQWwX8q21JhBqUy3jB8D5u+vSnvAdjF17CvrmZqvf47Xw5bmnbcEQJpTBC8+RCKbgz7FfbybHvy9jtKlDhZdFBFh2ZZlYhXhIJrkwqlvfO61f9ey0uXH9sqpLwc72PixYO+D0P48odIH3831pjpgw== Received: from PUZP153CA0011.APCP153.PROD.OUTLOOK.COM (2603:1096:301:c2::7) by TYZPR04MB5902.apcprd04.prod.outlook.com (2603:1096:400:1f1::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Tue, 9 Jan 2024 07:21:44 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:301:c2:cafe::ed) by PUZP153CA0011.outlook.office365.com (2603:1096:301:c2::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.7 via Frontend Transport; Tue, 9 Jan 2024 07:21:44 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7181.13 via Frontend Transport; Tue, 9 Jan 2024 07:21: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 v4 18/19] ARM: dts: aspeed: yosemite4: add mctp config for NIC Date: Tue, 9 Jan 2024 15:20:50 +0800 Message-Id: <20240109072053.3980855-19-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> References: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|TYZPR04MB5902:EE_ X-MS-Office365-Filtering-Correlation-Id: 8f2dbbaf-89c9-4e20-8685-08dc10e3a1f4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xSi/5h2Z+vysVR3cNewWLKKDPrbvhgoK77GBP0dSUuULOjwe05BGX1m6lB0880fPcdyOXgvFJQGlrT3tcOoA1Yc70oaBGBp7uULGL3MY/z5uZFYxNqwq3SgE8QtU4Vnb90p5ZZomALLwODEqgGyPAZEG+ni66fo8Ykr5YKzW8mI5Y+rCYLa/YeSbsHv1L1p42lUqjmWqCaeaeR8cmjyQ/z5FbfrDq1UED0VFQ1sJIRfD07po46dvf5gQcg87RWrdhKqSe0UImIEihlCUFTBUSDpb9iQideZwo1DBFk2Q0DVhL7TskjOiHcYlIY8PWIg59b0oY4rF1KsMtc9hWKrZn1H0tIbHZ8hjb425a6x+5denbcIMcBCCwksezRH2H/EVJsWZtT3FP2tC9b4wOEt1dYjLDb3rttCBo6cvIWj522eNNTNTbRAyE1GHtNw4hmOgD3wVn0HqK03Qa0agiTCdqPJjBBykHGNnh8AR1gBh7+4YMBHCK/4WCtfRJN7AsOSqjVuui+6/s4qYlpnkbb15NTIbEgZH8Y5bhzwj7sY09PYM1m/K8f5q+xWS37EN9hP8x9lzRDfRUZDL4ygpriyX9+N+w1iPu6aH/z17qZcg4d6CMDtrDlKAzk7IyEpAKF8UmBSSoDG7rU5Y3LVyCMY3cQHn0FDqm0uRk+O+6AZPTEV1eAX1lbsCEv4tCkD2Guv24aCGR9kyfWrC9LtNe7movA== 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)(6069001)(4636009)(376002)(396003)(136003)(39850400004)(346002)(230922051799003)(451199024)(64100799003)(1800799012)(82310400011)(186009)(36840700001)(46966006)(82740400003)(356005)(36736006)(9316004)(8936002)(81166007)(70206006)(110136005)(8676002)(70586007)(6486002)(316002)(7416002)(41300700001)(86362001)(2906002)(36756003)(5660300002)(4326008)(47076005)(40480700001)(26005)(956004)(2616005)(1076003)(6512007)(6506007)(336012)(36860700001)(6666004)(478600001);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 07:21:43.8514 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8f2dbbaf-89c9-4e20-8685-08dc10e3a1f4 X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167;Ip=[211.20.1.79];Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB5902 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240108_232154_744062_4A3A1A5B X-CRM114-Status: UNSURE ( 8.96 ) 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 ea36d61423a6..8589f7d31ffb 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 Jan 9 07:20: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: 13514361 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 B4038C47079 for ; Tue, 9 Jan 2024 07:22: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=Lcc6GVXolMwkexlcH+s51Ob94vmVVkLrodqvmaJs0vw=; b=tl1G797UQ4ABls T+ZMr3cDkpx7cW+OSsWC3y2qFFaPv6Z9MIftZTZN74mCEIxJloOjkpoIUmIEpTdLpYu3Ph+fHa7zY n+Wzr1y36+DqbBtFJB9kLvK68UQK3yn7N26yx8buePt8EUxajDQqPLxD9hzTXo82Xu8uF3NOb5Haz N/KEKr3X3Tx25lkiAUvxZKOI/e0ZS7RSqulEZ58rvqcqdUK2PR7LWZ/BRSebLByuCnikkFvuOcQ0t J3qBpLvOuI9CX2rX3d2K9jTBk3nSW6UK5oErXCpdN6VmojlZdQCo3cHmgJXxUtdfwj5DzuGoYuhd3 CipbKdxJ/wDhmkXFYf0g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rN6R1-0078Tw-1z; Tue, 09 Jan 2024 07:22:03 +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.96 #2 (Red Hat Linux)) id 1rN6Qy-0078Nh-2w for linux-arm-kernel@lists.infradead.org; Tue, 09 Jan 2024 07:22:02 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=We2NS9XzFnHv2vnbmDVuG0fUW131HRf1SmR/miOVwClpmDSsOI0aObe6Q5Gwmu1WUS6JhkAe7ls/gzuyi+m9FSRMrMN6JyaxVIaqZywrkPnwkYG3heICfjRaVgrqOQRJQILhf1ryJOXlhq+Jot6l/96+Ofv/VGNc3erejL4pyuedtlBPYnH8RMvpcn0H+SFKl4+H/uNLUf9N9ChhQAoO4ewfZqMnGcwk8X+dMyTH4h+j/e4P8sZY6y5WFDQJccj8a9v/cZEkU2bsI3N8K7FccWz1UUuOXDONzwh7XGCcK0bcblKd0Fgku9DCmO0zcld1kS9ikTlxZyr22+N8N9tMHg== 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=oYpFg9mdH6XKuJD9Pi7Zr2ZT/6fjyL6fFPQPXh/DZEk=; b=DdGgt989oPXXrrLXwMEs12PjF2rUZ83eqIpftGQ0xBNBLX/QqK7CxEnd+vIfGHmA1epdMX6a+lxnIdiCcFv+1N1olrQAEEa4Esqu/RBHOq74U54tElSXUKu4fRK+KayUaUPbf9T+byBUAZdZAr5SkiJHafPgUsSO+FfR+rEkSCnGKXtkxPu079seASAjCLUZ86X9QECLS7MNj/1mRGSSxXlWG793mDrlqsQt5Tha9F5KTY2epH/DXmTRR2gBTYLNFrSaPaG6Wry4Rz7ZkJckkudqByMf8DRlu2XxgKpObRIM5EcyrXeoDKsR7j81Zu4c/TUh6h+hQIMhgFrI7SMrIw== 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=oYpFg9mdH6XKuJD9Pi7Zr2ZT/6fjyL6fFPQPXh/DZEk=; b=iOV11NqVn3rBm5vMIL03G0518i5A++l8lq9/p8rRjdJr8xlY8xRxLOSVcBWC6z6/4ICkqznMnf9DXxfg2a3l2P2mTvJNUxLxQ/dZoNJob9UOTQSfyGU7N0Fhtj9O9l2KWvZPQG2ATBNbJ3snO277YcRdEOltAEyMKCRkm2F17278ssysjgs3dRiMqA+3Y8mQrBbtL1QmYu4G5QdJkkA+z2V1hIqhB9LkBjCZwLL7Ajv1P+Zke6nKp5r4Lj/khQhxZrLRSTVwUuoeavPx2P/yJbmXOaqlyXS22qh4af4QRDrlQe6QrkHHNPmqDFYT82tBOc5XiATkSxqhDD4+I+b7FQ== Received: from PUZP153CA0016.APCP153.PROD.OUTLOOK.COM (2603:1096:301:c2::18) by SEZPR04MB6623.apcprd04.prod.outlook.com (2603:1096:101:92::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Tue, 9 Jan 2024 07:21:46 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:301:c2:cafe::37) by PUZP153CA0016.outlook.office365.com (2603:1096:301:c2::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.6 via Frontend Transport; Tue, 9 Jan 2024 07:21: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 HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7181.13 via Frontend Transport; Tue, 9 Jan 2024 07:21:46 +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 v4 19/19] ARM: dts: aspeed: yosemite4: support mux to cpld Date: Tue, 9 Jan 2024 15:20:51 +0800 Message-Id: <20240109072053.3980855-20-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> References: <20240109072053.3980855-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|SEZPR04MB6623:EE_ X-MS-Office365-Filtering-Correlation-Id: 2ac978e3-ff02-491b-62d8-08dc10e3a374 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: D4kT2DSyzOB0T5L5G4vBqQ8dFtymdIzAiB5hv7yzKFznJbquQNcENLTKojcEzvDY22FckAh2XJ+bDiLGR2+ErZyhw9d0DL8i/JQL7fAAPM156Sd3Uk3hYfwnKK70StmsRmGz+WKgUKhVYqfGer40tXoJTX7jjZJmtlds47ooqRS5MFQXck9FLUpO1VE99gkog/rSsQ+ufZHq8Zi4Qijoe+gwAk7nBmFnH+sXT88BSVu3LIYd/gxuhEx8ky4xsFvaFFPncgIRtAPzX0CQL5d8HFuP6r52qenQCvBKgDeBs7UVdyBPw1bQ2WvRQ0ahA4e9bGGVh829YAE5MRHy1nHV5d2BHi2qYQFmfmTJhJJ+ffxLc1h8WsTLVXyhovX4GTAEtxJd3Vj1HpwJThvmfBYUyX7CRu6Cn7auKAC2Jb2CdvehcatRPLyIewtDy61l8odUpxjAsc/9txeKAKV9Rh+L6DwIoEykSugaX4q+0g/6Kw2pksaWyQlYUi+Y/G62XmgLpkTZ2kcKjS/vmjDf3g4WsCFZ3LPTDPZXtrQzpT5jEA5EanNfekq764s0gN2lHLnmU7Q8Aet7OpSJK+PJJ40OYPjFX/swCMDLFSkqttIChUnU9MjXK0VEFZ0o/4dOO46JGiGcqCa8E0KvJSw5EJTtjhTVvJDAJ4Wgk7F9m5OX+L5oLS5MgjxwE0zEQ3eaBKUiXsNPxCfHR+x3TLQyoiic/g== X-Forefront-Antispam-Report: CIP:211.20.1.79;CTRY:TW;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:localhost.localdomain;PTR:211-20-1-79.hinet-ip.hinet.net;CAT:NONE;SFS:(13230031)(6069001)(4636009)(136003)(376002)(39860400002)(346002)(396003)(230922051799003)(186009)(82310400011)(451199024)(64100799003)(1800799012)(46966006)(36840700001)(81166007)(70206006)(70586007)(356005)(6512007)(36756003)(9316004)(6486002)(6666004)(6506007)(478600001)(5660300002)(86362001)(7416002)(2906002)(8676002)(8936002)(110136005)(36736006)(316002)(4326008)(41300700001)(40480700001)(47076005)(336012)(82740400003)(83380400001)(2616005)(956004)(26005)(1076003)(36860700001);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 07:21:46.3670 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2ac978e3-ff02-491b-62d8-08dc10e3a374 X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167;Ip=[211.20.1.79];Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR04MB6623 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240108_232200_969520_2A11FCC4 X-CRM114-Status: UNSURE ( 9.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 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 8589f7d31ffb..440f735ef059 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>; + }; }; };