From patchwork Fri Jul 19 05:58:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13736893 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 E1AAFC3DA59 for ; Fri, 19 Jul 2024 06:05:54 +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=107lLaKOZ7ZyvBy6pjSYkCtIMe lBTAsgAGPUkjKPeMfmlzl8ro4/c/ZvuDQ4rH+Myp+tyWnOZKmZUGcz3hWSjQzOPnksLqfjRakg++a 8SkhmPb5gHUhrErDbsbTQvpSB7759ung/GIm5TXO4+ddXrlsAm/W2ZM4O+vb9TcbbtIrt6+PM+BCe +9Noy0wjCBh9Pt6kT7Ej3gyRcNyipD/Kl/Ccu1pdtmDKF9utyKLWBaMc6LL81ILypzjvgen5b0ryX PvDkEEwSUZjYo9MQzCprsK2esR936GVN9LptIWXf89Ayjx5w87eqfeTNdllsN6lIO37MwUBUS54WZ gOe7bguQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sUgkQ-00000001k9S-2hjZ; Fri, 19 Jul 2024 06:05:42 +0000 Received: from mail-sgaapc01on20617.outbound.protection.outlook.com ([2a01:111:f400:feab::617] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sUgfR-00000001i4z-3YZV for linux-arm-kernel@lists.infradead.org; Fri, 19 Jul 2024 06:00:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=OZiwsFN20AdA4gL6BJSTT3HmMsgw8mAgg1qPYXD0ZO05jG2JmnU+TNadnNm/2c9UAzQlEcx4Ce6baREhFZNXvSOODjN8wRtjgQnodzlh218fpNEbJ8nQTkHhucgNb/yjdPeUsHyKNrTlFqFn/hjRSChYur6Htak/YmBBW9dLkscbQR5byJpNC5EtCQzOINVwUtV9XNvD39bLsFNylQYJUxzHpxm8Pg/ZktphU9PjGYVtB1qEVkSRsNMyVNkEhPcO0YOuw1Z8/qnRicZ+qOJwE2meTqIrK5VkmYCqJ16eTZebcRhaqdfnJ6FfMAA9AGLHlrXaCxS9hmgeoT8EQZG11w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=hWlicmnCaI4D5SEqbpaffebXPAi71sEqiVNdoG3jH/mTbSwTJthm/DFIYop3QPcoRc47D1KkIrrOv/GFdQ4+lBPb3ffffCed21YNwR+hQhXSvkFul084zHWJ/Co4Wel7+xOhNmnOdAuqdPgQ1/I0gCzsIAND24X6Ai9+pyLjpR9GAqX0uy73ZoJGldfCWDAXs961suczI1zJv0J6e8QSXuvjtHtSq8yhG4VAeu/o5Sg+dcg/rWW/AvCrNlkRVeREBCF8sfETON7T6d0o48gPMixp9+5EinnLZcd2lHJBSnIY/JK6/DEVwr+wjLMvnd18wf+P5Ps+AqF9kKUxhJ0f6w== 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=sl0VYhRncoc4+Z00mj3b6DXOSGYWh0S0ZhOijMu8RfRx/u1/lnIMduaLwzW5FClBqOIOUwNGuTilrspdVZSIKElYATD9vqnQO0zyG8gCRkAPIdR8YMEoHElF5cMyMsFOINNY0Z4OiQCVzJAzVh0+rIjqCzzM5rlvP+TPHyAVpsGACtMmHQ+0anh4nHTg036Y+S7LhGLJEHaqjvHy/MAQSfqGLsS+KBaivCwErKUcZIy4Lurr9y2Lrdf06k3laQKPuQT4868RFWhXYRiBnGmSdsYRjXmqAJtTQKR49KeFgByb2XXuwSwPTz2swXm+TLf6ur3jviPpdqluoOpKx46KPw== Received: from KL1PR0401CA0033.apcprd04.prod.outlook.com (2603:1096:820:e::20) by SEYPR04MB7646.apcprd04.prod.outlook.com (2603:1096:101:1e5::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.14; Fri, 19 Jul 2024 06:00:24 +0000 Received: from HK3PEPF00000221.apcprd03.prod.outlook.com (2603:1096:820:e:cafe::64) by KL1PR0401CA0033.outlook.office365.com (2603:1096:820:e::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.20 via Frontend Transport; Fri, 19 Jul 2024 06:00: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 HK3PEPF00000221.mail.protection.outlook.com (10.167.8.43) with Microsoft SMTP Server id 15.20.7784.11 via Frontend Transport; Fri, 19 Jul 2024 06:00:23 +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 v10 17/27] ARM: dts: aspeed: yosemite4: Revise mx31790 fan tach config Date: Fri, 19 Jul 2024 13:58:46 +0800 Message-Id: <20240719055859.4166887-18-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240719055859.4166887-1-Delphine_CC_Chiu@wiwynn.com> References: <20240719055859.4166887-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000221:EE_|SEYPR04MB7646:EE_ X-MS-Office365-Filtering-Correlation-Id: 1b2d9546-cbc2-454f-c2b5-08dca7b81463 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|36860700013|7416014|376014|34020700016|82310400026; X-Microsoft-Antispam-Message-Info: v6f8oMhDgC2gNZ6O7xe2hM9O8MR1+56foZ7YAls6K8QuETa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03HooBF8aYMBcDYApy935o6TBWYF0uTAtb4kWqmPKModOy/qkl/Fp8NDXTjEiLlasIl6W5xozLqpPQh9hO6AjviI/rg+BljEy5Zdl05AXA/S9fXm+WCjj/EWgNs+/ml2kjwMJXAe5PnltSKfPFYUh/I1gEvCNodQ4u4RWnDxo5qnJgkaybcgFptSnJ1am6mh7ctaZ1ysQ1zgQ2Y/dcc02UrqSI6zRpdy2x/QlDX5gWHGR9fTdSYOVsWNJqBses+N2bOcQW4qT1q9pGYt7/MY3HgqYq/MmHXJThgCq2wB3MJRAdFyoRDkgczZ5al8sMDRhrLv+oLbGfq3mqCL 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:(13230040)(1800799024)(36860700013)(7416014)(376014)(34020700016)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jul 2024 06:00:23.5171 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1b2d9546-cbc2-454f-c2b5-08dca7b81463 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: HK3PEPF00000221.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR04MB7646 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240718_230033_922630_275320BF X-CRM114-Status: UNSURE ( 8.50 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 {