From patchwork Wed Jan 31 08:41:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13538966 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 7A4C6C48285 for ; Wed, 31 Jan 2024 08:42:16 +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=4pJ5xwosqeLq28 l/qcqIN5nJiQwNPlu0b+eYxjaCL1DmwITr4SbFWf4iXcUlV1j0RZkivbMwkFicncrOPm9bXANLeQb ZuxEvWGQoSkoWGV7/N0RfZfm6Lt0dtGdlIN+hzlXuGUEacZemb2bL5mJ5ntrYMW8R4XxyoNba5svt YPvDZqhfrgcE9slwiHV1/QrjVtNxUU+uAzsy/THqTkZy0oir05gu3uFqhXf9L3YKl0p42uqU0Hc/Q zvp0WDnzKXTV0mz6SJ8ommnmA7B4KYgAlbEoPCeq2CZaunNyM9KFGzdeqgSK96Ej00bqHkt68aVAA aNXI1smpnGPqj0p9hAqQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6AU-00000002BQH-23vp; Wed, 31 Jan 2024 08:42:02 +0000 Received: from mail-tyzapc01on2064.outbound.protection.outlook.com ([40.107.117.64] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6AK-00000002BLN-3dLJ for linux-arm-kernel@lists.infradead.org; Wed, 31 Jan 2024 08:41:54 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dTlEzwX79zG9cjQm0mn278jhuU1zbQ6Ys4zCG/PEHb0w/l1s6Hs3q2NyERjq8iPET7682pbHO8AU/a9VXSIQZ9DvS6JeiBESo3O5X3GX800h8M7lKVNnsTWk3ogWbqSuFvmfSP0q5VlyPddJ9StIKasqPARstxIHU5Oie8vveF874819FI5iAIflsKecwyEuO90JuSJmuamKbYiYOHCuVWTpbESJ73LpV5ELlWwlNSHqon7hXguA3xc6+sugl2Hxj28eP0tg55V+2VV1qZahvChPMXqDjaS8ITNNjGS9itMOJFGLw26x9uiAIRtFi8u1Rey4oeYg4jfXnkw99YdZlw== 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=f+B+hwiMoJ5yqUErc9Nv/3bXjvFmNczvueSTKum/J+iXmEm69yO0YzhuaQhRFc4xwYjCM2PFSl6aOsOmS4z7btmPJXrttuggvUpwZI4fKn34efyxImXbmgJnjz3KQFNdRfpXn9JwFn+0QlqteA6VFeCM19hbefMQqt2r0VnpeWUtgAlRurechQ2q7zxK8coYYGLR9h3pIcCo4BzrgOBRu/3+/Q9jqdvFk61KTqi7nPjhEI1OQelBEevrtOWyknGjiUoPcO4xIQlErUU0tZtTMpwiAs2SAp3rTIXyAxSoQBr2EUwngoEU/h+uFlZ4vKHzIkZyD0EDIFi6dpl9dnDngw== 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=kPcfGupr8QKjk0DwsiBp21w0kDk/7/Xudp+akMdlhdrOTuDMi0z2rtYlyjRJZkr1RwT3qXR3zXU51CUhoT6p8KLjdufjRKm/QF6Cv6u2sRXbCwigeTSYt4iPyy82wvw5seCu18Nn6qlrxDzmivB1yxXCwUyZE8+M6uDdUpuZYrX2ZX0uamzs6SS2/U4I0jJ14dEiBaOCBPJ7Vy62fVFMGqZ3SUgbeV92prvcTlCVm40ft+fs9H5jwsrUx6Oqbuqm57E/nb1yaPM6iPms+n8MWczhUTt/rIS4eGUuYaJifuDnTlD6zCidEtyiFFDZDhFcp6plkMDKsLVqF2zdyyi2JQ== Received: from SG2P153CA0026.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::13) by TYSPR04MB8389.apcprd04.prod.outlook.com (2603:1096:405:d0::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.23; Wed, 31 Jan 2024 08:41:43 +0000 Received: from HK2PEPF00006FB2.apcprd02.prod.outlook.com (2603:1096:4:c7:cafe::21) by SG2P153CA0026.outlook.office365.com (2603:1096:4:c7::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.6 via Frontend Transport; Wed, 31 Jan 2024 08:41:43 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK2PEPF00006FB2.mail.protection.outlook.com (10.167.8.8) with Microsoft SMTP Server id 15.20.7228.16 via Frontend Transport; Wed, 31 Jan 2024 08:41:42 +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 v5 01/21] ARM: dts: aspeed: yosemite4: Revise i2c-mux devices Date: Wed, 31 Jan 2024 16:41:12 +0800 Message-Id: <20240131084134.328307-2-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> References: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FB2:EE_|TYSPR04MB8389:EE_ X-MS-Office365-Filtering-Correlation-Id: e1c9af5b-6db1-42f3-29be-08dc223873b8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AKL+f5o+t7sU7+4lh7dxDd812OZQ/MhsVt1yDqphX+l+rRYVbkK0zraen4K2oKF2QghvO1CwluYavGBSD+8iHg9n1lApTh4N2B2c7R95UdPoKHXPUV1yPBESdNqqEPqHAbusUYhpHR2vYhuY8Nm0Oe+w1aeNoHfxArCtucSG0FGWxKSzqrBAMb0ub00UtReXbFHVtGGlAkRL3arhfNDlDwLhlASATsS5ja8Uz45hsQ5CBI9MguazkWUL+WD+Mm1bv9UYyJCKz+ARaW07U8aLu1hd5o6UHTBFIKiMZYltXzLU+u57oyw6bZXvznBe2B0lgqMHubgLuj4Nj3VmkD/f5u5BgoOWNMyj9srCadwyUqTfV+fDoZgxxKvKpawuXFpVirjk2/QQzBj4u32+/1OUBE1upbg0Gq3nm/oo0ODrMzB7ufe8fZtTjIkMlkgRYwL3lwn8tlKtXUvcPlA5qmSwn8wWAvscaY9TwTZGLSQ5y8VlZPdKQ5+raPRGqdRlmyIUEZOR2ZzKu6RgCW7G4lLRYGA7cWQoHH4sWBHE9LPxf7VWmo8+k8Io3pCoU0RbIMmtxI4E4IyBdWXfv7I68aLR1sLJW3ce3btZCZRAoqQAwMd4EzoJ4CukJz+8wZiF1XNv0CCOpOvNeRDRoilR2rtk+oPIz/vd9Dp8QH/Gg4ev7//v3bicO5j6P9znHd3X5cvuOMnp6QxTKfTm4828H0M3oQ== 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)(136003)(39860400002)(396003)(376002)(230922051799003)(1800799012)(82310400011)(64100799003)(451199024)(186009)(36840700001)(46966006)(26005)(956004)(1076003)(41300700001)(336012)(40480700001)(2616005)(9316004)(47076005)(36860700001)(6486002)(316002)(36756003)(478600001)(6512007)(6506007)(83380400001)(6666004)(82740400003)(81166007)(356005)(86362001)(7416002)(110136005)(2906002)(5660300002)(70206006)(70586007)(36736006)(4326008)(8676002)(8936002);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 08:41:42.3792 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e1c9af5b-6db1-42f3-29be-08dc223873b8 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: HK2PEPF00006FB2.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYSPR04MB8389 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240131_004153_136200_1E0775D7 X-CRM114-Status: GOOD ( 10.43 ) 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 Wed Jan 31 08:41:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13539203 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 EA894C47258 for ; Wed, 31 Jan 2024 11:01:51 +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=Z3oaoVhKo/9wyk bhmuZ57H/0Io7za7UQVv+kxbGO0cwZrzYDF86xDp+Eouy4y9CNGzDXCZmahkyqBzNWiY4aOqe2PkL jwXMWHtSViEmISbrSMpMFPA/5OvtxSQd+GbC7qymw6EsQ+hcpmMyKMAKa/esyqqTACbzBDuyHOKJa unDI7kMTrJ5kXbtF+KNQ9rVl/7eY0pULC+He/cp4/fsnatVKj2E117vVQBKkpsAFC9eUtOh74/NKE cc1OSTORU9DjfTHFNo8JhW1IIvxhMzr0kOjMa+lzu6TZ7fJbeFM8cQLi/I5vNmNBXxuwRlFc/BEvK wvtYKPJt5RkZPKImNtCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV8LZ-00000002wYD-3J28; Wed, 31 Jan 2024 11:01:37 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6AV-00000002BQk-2hBD for linux-arm-kernel@bombadil.infradead.org; Wed, 31 Jan 2024 08:42:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Content-Transfer-Encoding :MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=5kCO11WdUiFDfGWanOnHA5fSAvcgtGuDJsJBtZQkii8=; b=bNdyLBqWYLLbkzHRHY7N2Felkg ClMSLK46sp2RDaaODfkw6BBuiBA6o4j63DxuPOKl2FsXOaynFNZ5GvFi8AyXaQ1VpoPNKeO4ssb8B xJh0AQ3WAfa39AWm0TKrX9J0ONjIa39leirk2eIOXSRWIBfW4jeMHTPDIdZSYOwVOJc+AnGQegkt2 RJvDWN6J58ZA2lOD9J/HtYwwGQ1RzkXl0YcGhk086syA4M2aIixDKJwRoXC5ErwY55CLGjOfLPlYO K1FC4Ges5TzR0l+zBHztky0OCQgdpG4qN8e1NzVPcRgdHouLxNsxzRmk5nJnpaGI8CInK4WKY/ClF IYiZFu9A==; Received: from mail-psaapc01on20624.outbound.protection.outlook.com ([2a01:111:f400:feae::624] helo=APC01-PSA-obe.outbound.protection.outlook.com) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6AS-00000008po2-2WXu for linux-arm-kernel@lists.infradead.org; Wed, 31 Jan 2024 08:42:02 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SpAgdLrGMvCvG9kviUClNyYumzl9DfNjBg+SArXH9K8oygwRsPZU4Kb/ZnqgC312SVrbuv0Tqer+7qp3WqhLJ4aU9R08tQh+Zygww/eyrrdyw+zbVKVvWRvoIGki8BYrlqSrLx5g/iZw2mixw08DqAeM2vAVk/mbTPMhTMvsCPtgNN76zXDvh4viFt/ok0asKEctt7FHjdDQIP1iBybs6P2BEewOleWQLQMAAxrgPN5cFeneBO+fbPj01Ws8afY0PKyaPVBZRMg1TAIUvRNJMswP9dTlb1raUnys+tVzlLbd4YBXMDOWPrvE9BjR5cKF0NYtAKnaT5QMdWyaprVwYQ== 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=iYmlN3N6iXjeqB/bxr50RWPgavq4s69OA1Yr0pDl7qzGaRt7qlHl1ZPUkvG2Y9Jqg6hTLRUE9XIXlKxSZjv1OO6+O/Ai5aN4Od4MZY/Ldkt7NZqfhJ0QtKSX8XDjtUffttdGn4O4OS5l1/i9VcFUFKK56agSVugrl2ewpoaXcHEHRJ2dH9KE5cAlw1x5tEz65KyJqkm2zOAFkoT2GPD35kZuyD+qsBFI+cXWHsYIekrVnjKuS5DVerCdtx/t3xyE9TwQOvkz95Mmpj1vHz92Ah3wCdVyIed6ZZjEANrF0v8+Ys7+TsQYPPqPUnYKivQLdeWLBvrMtzhgfoIxVOImOQ== 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=nWdykIzdRignff7a08thqIOFGvPb+VWNapP5SVn7SuBIMuinzJMBFyFPEr149S0CZ8KE4P3fQB642LbBDlnExIXFxv88nx2b9dpCeF0kVzIrjyF0LKuMVlvyhGz7hcf7nUBqeXD0ld1b1sm3kIRj3gHxP3MLFrXdZkco8AAt0wefaQTFEbsdJusKQqlz1Kwl/02uTvZyjVSrCXIloobvdhPip8LKlYQWt7osoXZ+tDFEwmMjhYL3/eFmqOIy6bO+p5rSPdMG3h4pNKnzkzb/DlmH/B6ScoDEDOtYT1bVC+SGKW8U8Y/ns2NYPNfccejMzmup3XmLRJdvepMVqIrXpg== Received: from SG2P153CA0024.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::11) by SEZPR04MB7248.apcprd04.prod.outlook.com (2603:1096:101:17f::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.34; Wed, 31 Jan 2024 08:41:47 +0000 Received: from HK2PEPF00006FB2.apcprd02.prod.outlook.com (2603:1096:4:c7:cafe::47) by SG2P153CA0024.outlook.office365.com (2603:1096:4:c7::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.8 via Frontend Transport; Wed, 31 Jan 2024 08:41:47 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK2PEPF00006FB2.mail.protection.outlook.com (10.167.8.8) with Microsoft SMTP Server id 15.20.7228.16 via Frontend Transport; Wed, 31 Jan 2024 08:41: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 v5 02/21] ARM: dts: aspeed: yosemite4: Enable adc15 Date: Wed, 31 Jan 2024 16:41:13 +0800 Message-Id: <20240131084134.328307-3-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> References: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FB2:EE_|SEZPR04MB7248:EE_ X-MS-Office365-Filtering-Correlation-Id: a877906d-7b84-4f4d-c25f-08dc223875f6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: aS1jebEGCiI0x6LeNWBVLr9a8RDR9ofgv2VWJJtSnwIGi5aNOrXmT9frfWBoRETHZMZseGdQ7TKXGC/5qwY6fPQywm9EayHU/GYNOu/VWJvhRp5R48NIV6cq8c+qteastZWCSpApnTLhEAydcTkmLqr2ituM+FVdYLJMhDNnBQXdjSVfkre0gI94MQ44dIPKMiZb2XOQ3unA3dkdCGu1Re69nJqxlhh994Tc2cfPSzOtRacThu+Wqh7GXSmDkJ/fl5HR0e8TudrtSJC46t6WNwlVakePbIMnsmxvaR+a0sgmBHksytlmdRV2oxsnTSiw0fHAD481LQd5GRM1+jasMHjP4jbTvlLPbwXZRm3qJy/MKM4zkswL0rHShN1SMQyVOADB6TiGTbjMxZ7tT/gZAVq9vhXcqipy6e6Fcjwyc8G0by2kiNjCXCRp/6EvIS4UNtpJRbmEjR71+/lrdgtgFNv5ATELfHuzXvqMuLg2AceGoUVqgNvxMtRY+JGKofS2EkAn/Y2zblfHYX9L0yqs75fdntUlF4UaNIeypCZd69ATUASTbKRcq+5RncVOxCMSC4uv3M9lFDwzKK4+nsmEC+MiCTkfb0QDjGeckT3WXbzfEaRrhzWcwMlmJ1qTr5fDjFUSbHlcaGl5ZxzETq0Z9QGruwfG1HkLFm5YkCDshlOxQcRDg1E9KAU4Bod9+SeFk5Jj+Z1yVZlsNA5hhWcfEA== 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)(136003)(376002)(39860400002)(396003)(230922051799003)(451199024)(82310400011)(186009)(1800799012)(64100799003)(36840700001)(46966006)(40480700001)(47076005)(81166007)(36860700001)(6506007)(356005)(83380400001)(82740400003)(9316004)(336012)(2616005)(956004)(36736006)(36756003)(6512007)(86362001)(2906002)(5660300002)(316002)(4326008)(8936002)(6666004)(110136005)(8676002)(41300700001)(7416002)(70206006)(70586007)(478600001)(6486002)(26005)(1076003);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 08:41:46.1449 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a877906d-7b84-4f4d-c25f-08dc223875f6 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: HK2PEPF00006FB2.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR04MB7248 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240131_084200_756303_7CA0C52A X-CRM114-Status: UNSURE ( 9.91 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Enable Yosemite 4 adc15 config Signed-off-by: Delphine CC Chiu --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts index dac58d3ea63c..6846aab893ad 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -51,7 +51,7 @@ iio-hwmon { compatible = "iio-hwmon"; io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>, <&adc0 4>, <&adc0 5>, <&adc0 6>, <&adc0 7>, - <&adc1 0>, <&adc1 1>; + <&adc1 0>, <&adc1 1>, <&adc1 7>; }; }; @@ -920,10 +920,10 @@ &pinctrl_adc4_default &pinctrl_adc5_default &adc1 { ref_voltage = <2500>; status = "okay"; - pinctrl-0 = <&pinctrl_adc8_default &pinctrl_adc9_default>; + pinctrl-0 = <&pinctrl_adc8_default &pinctrl_adc9_default + &pinctrl_adc15_default>; }; - &ehci0 { status = "okay"; }; From patchwork Wed Jan 31 08:41:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13539204 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 A5311C47DB3 for ; Wed, 31 Jan 2024 11:01:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hCLw79mrPmDyIZs8WvpUxJAbIaLhTC+QoyPCngI7Scg=; b=c9ecpnEbsr/z/V bXWlHx37LdJ48PclIbgnY4uMPEYYTckfYnaDZ3sJBym6xy9s3SKS5tfvqVXK6j/2xszzAiMSNRsC/ 2CUNb2AxWh2uZI7SyjIzkYPM5yEky0roJRTuiTQ0Jbiyq62oa5rdDaMBtIPrGCDuvDQ6BG7GJ5Gqz KS/4ITk93vZOI/Wt89vlMXzKY1mbs0J0HHajPcQQC1VWVrz8Ihawa/uVM2de62xz4RKqhIDD5yYuv R+a7VqEyb0hpftRW/2jjpceVwT0vIWHv5aY1hxjklanTXwKbombcg976sjfrOZAU5pvAtlniAH5wZ avDPOdeR0FvyrjEjb8vQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV8La-00000002wYd-2LT5; Wed, 31 Jan 2024 11:01:38 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6AX-00000002BRY-1C1P for linux-arm-kernel@bombadil.infradead.org; Wed, 31 Jan 2024 08:42:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Content-Transfer-Encoding :MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=MXS/IBxr+oV5K2cp3jW9e7qRwk8DHsYfz2fJN3Mk/J8=; b=jknUWH4p5UeooP4lk0wyQrvSza 0OYmIEZptqD99HkOivnlpM/AsYJ081afrcS9bfiai+f6egCPr1uwQjurWsXs+1yRZtM/bT4HY7P5r OgvpWHN8Ugz8FW4ihADQE6i7orW0TR0sah1odl1zXEjSmf2BARMIpfSo4m3jfwMZJDGYWv486ZD2o xa9eSGuXvODENNziQNE4a+cpzRXEd8Gx7ebzqz8Q8c95EwpqWUsmTrq1ggxNL0U2aJLNAsnrDdIy6 JbdLt0hF0rzcfsa5qv40++D+VOccq6WJ0V0MdWFaYn6LmtHyZrYv84cvGiKdUHSniuMS3Q08ojesD Yrr2BV1Q==; Received: from mail-tyzapc01on20600.outbound.protection.outlook.com ([2a01:111:f403:2011::600] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6AT-00000008po8-361d for linux-arm-kernel@lists.infradead.org; Wed, 31 Jan 2024 08:42:04 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B1MKELH089KgtTISardo9nOiJEZlLCUF8SquYgeJnplFmJ4tOdT8T0luQ1yZUdZVhYDWOqH+wKFbd9PrkJEjClPyMhR4BB9ptpv3db1wHW+F/1q/1BpP05ZqtP973u+DzrY2Fo0QI8U9hZvR7LYLKXtsgsluzo+g/2JzYM+rnPvMemcfm7Vq6F4QFKTT4f1rxTmpOjP8i1woyT/hjWxPU3wF38hUqcNVz/RU0/MOBN+SQ/OnlI+/2HkQcCW3J7BH8EZYkomSnx8vF9vC5WssdetYE8vjMfXsql6G+EbO3/pD9/525JGosewFqvghvsesd6Fbo3KPnzZC1B6m8DPZWQ== 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=WMoIv5Y9j8XhWMT/eTZJ4uOJkZYNwrGw9fXMUrBwT8ifx2G9pbWgrjCg4n7z/V2txy3mt/SAxR0J6cjiC+AnG3QhNXo/3oTK2971mFRHlNQnCMJ6UtKXcmKoH9kt/Pj6OTaP5eQKv9DoNbktbojq4T8eK1linCZ7x/QaJW2DugbOP2CiaIu+sfi+hVHQp1UCtp657vMUN3ivTUgvdAYML4OnvGnc6FXikx/sFDU7dgqzIPnxQCZ9rXzMiXCUBbDhx/pE7UaREuiWc/CNJPdOFCzfn6htNrAXVZagNfm4Ff0j0oymaG8oHkG9S9K/BXSj/iHZfVNOfTBajRItUQNOsg== 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=p6qKu4vWmdbtNPYQV8YfG6cbAG6aQ1lknDJUHNUTlBEeO+5CHTlGnobsUcpjFyHBw6ezU72MrGMuXamMVtDlzq472xN/DI7tVO6qHcsXr2pRix+s1OwWKnyh6JNfjZ1YZtHcQUj7hxCc/swOFq90dNozUTi4YmcnfTFEcgztZ+G05kkjl/jzl315kszq1iAhlk8yg9RtuvWmPm6/q/A3gitS2AOmdyiZz2Nrx7ObJ9n4R/v85R0kc60LGB/VeHNG52k778Kxlnp3Vc2ETaHuReD8gpDoM1rkGio7hKb5DY32H55UwaSnXYnWPYNASPxhy7cKb0kIq+MGMFooZBv2Hg== Received: from SG2P153CA0035.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::22) by SEYPR04MB6725.apcprd04.prod.outlook.com (2603:1096:101:de::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.23; Wed, 31 Jan 2024 08:41:51 +0000 Received: from HK2PEPF00006FB2.apcprd02.prod.outlook.com (2603:1096:4:c7:cafe::34) by SG2P153CA0035.outlook.office365.com (2603:1096:4:c7::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.8 via Frontend Transport; Wed, 31 Jan 2024 08:41:51 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK2PEPF00006FB2.mail.protection.outlook.com (10.167.8.8) with Microsoft SMTP Server id 15.20.7228.16 via Frontend Transport; Wed, 31 Jan 2024 08:41:50 +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 v5 03/21] ARM: dts: aspeed: yosemite4: Enable spi-gpio setting Date: Wed, 31 Jan 2024 16:41:14 +0800 Message-Id: <20240131084134.328307-4-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> References: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FB2:EE_|SEYPR04MB6725:EE_ X-MS-Office365-Filtering-Correlation-Id: 66f84783-702b-43e1-325a-08dc2238784d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /sIBq1GCIE50flOv/QOeQnlP5lxgcjK2GOoScOF3bayASQ4nCyU/nmvdS7nc2eDIgWUP+uiLZ7Nn9YF7B4km2aJ+7tL9p5R4EigJN23KsnbGj3mnpfefB32VtjTQxcBqLWUvElnBoEpBHyJx2T0NPDBlnace/t+P0e/sgQrGYk3ixQpNuR72Ku81fHzx+XPfEvWWmOfnQDfWCEYRIcLAuICx+YZu81e0OIbw3P5sTWojKAYm4ctFGsaAYZBFHZyJozl+GLfz1GnSvITpRTdYHIXwSp1OciD3QvmEGOlwwe8L4fcKOgciHHbcuQhM7klqcMDeggBshy5JuNfc7fZcOj1VqOR8r+1+EaIgbevzPUrKS12U3Dp5IIFsum3RR+7/+IUEM5PVqhavHijDC/CzQRUZp8sMWPJHTU2qX1Rf8bqkXa3Bo3D6YuajBYXHjsCaxmePD+VpHwasGuI7zBC4SCH9CcBK/t3plGCzUtsHVZP2naIyA5Z3HtzjXimC9ig1UfFCzHYyEWQ6WJr2V6B1ffHthBU51DLbaW4d6kxefPUpt7iswhSHI5U/jYUpspxQtwWH7J02TqVjlAjCRYIsm3dOX2ZyHX6imHnozlBtUIv7rDrHurFgHp3M1QLpifhV2FmA0JK1QeExCyysp1a9y9F76eo3oqVzx5+CMBDId7Mp+ayJ3P7Mz6QbzeILtMN+PFxsyHbSEpKZd/rE0ZlX+w== X-Forefront-Antispam-Report: CIP:211.20.1.79;CTRY:TW;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:localhost.localdomain;PTR:211-20-1-79.hinet-ip.hinet.net;CAT:NONE;SFS:(13230031)(6069001)(4636009)(376002)(136003)(39860400002)(346002)(396003)(230922051799003)(64100799003)(186009)(1800799012)(82310400011)(451199024)(36840700001)(46966006)(47076005)(6512007)(36736006)(41300700001)(356005)(81166007)(110136005)(70586007)(70206006)(316002)(86362001)(82740400003)(36860700001)(8676002)(8936002)(4326008)(5660300002)(478600001)(1076003)(6666004)(40480700001)(26005)(2616005)(956004)(336012)(6486002)(6506007)(7416002)(2906002)(9316004)(36756003);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 08:41:50.0043 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 66f84783-702b-43e1-325a-08dc2238784d 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: HK2PEPF00006FB2.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR04MB6725 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240131_084201_910271_F8AFAAE8 X-CRM114-Status: UNSURE ( 9.37 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 Wed Jan 31 08:41:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13539205 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 24AF6C47DDF for ; Wed, 31 Jan 2024 11:01:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Ax3usJ4lUNIF5DpjvZykpTHFxE5wyvywAYfD8n1cgI4=; b=HxNjw0VK3zHIFC MdX0vjR82WL8H4NyirSMKoDcW0mbOGEFGs18+dvV2bzJ1iFCOJPElrV+FBSsdTgVHLoutp0yaJMOK w/cxSlf7x3SceTTETsQfv3vLwCqrGZT7XLLVCO1/gIUEqFptM9p2DvVtj7/4HFBrPIs/Gvo6rGaif EE9k2gxu0xJgJPhrQlTNZjCy0WFGEqXi2rUbP1H4UKXPnt255lBkIJciM+QloL1yHyuunsXoXiYkD jh8QvXH8iKV5JwhtPVbbvbAduH1xLHntTKi4PL4P6Y2dOMomU4uOMqWr31T2RPnKdq9OamCGGdTBD zuuGAiSr1Kp94wY4AG6w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV8Lb-00000002wZn-2K1A; Wed, 31 Jan 2024 11:01:39 +0000 Received: from mail-psaapc01on20619.outbound.protection.outlook.com ([2a01:111:f400:feae::619] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6AW-00000002BQG-3DDF for linux-arm-kernel@lists.infradead.org; Wed, 31 Jan 2024 08:42:06 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mmdG2va/k9fU1mw6CclpYi332L+vw5C4Nl35On23A8ftNrzyTmFxtviiMXNUoaV13OFnbMJeDKYq4WgDZrf+Mzv3NPsFGdwGOCURhmeCpE7XjMXvjQMrKGRNCArLpD4b0K1ph29gWWFyxdp0O0Y7yjA9jsEmYZhQFryEFESvJ0YqbtIytMwiUXS95kdo/Jig6B4iJ1tkbmASZmSf/FpAwvt5iJ+9AaCe5nCZJ4eTA4cAo5T2O9LQaWotRNEF6Kvl5riYJ3dwytJ2QDfi86W86Ye9ML6OSCvNVdpE1WH/TW98tQCKH2ioVwAfyg8SPooALsmuUPdCMaNB4vQj/jDS9w== 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=GR5iY9baaKnPZrTTclfNi62QykODhvwRbqhMyUHYEOHWsE/CGM6XBy6z4n3Lu2BQ1Z10p9kGQuloH63aE1TDsePClE2usVuqjzw8umGuw/oLbJBh6/Q5BsLxO6uj93njEAp9P0+HlooTayDLFhx4gg9oqQFNUTKLMJRMBGgEXL8Y9xYzM51CsLakv0tVrM18hHR5RskzmvNExYv+4PXVoSsSDZP45WANfcw+CarsfeK66gF4x/ksVb5u9u8UsMaJpBXrVNMsGQqakVxrGZ2wJ1tqj3/mbtjUs09zZWcVyHH7HmB7lcZ5watoCwCo9VzDw1KYnDTWQK2j0+HVCh7K6A== 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=INfMeiazihkmRGkBkTJTPnvd3vBmInp9SEUppRXqiRxUCO3cQ2QVq5ai1z9zE1y3kDambIcUGH/ffiIYdJBV17RxKsoApmHrfOPNaNNcwqzXCg0OzzNDHvFYMYrRx4vcyEewREOvgLBRV+xIVu085fy2iEmx6CaYMKCO+s/JrxjgC0OkLC40uRlIZWT9mp3dP6pidETF0J3KfiWNWSm0TzE9h4AAZqqGYJTLj72Z9JSY2FvP1AFmHTd/97q/oLx6ehh1RieAMDu6ec1OaIm/agm3WacmzqENclJ4AGP0lGjFMes7ud89ikDhs33mfD4MToAOxyl2YDBlGIad8OLoPA== Received: from SG2P153CA0023.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::10) by TYSPR04MB7713.apcprd04.prod.outlook.com (2603:1096:405:5f::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.24; Wed, 31 Jan 2024 08:41:55 +0000 Received: from HK2PEPF00006FB2.apcprd02.prod.outlook.com (2603:1096:4:c7:cafe::a2) by SG2P153CA0023.outlook.office365.com (2603:1096:4:c7::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.8 via Frontend Transport; Wed, 31 Jan 2024 08:41:55 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK2PEPF00006FB2.mail.protection.outlook.com (10.167.8.8) with Microsoft SMTP Server id 15.20.7228.16 via Frontend Transport; Wed, 31 Jan 2024 08:41:53 +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 v5 04/21] ARM: dts: aspeed: yosemite4: Enable watchdog2 Date: Wed, 31 Jan 2024 16:41:15 +0800 Message-Id: <20240131084134.328307-5-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> References: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FB2:EE_|TYSPR04MB7713:EE_ X-MS-Office365-Filtering-Correlation-Id: dba8603c-7dff-4310-0639-08dc22387a87 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: j3d+i25zkKGjJRtbNsNllnEQCs3Xd+MVZjDuTcVPCtEh3GgyXCpTjjb9TtXh8buN/kCiIM01AS7Eb2QwBSdHmcjUGqnO3i8euBMg238hoRfuNNkhvFoLkQiBDGMEj9L0GDdEc5xO9RYuPfqVx9l1WrEKwVW0jXpzXwpLI++OgJoeCf7JGYTF+ka/nacVyhADP27aKe9jSVTHt6xOtB6IoMfg/wfBZ7PB6Xm8FCCjYn2tKzrHDSEB03QimNYx+IJReIlmgj5323RQp81tmTbl5w5S9AgPYW1TvMdmPMIL9nKVm4DVkmOj+YaZGYDkObPpddKRIizF+ju7RgGsxog98twVir6J1T3L1kof0HDDKLSSZ+O4m+oYULcCT9FnmQqiKj/4iSIvLmgEwHlEl3PIQcbFqF9LSlZfwg1N7Poy7fwv4myIp7yrUs6apQnPD94Vt46ug+nctjJjK8sPEZMQFR0Dc78bx0nwglAPO2pB796xd6qcZEL3W39GcWrx1qrYQXrGwCGbvSqAtSr8xTTbA5fXPd1YlYnPmhSyO1QPsJJXrrjXbOc5PtgSMeOL9aOlTvQ4+RRSrp6QVM6mQM1viUSfvCupAyGksmeHc4j87ZKzRO/FwW44quQetGxuYhPhWn1UJtf8nEKWx6AST9FNFoenaTkFsB9N5kGo/qjKbujF0Luti3LjK14RoAw7TKiO9aYVozcMiCN2T4r2CnW70w== 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)(396003)(39860400002)(230922051799003)(82310400011)(1800799012)(451199024)(64100799003)(186009)(36840700001)(46966006)(9316004)(5660300002)(26005)(7416002)(956004)(336012)(1076003)(2616005)(8676002)(4326008)(6506007)(6512007)(47076005)(2906002)(4744005)(70586007)(70206006)(6486002)(110136005)(478600001)(316002)(6666004)(8936002)(36736006)(36860700001)(356005)(81166007)(82740400003)(41300700001)(36756003)(86362001)(40480700001);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 08:41:53.8012 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: dba8603c-7dff-4310-0639-08dc22387a87 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: HK2PEPF00006FB2.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYSPR04MB7713 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240131_004204_876999_565E2DF3 X-CRM114-Status: UNSURE ( 8.60 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 Wed Jan 31 08:41:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13539019 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 16A81C48285 for ; Wed, 31 Jan 2024 09:46: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=IbMXs1aED2a42m0cNvF/IOtiUnbra5aDzxO2gCbx3YM=; b=HqClp3+HgNlXHK DxFQANbAlnku2OImgGSECxOrgaDYab9lOVzFHajQYCHP6cu84Eloqy24zCAiFWkyE1IkUPA6SV21Y NNT57Wd5RlmMXAv7gKy0WXhH19pSv6wTHLgyzhxWkqmPD9FZVJLs5tLSP4lXmNPcVb3ZTlei9b9WT 8RufpkF/KXKZ9gptgn+wfodL7pqjegju3kjYXaEQfXalXmB/fzMBzuUyrWQVzpg5pMvBQVAlT8LD+ 9yqd+Eqv0Gqg7U5ZWqLLliBt3yvjv7FR+rYmYoByKnstgva04rGlXniaRw+RLN98c1F05T4Vc0zIm 7TyR32xsE6UKZ7Vk7JyQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV7Ay-00000002YOj-09Qm; Wed, 31 Jan 2024 09:46:36 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6Ab-00000002BTY-0tTz for linux-arm-kernel@bombadil.infradead.org; Wed, 31 Jan 2024 08:42:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Content-Transfer-Encoding :MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=Y+rCbKa980zvtFSL+aiZSLIdHmQc5ZtQwhUuhOWMtss=; b=bO/ZobnkVoKTadUgsUd7E6R1fg RTuppfQlHuX6FIt2lRukEuOKBB298wA/Gi3z1vAu6qN9/dZd0FRTXREP3gAmf5B7iPMW2DXWNGaXW orISiA7wc8SPys6gWL7wpORlJjTnf6Ui47pVES0Bw988hG/3AFqjQZIQD+hLgbSLJ/zQNueToLWZN S0ZeUcv1GKWDP/oVeK4fIIHvAefJjMfvf2rvBjNIFSKoIcEvSEFiXk19yBwGA2+lBQSS7lvnzIe4h DMt8kEtE8ZTkfWGadWwiK6yocyHhVC6NX1/270kdaPTORLYc2ny2hPqJ1QMHhO5XqOf+Y8enuQ5h2 eI+naFzQ==; Received: from mail-tyzapc01on20600.outbound.protection.outlook.com ([2a01:111:f403:2011::600] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6AY-00000008ppA-0z1e for linux-arm-kernel@lists.infradead.org; Wed, 31 Jan 2024 08:42:08 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iZ4x6QZ7+nTbXS/DGo6YP42LIglwSUS1SRt7b3fWGDvNLSgD1XmEIq2Ixqc+0M/GEQSvWnnKNkmKJF/Nd44tiPZYqKCIk0n5/tjzjPUJSI5xHM75x481N8ZLIKhXaOmd3I6qhp45UOYshMGbQCNsWB0pVW09iyyOej7uNy8lShlnCjGuK0oe/zlRu+/JRejvW4HLqKZdIfAy104MMAC5vT8frxME2cAb+wAtn4JJRowrlAzndl1fvLMOI+nSLS57b3xPcXGWVuBVbk26PMWo3yNTmSlta3QFBUu1+kkm0fqJ6hpLtufVcWeRSbm/FKKGhAu1W2gN9tHyeFfA+HLE2w== 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=abGlQkj8nLh0UlLkCmG+tkOyIF42pnyV9/J48eFpHc7quNGypT7CxmTSyoE3CL/yqy5feJHr8WVO7M/vmyYxaHtG2ghSmFfd5sO6Gdl23tDJ4msA5VaJIh1DwsiVSFIAFcfwrwZDl4xHRm36WROj4PBCoD8Z43rSOV7ZI4YGcPI0Hq1TXKXQF0JLAe491y90LuAnAOE3jMCWL6AR3fTnap32zYZ+oCVtJYBB6wkb/13yjIYIQdKRHPp5xXT0coq0vfr+39NJnCJoxeUw7a9ALojPZ4XfWrKVm62YvWbRQQYNwtvsdD1q/lPxSYEADXTk+E+n4rkYxkax8x7KPTp7lQ== 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=bdB2jLYt1dSJvDREDBG1uXbXfLGFRUMvMGHAh+XzdSH5mz3MWlyAMIYnU+uYf+p07VLBi+a5+QMhPbpZMrmSUFIPqvAAUwW/GdO+MV6Y/+bb7Tsop/Z2FPzSXRdrqKUdc+POXXH0EG8cxqvGFgK0KtjTF4amKGeSfYLuoESyQlt0SlT4vhjW/kD/Gyt/F13PyVNDgVYJDStK5vSTNw93nY8mFEyHZLMAxT8YQ5sKQ27OHSnZd2ekUNk2x/4Nt07UG3JgCj79jgQtnvi/DbonHrvUpsyE9p8l0QCYY/IwIjfS3s1d4ieStZ3LkEEcRH9IgE5j5NpZpu2e/i4WB1f0aw== Received: from SG2P153CA0019.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::6) by SEYPR04MB7332.apcprd04.prod.outlook.com (2603:1096:101:1b3::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.23; Wed, 31 Jan 2024 08:41:59 +0000 Received: from HK2PEPF00006FB2.apcprd02.prod.outlook.com (2603:1096:4:c7:cafe::9) by SG2P153CA0019.outlook.office365.com (2603:1096:4:c7::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.8 via Frontend Transport; Wed, 31 Jan 2024 08:41: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 HK2PEPF00006FB2.mail.protection.outlook.com (10.167.8.8) with Microsoft SMTP Server id 15.20.7228.16 via Frontend Transport; Wed, 31 Jan 2024 08:41:57 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 05/21] ARM: dts: aspeed: yosemite4: Revise quad mode to dual mode Date: Wed, 31 Jan 2024 16:41:16 +0800 Message-Id: <20240131084134.328307-6-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> References: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FB2:EE_|SEYPR04MB7332:EE_ X-MS-Office365-Filtering-Correlation-Id: 6dc2d661-3bd0-447d-25d1-08dc22387d0d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1pZwwgVIOYP3R1ptU0tG/XtbSZ4sE9ec+JEkkTj/b3SjDWB5JEuwm7rWY5Ru9uPLNW73oenDD1wILRXqFBoYpYktXsoATa3kvHk5IaMwXoP/JWgSq+Zbs3kcHWu/3JoL9kwUlv8mLWn4RL/l37HEWwfxoXi9RTX1WZdGi3Vz6M+JRnCh3pJUut5pObMubikPrVFUSCIIxCb/xNJtYptBGD0LD1fZqStYVLYBmPOCa/y2qjRXWnN47pkiaF1R+8ScFexh6ZTQa57xL8M7vHD+dn3vSJTkOvgXBVRhCrB6t6yVOB5RjK2I5AOgQIt3LHnHh5jLPWiquYYUJF5tEd1eCG8lhJKOus9g66myGrvDf6491F5C3Lwj2nPFKxuhoh6MfIXmghmSklRKpzWMywNbzyf3UCDxyOfn1yxAbHzDFkK9Rw2MuZtk1Qti3a78EjrtfRatCuJ+X6k5awnH68RUpSTSpkAY1HMVyuzNtov1p+wDVNmlTzq9ftigccMbi0Azwg6kkyGyBiXklMJX4TFmgodP3JVf2McDaHypjHnQsXHFZ3kugs0q80TdNrzJdRn6K3wRpwzzhP0ziWSkqixHlZC9IC8s/CWGBO3KruEzojB7ihmIrfaUuJGgmfyotReMzHMcD92KqKp3MY10anNlSKZNBJFvZELniHXJWbblTEJLJeY8tpEskpWmePVusIfdJMF8LsfF4Qe4XHV2S8uPCg== 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)(136003)(396003)(376002)(346002)(230922051799003)(64100799003)(186009)(82310400011)(1800799012)(451199024)(36840700001)(46966006)(9316004)(83380400001)(1076003)(6512007)(82740400003)(336012)(956004)(6506007)(26005)(2616005)(36860700001)(5660300002)(4326008)(356005)(8936002)(7416002)(478600001)(8676002)(6486002)(2906002)(6666004)(81166007)(70586007)(36736006)(316002)(110136005)(70206006)(86362001)(41300700001)(47076005)(36756003)(40480700001);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 08:41:57.9887 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6dc2d661-3bd0-447d-25d1-08dc22387d0d 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: HK2PEPF00006FB2.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR04MB7332 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240131_084206_383501_8AB4B1F2 X-CRM114-Status: UNSURE ( 9.54 ) 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 Wed Jan 31 08:41:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13539202 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 76FCDC47258 for ; Wed, 31 Jan 2024 11:01:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jXU3ljpV4yUX4lPO4QlyFGZ7d5Vy6kLkZLqsahO5yi4=; b=AoI/B28nsqBOEN R/jJalR3qZHs/VMZqEkIaY7mS3kwcIVG/x2kyQfg4pcch0dkNsuCrMkXcpSwaOxbOFXLqcx9SXT0P 7t00u+TMxfEYSmAkxtc5f3eJr1AEfHb+59QnUoBLM5jRV1sAK+TY5q/+HQ+1GJ+zkABIMdyOolbhw jaBFYVm+dYVgBLfobqtM3D5VDpsQVLKVe/Hgn5CXhlyr2IKL/mZfXog8rC03ON3EISURcmD1KfOHr c5rNtkh12HrGqVszCtnUEjvt8/ehKVldvp7ZAYHHbC1nQerlQlNkOGqEIq+6lqcHaVqXXVbnRz2Wa +mRUkc6hARc2GjFF/jvQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV8Lc-00000002waR-3BA5; Wed, 31 Jan 2024 11:01:40 +0000 Received: from mail-psaapc01on2043.outbound.protection.outlook.com ([40.107.255.43] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6Ai-00000002BW2-0GWy for linux-arm-kernel@lists.infradead.org; Wed, 31 Jan 2024 08:42:17 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YwdPKAebLM7duUZKsUtzTzknRuGNxyjinnGRRwSMJQ7s1KzJ/eNp8LgGDRHFvS3ZHrQYr0yhmRg/16CYwT7xz1eeMfTui5O+gQdm6FrK1TDhA559EsdnnuC4NSlrjj6SzYGxtZ4ui3nB6iD9PTmAHDwWD+1V3xgHTFfth4k8F0Q1yOW158Jxb9hEYulHGHI7KUQ9rt5d2aviejUVDjzedcNh5+RBQQnnrmdXcUD21UvBYQ1cRYzUP9nndhxkkrS+nze6moNMmI3gKMnSC+JhaXogTtgYllT0z0KuyTbdETJ1P3h66SPc7eC/BZt7B+GaRCdQJT3gxiogTPm/4Y4giQ== 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=AIe9Iu81vG7OnGa7bPEVFPxWIQmlysQMyG8oZwYvrPHHNRwLZSmnZbvMDuoETRrXBpRkD+KXONKGazD0BCe02doqKnypbIDrqvbexzpUZ9IUbuMEuke3Y0x6K+hGk/I31xPJrpF/KSWQOaqTVhWTBZr5dfnDCPAVx1VIPqQZUlAPkDj5nPVc8yJGAB6ScXaG9AYZ2q8LLcUUPp0f4ah+qAyRAEd5DyOiherG3Ht6GM334xXV2aoINL3R3ssxTSzGpVdE3qtHgQo+kxYAaRC7tEmm5F5SI2seMXHN/jbPh13k82C3brUsaYYwST6tOtIEplxDLWwEbVHXEuMidtm6sA== 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=zHl9vKPy5jVdVaxlCRhKGlKqN/GV/ceG/V1xuuE/32iZtseZfWjOlS4sTpxumdH/w+X8ExG8/5+EnYDcyF5DaI38nOUNGWyxF0IdCGykyFnQZEAG+xC4E84iXKD41FCh9vLbl9ImdH8OZwyow35CFtyTFO0wTq/6kRhCjD6LPuc+Pn9bukqIklWMa/azMAWI5rIha4CxZJVKgbSEiK4dfkfJztJHDYM/lVQP1X4wsGiX5EVu0DjcRqImPgNvQ+LOhb0RYPQrxqVq5iVj6OA405Oqk2KUAiY70rAU09cXR4/gaN7swpALRMZlmxkEHStlWgKebE/dHAmOkS0k68G2gQ== Received: from SG2P153CA0033.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::20) by SEZPR04MB7902.apcprd04.prod.outlook.com (2603:1096:101:231::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.34; Wed, 31 Jan 2024 08:42:03 +0000 Received: from HK2PEPF00006FB2.apcprd02.prod.outlook.com (2603:1096:4:c7:cafe::2d) by SG2P153CA0033.outlook.office365.com (2603:1096:4:c7::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.8 via Frontend Transport; Wed, 31 Jan 2024 08:42:03 +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 HK2PEPF00006FB2.mail.protection.outlook.com (10.167.8.8) with Microsoft SMTP Server id 15.20.7228.16 via Frontend Transport; Wed, 31 Jan 2024 08:42:02 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 06/21] ARM: dts: aspeed: yosemite4: Revise power sensor adm1281 for schematic change Date: Wed, 31 Jan 2024 16:41:17 +0800 Message-Id: <20240131084134.328307-7-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> References: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FB2:EE_|SEZPR04MB7902:EE_ X-MS-Office365-Filtering-Correlation-Id: 21bf23fa-341f-4642-3218-08dc22387f80 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fXn+JZ8wM618REvsqTguTKDdgqIb6SZpcoargpXWQ8gBEKMSNsC1xzsRl7c2QPAHaLFa78Xk25t7Y0EwZUNpSvVbucUaYEGJTrhCBq22XF/KbYhMsslvnk9LfJ5GeqypM0oMFYph7Rpp5ko25AM2wLZ36VhLXP5G6BKg90fVd2KN40HIq9J6kWLR25UtsHdM5m05V6Z+6iX4VvF+fJ1Zw/8l23K4q5S8O+lronNZAzs7P7DQ6UTP4jW5lv/Wy8IIGIawpfLrvBYx9VXAEj0pe8ABmI/+VMK4Yllq4GF4qwED4+SXElB/eja8rc++1YQKtKsv63ybyTOK/Adv3SDbI26ziII3ke9qjLEf0P+OUoOK7u03+LuTM/dgMzGJrWZINRlfdn3dnQEXrKKPpw7cr62P2sTaWT1jJ329eZtQcN1tfJXIobgVNBahxOmrQidmc6v4VQO/uHyKlCe7ZCDTIzwP/k05h3miP+UcO4knhfeqaeUCdN4/tBZQxV2JODv1Yjv+YQsa0KlADO+NwHVltaNggQ1eVeCOjSmO9lfbPandlHq2KB1FAUT9VOy3JoRSwUtzOYav4Mw8mveTbaelJw/03OOTZktfW7Xpfh/SYzaFeahP57zNN4W4qpp04YAJLx4K0KDprQ/Z3FprADlIOw3qo1A0OBnWq47srbqZhc0C0MKbldwvhLdf7vHCd0gvm6vfcpfH3YCH3E5gBmW9pw== 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)(136003)(376002)(346002)(396003)(230922051799003)(186009)(64100799003)(82310400011)(451199024)(1800799012)(46966006)(36840700001)(9316004)(5660300002)(36756003)(4326008)(82740400003)(2906002)(70586007)(70206006)(7416002)(36736006)(8676002)(110136005)(8936002)(86362001)(316002)(6506007)(36860700001)(6486002)(47076005)(81166007)(6666004)(83380400001)(356005)(6512007)(478600001)(956004)(336012)(41300700001)(2616005)(26005)(1076003)(40480700001);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 08:42:02.1451 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 21bf23fa-341f-4642-3218-08dc22387f80 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: HK2PEPF00006FB2.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR04MB7902 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240131_004216_169862_34F5E59F X-CRM114-Status: UNSURE ( 9.51 ) 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 Reviewed-by: Andrew Jeffery --- .../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 Wed Jan 31 08:41:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13539020 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 76D04C47258 for ; Wed, 31 Jan 2024 09:46: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=Wp0+srkCmxP0tVD/H5wtqTuyvHOw5cbqcsOqZ0wDY7E=; b=HPMmzIB5sMM6zH q9YXPGsSE6pj0l/w4DZ6+h9B2V4+uGlbkdHo4b+zyewXpMfehdAIuLB6nkAqzAz5Ory/ErurM1/Gu efMguJfS+LNuDfyIJz8RXuzK5kzE90eEjCSMN+DHwHKSF/n4E+mJtmeRd4X5cgY9jXuOS8bAR1pIu 6B7W3I9j3Sa98T8KJRCff56vw2dFUdguKMb/daNkn1IqWEsBiryU0j60JQCQMvm+UYUjvRqpQZc1K L0k6WI33UHawp5zUPv0tMaix3y8ruzHPQ5A0VzJ2xGx1BOxZ++FA5drTb0wqvh7a6jwxwykuVdCJT lSkd9Tco5ATGRRlNVbWg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV7Ay-00000002YPR-3SVR; Wed, 31 Jan 2024 09:46:36 +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.97.1 #2 (Red Hat Linux)) id 1rV6Ah-00000002BVJ-0Civ for linux-arm-kernel@lists.infradead.org; Wed, 31 Jan 2024 08:42:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VP7vsvVSUdYTM93CwF4T329aQJQAH6dkxsd4bRvgz2JAvtPN9odYJfZXH+I/Kqx64rhy8kLvqEEVZiA9Jd5gfjW0/LoRSyHAJUlO1toZWIy5kKRlH8T7lCGR4kRDyaqlrSG9J9fGkLGUTj0WzFWYCr69KRCii/ABs5VhYWv6U3kk5TkVC+gSEUwS+vremXZCi60xioEqhsdKKRmriKP+LbZQekUQgRx6cvb2wCM9ji4LSdzSLCsOTRMc9aQqn20JQjQaJxf+BEjFeOCb9jkLmMRYO01scvLggxFa1JE7yri3Ahse0dPUTChy8HIjAATXwMBMZBaEo76A2B1uXLiWvg== 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=A8RBct0cTOjijH9ns6lkVPAvQA3IScVidZN+hQNldhY7pfS7SgdreUfIXR7DiG8E2hjx6L8z+DCsH/cY66/X0mFH56QFD2ARghH8jXmjpnHLHrIFwnE+LFXo3tLMpogKMyWS9jEHqdiBnEujVK3Eys+YB5fVItY2N+kR8MbDbw24nDGS6CQNSvois09373Vu26WF+v519oJoKz7v1NcudMaWDxfdm5mzu1nVpRe+vZrTlFj75nR3BCPeXOkF3HZdLj/vl4AszlCMBsL9X2qkGeZbWw84iDHf1CQZWkPdxvubTn9rqDpPSCEsZfIAAWnhL9PybCY/tbZzGqHCNlIvYA== 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=Jxd76hHCBRwyOBHG/aSi6CAq9yiDltuY/1KQLP4YJzqUGXZO++0YIpNvc7i5mQcLPo82WRQInGBdf+azHdqK/2qeBKvjBExAV4VYSUPCgCk/nktgN/YqYUiggCS2dDgiSwYqX+GJ9y42UHUXuowgYe5ld3+sgRUlCM2Rsb+ZL4vJLTV8ZE4wOeETj9cxZyHEM4hshyIxW0UZwSndwKdcQkcKUc9R6UP9RvwVoxRBD9ucFBaOILjsC6hENyWa0NJKz9f7xxr8Q/HHKNbmVcZMKxcwjWa22N10AL05BX2EUkjDz6pkUBQC4weIUlmOoasphSKWcYOGSDS/kbQrrCcZ7A== Received: from SG2P153CA0034.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::21) by KL1PR04MB8103.apcprd04.prod.outlook.com (2603:1096:820:142::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.22; Wed, 31 Jan 2024 08:42:07 +0000 Received: from HK2PEPF00006FB2.apcprd02.prod.outlook.com (2603:1096:4:c7:cafe::83) by SG2P153CA0034.outlook.office365.com (2603:1096:4:c7::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.8 via Frontend Transport; Wed, 31 Jan 2024 08:42:07 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK2PEPF00006FB2.mail.protection.outlook.com (10.167.8.8) with Microsoft SMTP Server id 15.20.7228.16 via Frontend Transport; Wed, 31 Jan 2024 08:42: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 v5 07/21] ARM: dts: aspeed: yosemite4: Add gpio pca9506 Date: Wed, 31 Jan 2024 16:41:18 +0800 Message-Id: <20240131084134.328307-8-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> References: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FB2:EE_|KL1PR04MB8103:EE_ X-MS-Office365-Filtering-Correlation-Id: 70bcf9f2-1725-4bce-a25b-08dc223881d6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: uBYiSFKSW54ZZ0zoHmmpYMvpbB2/7hlEdZMTZ3rGYuqhASw/1h89BFTgWbj7x+bkDClmcc24F1G8trR8/jAyu2RpmC9kI4kayoa9c1yt9iDbc9WaC3KGFcjzI57fXR99OwVTy8eclb/6VT81Hz6tVJdfQlRWhoejNlWSwg4kokKHGpwy1Ao1hQgyQZsVItn/qUiuH3vmbQS+xNRhgRxYYuuWMkN+p/l6koTwY3VLjTqhUJWV9TONCdFNfrigx1hUbkUcBAPhMpwMQjuEh6y0jFCtfwJWGdox70riIS3I6uycrgA88Jsg7SB6Yq4aNE69M90vYJBl7P929CIZzHACqDSKkwPOzLVF65OY6HRizK+5zAhSn+j3x3fhk4YzG1oDfNa21xq0433l+n0McptM9EeRChOWX3j1m+wpInGx7i0CE/BPv8fErT5z7FCbU/hDGRSrmzIUOgL40+UTJZto9qeL8pdQJAm1w+zWJWZEPRDExqHhQeo9nP0vCFzJDyUW4FRATjn2TdmFeVbnPab9dao4ugPH59awQp6dzckx4gBMyg5BVvP37wfRphAK0x4NpVlQLU4fSTm9VIT5kQlWQkivoIDoYvxwPRHzmzWlYdaJE+TRtjDGibeCV8EopckshYT1+5lkgr6Dm8MX3QMsEr65VShXfzLPWCy8n5WKYqp4E6qteGjNoYDUCHF1pp/uHLpIEpgE5tFJ+9cdVDjwOA== 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)(136003)(346002)(39860400002)(396003)(230922051799003)(64100799003)(1800799012)(451199024)(82310400011)(186009)(46966006)(36840700001)(40480700001)(9316004)(86362001)(7416002)(47076005)(36756003)(356005)(81166007)(41300700001)(1076003)(956004)(26005)(336012)(2616005)(6512007)(36860700001)(70586007)(82740400003)(2906002)(110136005)(6506007)(478600001)(36736006)(70206006)(316002)(6486002)(5660300002)(4326008)(8936002)(6666004)(8676002);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 08:42:06.0513 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 70bcf9f2-1725-4bce-a25b-08dc223881d6 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: HK2PEPF00006FB2.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR04MB8103 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240131_004215_348977_7DF76BB2 X-CRM114-Status: UNSURE ( 9.19 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 Wed Jan 31 08:41:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13539206 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 C8FD8C47DB3 for ; Wed, 31 Jan 2024 11:02:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4vk3GXuN4QxtaIxZXGBp30CqJ+zcLzAZJ28sW2u3+4g=; b=cLFdTDQGH296go t7+3JR1z/kpeU1b9qm+aYqQu4MQzl36YGWEnFTfE9B9l1LzfJNmGtyohhpJu4LjZAycIF0FPvEkKS KaBamNoJLTjxv2cg90LIUyTdHZlfjwRX07kZ95e4J+khkRcM7v6uC0vepNWsiBymvXwd2vabOfZHP fDhVK5gSpGColAOZVmUj7JsAVJ3ABFUBAPkykPRIkg+ExC9+OntxmXWLrXtkwvfnvuYpunbrscEJI 483sl/CqNRCy0/U9dgMsU+uIuk/l2GydCLEhVgW9CrL9sjzdVJzG/Slb6hg4FH5ytU0EuWe4WN5vW ld7YuE42y1p1GKmJH8oA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV8Le-00000002wbo-3HfS; Wed, 31 Jan 2024 11:01:42 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6An-00000002Bae-3S98 for linux-arm-kernel@bombadil.infradead.org; Wed, 31 Jan 2024 08:42:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Content-Transfer-Encoding :MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=IINSoxJIm5iybOOhBOWJpL9vfzS3qN3CTn+pgk7JS9w=; b=RFZb3nzkEQ2kYFJcNuPQ63tUMG /eNalhkhRk2ZC5oOMg4bwpzYMlLrojR5tp1OJ8yrPEgOVjzMEZpjIFdaQjo4wTbchdhfcfxqZJ1+a EgDeNaBMFWADonMYtmf4q8AcScZBqylbEPf83tevKGC/ELmED49EvE7sbCIwAZ6kzivcly2s0NzRD gAyrfS/rX8bBcX2F9ZBEcyKQsg3pu5RLvsB/H2m5eoY5aX4f63wh/CaRaOQVY/3ZEclQ5SGqujxHK 8ebG2WdQsSRiDHDNz+vX5ZsdZpjYIPXiGRC0g0hJqPulbpyMX0O+xF25rrEg5q+eM78KI1Rm2dM6E hiYKtjTg==; Received: from mail-psaapc01on20617.outbound.protection.outlook.com ([2a01:111:f400:feae::617] helo=APC01-PSA-obe.outbound.protection.outlook.com) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6Ak-00000008pr3-3XGC for linux-arm-kernel@lists.infradead.org; Wed, 31 Jan 2024 08:42:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YnTAmKCEbZq1SvhzavT+stCTjUBpm+yqlpPi3fP2Z/9rTAWsNM1EG1WyNlXium65fkuZpp8Rp5i3tkKDx2pQjqvpKam+hJ4lhc2YKIqJBE3yLu3BTH4DlBWpCCeHIIL3RcR9PzYpygznG+SFKkgB+72dMg7pAZ/mCP1IHyiAdgHD39CLZfXT0wL3zqGzXs4QWHA2yaxmub4YuYiAjZyRVwolbrIu72AYYDa8WrKk/ua5oOxtiPdx3XcEI3bpehK9g/2GUT5TD+blz0tPQFryWRCh+0/x9AMhi0AMY7uQ2PvIP3OFwM5QXqU8YjZUqj/oJdGeoG8hW2Sp+F8ElfvGDg== 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=KAEYnI9X5Iprq6PjR47efeamplXRue3tcsj7XYkCKcZl9MB7HQqMXfMogpJNbObOBBDtTaSsMt0loKe/n2Ggl9ZR6vrP8g6kCk5w+BwqMejlPtLGEyH71C9Z5IBF4fjRGgaGyGQ57kTHp4Az6U5agCgTNUAQI6TWCHMjwd7iG0h7dh9Z1F9IaHYEiQK/N5g90XAfXh/rWO9ru8aXygOv2Apbyo9fxTNU5fte80Stnc7hDDcOHMQAB4MPbYGnz70vfI8TcxQpqLohQYIaICpVbAafrqKD/6cVChGfxJQq7S5W/XaEO06U+Vpy7IgwCT8wh1KEqUWJTcl9gP6yP1UFfw== 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=LNQgzJAu8r2Ag8DmhYpNlpKe1RhOQvKr8swsnw4zXof4gFdzcLC8uznt077/SZ0qUz9v2953hxzWPBeC0B1f31vbMrFuJjbHkQusy6g3OB+mDuBqyb2WfH9NSRfw4Jyl7KQnT+Jo6RaNbRwISFBDjtScHyh7CqJkir0e6N4qFcCk1UOwk6qxNTAqzXGhRYQ96oOpzehGV2xhZRUs3NMMyERe3/k5+a0bXtBcLVjMKM06UVlJISqtPfStkFVMmT/oQQo+GPtdkFDC7Fv9rzY83VzNQmDFmX93hHtDqdL4mjja5et7rKJpxPvBjOmB+izwPhbltO6d211QMfXbFuwEQA== Received: from SG2P153CA0025.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::12) by SEYPR04MB6553.apcprd04.prod.outlook.com (2603:1096:101:bb::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.23; Wed, 31 Jan 2024 08:42:11 +0000 Received: from HK2PEPF00006FB2.apcprd02.prod.outlook.com (2603:1096:4:c7:cafe::5e) by SG2P153CA0025.outlook.office365.com (2603:1096:4:c7::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.8 via Frontend Transport; Wed, 31 Jan 2024 08:42:10 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK2PEPF00006FB2.mail.protection.outlook.com (10.167.8.8) with Microsoft SMTP Server id 15.20.7228.16 via Frontend Transport; Wed, 31 Jan 2024 08:42:09 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 08/21] ARM: dts: aspeed: yosemite4: Remove space for adm1272 compatible Date: Wed, 31 Jan 2024 16:41:19 +0800 Message-Id: <20240131084134.328307-9-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> References: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FB2:EE_|SEYPR04MB6553:EE_ X-MS-Office365-Filtering-Correlation-Id: f6c1eab8-12a6-4a95-2849-08dc22388402 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HZt1uoIwOcOcEn6F5WLb0YKVswpyr5Sj/lZ9YsLnE5rPlqy6fUd9Xhzw6am4lZ4cnXvey3R4anlwiyr5IPfHUgXrexXOpqC3myORhDBrVFHygkXgb1DgpaHfbrJNsqHEN/qyWWQKdqz3RJ+Z5206ieojbkw2SuL147OPb14QBmqFWRDEviGRWRn0JPQoGwQmgpt0XCoPSpoKUwPEx5ExraGJRACny4lMh3eQx2ELBiQtXFKJ+cClzhnkYlT6lHy5p/y0X80LXeCucvCzbdKnd3NeFtRycVf0jQjVQkitTDt0G/lThP8oTXb86LLmLNoQisaXW4dknAjMrptYiZ4De0ovlE+oDzogm4wGzFOyTZ0L04VEbCb58sSPgKXgDXP87eU+138rCStXANAjCrdfzkTwVhvtwqiBaXwfkhfKeIter58UuZSM9GOCoRZ3F1cqqizJyNTjNBluhncqerUXNLHpiSq1Syx5Y15dC3QPwR3JxcApijFrzKMTtVHeZ0nxup3qOnj1EbiYAgWWIhZQZUSKabV6XmZWg28y//EMfXFnoSKWRfLmAqyde2KqaIoR/PA/hPXJt5z4J8G80ffC5Je8VsSDa67zM6xVRQvjSK0tsnnsYxvDovNv1cAjjwN5odSEuuOQOSBKCXkwnmf4ne38kzicf/Umx+jDOF5kROXRLJS+6m0l+RYyfC+Q65NtY2lkb0NRuyP3fqlwQJiiAw== 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)(39860400002)(376002)(230922051799003)(186009)(82310400011)(64100799003)(451199024)(1800799012)(46966006)(36840700001)(6506007)(2906002)(40480700001)(4744005)(70586007)(8676002)(316002)(6666004)(26005)(1076003)(956004)(2616005)(6512007)(86362001)(8936002)(4326008)(5660300002)(83380400001)(7416002)(70206006)(47076005)(36756003)(81166007)(356005)(36860700001)(6486002)(478600001)(336012)(110136005)(82740400003)(41300700001)(9316004)(36736006);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 08:42:09.6764 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f6c1eab8-12a6-4a95-2849-08dc22388402 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: HK2PEPF00006FB2.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR04MB6553 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240131_084218_968101_A47E403D X-CRM114-Status: GOOD ( 10.70 ) 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 Reviewed-by: Andrew Jeffery --- 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 Wed Jan 31 08:41:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13539023 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 3CC0EC47258 for ; Wed, 31 Jan 2024 09:46:53 +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=hDr4h5I2loD3g3 Qr20tLx77akfJVnveAyT0REa30wenliY4V8TJ3oXShA9vkYX1vrNjQt6xrA03MbpxuW8pybCnxG5I XNAIGVqv1MN4m+t+CpopSemtPJbTM6AkmntCe4LACXY8dhuXC4eWRpYAkoUbGEbPt92r4H9XBfC/R FeZ72d6FN4t7tSz8QJ36v65mhFVYzpeL6zNI39u9vbScEGcd7kxWKD7Z6JI/F7LNJrAOtVIY3wbZE CkBnJNKiMNnD9MZhDfcYdBoWQQKYN1+6LLEMhUylZ/jaMu/IAEodtxcvT+GInSSxOIiOYbEkF9HhQ nVYITl/0L69xtvG3SHBg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV7B2-00000002YSI-1HTK; Wed, 31 Jan 2024 09:46:40 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6At-00000002BdB-17Hx for linux-arm-kernel@bombadil.infradead.org; Wed, 31 Jan 2024 08:42:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Content-Transfer-Encoding :MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=jLNGMUNrdX1hlgNVJ+IEvc2cz3VhRE8IbJel5r3BG4U=; b=Y2FVj4s0AlkPdGj/d+4dhseM66 NnSHYaLO3KYjogI2Wc/dj0S0CDNQn8mGQA7OXZFWxYpmpKh9bkJjtIUsLYhjM05DAi0HI9rmUBa7S TG6WApRw3ziJlrtvKpAMdYiP3z3fKHO1P+Zr1HQRb5VBYGj5idcW34X3HPJqwpzc16c7hsPswQwLj Omz8hmP3FJFs1HLmgRc49x0VlMqcRr6FOinBOQRBOUMv6qvpsTv6ZRdIBkK3WGm8gTLq399cbTxaH 9cqm7n06NHvFjHcM/41oZHx7A1NHuXL+W1+vsRziX1k6Nh0kweNQPEGsUgSSUtyJThZNA4K5UInSg PbajcLAQ==; Received: from mail-sgaapc01on20609.outbound.protection.outlook.com ([2a01:111:f400:feab::609] helo=APC01-SG2-obe.outbound.protection.outlook.com) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6Aq-00000008prt-0y9h for linux-arm-kernel@lists.infradead.org; Wed, 31 Jan 2024 08:42:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QPpVk0EuQlS9ZlfzrF/eWfOPaL577bLwUc8UDgkZJWHXyF19a6TcBhq6HTGLnpkRmj+aFbUIaEndGI11RcXhBw25JJ/aJFLdWqWAZJ2E6qumdPAufNOpPfBaRpxaUO9Vu1nqJaJkSgG9NHDyvKBpEp8NlLcwvAuSGwza7XhiJSEVPEStR+aQWrmcVN+kDf75syoOVdPKXL5aJpYsJwwbMYZcz1hPbWYpwE809gaQHsPpMggiJ/ZIhtgiivAFXwFmLP3fwcLuXH7wCLK2aJpU6eDlAP/UgkOoQnv7FWLeZP/EX+lYvO7a/WLdfLiQEVRsiZU1yago2xe65Q4+P63wrg== 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=Ip7CL6+bvPYscrn/qhzekWyJemDMJXMVPLqk3NnLjny6ZWoOxlsSYQEaX+s10idKAk/unjYIGMdL86iIYfbl/ptGjS2tkx+ORZjuWQKgllCUEIAjTjhlUBb4DUYwBmcgLoh2uCOIEY+M3hYR4b4WgCOhsSJxc6OD46MrqHpIkh2cBr48tugutPXueFuf0BhHE7V+KcCgA8uLVvfYULFmNPEG0AQ56/oY2jW6Sv6lXi3p+tlZIWJvdhvZ5FcLLRiFB2JoEIyr2scUlHkx1n00y08Y4iwoLDFqf53t5IBwVzGwWeOSWRIAGP6TU+cig/SvfZ6A9PiqLur09SS6HqRX3g== 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=NizJmQJ6NYw0NTvZ3N7hOl4jVtXnJwazIHEagiXF92rmnEphwaEw7LuF2awm84y+MCj+5uGWwn0C/rtZhIfVMV64cqhJihdObbiRqmWZ5Nu+m3AvkXG7cWeuVq3Sj0prFidVYlixhuRLYjSAz/IxT08QBMSLRuxCPN7WrLpfoitpOWYp8YroQkHHQFX18cU/QgZq4DPhWBFgGbqRk1z/EVLjWHtxVX+e/fLCg/g63MsBRhVowy69yTIcovuy0s/ojQwls8EpSVZSsiOkle52s/UZp/LVzR9RJxW3hdiXEQRtycPATWT54YzWKoKpuOiKwr6r3Q9oIf01Nuz89xqbhg== Received: from SG2P153CA0020.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::7) by SEZPR04MB7736.apcprd04.prod.outlook.com (2603:1096:101:221::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.34; Wed, 31 Jan 2024 08:42:16 +0000 Received: from HK2PEPF00006FB2.apcprd02.prod.outlook.com (2603:1096:4:c7:cafe::93) by SG2P153CA0020.outlook.office365.com (2603:1096:4:c7::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.8 via Frontend Transport; Wed, 31 Jan 2024 08:42:15 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK2PEPF00006FB2.mail.protection.outlook.com (10.167.8.8) with Microsoft SMTP Server id 15.20.7228.16 via Frontend Transport; Wed, 31 Jan 2024 08:42: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 v5 09/21] ARM: dts: aspeed: yosemite4: Enable interrupt setting for pca9555 Date: Wed, 31 Jan 2024 16:41:20 +0800 Message-Id: <20240131084134.328307-10-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> References: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FB2:EE_|SEZPR04MB7736:EE_ X-MS-Office365-Filtering-Correlation-Id: 8a405778-0242-44f9-e528-08dc22388685 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vHglbQbuimcd1fUtp1eK1JFOUnAIICabbmYV9H+sHsAj0qNVCYSfBWuF/2XrUxGxurPI6kK3YQCtD91iA4bMG09hOISNW1I/WOj8DUQHAKBd6uA13/Kl4PsB/KHDL9P4PQTXHlDkzBXFt2uDbEn1ySScnByK1h366oIa0FF9LtR8FU65vY2IJPgnJMF83vxULB43HA98IZvTMJV/7bEOt8ognUnsKUHFEVKR1zL5jsKQX/pNOLxTg/BHiO+fAOZAF+JbBYIqiuOXYlU9LFGqm7f4mHfSxmolmuvg06oj1pHI0B+EWm37ayZ6xAfSuvj19jaqhDgFnYg34YoWmhS48Pn9I2tKVAksOLQVsSoUs1kpyzA6+KP0YrUy54BSpYtB7ptcdsBKKaopO3bY7jyWVccH0FXkYjEdKVFYXC4ZDUZQAvTd7nqQ04l4r+Zrrr769PHdjVViY9R+/uD6hrEQ92vv2O6of6qmqpDHzGeNIQydRZnNabtC2HVuvpPkrFTg1oi7IxQdtU+lQx29nDjjh+2JFIQe/swccJqhNDQg8Opfu6qmNUMfCMAUadE3iQpooefv5WbapWwSeZ4pVPX7SSCY/Xg0S4MUF3pfqOHuoKp3LLTYjctBMCv3hFCALHksvqcYDFSc17FZ9WAv3V8FBZPCEmsQgnOmMt7VyGVuIE2xXlR0BUqmXjcB2Q4Cf9hnU45y+3nD1j8d0nLWrjTqZA== 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)(39860400002)(230922051799003)(451199024)(1800799012)(82310400011)(186009)(64100799003)(36840700001)(46966006)(26005)(336012)(316002)(956004)(1076003)(83380400001)(41300700001)(6506007)(6486002)(2616005)(478600001)(6666004)(9316004)(6512007)(70586007)(70206006)(110136005)(36736006)(36756003)(7416002)(82740400003)(4326008)(40480700001)(8676002)(36860700001)(356005)(81166007)(8936002)(86362001)(5660300002)(2906002)(47076005);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 08:42:13.8952 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8a405778-0242-44f9-e528-08dc22388685 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: HK2PEPF00006FB2.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR04MB7736 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240131_084224_373976_7A78B3E5 X-CRM114-Status: UNSURE ( 9.79 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 Wed Jan 31 08:41:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13539021 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 EDA1AC48285 for ; Wed, 31 Jan 2024 09:46:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+GK6Jbg0FSkXshtMEudNLIPdrj6TV79iNKFHGdwIRTY=; b=Af13V3QOiQYcJz mZQ3KyW0WCVZ8hWMpujCDGrdkr+0lU5w+xSduBb+P91/P5O7GYZxhpipc3Z1yKy4dMJZjpNP8a9Ad 0EL/ogSueuMTY9cmnh/PWM46X5m61NXtaxiQvBDeHehPDerSCuTLFoytCPlt1VNJkDrMSry5lARpg RvRXHXBzJ6QzilJrE+xOmpCC9L+bawqSkbAx1fP7cbGoC01eN2Qf2V+xC5X1jjXZswRuZMbIBw9mI 4+HUNs+poSHS9U59+be/oMESOvQXbBVrjNoEkiTHfd5TncLoRc+okyQfA0LajQpZudCoJ0Y2I9iyv sC/fP9dERryI+EveXbTw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV7B1-00000002YRW-1tAU; Wed, 31 Jan 2024 09:46: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.97.1 #2 (Red Hat Linux)) id 1rV6Ar-00000002BbL-0CkI for linux-arm-kernel@lists.infradead.org; Wed, 31 Jan 2024 08:42:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EaACDLtsIvFsgZrnrzgS0uW92uMGq+dPmMR78t3eCEvatZ/cCZEMfmUpCF8jCF9thU63PR3wDwQAmZ419HOrBPrEt9Wfz1JnkyjqrCBnFTOH0+59Id1hSKAsQCFJPpe3kscqvKN16Z/JfOPLo4vmdYcBc+rRVrZp4A+ZQaDVoRi/OrUKZzccNXVqrx9NZTZ0CYC9NYEmQhB9PENzXaaN3feMzWsbwRBPMkwH7gTpK+IeUPj9Ckgrn5jfZASMBKuMuCZ9n4TumyPnHn5aqyc+cWXigNqpXpFsFktuY1Ku/oCeaEjuJGhQqJ9CCBChbyHUgKYH97w/+EszV34StRVGSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=DosD6Mfg6HM5skGoPJsT5gKYffO1qIysmMfEeqUA3og=; b=nKKNDYhqdMwQcMI1tVgjqb2MAhqtOymQJUb0umSLJP0wdWpMAUC+jS9oxLaTEacffy0VjgTacVqdQleXFauKifSGJiF9nuiiWlUBLyyIOVLH92F+E/uK8DaGkJFajf1FfTghKyzs+HbllgTncdh+nuvMHhJoA+hJjIcTJsib9bwaJVn+cfdmobN1AKnyntlL3atg3YipVgA//uUqbUMJnltPSkdhTU7l/1iglvE9QFaeXzslLO3yPGuqlCy5FDcXVZHwnlcmrazuKs7btPfVzRIxb9HgrWNGr7CfvceQUx+ygOLn80G7ElKUUTE0hNSpkUv74m25uzU1ls2/OhTypg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 211.20.1.79) smtp.rcpttodomain=stwcx.xyz smtp.mailfrom=wiwynn.com; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine header.from=wiwynn.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wiwynn.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DosD6Mfg6HM5skGoPJsT5gKYffO1qIysmMfEeqUA3og=; b=jD1KWjh3iCjrFQ5qq8s3nNAwlR0JqlHN4YVGUt/wSRi/RFKcYTVCr5J1EHtfpAw/EuX7tokSKAg6k20f9zhH0v5QEXTUWtFQlRUxTPEul6SNIbKv9rRyJ0lL4Z34UpBbYDX41bfgPs1wxy4tOBIGf67G/F54isEflNLjte/YZdFNXyVTBIS+l1w+qwPckAbl4eIz/kRDV0A8i5XQRGSjHIxabSo4nMQjY1/Th/PSqEZnWpdv8ID+fG+t/PG5ybm/RdXxPGPt1x6i1vbd6EAb+XScvmeiD1uv5Q323GisVbqc1sIGZXSIAIal/WHlsmSvFWp9sirL3urC0s6Top4y/g== Received: from SG2P153CA0019.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::6) by TYZPR04MB7857.apcprd04.prod.outlook.com (2603:1096:405:ac::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.23; Wed, 31 Jan 2024 08:42:20 +0000 Received: from HK2PEPF00006FB2.apcprd02.prod.outlook.com (2603:1096:4:c7:cafe::f4) by SG2P153CA0019.outlook.office365.com (2603:1096:4:c7::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.8 via Frontend Transport; Wed, 31 Jan 2024 08:42: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 HK2PEPF00006FB2.mail.protection.outlook.com (10.167.8.8) with Microsoft SMTP Server id 15.20.7228.16 via Frontend Transport; Wed, 31 Jan 2024 08:42:18 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 10/21] ARM: dts: aspeed: yosemite4: Add power sensor for power module reading Date: Wed, 31 Jan 2024 16:41:21 +0800 Message-Id: <20240131084134.328307-11-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> References: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FB2:EE_|TYZPR04MB7857:EE_ X-MS-Office365-Filtering-Correlation-Id: 1ff75680-2891-446e-511c-08dc22388939 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: PV+zfdUEVr46EdaLt6/x/kKP4Pdwe4/amMPAKj22ndmEGTfFIv7jNvYsfkoQqZ1WemBv9megPY+uprcOBJqHrmcsgdHBoiUMBXTkpemW8xcn3GhCHxB8xXxPPkAiJYDW/FvRij8UV1761W4Wy+S5Dau9BIHOTz0Tf1OopfvFSyJXnFJg34O5IS1VkFMG2g810ruubNwACP1/kRbRYTwH+TYgu5pIa9N2c+NifbiVzneN7TDxRsf56J66NRqmip8lNPWXwaLtZdvHn05A2ih+jewKcs7DIHGK7CnZqV5o4MtpQI9vK+QEvMbqbhQcTYdIFGdjteQJojxBJ57yVbrtzs4Vmmf+gQVSRgHeRPyhxIsJatWF/CudXVaa4MJXVCdYTaq6taUzOL40XSDHp6MuThF2tXcDw4AXM2H0JyXMPg6apJbeU+Bo/9sJsCgvl4F1W2Gn+SJGV45oxrIn5uVxdQtuCHHySXVwHqp6Wup4GgMmNbNrMsucefkBsInrr0truIKtPa5mwmPHzg37TNxMa1VkqSLyrLg/OshIo1uz7VaZ5cw2QI1zhhkyO9ndFCB5LmvT6da0skE0JFqX4btVrze2TQqjJouT8Jt+poUJSBr+VS5HHqsNE3rcksMGTlBYMGkz6vnyyi+J8G1YRHTYcKhI7ArB8yqiOlqKkm2p9V/9/zL1Yyr5gCoyURnwvJslvMnY7P9bsC46QhOV+CgDDQ== 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)(39850400004)(136003)(346002)(230922051799003)(186009)(82310400011)(64100799003)(1800799012)(451199024)(36840700001)(46966006)(70586007)(110136005)(40480700001)(2906002)(7416002)(5660300002)(9316004)(82740400003)(316002)(36736006)(47076005)(8936002)(70206006)(4326008)(8676002)(81166007)(356005)(478600001)(86362001)(36756003)(6486002)(6666004)(336012)(36860700001)(6512007)(26005)(41300700001)(2616005)(6506007)(956004)(1076003)(83380400001);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 08:42:18.4578 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1ff75680-2891-446e-511c-08dc22388939 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: HK2PEPF00006FB2.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB7857 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240131_004225_122700_540F354E X-CRM114-Status: UNSURE ( 9.53 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add power sensor for power module reading Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts index 4b23e467690f..e8d7eb7ff568 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -906,6 +906,11 @@ gpio@23 { "HSC7-ALERT2-R-N","HSC8-ALERT2-R-N"; }; + power-sensor@40 { + compatible = "mps,mp5023"; + reg = <0x40>; + }; + temperature-sensor@48 { compatible = "ti,tmp75"; reg = <0x48>; @@ -930,6 +935,26 @@ eeprom@54 { compatible = "atmel,24c256"; reg = <0x54>; }; + + power-sensor@62 { + compatible = "pmbus"; + reg = <0x62>; + }; + + power-sensor@64 { + compatible = "pmbus"; + reg = <0x64>; + }; + + power-sensor@65 { + compatible = "pmbus"; + reg = <0x65>; + }; + + power-sensor@68 { + compatible = "pmbus"; + reg = <0x68>; + }; }; &i2c12 { From patchwork Wed Jan 31 08:41:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13538967 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 DF2B9C48285 for ; Wed, 31 Jan 2024 08:43:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=o/WaB7qKYsIyoNKhUYClfg+y7Joy+5vFbXTH1LlVvtU=; b=iwr0/mVc1gcFEs VpI2jAkdupw5PwYeMa/muRDwWJwUIFACo3xXWRDfgwUlvbvrgNMl3f/luLJ0chsL5uekxLXa6rBP0 fP2/RmY847XnSU+vcjA3ZOg6oXCI5MKsk5hJV8kI9xF+I4dOHlqIjdpAK3EwhgMH2K8lKSXtld5FN 0bKLkUaJdkiqJUWeaduX1BwVME3N1usiMYJ2o6mIxj30UnJFZMbWRd8h+lbqSuu0CRUH8q0Elfa0z DIVfAYGAJ50BSCW8z9I6lzsy9Z46voEtNsp9wZJwWQvN/ZH3B+pRkEb72Kdr3oJ9tH4Uz0JbqoLgK yJOxzbHQkEh0uCjOwTMA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6Bw-00000002C4u-1GGY; Wed, 31 Jan 2024 08:43:32 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6B0-00000002Bg7-1G4D for linux-arm-kernel@bombadil.infradead.org; Wed, 31 Jan 2024 08:42:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Content-Transfer-Encoding :MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=83qzPgFTx360SjxOmqFNjD3Rm3s/Cy16s152N2P3fZA=; b=CkYHIGHiue/5tRcBCx/PjIcCk0 2W8ffwfrTtXnOmp1so7aZonX1iob8yC8j05Fi/CCPRgB7WV1l0qE23LVF9O3WMzgdTTT9KbD117Iz XjVeIfbOF+h/QxqIZDcBB9zkpnkHTZzAzigpeedAvSDkmTnl6mGbI9QHbaCVYo3iEleVDjWGrH6mN uYbaWn+elUqYAIPxaK6UCeCSmSHtYEDkmB2tdKj1EM/jgrKIlLM9A5d4ofjaTuDp0zgjMlQ80dJvh AERn/7/+S8BkweE3tg1tKZqscSjMZrpxwnd6GPnAOlwVI9sQzGj56xyEXixbYiCn6JkFbiCQHV1IT eiN2y1kw==; Received: from mail-psaapc01on20625.outbound.protection.outlook.com ([2a01:111:f400:feae::625] helo=APC01-PSA-obe.outbound.protection.outlook.com) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6Ax-00000008psa-0ndk for linux-arm-kernel@lists.infradead.org; Wed, 31 Jan 2024 08:42:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l1euOJqk8r3xtCF4D2tPpkc4+SGcDLQIEAokyujqiEgvdvvTYgG2ifVJCObAQ2jdsYWMXkTVvfGZvNhurnoas8Z/scgiVcY2fnldmmi0egjU+WUwgG+lBt7HOkK/9BFFYo0MpJYlhlbM41r0ZPzYVi/FVcmVnKWpr+BqCph0Tg30iJYvdvoLbYTOtkqnhkciYhR56X8V+yVxDp7ihUFkcpWI8IPzRV7ifFRaRTBX7Lu10sNE9CqDfvqyIG6UrPAybGO5U8T2FSYDqrbI5jsYfyx9azBR0HKT8BJv2EePKqbRuHAjXZNI4T+RVlnBjJYEiGnGePiNB56oHOAcj2RkBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=83qzPgFTx360SjxOmqFNjD3Rm3s/Cy16s152N2P3fZA=; b=cCX9bMf4AHkX3bjCp/ZHWgvBdfe7O6iF258kzIHj35xskOnpO8nUOrmO9OJZCeifC0SrKIsw5uwgoELOohzw1NlJZ9Y02rk4vVkC5AnAmgu4/x+kEemO0y5pyB3RIUipdplPBI+4n1d8cypxl+WpQgjOzebMP60lh3+v/EG+fKxIS5BynKn3GVFX0ossy6ovhxR8DXkymSZh5PAisIXegoaUBvEWXx3sUdcSiVB/Xlhmjle3Uw5LdtHwKbRB5PirBDqxCkw4taFCzVVyuoKqCc/8lhjreZfnybowRogqoQIncNlI69Shzn8Z8yZhK/b8yc+x8ScuoTbAkn28V1q/eQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 211.20.1.79) smtp.rcpttodomain=stwcx.xyz smtp.mailfrom=wiwynn.com; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine header.from=wiwynn.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wiwynn.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=83qzPgFTx360SjxOmqFNjD3Rm3s/Cy16s152N2P3fZA=; b=SQStcmzbdjBSW2jaX9VaudvuYxLh7V2UxnVzZuJPhHf7RniKlgeO+KQUORY919CFnZcPQMLrl8mEKOzOWu3AxY9ct9otdDRWzynVYDlsS/Mtuco+jTVouOv1kV381WVkOi+J/LPIyv33l/mM6eSWqv4pCL/hM9fZF/Ce87SQ0OOjAO69ziRSbtbDcIAwOyKYCbOuoogK3EQqr5zCtOJhwciKlsi1HupCEXa1UJTRnlobxXhGTyIV5lXC54N5/3knT7yWh8Vm1htAvEoKb8xOtZ0vzAipVWl9BJRgqDqHTmH6DdbImyA42oMTjK8zRM7YAMo1+XZ0FxZEHXC7QMMOCA== Received: from SG2P153CA0035.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::22) by SEYPR04MB7689.apcprd04.prod.outlook.com (2603:1096:101:1e5::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.23; Wed, 31 Jan 2024 08:42:24 +0000 Received: from HK2PEPF00006FB2.apcprd02.prod.outlook.com (2603:1096:4:c7:cafe::a9) by SG2P153CA0035.outlook.office365.com (2603:1096:4:c7::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.8 via Frontend Transport; Wed, 31 Jan 2024 08:42:23 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK2PEPF00006FB2.mail.protection.outlook.com (10.167.8.8) with Microsoft SMTP Server id 15.20.7228.16 via Frontend Transport; Wed, 31 Jan 2024 08:42: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 v5 11/21] ARM: dts: aspeed: yosemite4: Add eeprom for yosemite4 use Date: Wed, 31 Jan 2024 16:41:22 +0800 Message-Id: <20240131084134.328307-12-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> References: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FB2:EE_|SEYPR04MB7689:EE_ X-MS-Office365-Filtering-Correlation-Id: 3db9b725-73e4-4a06-9b8e-08dc22388b69 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fRCXhZP1K1qO+GcjXw3l2L4wXJHCLSvEhQ5NarOGAnFdTbbP6jz4QRGyeQDHv+MsB/oQeqyIvIn028xPvJCfOKjY3WXJhtoKqCMhkkDFHRm4G2msT1j1RFQAmlMFf1UBHCzEvLZMIEcRMFtDT5SjK82Bt0ZAoC+w+eG3bvXA050izdmgwsDQQADfad3fvV0dbIugOWxrNpmlVZEo8TYFqGjpNYxOG7f8wsr9eVBp/h/qDDZTsTau3We0CclvE9mYdZr+/PahVay9Kwyir41nMMPsGoE5WTfLWXkTHfBf01c0O/d54UVHSf1u10+Tw5JaRJovx/aG3O8Twe34WRL5qRAoSOONyq9us+uV1M2Z/gS6619s8EGSBAXgFzWI3J7uZwC7xAV94f2WRjeZgWHA4oh9AfY8KBJD/fJOsXALYVVjNw4+JJz078KeZW7yn/Ll6pkXuaC3EzXAnPdAp75hZxS4+aKhpD/zJqvsoQzi/sR8fcA2vJkpvGnviQY7XLJ++BtjFYp+Gt5BcV5qoPlTuKmUhaA0Xec1rmpdj/BXcBgQoZNiIrhhRPfUvMXk3IaZOXYaer6HW8xq2H1hDomVnLmW26+r3ndocGtSsjdc40u8xOXkWDgASLKY6P7Wv5v9FvF0Krvq61PlseKbMMEmWeFfg1KlyDZ4dDGl2iCLZDCPqkXZFqNlkWvkVmAgjZLWImqZc0BWz7uCB8A6CXLHog== 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)(346002)(376002)(136003)(230922051799003)(1800799012)(64100799003)(451199024)(82310400011)(186009)(36840700001)(46966006)(81166007)(47076005)(356005)(40480700001)(82740400003)(83380400001)(36860700001)(336012)(6512007)(6506007)(70586007)(5660300002)(4744005)(2906002)(86362001)(36756003)(36736006)(316002)(8936002)(7416002)(8676002)(70206006)(110136005)(4326008)(26005)(956004)(41300700001)(9316004)(1076003)(478600001)(6486002)(2616005);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 08:42:22.0359 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3db9b725-73e4-4a06-9b8e-08dc22388b69 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: HK2PEPF00006FB2.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR04MB7689 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240131_084231_405328_24D6206E X-CRM114-Status: GOOD ( 10.42 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add eeprom for yosemite4 use Signed-off-by: Delphine CC Chiu --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts index e8d7eb7ff568..f00df378a371 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -932,7 +932,7 @@ temperature-sensor@4b { }; eeprom@54 { - compatible = "atmel,24c256"; + compatible = "atmel,24c128"; reg = <0x54>; }; @@ -971,6 +971,11 @@ eeprom@50 { reg = <0x50>; }; + eeprom@54 { + compatible = "atmel,24c64"; + reg = <0x54>; + }; + rtc@6f { compatible = "nuvoton,nct3018y"; reg = <0x6f>; From patchwork Wed Jan 31 08:41:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13539207 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 82B1FC47258 for ; Wed, 31 Jan 2024 11:02:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=mldIHNQVs7A3GXHRl7TGDYyQfWKm4QEp2JAEd/I3qw0=; b=bZC9VkkwB1Ja50 gUP1TRU5p88EVz4GouWQA+iFN7VmYTd2X4vOapZ666B4TpC9MU2QxkqtoMCU+nf9d4ptfuMzZ9yW5 8WT4PVnLzHuu2P120EcSIJXKoVq5xjta9FDhkYT9TZ5punWrqNyyuxd6f5/4jwAvnRh29DiKVVrgD d6zcvhHj/BKcXklpFZIG+sBOVHDH59yF6lDGWoYBz1BbutSjlDu82xDagQfKnsGZUQ4GtiIvPYaDg Zd4Zaw300fJ+MXz7M5yugN1j1ygvTfDmZLlX/bnx/5XbMHoDLO6z4fN99nf/lhueRiEmKcwnctg2H W+VTmIKb4aaHbZHBXD+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV8Lg-00000002wdJ-1zop; Wed, 31 Jan 2024 11:01:44 +0000 Received: from mail-tyzapc01on20601.outbound.protection.outlook.com ([2a01:111:f403:2011::601] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6B1-00000002Bg0-1kpI for linux-arm-kernel@lists.infradead.org; Wed, 31 Jan 2024 08:42:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nnF7D36+KJZN0ce+d6b3TiBA6hLz2mH8v7cuyFu6O51oYE6JNarJArJba8t/MdmWBP3A/I+jo6U53A4u+ukLjRVvhcIM4wUVHX/fCZqmxkYPIVdHjVO/R5Ils5i1/n1plOyOXwdKj3UTnyqcU/Yd3XdBvIDo5yEqsNyBWVfVlRhVOhbesSeiE4rgBwA/IveFaIkNCE64l+RuYNxGN/OYE6DgpRolqAQr/yT/F1PpiIN2JiM7WskBQGxygcSWSJZdM+BfZzKOzvUrTReEm5qoD7ExSiwtGBr+UUNQlWn4MkaH2N/f6KSO2pdZaiWBVcZ7jzBal2MOx0bYWveVVm0uxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=phXviPZoJ6ps795hGiyy1iR8IfUBkORR79WtFgTj63I=; b=VU0ySr2A4jh5tDPQWDhtnSY/H6danq3n/jaVzrc9zO/1RwI25kqTUZ+AqmIsKZPzhfR9/Z3pTzIWzkBzBsUBHsdAASf6yRoP2Egs1YFJGeOJe313MQpfnDBtG1YxN7J3kJ9u7+wbMwUsGZ2RhF2fn2KdNpi2jUxvSwsJhSRnWnJDbJkVlaau3zzc2nOH4vxySTa6xaoex6gVzcQCbn2tGrYVRLrQBIs3cskxt1+SGRI+fMw5ZS76yuYL9XXV3AyMBt5Xl2k1PMJO9f/9vLwBcduhR/kXExeUAWgpdgbjBfL+y8pzDBIZ70XSJSCMjLUrWzKGw7pd/jHmHjMLZsdZ5g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 211.20.1.79) smtp.rcpttodomain=stwcx.xyz smtp.mailfrom=wiwynn.com; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine header.from=wiwynn.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wiwynn.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=phXviPZoJ6ps795hGiyy1iR8IfUBkORR79WtFgTj63I=; b=rurJ6i9UDyAO9TsuZMZ+MB46wN2fknv1FP5Dm5LYxV2JUmWG77fWHq8XiLKbFs8TQO//bNtxqBesUwTPIXihd9lg1eRBoaCBypQx+988ywBl29JHp1UpLfaO5dWJG9uMNEQlKvzsRlBZ08yXY8nkkGigm2vafxlJ+nRbVATNQiBwTct9xCuA509617ntqIFehZBXPzWTMIwkXuMNf3J4ydZV5e2tT0b9RaLjXz7Y8gBdZuR4Xhcdsmexs0YfuwJeSJIn0oG4fLka5OEkP1kGQjej7CHMo95LUBZV9FA9qICFJqLJDt6OP8LtOn4uMVT/Nxs2YfZxZhwFvUtfkIifUQ== Received: from SG2P153CA0035.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::22) by TYSPR04MB8220.apcprd04.prod.outlook.com (2603:1096:405:8e::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.23; Wed, 31 Jan 2024 08:42:28 +0000 Received: from HK2PEPF00006FB2.apcprd02.prod.outlook.com (2603:1096:4:c7:cafe::af) by SG2P153CA0035.outlook.office365.com (2603:1096:4:c7::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.8 via Frontend Transport; Wed, 31 Jan 2024 08:42: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 HK2PEPF00006FB2.mail.protection.outlook.com (10.167.8.8) with Microsoft SMTP Server id 15.20.7228.16 via Frontend Transport; Wed, 31 Jan 2024 08:42:26 +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 v5 12/21] ARM: dts: aspeed: yosemite4: Remove temperature sensor for yosemite4 schematic change Date: Wed, 31 Jan 2024 16:41:23 +0800 Message-Id: <20240131084134.328307-13-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> References: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FB2:EE_|TYSPR04MB8220:EE_ X-MS-Office365-Filtering-Correlation-Id: ca6ea922-87d5-42c6-1aa0-08dc22388e30 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kHllbjmNkI+kIryIREgyqdOIaI1AxVEhwd1VcYpohY+LEvf2eCit7t8QdkHQ4u/LrlzPMQ85Mq9KUcGuP8N3MvGoKYcy2UGj7w1SqGJ0zdEFNqLYtqa1lWbp4Tx5bekjOrO3tq9tmI0kOGJs/bgwvCVrlQlFW6he/3+kGxLPWPthSXrDZfc/rcbidu+efy+3nRyjUlHa00Vl+5E7wpOw9cka+8FQG7ROrn4zhfLzKiw9gYjEadsXJKkGkkohy3Fxw+FWbI4+nyhKliOqH3jBZuq+6ilhjxlp06uW9rpEwoTHcnNPZAyA2Am6Zas/otJnREwyM/1ZWMK9wXSJZlBdasEsq+DlnOAv6GCp0fn425objC/8zZSv3uF6rxkfFTfPr2kCceLjceR6AI16x3EIIkDfvN+70oYTEyUfPvzGKjsJTZpZjPNboegxeay5+vFe44Z0zY8Ra466qXr4A8mL2MvYO/8irfakVaU1gyt0ln0ax5n+JkuiEkv2JXb0ixD4zmoFJDrhSDkbBGZrYZv0VqvAT/mtjIqA5AJ8YsLswlM355N1/7T6WIXbbEax1ZjVrJGV++edGwkgkkTAGaNhsyroGY7lf4GVi52/VB+oDNDyURQZwzA1jN/MGUl23IL10+fKeq2oPo1LCm7xFBDW2WKuZwddSOwoolyPhm1cCkjO/l4gtzCNJG/IwU+f6Y41+SgSA3TGnVb6aGt6p7J8VA== 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)(376002)(346002)(136003)(230922051799003)(82310400011)(451199024)(186009)(64100799003)(1800799012)(36840700001)(46966006)(1076003)(2616005)(956004)(6486002)(336012)(9316004)(26005)(6666004)(6512007)(478600001)(6506007)(41300700001)(7416002)(82740400003)(5660300002)(36736006)(36756003)(4326008)(81166007)(356005)(47076005)(40480700001)(8676002)(8936002)(36860700001)(2906002)(86362001)(83380400001)(70206006)(70586007)(110136005)(316002)(4744005);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 08:42:26.6766 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ca6ea922-87d5-42c6-1aa0-08dc22388e30 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: HK2PEPF00006FB2.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYSPR04MB8220 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240131_004235_511503_31C356D6 X-CRM114-Status: UNSURE ( 8.78 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Remove temperature sensor for yosemite4 schematic change Signed-off-by: Delphine CC Chiu --- .../boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts index f00df378a371..bb4cba8f057e 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -921,16 +921,6 @@ temperature-sensor@49 { reg = <0x49>; }; - temperature-sensor@4a { - compatible = "ti,tmp75"; - reg = <0x4a>; - }; - - temperature-sensor@4b { - compatible = "ti,tmp75"; - reg = <0x4b>; - }; - eeprom@54 { compatible = "atmel,24c128"; reg = <0x54>; From patchwork Wed Jan 31 08:41:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13539022 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 B067BC47DDF for ; Wed, 31 Jan 2024 09:46:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=V2wyQGdLi+BGp/LajI3bUbdrXEM0krv/mysL9qsdm8Y=; b=3U68A5Jz4YX4H1 oZa0VJ7aaRjit8PgU7MFq3G3vrKM5QE7jmsrJyKpBq5uB+HpTeez3WQwgK2LWTljFc20skBmB+shM TO+f8LRsJwtHxUCdWAGYgpbIMTTcmwH0+cLk1CFAEsNqnVbO+01xcssKeu5UJjBvrQzWWh0oWKJSM hCnkKwNTane7Yowvg7Dkx40odAIFcIoEbcbdGCZWTWtEiFGYQszLKVsf/7KckI+qREu9K8xnO1+/m M2/+4KN9zBN73TG1MpJi5yNBTwLsZhtXkk0Ng1YaoxnYjgkU8FkecEl4M6oRH6YNsRa/bd9xirqOz +YSZuga6shZW9MiNpj2A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV7B3-00000002YTR-1yc0; Wed, 31 Jan 2024 09:46:41 +0000 Received: from mail-psaapc01on20613.outbound.protection.outlook.com ([2a01:111:f400:feae::613] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6B4-00000002BhW-2ZTA for linux-arm-kernel@lists.infradead.org; Wed, 31 Jan 2024 08:42:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hFiGYGXLPFoNYbjbWT0f3CeKMLJ/FV1/PDGYPp+bv7uPHs71sfakQdGk5AHc4uQ7Xxe/1VZ3GU+w6JidFwy3GKrbkpl6JFaOYGKLkVx+ZlF/7WUKIaFF+K5ANrm4ReNnygCyS2osPRwOTDmhOlK32EVA7iPTbFZwwtMHcw588Rec6sl/2+R6QZsOGCZAFF9qLrzNgDRaUEzWzwWt2J999KRxYJEDDtrztzMv29gFxW7FSWkVihVngdxNi/8ei95OlY8xXKuawO2O3Kew9nsFbyZPUM4ddkd+otAH1ReAhWSKULR1rGSErdwXxw+bpvmUm4xvCwzJoFllry0bG90GIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=beZQnJO8EVDQsB6FD+WDIWhawKeQLQfwrszb1xOyP/U=; b=E/Ic775QDm4SewJ5fDHki3Tmbs7zX/ZhlKqu7R95j4mxaqsSB53nBNgPsfzGdNXCCv/5YVTyEHLNCoBGVTdM+g9MYZY4vDiwkOSzUjK4u+2mEasTXs6N1Fn206B1GVwB5DsQG9PB+PTV6P3Y698SDZv04DVJNK/IV2mzzMvZ4bGw/x0evQN0T3I89FTQHL27rKhff904z7iI1WtHDPdjR2VsiFlO23buAjyJAhDn52E6K9vXw5H3I+Lx0BOoZMG++DudNufBM1/pAZOWf/duad5Cl66czpeQgGaGHIHAU0KVOkMGj980xsg7DUFoW+LmWAZilDBOCRdMeJGBGQkiTQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 211.20.1.79) smtp.rcpttodomain=stwcx.xyz smtp.mailfrom=wiwynn.com; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine header.from=wiwynn.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wiwynn.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=beZQnJO8EVDQsB6FD+WDIWhawKeQLQfwrszb1xOyP/U=; b=0gJrfaVznUaL2unyaICQj2ivvj9UdxYVZe0EVtrgSrNxnbssFde+nzqg27qlOmaGwpc/mIoChXx6ISVbtx9/DHOG5A2Fr/7mDNBe/oJk7qoQSbg/WbRmn4he44JTtSGAoYhmPQOUdoEWnE03MDTBahxw9XhSZs4MG9j+29x4FSTtpzvz0Eywt7IcTedSkgj30aAt/N7jU4Js/DIhj5LOSy8vvFnIO2RjMKC1C+YXdUaoXJYFbGA18b16G2RCFfEJeF0oYCO6HRQZAgSzlfZcRQvV5NbTZdjavIUiAQZWfvtSvegl2TggkVsKZcyb9/xVPuOiU+D5C+6vZ/i0BfI/BA== Received: from SG2P153CA0022.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::9) by SI2PR04MB5646.apcprd04.prod.outlook.com (2603:1096:4:1a2::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.32; Wed, 31 Jan 2024 08:42:32 +0000 Received: from HK2PEPF00006FB2.apcprd02.prod.outlook.com (2603:1096:4:c7:cafe::86) by SG2P153CA0022.outlook.office365.com (2603:1096:4:c7::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.8 via Frontend Transport; Wed, 31 Jan 2024 08:42: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 HK2PEPF00006FB2.mail.protection.outlook.com (10.167.8.8) with Microsoft SMTP Server id 15.20.7228.16 via Frontend Transport; Wed, 31 Jan 2024 08:42:31 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 13/21] ARM: dts: aspeed: yosemite4: Revise adc128d818 adc mode for yosemite4 schematic change Date: Wed, 31 Jan 2024 16:41:24 +0800 Message-Id: <20240131084134.328307-14-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> References: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FB2:EE_|SI2PR04MB5646:EE_ X-MS-Office365-Filtering-Correlation-Id: 3226394c-b3c2-43a0-9b47-08dc223890d7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XFN6uNMlnNL9I9d6A6d4HXFinwwlV1ynnjKg+f6bYgjPRgzaB8mneSAO1C13Ihk62NvQYVJkdMavotD8bDCw5DmV0t7eNiOhP1QBWzjW2DET/1VGGdtWEX0KFCEnL1rnUJcZK2ZU6JZK0bMqjjjWIqOoLgVTn0xyryQ6Lj5puAgDj9e/llmFP4nWfQtPbxS7f6CkETVwPUrps+xKqViK8wjqEct14Ye0CPKJzfi2/KOE0UZMwxAnNhd/uQdv+75BoHh+IV9DbpYYD4IFCNaZW5BVCfjXH8nZgweLTWgh49xldCv8kCntyN+ajFOATKmBirobc2TBkm66x1SRKk2P2EYC0QM/h7V4fIQXIk1SiX0CMGTuo/xddmXoo5EnVObFHMY0B0xEPlfvhEt5ZQhf0hvhY3QSOsFRdFpMYbSi0sj8A0Ly83gHMa5sEIlMvWNq+p7IahWjmVCzgoDr1ldHUzaqKAp1WlP6ou+eDfYTFxipt8DuQC63KcGbczoNsJqoRwsIOYAR6NI+gBuE9opu8pa/C7blaPurWoAn7XBKcLpESeUTT8qED3szE85kOPk92OAu60LHCJO9CsLd15TvNozPwpShPVu2GZYNb7zY0hBIkaYb8wN0/jVOplSOjjjPxPkTig2VU+sGWeN8fqWtMb/R8ICrdjt6DEpKHOpGFxE6JwuP3KLeJ7j1yxvDbgfiIWmTYZQTLi7lqAUpNb5QVw== 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)(39860400002)(136003)(396003)(346002)(230922051799003)(451199024)(1800799012)(186009)(64100799003)(82310400011)(36840700001)(46966006)(478600001)(41300700001)(6486002)(9316004)(2616005)(6506007)(83380400001)(26005)(1076003)(336012)(70206006)(5660300002)(8676002)(4744005)(2906002)(6666004)(7416002)(8936002)(36736006)(316002)(4326008)(956004)(81166007)(82740400003)(36860700001)(356005)(110136005)(70586007)(86362001)(47076005)(36756003)(6512007)(40480700001);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 08:42:31.2392 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3226394c-b3c2-43a0-9b47-08dc223890d7 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: HK2PEPF00006FB2.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SI2PR04MB5646 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240131_004238_679263_09382A3F X-CRM114-Status: GOOD ( 10.50 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Revise adc128d818 adc mode for yosemite4 schematic change Signed-off-by: Delphine CC Chiu --- .../boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts index bb4cba8f057e..4cf4b0ca1024 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1010,19 +1010,19 @@ &i2c14 { adc@1d { compatible = "ti,adc128d818"; reg = <0x1d>; - ti,mode = /bits/ 8 <2>; + ti,mode = /bits/ 8 <1>; }; - adc@35 { + adc@36 { compatible = "ti,adc128d818"; - reg = <0x35>; - ti,mode = /bits/ 8 <2>; + reg = <0x36>; + ti,mode = /bits/ 8 <1>; }; adc@37 { compatible = "ti,adc128d818"; reg = <0x37>; - ti,mode = /bits/ 8 <2>; + ti,mode = /bits/ 8 <1>; }; power-sensor@40 { From patchwork Wed Jan 31 08:41:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13539024 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 90A05C48285 for ; Wed, 31 Jan 2024 09:46:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=P8fyNvMA4fG4EcO601FO0V8y6mVtUBp4Z/iKNWr6JPI=; b=DyK1nMS2C+vhQL ZiuQABuZHtViT0U2NF9soDpgfbTN9dJLUs/4XyIAhG8N2symPiX30zBT3377hPpmwd4XoaMbKl+ft PykhCRsVX7Hta0VPm13pAyRLVT+KnwEx062nhaNLKC2eMuH5jk+WoiTFdbUK7iz9VF3rKZ/6G0Mew MZyohVuoPSJFgtSDOgUQbN5Zwpli1pZu+vRNhMo0UaJx4zJi0yjaXXeK2qfiBFPuL25LDJCD/GH+x MRY5Rd8mKpC5kJpacaG5Jua0KcDa1SA72k5K3WH/1GNJylR6PNpufNEAbrqgpfq/XKHv/KcagXjtB Za63Cp2w2WrMpm0/2aPQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV7B4-00000002YU8-19wS; Wed, 31 Jan 2024 09:46:42 +0000 Received: from mail-sgaapc01on2075.outbound.protection.outlook.com ([40.107.215.75] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6BC-00000002Bka-26Jb for linux-arm-kernel@lists.infradead.org; Wed, 31 Jan 2024 08:42:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZofAvuCg7b+BTypM3Mt44/wHRmzBhVFPiHSPk/dv+k7oCc5zR2XtIWCkhD1i9RZvPgMY/dN1ic8+Y7CLUNrr6IoVvZlTeliaApjgBB0PGnI+/CdIS/lWRkIeDQz1Na7Ntol8C2FeCHPHCjJccHuZP3n8M96zrAKA0o7P0VnXJaJeWRZMLGeKpv0lgv0spju23QALHinthEddPgMWO3cMKOYkbukp1TIdwx9JXvb3vh4NmY848GlUv0UCs+IQ+zn1k/aoLeT2kWi3GOsXBOLl7lxzoeMRNbMz8t1pnGWDi2XFyO5R54FNh7QVjRgzLttjvQaufsubtk2q3Rt1OaD+gQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=0G/0w18p91abLzXYuBsYuPzEWdrZURAnJ260VnL/nkc=; b=mH3YcRTWTmw/vNo75MUhJFp+gQCf2fTqtrJf1TLajLsa4ryg754YGwk8yRqn15YeaCDjpNCiDRbbs9be56ifVjhmlgbMLdayiUVu+ek9r7o5d5hYzU2IKuCy64Cz2bvmCf46fEGZNrI3c1SqoqbB/hRyurlr+ruD9n/y5ntA2xfcLxTv1Xibtv+Qv5j+915KBMLbhIVlLMKTqwW6wSGAsiaJtCgIS1hMAZQ1UAWdPcfS99x+hwXNP4Gv66WJo9Az7mS5YRagq7IBrEnhex9wIMjCarmxyHWzNKvPXfco1GokU5aVbozdmnlhSieHwP2fJ8E9t7ax3XudBoEYCnOIsQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 211.20.1.79) smtp.rcpttodomain=stwcx.xyz smtp.mailfrom=wiwynn.com; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine header.from=wiwynn.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wiwynn.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0G/0w18p91abLzXYuBsYuPzEWdrZURAnJ260VnL/nkc=; b=RWGV4FSjsApb7ZvWmlxL6Wy6AYT6AJQ7k78wWRaBb7E1qDvsnxbCcJfgFLT3HCCX+P3wagSbtSBexq0VZaqDLJw878o9pwF8cqWONzM7VBdek70ah9g+RSPOjFw5PGpCinKdDQKc/y+07d8EIVZj7R8ZsxNDSmduwz6xK7cQUyXNVTX6Ffm4ECENsQCHQOi3vxM0uH0bLfOe5cEpM9TJ9lf/bUecpIBlrXHjlhVQORxqm3/2rcXQ9FaTjXD5ozqdIxd8PIhRY26+wVdKtaQyPVbk4/8nkEMprrVTtYNufPjT4z7t4noo5Re72y6flhTPELk6KxLFYYt6i8YdMT70Aw== Received: from SG2P153CA0036.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::23) by TYZPR04MB7886.apcprd04.prod.outlook.com (2603:1096:405:b4::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.31; Wed, 31 Jan 2024 08:42:36 +0000 Received: from HK2PEPF00006FB2.apcprd02.prod.outlook.com (2603:1096:4:c7:cafe::d0) by SG2P153CA0036.outlook.office365.com (2603:1096:4:c7::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.9 via Frontend Transport; Wed, 31 Jan 2024 08:42:36 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK2PEPF00006FB2.mail.protection.outlook.com (10.167.8.8) with Microsoft SMTP Server id 15.20.7228.16 via Frontend Transport; Wed, 31 Jan 2024 08:42: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 v5 14/21] ARM: dts: aspeed: yosemite4: Revise ina233 config for yosemite4 schematic change Date: Wed, 31 Jan 2024 16:41:25 +0800 Message-Id: <20240131084134.328307-15-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> References: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FB2:EE_|TYZPR04MB7886:EE_ X-MS-Office365-Filtering-Correlation-Id: 67c9fd02-144c-4cb3-f5c7-08dc22389358 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1fLf9o0RYHVjcw10Nwa63AUJfoYrHeThuG22qzm4QB7k0XxDHehmjb3w0NPsycIR47wyiYTCCLJL6Nv0kXdDgB/siECw2RQO/PQMza+cdfX6UiyDjbcnFoiIX2JDwG1I39ElCwDUzreefYGVWGSX79mMWOJrVG7/qYhKsYM/gguEkTEyLBzka1B7rQcHffFxoch21FFzk2feH8eJsJPgme5W+Ly2vpt9UmqvbkoF/cRTCasSjWYIPQPOEHLcG8pf4BBSQYYgolRBH3+LEX2Nq/bx7xNg1iFoIQETkmzS9FYMjqS0CT2K/Xv4XVIftGGl4TC2nltomgGdbySoyCiBG7iIQATPBwX9uPSenIfTm29FpdgjFSJ4gQzHSQmaFaT2n693YSjztu3M9OIc8VDXCopvYWrIzual8UATwVEhKYkSGyOQ5LlGI0browgQkEV6KnKEfNctj96xf3ucX21mXNEGzjjx0ljO8KcqEbnbTb3Lb0RdXWy719bzf03bV1eDtXnDarxypBN1ZequS3OkZkVhS5T7l0KM7rFROrZ8GoCB/Sp27ny8NR2zYT1ZzPFTCk2YqObRxpXRnJ6vvUK3NFerjGMkH7+F6VuW7M/fAfYxFZAfgpS5GzaNos3ZXjSI5XZuhimFJne05vNcDAwTVlCePrEmvdRpLyLDWrWkid2HDQmKFzqVzp9gwTheeD4totDLEcq3tTxDF7YVmGU3Sw== 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)(39850400004)(136003)(396003)(346002)(376002)(230922051799003)(451199024)(64100799003)(82310400011)(1800799012)(186009)(36840700001)(46966006)(7416002)(5660300002)(9316004)(2906002)(41300700001)(36756003)(6666004)(6486002)(70206006)(36736006)(83380400001)(70586007)(316002)(47076005)(110136005)(86362001)(478600001)(26005)(6512007)(336012)(1076003)(356005)(2616005)(40480700001)(4326008)(8676002)(6506007)(8936002)(956004)(36860700001)(81166007)(82740400003);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 08:42:35.3955 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 67c9fd02-144c-4cb3-f5c7-08dc22389358 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: HK2PEPF00006FB2.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB7886 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240131_004246_594372_49765A21 X-CRM114-Status: UNSURE ( 9.17 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Revise ina233 config for yosemite4 schematic change Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 20 ++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts index 4cf4b0ca1024..f0e93c74003a 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1026,28 +1026,38 @@ adc@37 { }; power-sensor@40 { - compatible = "ti,ina230"; + compatible = "ti,ina233"; reg = <0x40>; + resistor-calibration = /bits/ 16 <0x0a00>; + current-lsb= /bits/ 16 <0x0001>; }; power-sensor@41 { - compatible = "ti,ina230"; + compatible = "ti,ina233"; reg = <0x41>; + resistor-calibration = /bits/ 16 <0x0a00>; + current-lsb= /bits/ 16 <0x0001>; }; power-sensor@42 { - compatible = "ti,ina230"; + compatible = "ti,ina233"; reg = <0x42>; + resistor-calibration = /bits/ 16 <0x0a00>; + current-lsb= /bits/ 16 <0x0001>; }; power-sensor@43 { - compatible = "ti,ina230"; + compatible = "ti,ina233"; reg = <0x43>; + resistor-calibration = /bits/ 16 <0x0a00>; + current-lsb= /bits/ 16 <0x0001>; }; power-sensor@44 { - compatible = "ti,ina230"; + compatible = "ti,ina233"; reg = <0x44>; + resistor-calibration = /bits/ 16 <0x0a00>; + current-lsb= /bits/ 16 <0x0001>; }; temperature-sensor@4e { From patchwork Wed Jan 31 08:41:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13539208 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 E083DC47258 for ; Wed, 31 Jan 2024 11:02: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=SUdhg6aTjxx+zH5B9lbn9ni7WQ3PqV0LnuQpzLJYVV8=; b=xVcSH75BZ7OIKS wcKkUpBgOCAIzIO1Fg4fJbK9lbw18xsHEsBKW8+zcstoT9x3gVSPKPMmGKyyZd7fR5+JKPykGf216 6dRx2ZW7DlXXFnikKii7Ij4+u4AHnYpU9c+SPmQB2mTWdLl01XwScIVEgFoTjFfrm3Wlkup+wgOOf AiUEJkxD0XJUMfDN6wFkdNb61Ton8IEfgfd+T8AEmBFi3FFTyJXOU8vkf8EZWTMfMPK0Znlo1auxC fIUlrkqfU38uIMnZPnV+prCSeEoCqv/72UU+8+ojnhKIHF61EgU4PWUut9cn7PpWTg6PAHVmmbpZV JfF+GUkY+3zTxpsjd10g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV8Lh-00000002weQ-3Mnh; Wed, 31 Jan 2024 11:01:45 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6BI-00000002Bo4-0FE4 for linux-arm-kernel@bombadil.infradead.org; Wed, 31 Jan 2024 08:42:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Content-Transfer-Encoding :MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=LUNtvQ1Eth8qm1pnxm9kajQVaK4SrxDkTRzAWRlpwnI=; b=FI/knSssWiSvIO3/7qk75kft+t QR3MIe0e/j3kA/Dih8RUVjxx6ZLlhhxRAyye2D43lPG6ha3erMnvW4+DpuVOGKb1FKCgYmsJ1+L6z RDH/1tRrRURpFCTnsfc+4OTZ1egdq+eSLRIBPtcYb8pwiOofue5XMYfEEZSmAbjOkG14UekO+XlEA TdnV+6rOzlIbKh2viDUGRI8xeqbIBcHvVx54fUwe9QU9vv7Yb3JqfZUpAulqVb74wDsP3y1HsdgLU xfv3jQyIWGkn3vdHxnjbC7wmMLFt/A1FeVvSyxnIi82ARRBbqs/Q6Tlxhuv8il95GzqiNVN7bdJI3 0ZcnRJ4g==; Received: from mail-tyzapc01on20600.outbound.protection.outlook.com ([2a01:111:f403:2011::600] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6BE-00000008puS-349M for linux-arm-kernel@lists.infradead.org; Wed, 31 Jan 2024 08:42:50 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DBUbA8aJScJqW9M/MTRaNOcpeRFeZWJy80LTx2h0cAhH4r9Xhyl50otMbTq8p2Td4byzmX5vuo7SSn8wVUb98upoEalJEvW7me0Ubahgb4TYixUVzOoqMc9TOCfS0L4M6GhdO9dKHjLWF4zYFQTvl4m1H93IfQQVHj7W57X2dvtufuoxhzMCv93CGmATOkZJv/f1kRf+i7ja4BKX6ywh8SYUPgZvFtaTFvBuOIVpRlcSmXvPn0u++8Gg3SZVrEV2oJ5X3dbqeZ5DYAMZEskLGEJy6Hhk4o29QFMssXMvwA4l5fJWbA5mmULXzfFS+s5pM8UoOOGpXOyWGfZ0aK4YQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=LUNtvQ1Eth8qm1pnxm9kajQVaK4SrxDkTRzAWRlpwnI=; b=S4koOe94dmj0rBeXHsc7EKHkcy5Jbsl9HyabK+FJ7aPshr3/pjN9Abp82ZrGVuET60Gna3/aypAjak2bf2VNoW01ZtHOZdpQLDiHEJaQR/8BgEu89MGzfiva6/V78rFlQzTj4tn2tEtiLAYCUBrQCU8miUTus2ekKDU88Tighny0YrKIORsfHe5OWTjiu8WytJGgoHBErPgdoC5yadjEHSWD4RL5jlINHqX2UKXUHfRur8Tm/hyOxZiEv9D+dyqJwaWIz978nebxQ6KqvMmz5DTP/wdaQCr4yVq5mzQ8CnFQ0jJythcxGoBCaLyEOlq7MMah+Z25ebn3UX41zifC+A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 211.20.1.79) smtp.rcpttodomain=stwcx.xyz smtp.mailfrom=wiwynn.com; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine header.from=wiwynn.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wiwynn.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LUNtvQ1Eth8qm1pnxm9kajQVaK4SrxDkTRzAWRlpwnI=; b=Z5fxiQsquainld2hX5JE4B5XUUlU8Ld7gPMcRH4o8kUmsDvIiUCCGVdSGcwSyq3g+8ok2P4QHktzwy7JZqgMUDgVmj6At3ceaS2zCfmxcfiPa/S2Wj6OGLRT6tW58uJK6fkjSir9Na7ErorK342YcpIDt+smqvYHSSK9+B7TW2RT/jcQerch7JsmLvgOpT0wqmDm7YA+a+7cMLeZ1joEs/ztim9pAWztd5G+pjk5VpTEV/BImPsP5G5y5UFoiRIBCPiLuDyR+MoqkQxQmjUWtAD4TOk+pYK1c3bU/kJ88heqImH2qY/QbyjVMQdJHCFtHTAVc3o2LviL/usgDn12dA== Received: from SG2P153CA0036.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::23) by KL1PR04MB6832.apcprd04.prod.outlook.com (2603:1096:820:d1::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.34; Wed, 31 Jan 2024 08:42:41 +0000 Received: from HK2PEPF00006FB2.apcprd02.prod.outlook.com (2603:1096:4:c7:cafe::7) by SG2P153CA0036.outlook.office365.com (2603:1096:4:c7::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.9 via Frontend Transport; Wed, 31 Jan 2024 08:42: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 HK2PEPF00006FB2.mail.protection.outlook.com (10.167.8.8) with Microsoft SMTP Server id 15.20.7228.16 via Frontend Transport; Wed, 31 Jan 2024 08:42:40 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 15/21] ARM: dts: aspeed: yosemite4: Remove idle state setting for yosemite4 NIC connection Date: Wed, 31 Jan 2024 16:41:26 +0800 Message-Id: <20240131084134.328307-16-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> References: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FB2:EE_|KL1PR04MB6832:EE_ X-MS-Office365-Filtering-Correlation-Id: 7bacad78-94ee-4369-ea0a-08dc22389634 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: hMePLNBlZ8XKjHywBostY/W9D8NRPoCms9QXVtvlZLtD3Vk92Hi/CZV0VtGOLc+aVvwWV48OYkKU1xDDgP14EzwxmKHVhsP3IEBaofuTyjlU8o0D/wfv7+o8lDTEZz1KNsoig6qIXDXL3/+KBZctZOiPdV7ILGy0bNnkVjKd7RzskCXTdd4ZYzQdyRcEdqA8qZinX2BxZ1hU22Je/pa/qQEYRMSqhuXznUgMadjVF95l354ht4kfjaoS04PmvN0Ne24JDNAkpPc45ESBnb4Xp4EOv8SN5LUj+oAJAjaqyL6Q50Pn0bsDM8pj7+XEQ+G89HmYMiuusACKT4bYxWfEdX7Wa5WAnXk1jGdCeyoVsX3zDS8gpehddLTTawAUra/LTQQzQ9ATshQaHpkaNZmYRAcYsu56G8l+j6jOsTbW8vN8TxI/+E/+3gP9ntqLfmCOjaAUF6sSdaklLKMbForlDLMYd6CehHewXWfhMfpkjg++UOrA6iC1OjdiX43vSAuPVpMla4BSChEfxXXOBIhQvG85e0uC4VuI2fp7TU0iRnkpg8FFqwKb6/JWd5Zbjq+2KlN0hZks3Hh087tYsA3KhiC4ECuAgYxzdq0/pxXOi3mjRnvdUqea92fLiB2LncvxISA+gn2Vqy4SmPIHGLgZQnS72D/GzpM/4qbdvR9YP5dHNWnYSU5ijDvoH4CkUbateFw7zdKGEj2KcdgD3VedgQ== 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)(82310400011)(186009)(1800799012)(451199024)(36840700001)(46966006)(86362001)(26005)(2906002)(81166007)(9316004)(36756003)(41300700001)(4744005)(356005)(40480700001)(110136005)(336012)(70586007)(83380400001)(8936002)(36860700001)(8676002)(70206006)(316002)(6512007)(36736006)(6486002)(6506007)(47076005)(1076003)(478600001)(6666004)(2616005)(956004)(82740400003)(7416002)(5660300002)(4326008);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 08:42:40.1924 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7bacad78-94ee-4369-ea0a-08dc22389634 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: HK2PEPF00006FB2.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR04MB6832 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240131_084248_927573_F3226AC4 X-CRM114-Status: UNSURE ( 9.43 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Remove idle state setting for yosemite4 NIC connection Signed-off-by: Delphine CC Chiu --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts index f0e93c74003a..6d5710e5753c 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1227,7 +1227,6 @@ mctp@10 { i2c-mux@72 { compatible = "nxp,pca9544"; - i2c-mux-idle-disconnect; reg = <0x72>; imux24: i2c@0 { From patchwork Wed Jan 31 08:41:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13539297 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 E417AC4828D for ; Wed, 31 Jan 2024 11:32:02 +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=fYDbLdLrXGQjx8Lxg4s+EOaZtqJ1/2AHtohV8hXqWcI=; b=g03Q2l72w8TiW0 KnFD8EwHQQ5KOYNQWsZoX/0loWWLp7TxV5mNS8J4wd7OhLsEayU6HuSY+vblIDj+lOuTcbC+96K6M V+YzxxSTOs8n9kcr1bJKNnfOBWiDMHc6r+kih+OIyDfw5HwIsmo/3uWnBB1/klodl2lXUH+RBmf1L rUI38615DJtjdfgqAwBGs+AxL1H8/VMxRg1O8aUeBCRmtmY0jMP/zsE50v9aLde6JzpP1Da+7Rynd Q8WsSPxFTqUXlpvG7jpJA/xFpDkIRlf0V2W/TfT1tIELWKJPAGYEcWrwUjd6+tEicE92jIZ1gvhFQ 0q+nyzrsuj9BNtRLeITA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV8op-0000000371a-0MOe; Wed, 31 Jan 2024 11:31:51 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6jC-00000002Oqm-2bbm for linux-arm-kernel@bombadil.infradead.org; Wed, 31 Jan 2024 09:17:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Content-Transfer-Encoding :MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=VOMueDJJIgwj38qzOiLlcwloqWFXMc1YNGi3D52Uzdk=; b=ihfoz7lifJXJ9fza6JJ+XCX3Ft zArfRfDHGrxguH6dq8B/bHQnFKpuNaQ2DkYjJjd1jPc8bWSIez5erHFXjpIKDn6NFroW+UTpP21UY +aMwt5Mtae72ViyQfN3yLJf+aoQ6SsmyCjlrGg0FQLEZ5/LEgkiUxRU9tBDwxO7Cil2DrEvvxTkkh cPh0hKfhU2jRgqG6J9Sce6Nlxp25JsasKzwELb7+1eLRXsBWrZOoUw5OopGMo/5Px+kS6pGwy2995 hWTEu7AWJN/5UmzGykZz5Hbc7HjfPiAWLEqr9gsfteqfRcB8QjZBSqFPcVpoZAxBLHql0nPaGhPsf emHAvcsg==; Received: from mail-sgaapc01on20605.outbound.protection.outlook.com ([2a01:111:f400:feab::605] helo=APC01-SG2-obe.outbound.protection.outlook.com) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6ix-00000008u44-2AjW for linux-arm-kernel@lists.infradead.org; Wed, 31 Jan 2024 09:17:51 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Lp5UktXftTc3gdCkkvw3uDLIrxARoM+ypT1s6aosjn62djzkHAwPU1i4yY2KsI4cJ7OBWEgoYPQWI7dn6qTH8eVT9CAfWn8560GWERFP942giYUAa2W5weaJR444HjCSNg4ARMWigVDfv16TMlp8XLJ4KTitff3trl2jdaiHNKevFG4V53tR/yXzr6XPZOA7WA1MUlRghH3zVSSzMC5XN5X3W5FXXJ3iOhtIteyz4Q4V1yK0qwJroTEQBYh59MF5qD37sOYEMpF9L8taQVAjo2ks5Brbrhcp3lbSCDVZTYBcWverTh2rvvoCR/8L2FegbwtVCMrsgeq9MGDHkci0IA== 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=VOMueDJJIgwj38qzOiLlcwloqWFXMc1YNGi3D52Uzdk=; b=CveFgOvrub8LzXHgT08y0Pagn11B6upgrhj17kwv4ckRDRn75leJTXISqy5ylFHRdXOdzAJBjWJSSMCpng6N+TGoH1hc/4c2F231xLdeWvkIBfojfMK+grcP9ZqK2UmzGMyJt0yYaRUGkPDwUAidK75YAFgFq6tFPJYD1CJFlstaSeSXZpZ2daG4pnop0Gm93WqD4ZcQ2PfJkvfoqu/qDZh6Db48gt+2Zql3DsOGQxOhfNIh2FDaRnl36ANPgiwTmGY9Jbhp8YgoR/EzZJVGblCe8cwVJYa58A2tlOpjWDqTl2OZ+aDTpMXY97pkmg+LRB76EPus0jjwKmJqcpWl1w== 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=VOMueDJJIgwj38qzOiLlcwloqWFXMc1YNGi3D52Uzdk=; b=yRjrGjaT1+KnjqCy1PbQqkxvcr4K7TSQTuyVRjKDmlzVcBDmbmsAOVDthSox2rM8jDl7Snf/fvCPMXyP6WP9jguC9UOGBuK/tTUN0aJRqvUnWzauAYCy2fpPxEr2ip/AyFQVtEJZmRQYUV7gy0ukmt22uyN0/qlwlG8LmW7FDbaUsVcFHfPo20vFWIU3RkXaUWSMI6wRmEkR31g6jZ2JF6+DZbq7UsgdQnifOzMBJ9bYa+GNGnqxqQNy9fM/puLcCPHamKXbmhAcp5aP/eXF4E1yraEMpjQaxwMpgE/h1lccyRvdXBgHUrebrF3otxPqPl0BYQ+F+2EoezYPdLpaqw== Received: from SG2P153CA0020.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::7) by JH0PR04MB7962.apcprd04.prod.outlook.com (2603:1096:990:97::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.34; Wed, 31 Jan 2024 08:42:45 +0000 Received: from HK2PEPF00006FB2.apcprd02.prod.outlook.com (2603:1096:4:c7:cafe::4b) by SG2P153CA0020.outlook.office365.com (2603:1096:4:c7::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.8 via Frontend Transport; Wed, 31 Jan 2024 08:42:45 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK2PEPF00006FB2.mail.protection.outlook.com (10.167.8.8) with Microsoft SMTP Server id 15.20.7228.16 via Frontend Transport; Wed, 31 Jan 2024 08:42:44 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 16/21] ARM: dts: aspeed: yosemite4: Initialize bmc gpio state Date: Wed, 31 Jan 2024 16:41:27 +0800 Message-Id: <20240131084134.328307-17-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> References: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FB2:EE_|JH0PR04MB7962:EE_ X-MS-Office365-Filtering-Correlation-Id: 7dbcb019-92ad-4c91-4641-08dc22389897 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +h0DFgJdBUrhfqdJvnqS9ujbYkxWMCKeVlU6mUjTKe/0mswSQhHAFxOFkMGtud8JL3aV+vx+UDP/rQySV/LOHvRAxfoDls1dgI72lBLTS6SXmkZBL4CP7tvPJKpRbU8U/hoOOKNzrov3/aO47jsoENW2bhoqZ1xIVghR6LeWBCQ6qoloyOndQU1Mz1JdAMGJxhSuuFkHyYJX1n0gs5XSQKGjpFHwX6TdJS2fO3eByEXQ2davZwzdH4Fse95cClFUly3+VEXPTpG2+kQluoGNADuSDONjIRlWCWm5bmUUcixkOosyDTsaDbBic8+zw+KqjDoygEAQJXDcnBMVTxcAUpESutOhspXi3vtxLc3E4tKfdIQLeP5LYANXXiIrrNJtNqI/K4mFBdYz/S/52fDS6/CL67GKKDSL73Am+Ng3lHzN2409cNwgT2pxkk1Gb5WiXWaJF+EiX745/zIzNZfiG2bL5s+eUWnlxgyCj4SCDRduyaq6CBF4+cOtR81otLH3+3vwaANxf5AjHoJb2Iku/pE6+I/ARSN+cI6ys7P+tvN97oPWL8+RwgcKg+QXM0sagql1bXJbpKkxvvxD0mUteV1WDS5UXRTtEEC36m1JR3bjzrJYHdIynzr0+tcf5oNSgkrrS/it4AGSAn9jLgnvZnZmn5aca/Fv+HFAAK916eVYaPjQePJ5LPiMKW8mnc/E0Zhel5BiSTiJGhPP/9Cp1A== 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)(136003)(396003)(376002)(346002)(230922051799003)(451199024)(186009)(64100799003)(82310400011)(1800799012)(36840700001)(46966006)(9316004)(316002)(4326008)(8676002)(86362001)(5660300002)(2906002)(7416002)(8936002)(110136005)(36736006)(70586007)(70206006)(36756003)(83380400001)(6486002)(82740400003)(6506007)(36860700001)(47076005)(356005)(81166007)(6666004)(6512007)(478600001)(956004)(1076003)(2616005)(26005)(336012)(41300700001)(40480700001);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 08:42:44.2237 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7dbcb019-92ad-4c91-4641-08dc22389897 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: HK2PEPF00006FB2.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: JH0PR04MB7962 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240131_091746_145542_E76948A4 X-CRM114-Status: UNSURE ( 9.49 ) 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 6d5710e5753c..bce739f2a081 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 Wed Jan 31 08:41:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13539027 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 1EAA2C48285 for ; Wed, 31 Jan 2024 09:47: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=X9sMT3ly5ZDPb8EuuHAbfCmg77/a5Zl1bLal8Erc71s=; b=rb235cCE6rnwX3 hRKH6H5TLgzdUNUr8avZ1ovYqwm3hJ3ZxhZHYCprVYx4GZ5wfy0lg9M7quDWMhRPwmyVh+1fTSer+ kiQFDnESVPJylEZBe0ydCzZCoyZdJQIijqUQh9cx59VMfsXxQkumFBFt+fuKZ5pfkEpV41Xxqbo/j OVvt3R5PZQQ0ebejHgShvx1LyoUcrolH8piV5AymdH7BjppRO7KBrZPbMleErM1YSTt99K0FP8njQ y95prkQ2xCsl/+orfhe9x4u3DnU5mo2CjTLvowBQlajQWW5ctSBZ/hy4yvhDp1C89AyJAbY2JboAb R1w7+BxBiedlKJ8H42Uw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV7B8-00000002YYV-2Or0; Wed, 31 Jan 2024 09:46:46 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6BX-00000002BuM-3lVX for linux-arm-kernel@bombadil.infradead.org; Wed, 31 Jan 2024 08:43:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Content-Transfer-Encoding :MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=A7TGzZaT4IGiRau+OMtguKj9VNC7x7C8nzhapjKeiOk=; b=jo/LTNqST7Qfn6v4wAaQ3yn3Sj gdCd7m0EVIQ2QVzuKGY0SVkCg/FyaABAL/snX5+cDR79v8K2etrAlIgU7+KYH/UpFzNxo4vqIWQcb mXRObM9QEtk1X0RHP5suxmuXd923fBvs5sz4gianBGnmY90WE16d8BdmTnzBXIGt2avQdAG2404hQ VqgAyvw/jwBQGBWRglDkJkpx2joD4GdReprGi/NvPHs7ho3LT2abbNbq+lY1FggCFttDFbAqNWATs aiiLUWMH8GZpdJxeCFbMkGwH2zjfKBa1igI22h5jgpvFEXxoKk9WCOisHZd76pXH/M9KDlO4W1Qa3 +jkg+6lw==; Received: from mail-psaapc01on2060f.outbound.protection.outlook.com ([2a01:111:f400:feae::60f] helo=APC01-PSA-obe.outbound.protection.outlook.com) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6BU-00000008px9-3gic for linux-arm-kernel@lists.infradead.org; Wed, 31 Jan 2024 08:43:06 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WYbpnJLI+mkV8/fJNzpPs6LHlNX92hLRATdPG+dpZ3yYMoZYisJ5bEKINz5Mdt+0G9vdlWLp5FzdiIbtZdsmqseTQ84OKyDcr6CVAPqfEVNTT7kxz0MeeTNjKKvxzWjJj+ET+YNZ7NZqT8qNqgYZAh1mL12Q0u0JcDyRtBfSp6nwPYlVyvt+bB9ntHBmzOEnX0yuqp69SuzLdHKV7gr0QhdTAorZMkRE6En8Px92nV+l44JsXIjYtwhU8wp7Gxsk+hVh7MAZcOMr1sw/po2oJezO4SL1OUnFegaIYUgD7dlVG2UVPjSebcUfHaOUY73+oCC4Nt0DYPBjP87gQ9Dbpw== 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=A7TGzZaT4IGiRau+OMtguKj9VNC7x7C8nzhapjKeiOk=; b=X15OxKohVdn+Nik2ipzE3hlIxxRR6HXpiMci1j01XGKnGVYuRY5q5WSsaxyB0KKw0ujXreBLtjMJZx7tN/o4iouHinBLUwJE6UYXk+10Z7gSeupgjb6nZoHW1pMpdhfUgTG1wVqjED5OJqXlCqE6XbW89WULR+AgWjAkm5OCn535wkiVFLSz/4wPgi0PzTj5C1GT7Vi3wD3YeqCUGJeJPILjaIe/7PeGof0uLWo1/hoCdqkiBzrhfDqf0WVxTKiuDxRrbLIJasZkFLqnH6NRzZfcrA86Xt0VL2y2J6p5HIdc4fengYGIymZVlM0o3+64DfiZtJnM2hyShEgumDvEoQ== 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=A7TGzZaT4IGiRau+OMtguKj9VNC7x7C8nzhapjKeiOk=; b=MpZEh1/EsvpyzpFO0l2lLaIolF/eIR6MnLzY8obEN3M1H3Azo7PHWQfQuHqhnpxhuX+vsn7rrhKhGNKWIbVqWbgf3FlZL7NNXFmes0OBhCXvtfD7IhpXg4aiRMAsbOt8FRObucS36LerCvuruvz3zGTfEjGBRiqjAb1t8ZRAh4ETYOIsCS8YafKomQcNu4ePjJv4zSGymxVCNgtHiG9oQf63ucu8z5jcpttO54nEsUjrdKdhw0iJxt73o7Ak68MyBeVoKHgVULe/f53DIIbNBdmzkOHp6AyDKonUn5kDsICgNYi41bqDjvP7G3PV40EiIrMhspbhZdMzylUXIhZyCA== Received: from SG2P153CA0030.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::17) by KL1PR04MB7435.apcprd04.prod.outlook.com (2603:1096:820:f4::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.34; Wed, 31 Jan 2024 08:42:49 +0000 Received: from HK2PEPF00006FB2.apcprd02.prod.outlook.com (2603:1096:4:c7:cafe::6f) by SG2P153CA0030.outlook.office365.com (2603:1096:4:c7::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.8 via Frontend Transport; Wed, 31 Jan 2024 08:42:49 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK2PEPF00006FB2.mail.protection.outlook.com (10.167.8.8) with Microsoft SMTP Server id 15.20.7228.16 via Frontend Transport; Wed, 31 Jan 2024 08:42:48 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 17/21] ARM: dts: aspeed: yosemite4: Revise mx31790 fan tach config Date: Wed, 31 Jan 2024 16:41:28 +0800 Message-Id: <20240131084134.328307-18-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> References: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FB2:EE_|KL1PR04MB7435:EE_ X-MS-Office365-Filtering-Correlation-Id: ffb33155-2ff2-4f13-ca72-08dc22389ae1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cZBovZBhA1NzE65fwUz8xfjs1+ydZH7g2PAsmZBiF72Xajz2VnskPkia8AvCQTKtbJX+EHlur/LFgDYVMVAtBNI7Gq+4oepM5vl7+eW4HHlLgdEggsKgCPFCzF/oR4eJjCqKt0WuxyW9UgJSQNCRWrBc4ZNgaQTPpeLJ/sH9NBskDPH4a68c+VuZNVtsMZan4rIYMEX/Ghe0gHcflkui0917sdi1jUt2osqYr1gr3c+hmjLJfzSPKWZEfv2T9RPn99UTlXqOqMbMXksFZ1HoRHU6jEWNzp7nlXSjaoT6FPfNo1AXTF6CA9LLMNqIEUtX93ngLgEPiHvcpjhToKN5Ed+5ZTskPmyXTjdxyf4KHHWetaJ9GGJ0SQEswUqReejQ2rfExpXLkX78deE6n8lILJXU4+pqnLBIp3Wwx9ATKIGAGuNsbipBI44UhLsWEHWbYNGbR5Z9DYP0LAzNStks3gPnrw/X2tqElksmi9wqh2nTXcuqnXe9KOZ2fdyEyRTYJm0QGqrHfLrGhwELbC39l7sVkzXnOWWbguIfzslFkvw+982s5MkDVBKq4eUPatCxODottE8MJTCs7kzSsjZNpeJsoUZX6OmOAj08aBXGGF2KiPtvzN5tKhge/xAOGsExzXA99Gn9xC+CtsZaW7dFhEyEe402LXvf4eTuoT6ouQyKDp7UU3tNyyQ4UiPuOAWv8AQeFjaYqFrON/aQNHnT3Q== 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)(64100799003)(82310400011)(186009)(451199024)(1800799012)(46966006)(36840700001)(70206006)(36860700001)(47076005)(36756003)(83380400001)(356005)(82740400003)(478600001)(86362001)(81166007)(41300700001)(70586007)(8676002)(6486002)(110136005)(36736006)(26005)(316002)(7416002)(2616005)(6666004)(6512007)(5660300002)(1076003)(6506007)(336012)(956004)(8936002)(4326008)(2906002)(40480700001)(9316004);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 08:42:48.0988 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ffb33155-2ff2-4f13-ca72-08dc22389ae1 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: HK2PEPF00006FB2.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR04MB7435 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240131_084305_148381_1B9DFFF0 X-CRM114-Status: UNSURE ( 9.91 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Revise 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 bce739f2a081..7c7c9e85bb92 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 Wed Jan 31 08:41:29 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: 13539396 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 151B8C47DB3 for ; Wed, 31 Jan 2024 12:16:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=NMKViqP62BhLOD9YZYPoYeHNYAQimvLDryINcIEXrdg=; b=Npo7eAtyg4fgzg 8zUzpu44mZlOSzpR2CRcg3bIhtNqxabeGCrTnfV/EhIxCrNoj2Utfs+k8mz8AjouvDwXpKqIl+CtL AjIFd6AlLDC5yaRCEgSMc3fix1Jn0Xt8gUz7pXNtBQNl+BPlHbVDnR/L/R4WrHaFnhypG4Z1igKZX SvLcm5mLPQje3lIMuvn5NL7ssYNJ1VRsufQz76CvBCxT1ZPNARDdc6rZZMlFh8UKlQgoykoZkQ3eb FKIv4EgHJcUiHnvc7FIJ1n2bkplnP9f013qkTNCbiuxMYGKOxrN3S9vvwDq3qb0MJj5i2HV2ONQw0 o8iIavPhw4Lj9FEq8e0A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV9WB-00000003IaD-47DK; Wed, 31 Jan 2024 12:16:39 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6BS-00000002Bsf-2zwW for linux-arm-kernel@bombadil.infradead.org; Wed, 31 Jan 2024 08:43:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Content-Transfer-Encoding :MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=DumxQ+D8dlwSG1bj+6vH9T7UFgzWxQzXTIKRiX+pbqk=; b=a0AN91nuFvKu18sYz6XNBRyiPE j/LM3g+w9LdoJwoWPDOInHT4Yyv3kgdhKMeQDqBnqcgkaJYEJuvm0Q60bdR4k7UgQJnGgYpA72yaN 7u6lKQHi1Q2J+xfrAWqF5DhhX/OM86vwWd5zUQrw0xPZ/gHnZNjBHSrOW5Se+lwaQD77eFTRRlBMA 16yCb2YIbZ9ts6KFKjMmiuTupclMCBP6yt5EylXFR+tKNGm9HvlpQ+vYO5yCX0aIc+Wq7+4RESwUN cudOKosjYNyUBnBzeIQRH3vkSqFi/uygG3cyEV7MiwTnWYqU+UKp3p51MgT5sqZbGRyONBrD+oog+ QPdb6nMA==; Received: from mail-tyzapc01on20600.outbound.protection.outlook.com ([2a01:111:f403:2011::600] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6BO-00000008pw9-2lCb for linux-arm-kernel@lists.infradead.org; Wed, 31 Jan 2024 08:43:01 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jL7+SgZUN6R/ASGLSzUJFUOJ5bSTiUd5O4aa09TDk1QMshhNFMIFW4sLbiuxYhJ9MXBArMqIL0ZN54Q5VMp73WxXVsk69xHtb0Lvvdg0ydtchdwy5Lck8MlZLyBdVJjrd3y1FRB3v6w9Lw4CiP5cX+u/WOZWXWZSbU2mEgCgdsN3R3X92TkS0UzpBHMQLvF6/WfxCHkZgRF4/d9hyvkzodkMLECAM2/ltBinnMhlwJN8tCv69esNey9agWHXkOZKNfojqv6V9o4wi84FJmwrY7hLCkV2PSSJFsJGeFoyBmjuYS7L306LA7MC+mJCQgmrlMZ2H1zlPwmAy2Y2PzUXlQ== 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=DumxQ+D8dlwSG1bj+6vH9T7UFgzWxQzXTIKRiX+pbqk=; b=KvAjB6KmadyUNPIM/z8eKr80stU+KWhYhpML7hWXBZEB9K14lqpa1hBJnw247jUU+c/olx8FuPXDvupJz5Uq7yGv81u7Z8jc3thP/QHpUlIEZEjDu9KhZH03pw7kD/svvU5Ea7Cb0HdDp3OQgEyFyPmlJ/zL1ZUfF4dKufKNt63Sq9RGYCC+GbFU+Qoq2J8HLtpsM+l7FhbBxBmvIC/w1mR2g9YJT8at8ojX/SwfkCpEG0zk+mXz/v+R+d2+w+01xSJPpBYKwJlzyksafnny3nA8HUUQFDg+C3Tm98LTqOApmBoittRmYlfsDw7QPhChmWRF5H8Spn2moizBMe0E9g== 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=DumxQ+D8dlwSG1bj+6vH9T7UFgzWxQzXTIKRiX+pbqk=; b=UxwnNSSNld1vGISPFb3DYXYcOLDYYBikC1oJY40g1q2mg+EsMrbSiqx7f3g83XGFHxr0vH6hVItfRA2uW0OJ+fSQusWICv8d4ydHmehsiFFf9PMvumCQbB8tw2BGIaF1pJJqviZck7nZV1ersGI/yy3J/fkHeQbI3f0+8MPrCGDvK/XC09GtrELI9ug7TV/uujr3Xctr7jMczuC13Ev/vNz/Y4Kn+cLWeMKgqej52avmAp9or0d5x1jYMJ1CUMM1H/elAIe9a9F77CUPYgJqYfD0GaimlEqjW7niyG4qY+67fAJuCta5BUSUwXv/AdbvTWKUHtwHfitbzuPyMmYzSg== Received: from SG2P153CA0033.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::20) by KL1PR04MB7345.apcprd04.prod.outlook.com (2603:1096:820:10d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.34; Wed, 31 Jan 2024 08:42:52 +0000 Received: from HK2PEPF00006FB2.apcprd02.prod.outlook.com (2603:1096:4:c7:cafe::9b) by SG2P153CA0033.outlook.office365.com (2603:1096:4:c7::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.8 via Frontend Transport; Wed, 31 Jan 2024 08:42:52 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK2PEPF00006FB2.mail.protection.outlook.com (10.167.8.8) with Microsoft SMTP Server id 15.20.7228.16 via Frontend Transport; Wed, 31 Jan 2024 08:42:51 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 18/21] ARM: dts: aspeed: yosemite4: add mctp config for NIC Date: Wed, 31 Jan 2024 16:41:29 +0800 Message-Id: <20240131084134.328307-19-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> References: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FB2:EE_|KL1PR04MB7345:EE_ X-MS-Office365-Filtering-Correlation-Id: ca4d0ace-f93e-445e-0327-08dc22389ce0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Ik7RDYGEHzYp+hUOgCKjRxp/A4AGoOGUVFl30sTql7OFEvTfPjupplK246fJSD+/ZFg3Qg6ow3ayZ7UL5QG9gV56LLq3RrAhNxF1gtRF+iL9qOaU8kIzGuR4Lz0n8MiDYm6245Ji2GTAOS4drMTP0F0O19fjYT3P7YiOBNCrvtJYs8uy7yrWLJV9csFgVh/bLO4rQS9ppb+SZdrtk1RBIZ+fkzg1pviovLIuXJ/YhaMhIhHj/8RDmfH9sm5taWv1Df9mQCX9tbBhvfCL9szL8800Frmk5eIjZ6mA3xWHxJTMf63mSWXSp/qW8NM869eQ+d1Ke+foNnc1nXzfRJ6bB6Rthuc46naJ9XWXYSmBuZvSEy1z03e+WU0p0ENtchQjs6AhyqzlmC/iMgW76PbyIJ5H5b+64L12aQFbhJejkFfTwcW/kD5inwlmysFSh2sY/ngw8IAy37DnaRJARapyB4hwAlwfs2PmkEvS0BLsyV+wp1jUGJslHfa+kA8kxtHbLo2q+PBxD8n/vCbTx/Bjt9nT6Wj+943QplUxZEboSXguWrbfik0KguMEhuUSVAMcUKuVWdhgtZSrsUCYPsjIzxwtOMPcnGwhsU6LtqAvJbqGyDd7V64mQMmZ7V8HQxP3BLTWpwWuodUB6XxsitU0W4Fsjbf+1KLt+J3rhokGAfLGmzD+ZosDbNq2sRqgn1nMhYgE+RRRbfylD4IZJqQzQg== 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)(346002)(39860400002)(136003)(230922051799003)(82310400011)(64100799003)(186009)(451199024)(1800799012)(46966006)(36840700001)(9316004)(6486002)(110136005)(36736006)(8936002)(2906002)(86362001)(8676002)(7416002)(5660300002)(4326008)(70586007)(70206006)(316002)(81166007)(36860700001)(356005)(36756003)(82740400003)(6506007)(478600001)(47076005)(6512007)(6666004)(2616005)(41300700001)(336012)(956004)(26005)(1076003)(40480700001);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 08:42:51.4425 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ca4d0ace-f93e-445e-0327-08dc22389ce0 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: HK2PEPF00006FB2.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR04MB7345 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240131_084259_867030_9EF1F8BD X-CRM114-Status: UNSURE ( 9.50 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org add 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 7c7c9e85bb92..b9b6fe729cd6 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 Wed Jan 31 08:41:30 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: 13539025 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 2CBBCC47258 for ; Wed, 31 Jan 2024 09:46:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hh1rGKpF8wWBLLZ5un8fHE4PHalDtS4bpDguFp7zD4U=; b=gngEV6vdIqTuE5 tI7Ln7NL8NiAlJTw7uUu3+uYLWnvryKorWGi2xGCwvqljRFP18SEHwSCM7TYHL9bGAp7VRvVXfqqt xXGfMIFyzkQuhOMrDJVub9AIasjyPE001hQviPIkllUBatz/y1kj+6alDoUeATO/QVmFCasgp+uR2 Rv7B0O6UyzJFUG8bxmF27a455Ek57hXqs8PK3eA1BwCMv9HLxrsOGjxv74r3i6S6OJ9cZGO3stDRG W2QM2bQ0qyF8xsap4FwL9+AkhOy10gw9fDeMstpgv51Ght18J8HAoIguqZaXiJFHpcx86l81ZzRYn H6rgUn+VU8y9nNpYZkTA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV7B5-00000002YW9-3TwV; Wed, 31 Jan 2024 09:46:43 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6BX-00000002BuH-1mM6 for linux-arm-kernel@bombadil.infradead.org; Wed, 31 Jan 2024 08:43:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Content-Transfer-Encoding :MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=GIl5U0jZGhlgCCnivIqepmf0FLF2MPJnH3YgbaINBDY=; b=ZIX+Xeq0WpdDkPu8wZu/JG5jSt IKyQCnLv0OZiNI2hZ+lgV7fAhMO+zlBzlfJmP/nK+Lmp1ukz95S9D85VwR6ge2WkolqncdrZZonem EAA391jNIqb5LihK0dmRC19cwHPNU1t+keaUkvsJdfMLmI/3ibu1JMZIgbqXRxJI7ktPO6Cqkz5e0 boWoR92jLD2lPcMR8nib3JSFCzQGWibjc6E9vzcObSnkSNXkivPTOjIrCddyuoRIeH2gHXnbP67lK m2dn1GCXWbTGzZRMUpFjl24s5ScL0zrGlT2M8j6v+K2/pf3yoIZRxml1Xg3m3Y51ihuZAlvchiRXT oXL7tD6w==; Received: from mail-psaapc01on20616.outbound.protection.outlook.com ([2a01:111:f400:feae::616] helo=APC01-PSA-obe.outbound.protection.outlook.com) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6BU-00000008px6-0slL for linux-arm-kernel@lists.infradead.org; Wed, 31 Jan 2024 08:43:06 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lqegRKKcN7Vq1wEgtsMBiioyC8PG8QZvle8ghQouR+0SyG9Y36K12XSf2fuY5Y3h483PkB1DCQxy4tFHjif18wO4I2uSlvLEjkq1z+J8kDjlHTvvcPjmHOeMFv4/vl5KNXRBrD5IDPzN5fs2oA1wfyJTpG6MsKf5PBqogihqIZLzDaofVldgfLzJFLFxROl7oogGjZsRsmc48dzUFpqf/q31ltWDcoRQhNn1EX8Dh8yZJGhDs5IedKSIPLsUus3zSzznRf1Ov2PJ5KSNTfqJ6gic+k3ZJLdnb9a1qUu7/vuTDCpQaV5XHNnWdi0eI9Rl6HncuH6hqErQ+GqNGQbi9Q== 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=GIl5U0jZGhlgCCnivIqepmf0FLF2MPJnH3YgbaINBDY=; b=ioivtbZuD0ow2TBPp7Zbp7itu+cMl4KK3dzqQLqcx/ETTmNcLiSepxODJ29KGkQtEqNZXKm2XCqIGpBYJKwAmKakfRxICStQdISNIVzQNOA0awCZQ+HkhwaZxbR3696Sj4Mio3h0rhyZa0jUEFFCn/3y+kvFFtMHT29l1BiClr10qovwxDKl+FnbdHS9rhl7XYNP/O6vRIjOCwytJKIiWGg+hfWJZDiuMcouDHbhJKIz78yYiEX0xp99z5wHKVK7BfiJO+8l/9wuRd3hOkbAIroyTKxjO80I5TYk2gl2qqFKUrtLjFOYr4AnvpDwiA6DAoOD1zJ4oliVzxXc/H/+bg== 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=GIl5U0jZGhlgCCnivIqepmf0FLF2MPJnH3YgbaINBDY=; b=epqwqo5OMh7+U8WQ9ew5Z7oY3v2WC7VqZqx806vh69zxd81E9diohaQHYxxnquP6c+kL2YkocU9YIm6KwrRsDvaOAjhUW+OzqxWeTxJ94JF/1OiyarvA43yv0Sb4B23b2SqGpP/42pEM5T56W1yjoxaUnyh/eE4vPXASHzj0S1s4h5yQGk9CIvlClruJDwCK6oECwGlfigk7Hidn3zOF+h4YJTSv0sse82Z20uov2HHAm/Q9m3ZDoXj4liE2Sg3So6E7Y0zBKjWUgkqs/viF/rECVesAsiDWCcMngYKASnzPWumZiNHrJW4CKablmbB0Kv0Oky40fzckWZO5hfoOuQ== Received: from SG2P153CA0022.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::9) by KL1PR04MB6925.apcprd04.prod.outlook.com (2603:1096:820:ca::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.23; Wed, 31 Jan 2024 08:42:56 +0000 Received: from HK2PEPF00006FB2.apcprd02.prod.outlook.com (2603:1096:4:c7:cafe::b5) by SG2P153CA0022.outlook.office365.com (2603:1096:4:c7::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.8 via Frontend Transport; Wed, 31 Jan 2024 08:42:55 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK2PEPF00006FB2.mail.protection.outlook.com (10.167.8.8) with Microsoft SMTP Server id 15.20.7228.16 via Frontend Transport; Wed, 31 Jan 2024 08:42:54 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 19/21] ARM: dts: aspeed: yosemite4: support mux to cpld Date: Wed, 31 Jan 2024 16:41:30 +0800 Message-Id: <20240131084134.328307-20-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> References: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FB2:EE_|KL1PR04MB6925:EE_ X-MS-Office365-Filtering-Correlation-Id: b3b22b0e-28e6-449c-b292-08dc22389ed4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zMozAHFnLG7eIf3snQXq4tcdfgxrJOUcf+BlHagsN0O9CS3VVIk2648ZY8ByMq9j9zYX2DxSmr+kM07xc6VMtVm5Ybi8rEk2My+1RRhhoqYqa4F0w9V0YJ57kZ+kk44T730tqxTc5rdenRnyvPfzt1eIycmKhg38WxIm0X6993QkX5SSlj/xxusmACpfyzntgpJMPREwpyjm8zuayFGlw1ibywwbdbKuCtLzith1+Iaj3ovH0XTQkPqpVjaXbe5gO7r9CFyeBHVDEkeAkyil2WDeV5oGYvtU3ZavDxk8mkdaHT7zpyYiBmrGpUaLjwE0X3r7/axdQCkFrsJjm48NUG/98VcEH49Abi7AEQhBp2Ll1hEoNNRG6awxdun3I0C4Tp/07sR4Uo383cKfzBflcCQ3nvZqZQJ/PWz9Ox3oHfnM3AGsjtc2vTSyKzZdoa7QlhnHePuElncJguTDw+Vky0IWjXo+W29MeaPAkPoiMAmt6U8Gsg4p7sf1MiznVFkNF7qe1BFl9VNYM63v3rh87ZN8TfIiux21xbmHnAfu8IQuAIMKi/mfMevsYocNZCmu1uQAoJAxSEEpzKnIo3hb44Q/eCnqJy3Y18nF7jsd4EuG3y13fe1bhrr4ujahrwRAMf7VBwfDpSUgXrE3tr4OpeGRkUIEbu6O52zSFslZfAQyLJT/q4GiYlUcREXapFkhiaEL2QfovvMJaSd1KEAcaQ== 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)(136003)(396003)(346002)(230922051799003)(64100799003)(186009)(82310400011)(451199024)(1800799012)(46966006)(36840700001)(41300700001)(6512007)(2906002)(7416002)(5660300002)(47076005)(40480700001)(356005)(82740400003)(9316004)(36860700001)(336012)(316002)(36736006)(1076003)(6666004)(83380400001)(36756003)(86362001)(110136005)(8676002)(6486002)(70206006)(8936002)(478600001)(4326008)(70586007)(6506007)(81166007)(26005)(2616005)(956004);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 08:42:54.7395 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b3b22b0e-28e6-449c-b292-08dc22389ed4 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: HK2PEPF00006FB2.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR04MB6925 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240131_084304_345740_8035C613 X-CRM114-Status: GOOD ( 10.31 ) 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 b9b6fe729cd6..d97520860f4a 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -36,6 +36,10 @@ aliases { i2c31 = &imux31; i2c32 = &imux32; i2c33 = &imux33; + i2c34 = &imux34; + i2c35 = &imux35; + i2c36 = &imux36; + i2c37 = &imux37; }; chosen { @@ -951,24 +955,54 @@ &i2c12 { status = "okay"; bus-frequency = <400000>; - temperature-sensor@48 { - compatible = "ti,tmp75"; - reg = <0x48>; - }; + i2c-mux@70 { + compatible = "nxp,pca9544"; + i2c-mux-idle-disconnect; + reg = <0x70>; - eeprom@50 { - compatible = "atmel,24c128"; - reg = <0x50>; - }; + imux34: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; - eeprom@54 { - compatible = "atmel,24c64"; - reg = <0x54>; - }; + temperature-sensor@48 { + compatible = "ti,tmp75"; + reg = <0x48>; + }; + + eeprom@50 { + compatible = "atmel,24c128"; + reg = <0x50>; + }; - rtc@6f { - compatible = "nuvoton,nct3018y"; - reg = <0x6f>; + eeprom@54 { + compatible = "atmel,24c64"; + reg = <0x54>; + }; + + rtc@6f { + compatible = "nuvoton,nct3018y"; + reg = <0x6f>; + }; + }; + + imux35: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + }; + + imux36: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <2>; + }; + + imux37: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <3>; + }; }; }; From patchwork Wed Jan 31 08:41:31 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: 13539026 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 A46ADC47258 for ; Wed, 31 Jan 2024 09:46:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9Lvg/gAIPCvmBKOndgbeUaiS228I8hlaYNsB8Zp0+gY=; b=cjrryJ0ro7CsTp 67saOiQqHzhpLNgjlPSO1rD/yZU+mGrUmrhsrsJ1KX2GWvruZV8KM8XZ3Iz0vj9X96K7oz2luaf0G FYyjgVBzrCM2mi6tOs+bjr29XG6SoFBGPR0YB2tavTCg06ffyiSLkOaUEYlIW4A8mkMXmfWeBjYlP KZdi89H92AG5U4f5h0E4hsF4W5zBHcGoS2TaFEkrl8miKvaTp8kMShhQuqrsLDGV6ib2+UJ9D22yk 3G8Swz82egKIkk38Ba8i8k4v/7Mq5+DBOX7fVMqf3riwg+O0V414lwZDmvNim5KztKFXBNjrI9bB/ f/aDw1kAL68xoKBCikJA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV7BB-00000002Yc7-31MJ; Wed, 31 Jan 2024 09:46:49 +0000 Received: from mail-sgaapc01on20609.outbound.protection.outlook.com ([2a01:111:f400:feab::609] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6BX-00000002Btm-209F for linux-arm-kernel@lists.infradead.org; Wed, 31 Jan 2024 08:43:08 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JS/pm5RrD4R1+rY1vhLdeTo/OA55G+Zv2Fpgru2jTxr1mL2s5WH2bbt9OBwfN8wZricWvaMl9eoAhoBDfd8CU8Uvol7/SxEJG9kuNm1yUFN+Y54PscVWnsLcas2U6tYv+hz4Vv/mg2v40Q5KuNbaQ07yJum2L/gBD2zz4uCOcYqZLYbI1f2pv5A0IHr4OXiqK/JL/BDHzSzlcnMePPShhZQ46U89yPC9IeP7mRMIznQVm0qICQrnLB1ZJqmJ8oMyz24k1GmuqRPXkYVyGhJhsxqSu1OYXPGIPVJFCIua/COiOgkvCk4ViSOm9cCetzu9P87Vn+qqEBrSY4dOnwPkeg== 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=UF3i3ZisZaXoChi0wC4IwWdNkvj2IomGYSaRQhudy0o=; b=Xq0LkwzjC55s2gbOLGPFA7FRkg9eOs/XPJRzrXRYJOgve8S7uB2RMVKHmegcK2et7miFUamex9CXbLoKyHzcI1vgUbfYNXpw8weBkbL4Fj3XkAv2WHRpTIr6r/Jv5criL3KpsWHCR6IB2loU+L9kzF47d8cax9X4UnvOiZdRe0RHxOB2WZWGcWxx4PVg0s2or4ho1zoxEFGOw/UNgEgLuTdabrR0uYVLVXuM1XAQqEIG3qh/LIi3uQ3Hi/TEJ1YrFlYAEDUgMX4SSJH3JLFI/PVjQ1qpzryLR6W2dGKBd5bTmuiHaTXI2VzetHYk9S9O9dQBy0fqa7DISTiF43+lBQ== 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=UF3i3ZisZaXoChi0wC4IwWdNkvj2IomGYSaRQhudy0o=; b=1BZrRPaSQnvSwbqLOCozZxLa4v4nZnfdgdjl+Xq+zzjG8m6ap6+CZBkM+j0p7xleENtannOudqMnqO6hIS/iTZIjIXSBrPR/J/onbNuXi/+l0UoJIP0Gb/hHM+YP1oulzOQwshvIGVvr1RkzvihISzhE/GStsb0iwFpf7gqDaeKkrGlovOvwbmTFzdjanxgntWvS7PMJll7yqNaxsv+eUdQUiY3a9YozoNnLduAzPKXGmus8kZf3/piguXO3rjpiKX6JIAS4xTSnplbweeJMri+Y+rZOz3aj6ORkoQjUE3nVUiZjZEqLdmYmRFyFXCFsGt/SEkwpbAUAJ3mTReWgww== Received: from SG2P153CA0026.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::13) by PUZPR04MB6559.apcprd04.prod.outlook.com (2603:1096:301:f1::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.34; Wed, 31 Jan 2024 08:42:59 +0000 Received: from HK2PEPF00006FB2.apcprd02.prod.outlook.com (2603:1096:4:c7:cafe::44) by SG2P153CA0026.outlook.office365.com (2603:1096:4:c7::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.6 via Frontend Transport; Wed, 31 Jan 2024 08:42: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 HK2PEPF00006FB2.mail.protection.outlook.com (10.167.8.8) with Microsoft SMTP Server id 15.20.7228.16 via Frontend Transport; Wed, 31 Jan 2024 08:42: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 v5 20/21] ARM: dts: aspeed: yosemite4: support medusa board adc sensors Date: Wed, 31 Jan 2024 16:41:31 +0800 Message-Id: <20240131084134.328307-21-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> References: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FB2:EE_|PUZPR04MB6559:EE_ X-MS-Office365-Filtering-Correlation-Id: 55630c41-fef5-478f-c46c-08dc2238a0cb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MgRStRi7HRnSrTtW35vdUc1Te08TKJOITFTMxaSbMUWhT8rClrL9d5DxeWCd9PDTWUQurREPQra+9reUMLzTGobHRU5W5G6ZPruBQvL/ZM0zquDNHeJk1JjIMsSILzIbMJFyFEhPaD3femPWX4Du0TddThmbIowF2AzLKKh3f+uPDvOu76zux9uAwIoiHGQLaE3h/Sr+GSZUUhJS3ED9083Dt5SLVn/iNCmecfb+EjCiqSRcslflytU2XZ/jTnQFWHi0BNENsOssHO9jExK6N220FWgoR5jGT/2D8ygFhD+RZ92eJHr3OthfMhD8QFVNa3QazmfAnwvIn0CRt8sFTLS34HxGQ7MFsCZSHruhe+f31z1avux7McsT9c2PycmkbYs2QMwAB1VsMKWjAPAQXpkcukAIIIGMPayBqy5X281khj88EN/ZW9igNJyRLheq+/hXWjX6raJjmefvg6qcq7R/jeiuerqwrWsQWOSn4DoJvNPA4mtNw7zeYS9TvMx/6m+ue2rfAsCizUkoWg06KNDOpGgSDO8Wnm2lZecT2nYpCJJ2PdM2wqyOu59tB4RSwST4q99c8WfCu3221r7reeI4hzYESz/WS54rBMHXm+UKV6+7ULmLxNcto5DJH/hqqm4rs5oIlLZ7oVu52QEhzgaiHxrpBLMM4ypd6Crts8AWg1X326dkxRxPqEa1GZnZ6DaDVEcLw9hMSWvvnKuYcw== 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)(39860400002)(396003)(346002)(376002)(230922051799003)(82310400011)(451199024)(64100799003)(186009)(1800799012)(36840700001)(46966006)(1076003)(336012)(26005)(956004)(2616005)(41300700001)(40480700001)(9316004)(316002)(36860700001)(478600001)(36756003)(6512007)(6506007)(6666004)(47076005)(356005)(6486002)(82740400003)(81166007)(5660300002)(2906002)(70586007)(36736006)(70206006)(86362001)(4744005)(110136005)(7416002)(4326008)(8936002)(8676002);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 08:42:58.0833 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 55630c41-fef5-478f-c46c-08dc2238a0cb 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: HK2PEPF00006FB2.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PUZPR04MB6559 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240131_004307_539310_B8DC4BF3 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 ina233/ina28 support for medusa board adc sensors Signed-off-by: Delphine CC Chiu --- .../dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts index d97520860f4a..bb0dc203eafa 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -915,6 +915,19 @@ power-sensor@40 { reg = <0x40>; }; + power-sensor@41 { + compatible = "ti,ina233"; + resistor-calibration = /bits/ 16 <0x0a00>; + current-lsb= /bits/ 16 <0x0001>; + reg = <0x41>; + }; + + power-sensor@44 { + compatible = "ti,ina238"; + shunt-resistor = <1000>; + reg = <0x44>; + }; + temperature-sensor@48 { compatible = "ti,tmp75"; reg = <0x48>; From patchwork Wed Jan 31 08:41:32 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: 13539397 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 1CA3EC47DDF for ; Wed, 31 Jan 2024 12:16:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=m7zL9HIG87N9+DIK1jjW3HhNZOigYznUijpwc6L3TcY=; b=bNO/5iSsCwBzBG /d6t0jBa4jFkNAr++hsk+sX9NF6/hA4cokYb60/KKtiHC3qTHnGyvQf4bEhAE/BBgRtGupLb9lYcX BeHSbBtsMUzJm5dqWrsTizcc0yVprm1xn5jaqj9gPtstslby5WFZwUAix91+rke77Avv1TkXCk7Rw EBDDLKcl38w8jNF9CDXpMo48aK9xKtRlDLijle7HLc/YN5pQ6HD1lAxjl9URhIh6l6co5/jrek1cq BZKIrX4cwZt7b11/v1vefvoPbb9AURb/P4+fgo08WzElfJU3WsQiTwfCH8xIRAj4p6hpBpwdJnKRA qjCa7RT3FrEC2ZmhltPg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV9WC-00000003IaI-1zV0; Wed, 31 Jan 2024 12:16:40 +0000 Received: from mail-tyzapc01on2088.outbound.protection.outlook.com ([40.107.117.88] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rV6BY-00000002BuA-33ES for linux-arm-kernel@lists.infradead.org; Wed, 31 Jan 2024 08:43:10 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kwkYBNbQrWitQ64UljwW7osx7bqx6pciIhXHZORF8p8f1ou6UlfQkoGyLdLpZmz4phENGdLcch1MlW0Zt/JMDUpusKOeGIoZovHRlHpchXogme4jqVw1PdDI2868Dmoo6xRX0rjXOSK71K5Ey5q/cvUsmkuuF/dZOdGFf363hSBFcgSAZuXQXfCLHdDx83IlXfOPp+UVDN2j52WaRiP3KMpmdtDDjIja0PmWU6ZgQ1Aq4bXcJJQM1C4DSQ8SYSdi9PDH4WDU60KbpLM+fnL8dfskCMf2YyKbjLmytc2G5D4E6isPQ2bfm1FcM6XU4itZ5CcbN0lFspQqAqPkKN+P8w== 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=5nJU9mybu7P9cQzpemlijUjqr6vFMnsHbmyjQscZmf0=; b=TAZkhfW6UNf4wA9JIKFL2haP5Q1nNmeo6mQ8XMPo4+tj2NBUJHBFyGXT5ucZeajBzSRqT2mD2ViTHQvjUw5os0NunbX5UtjV1O1UoHo0FuKHq0ENXaZFYA+sZqmqLTIFotQdZSXbvJs4zwnHdlAWLO2VS8IWNLoxca2DjW8WPvtCOBtuKRCKVFYwMFUsKf0wmAeWd2rdfUmnjqW3tB3ScnzvAKO6kREUFMXWxOMP8DTbWTn31csYEnjfr8sNAaGLeS/0HCJ3YBUfth1PfCaCJQLRrKks3SdchP+sD6eBdMRET+EFlnVWoBCpDTM3yApNMTtlc7VBz44TwjOE4UyPpg== 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=5nJU9mybu7P9cQzpemlijUjqr6vFMnsHbmyjQscZmf0=; b=d88AaHmsEeroE0O7JrNctOWYz62+hSF5gucxfa6WZn21hPIlrVApl0r28mnay2XlQKzQdZOsBw9JysdJVFfecgeRfOnYxyXTbeznBUoHVhS4Woyx1gC2uMlbZey7GlD7WgKkqB+/uKu97CrMOuczHEkmvskQOidp/2zWJ5kQfecaNZAd4z8zJeJitP30NgP/nK6kkuUDtNpm1k2v2bXHoNxchHq2Roow0sLm1Hx93cPOgP8oIzdLbzGC0Cqc8+0/2QqcgwqhSeByQm9lzID8YS+pcbQNXD0cgO6jFSi3MyAcc2sAmn/ppPX8iHIEIZl/bwmyWkYVeRwhaeDBAG4Zyw== Received: from SG2P153CA0026.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::13) by TYSPR04MB8003.apcprd04.prod.outlook.com (2603:1096:405:92::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.34; Wed, 31 Jan 2024 08:43:03 +0000 Received: from HK2PEPF00006FB2.apcprd02.prod.outlook.com (2603:1096:4:c7:cafe::f0) by SG2P153CA0026.outlook.office365.com (2603:1096:4:c7::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.6 via Frontend Transport; Wed, 31 Jan 2024 08:43:02 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK2PEPF00006FB2.mail.protection.outlook.com (10.167.8.8) with Microsoft SMTP Server id 15.20.7228.16 via Frontend Transport; Wed, 31 Jan 2024 08:43: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 v5 21/21] ARM: dts: aspeed: yosemite4: support NIC eeprom Date: Wed, 31 Jan 2024 16:41:32 +0800 Message-Id: <20240131084134.328307-22-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> References: <20240131084134.328307-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FB2:EE_|TYSPR04MB8003:EE_ X-MS-Office365-Filtering-Correlation-Id: 15866355-27c3-4d6d-4a2c-08dc2238a2f7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4QL34a4FuFinqY7Fzt74ISKy0F7wttaQN6i1ZszqqzeHXP5SkkjCaAAArqDmtLM1HUjl6P0wjLKNoWPYWuJXbqNwAeD0pL/T479kgXc0AM8zK/AusJyX5SpCU51QD03meuviyu2giphQMu+em84IT767wiQEP7Ynx6x+mnsgFVNm6vF9uK6SC4NMoJgcxSh438LUavONLLbas0d85F/f03uvQFtEd7+QvGLpEUIYPp5gDvO7EGoAQSplCnYMzGo9uyCOB1gTKzwo7PIspkAIcGAPUYf1O5O8I78M6LZ8Zmhzwgis2EZSftfcbFYL3fARPYbmPbvhYfT5RzzbDOrZT3bF14UbSQio8Dyg0pKZRVfy02SuP0iDO6KoO8AkuwCVIMoSdVY1/e7wA9GuFr0C2qhwEq7AeEbjJVK5yz2VTccIxC5qrFk8xVBeSu0ix/+RKNt+z4O1eQjySzlA/WBMewnTKcMGphZ92tTPSEYdy9OMGyXaHv2fc0+qU8pUL4IAUdK9Uxo+vyDqPMpUHds6TTTYdho+VuH9NOYZKdoV1i+xzb6FD3/u2nCYMRu04xyL8ucVVz+pagCu7kc7esuBMyFalg3WL6x3cMU8xkPIjQ8X0wtWXduriL3qF0lZz38UoxgPLHppBxJRCnECD+a40NtcnKqz+h6NB1ldWxMvWPMvAp1vJry9RVxxcWsArdD+OPyvcH2gMHxQ2IcNTfc8DQ== 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)(346002)(136003)(376002)(230922051799003)(186009)(82310400011)(64100799003)(451199024)(1800799012)(36840700001)(46966006)(41300700001)(9316004)(26005)(6512007)(2616005)(1076003)(47076005)(336012)(110136005)(81166007)(36860700001)(82740400003)(8936002)(8676002)(4326008)(5660300002)(7416002)(6486002)(316002)(6506007)(478600001)(70586007)(2906002)(70206006)(6666004)(36736006)(956004)(356005)(86362001)(36756003)(40480700001);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 08:43:01.7239 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 15866355-27c3-4d6d-4a2c-08dc2238a2f7 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: HK2PEPF00006FB2.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYSPR04MB8003 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240131_004308_835851_55CDDA7E X-CRM114-Status: UNSURE ( 9.02 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add NIC eeprom devicetree config Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts index bb0dc203eafa..8adefa4ec04f 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1330,6 +1330,11 @@ temperature-sensor@3c { compatible = "smsc,emc1403"; reg = <0x3c>; }; + + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + }; }; imux25: i2c@1 { @@ -1346,6 +1351,11 @@ temperature-sensor@3c { compatible = "smsc,emc1403"; reg = <0x3c>; }; + + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + }; }; imux26: i2c@2 { @@ -1362,6 +1372,11 @@ temperature-sensor@3c { compatible = "smsc,emc1403"; reg = <0x3c>; }; + + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + }; }; imux27: i2c@3 { @@ -1378,6 +1393,11 @@ temperature-sensor@3c { compatible = "smsc,emc1403"; reg = <0x3c>; }; + + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + }; }; }; };