From patchwork Wed Jun 26 09:07:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13712461 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 BFD59C30653 for ; Wed, 26 Jun 2024 09:10:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding: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=9aG2tAObnqGVyXWs4nhAzlLQoN7HCq1EYScCcl7VH/s=; b=k2SZm89+3jjCfLUqzKh7MQGIhQ NEanCyCqV3TSX7IQsPDEMI5IHtE5HLIBGLKqR8jpF0KxxHv3dIxbLuSWRignf3KeWgDDag2issZ87 ClfXNu1Ilc2IUc63SyEpjbpM8YtD7fK2PiwQjXyw/1VRe3od6WlcGaBK9fRtMd5HnyEx9ulER26lh kd2mSjT3fCC+6Wa9lRqHzULthEY0UfHKtD8P/N3rjpn7an/AcWtwQ7CN4bHtRZ227zpeWZ1T3Zenq bu2s12OJz212jgfQPBSFUufutdkisbAn311tGzfpUFUfe4ZAYBBsx1wOxIbRKlY8ESnaIRkTASiE7 h1nacB1w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMOfY-000000064MH-1nCL; Wed, 26 Jun 2024 09:10:24 +0000 Received: from mail-sgaapc01on2061b.outbound.protection.outlook.com ([2a01:111:f400:feab::61b] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMOeI-000000063Wp-3Po8 for linux-arm-kernel@lists.infradead.org; Wed, 26 Jun 2024 09:09:08 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=U2PNHKbinxPgM3are9YOYbnUZA2+7WS6c5/EB05ZaZXEpSwR/38yjijnOeN65Y6lt57hGKl1dNqGOSlmtEkzpZiaY012YKwjxfoX5QuXNbPQQTmdUfHQ3pguG0yHHH210fEL6qsF4rSlNC8JoWpF024LgNw/AknP4WF01+NVQQIJqZDM+LP5rPPIQsmCUM4w8NXT7wnoUIiWaw6jifO8BEEvUHra3yCjmMbTVapj9wNvqaH5G+zoRJhSQoD3tuQEbVaYq/yl7s5o4BzdRGwEWsEBtyBEwXeUK3A7I0N5bvtc+UL5o7Z2jlT2d5557Yi0E+SvPeOb0LHqRykbU5wCCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=9aG2tAObnqGVyXWs4nhAzlLQoN7HCq1EYScCcl7VH/s=; b=M/zP+/VmOx93/wN1YKRIVidwsF+GiU5aqRmImTUZidYIj9Q8IVSpZ6m6jQnUZxzdu5E+KhRG0G853atnvYtholFqWFDI5lIhxujo2kFocSt6tso0O7P/wC8N0JY53wjmNlBn3AhkbsYX+0uN/nCXFJeEq7943nLn1u4xuCoTmFaOIKg63jqb8r63vXkjxnN19+EEAHW3saZGpeReEH3wUHtBevDOM5nd99rPRR1OFQsOJvA1kAlCuWD1HsKX/VZ9CSa5T/NfdtDMkKpbrvtiW4bFlS7/EkXVtsjTm7GHijge/Jq5UGmqfDusE7AODaM1Z2IhrZjwpgJ4qU80nCrImw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 211.20.1.79) smtp.rcpttodomain=stwcx.xyz smtp.mailfrom=wiwynn.com; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine header.from=wiwynn.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wiwynn.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9aG2tAObnqGVyXWs4nhAzlLQoN7HCq1EYScCcl7VH/s=; b=aEZ7d8vV9Bhx0FGZbjbUKuA5BGB94NBtj8noCjrbR4KbZQhf+Mt9rbJqgsmdmc0EOiN3kyhszZzB/9O4+EIKCO85nZ+HcWpfwEzr9Lso/Vi+yDY1OAHNiC1YJ0T2LNj68E4C0UjWCBVzaP2FjuALjn5LO1wj3nkxFjJUVAqdLUlDorqMbixLWcmdB08frd/ipRfeXt2keTrTHPvRsu/QJ1LyA8ibSMduMPAA5vDTmkHvMZP4xuiUtvKo2lit2WlxRTJfJU3sG42z9ycivR+ECcIT9YgGU/ZWe7aVxjcBuZ+LLnn3gZhDhvhaR+kfpUAj3u1MClc/wMPnzJWyffnzFw== Received: from PS2PR04CA0008.apcprd04.prod.outlook.com (2603:1096:300:55::20) by SEZPR04MB6874.apcprd04.prod.outlook.com (2603:1096:101:e7::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.28; Wed, 26 Jun 2024 09:08:57 +0000 Received: from HK2PEPF00006FB4.apcprd02.prod.outlook.com (2603:1096:300:55:cafe::f9) by PS2PR04CA0008.outlook.office365.com (2603:1096:300:55::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7719.22 via Frontend Transport; Wed, 26 Jun 2024 09:08:57 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK2PEPF00006FB4.mail.protection.outlook.com (10.167.8.10) with Microsoft SMTP Server id 15.20.7677.15 via Frontend Transport; Wed, 26 Jun 2024 09:08: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 v9 17/26] ARM: dts: aspeed: yosemite4: Revise mx31790 fan tach config Date: Wed, 26 Jun 2024 17:07:33 +0800 Message-Id: <20240626090744.174351-18-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240626090744.174351-1-Delphine_CC_Chiu@wiwynn.com> References: <20240626090744.174351-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FB4:EE_|SEZPR04MB6874:EE_ X-MS-Office365-Filtering-Correlation-Id: 8c0fc099-1581-4885-d7e1-08dc95bf9c72 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230038|1800799022|82310400024|36860700011|7416012|376012; X-Microsoft-Antispam-Message-Info: Gkproa7rro0XWpkl24pcHSlwtWbb8+zPerZ4TKBTF8oIeMbWiUt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/9+9Oamr1iNgkP+Gzz4p//KDvRmrfPUPRDodJiwZjUG0edLv9/MwkpC4z5DO7HL5/nFXX36lZqiYvb1vLffjUgF1T473us157Xc4Q3n6P7lMM7PYGOK0PzWGOnPZjqPPZO4XbdyShkYcucW9o6yM6MC/1p0sjAGRciCn9OtmGgLse3tvLm7a7ped4lbaPXyywGNqbLbMtU3kZeOdg8s/vC7jktqWD3GwFduJKEH26DPZHvwySPilziD97m4palgFY0WMeB2TYMVT4VZyOec1fNikwM02pZRPwBxSw== 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:(13230038)(1800799022)(82310400024)(36860700011)(7416012)(376012);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jun 2024 09:08:57.3644 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8c0fc099-1581-4885-d7e1-08dc95bf9c72 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: HK2PEPF00006FB4.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR04MB6874 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240626_020907_084414_BB68CAA1 X-CRM114-Status: UNSURE ( 8.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 Revise fan tach config for max31790 driver change Signed-off-by: Delphine CC Chiu --- .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 48 +++++++++++++++++-- 1 file changed, 44 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts index 3baf1df11a81..59615a6958ec 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1103,8 +1103,18 @@ adc@1f { pwm@20{ compatible = "maxim,max31790"; - pwm-as-tach = <4 5>; + #address-cells = <1>; + #size-cells = <0>; reg = <0x20>; + channel@4 { + reg = <4>; + sensor-type = "TACH"; + }; + + channel@5 { + reg = <5>; + sensor-type = "TACH"; + }; }; gpio@22{ @@ -1116,8 +1126,18 @@ gpio@22{ pwm@2f{ compatible = "maxim,max31790"; - pwm-as-tach = <4 5>; + #address-cells = <1>; + #size-cells = <0>; reg = <0x2f>; + channel@4 { + reg = <4>; + sensor-type = "TACH"; + }; + + channel@5 { + reg = <5>; + sensor-type = "TACH"; + }; }; adc@33 { @@ -1153,8 +1173,18 @@ adc@1f { pwm@20{ compatible = "maxim,max31790"; - pwm-as-tach = <4 5>; + #address-cells = <1>; + #size-cells = <0>; reg = <0x20>; + channel@4 { + reg = <4>; + sensor-type = "TACH"; + }; + + channel@5 { + reg = <5>; + sensor-type = "TACH"; + }; }; gpio@22{ @@ -1166,8 +1196,18 @@ gpio@22{ pwm@2f{ compatible = "maxim,max31790"; - pwm-as-tach = <4 5>; + #address-cells = <1>; + #size-cells = <0>; reg = <0x2f>; + channel@4 { + reg = <4>; + sensor-type = "TACH"; + }; + + channel@5 { + reg = <5>; + sensor-type = "TACH"; + }; }; adc@33 {