From patchwork Fri Sep 6 06:26:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13793417 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 7C534CE7AB6 for ; Fri, 6 Sep 2024 06:45:15 +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=hgFXoaC/5DtSawXO9Z49kR8+2OHTKZslFpSvIDp6jkY=; b=BWbDfxnUVoeUmUEgipOjexNHGt rYt01XTkpLvJhrEv0n5wMdIsuVnGV3zbWPt1KLr/I3HRiPIBCj01Phz6mx2y/Jm1CSxWvsrMeeGpi rruq8dNUKZfSKPTr4MpXircUs2/eoooDQK2KUJCE7EvrwN3g9d+Zjw85RzDrg3hzCsBZ36ghtnwcU /KWX/vst2cGgJkdVV7wdyOY8CpGYG63iN145A5j7lu7PmUFfoBLMn3202qFPnZlaVDvkuDAktgGQK Ni1eYloT/tMQwYNmmt2WJfWVqHGt/Sy46lSvmnNHEzKjvrFLLmRMvjqQpbz7b6Vu2RoUH2Silrolc u9hD8JUw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1smSiN-0000000AvlM-3q9F; Fri, 06 Sep 2024 06:45:04 +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 1smSSJ-0000000Arr3-47Af for linux-arm-kernel@lists.infradead.org; Fri, 06 Sep 2024 06:28:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=UoqFt6D2LPNL64QE67ZEda8uucpMsgf0rx1eQv7IpT/w/phmJiy0SS+DNVRyiEvkF091PFxrxScyTUm8cHD3M723+mIosl9JKbzmKhvdMgjWzPKJg+1Z32DF4EulNOaN/hvSTNd5rA3fyUUTbYXUKyH55IMHoHNtGJQ4EL9vmpJPlv1KHEujC4KJDJZ9XGOyXFGWpXQY3EMdWC1D5G44aQhE2wLA+TukbFRNEXaJnowvXr23aHjVOjljlyzKf5Fa2QsWCeqMFA5ngGEmCoCRu2dC1d/VJLxBwnB6WM6FCsbdWJ/xJj7e/9WQCCP1yFrPk23Asoc5k92DelBD/jH/Vg== 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=hgFXoaC/5DtSawXO9Z49kR8+2OHTKZslFpSvIDp6jkY=; b=whcey1IvXuMhWMJYBCxM7f+pO/dgeFH3v3eCDgXCA5NO65o9FRljbRpzchXsbGMnYAISU5BZEJJUUn/mrbfhdRvJWDwnzl0kCmo+T18i6pX960kPQkd1IiTvFNVdnNaJofA0LbJX/7di2u4903Os2x1kC0rvPSfoGKeW/dk/UzIjEvFPRQ+kWAEEBGD64MpBg5c0boXprTBLrywcQcbv9pARA4m3oI1xZZnYc3xwuAr3Ka0MGmHKaBNJ97nwE/h76WfTYZaIh9iV32aPzJipBZPHLH/DRcbxdA6snfyUj4NXtTHmvPYbqbTPUAYSLa6eu6r83QNj4mKSxQvqlN1r/w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 211.20.1.79) smtp.rcpttodomain=stwcx.xyz smtp.mailfrom=wiwynn.com; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine header.from=wiwynn.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wiwynn.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hgFXoaC/5DtSawXO9Z49kR8+2OHTKZslFpSvIDp6jkY=; b=j9lNB8GMT/dZGtNRig5Yjjb9EJy3At/k+iAInv3rBn381op7OJ6eegNT/9fR8xRGUa11LP2f/ymmBuh8giDRcnS13m2ewDB47jPNJ7VvaJAwrzGrqDmfVW3TfZqCJpsc+vb0m5UAPLWYEHUW9/MqcjuP+I55k/3nJiZE66Hp0eJhI3Um1vbvfBWKvZSSbBh5oxj3FVQzuYy6fbTYn3FjaJ4vc46KJg0CySV3NLRHrqVC3fN7GmodNyKqfBe2pcR+Tr1JTpa+wM49I6akyCkeohs4i4K5PVMAxJOMmxdtJ20S00NfI799U0OvTNVIQXK+YDalXgWKEzj9FOdonLzDuw== Received: from PU1PR01CA0016.apcprd01.prod.exchangelabs.com (2603:1096:803:15::28) by JH0PR04MB7914.apcprd04.prod.outlook.com (2603:1096:990:9f::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.28; Fri, 6 Sep 2024 06:28:16 +0000 Received: from HK2PEPF00006FB4.apcprd02.prod.outlook.com (2603:1096:803:15:cafe::be) by PU1PR01CA0016.outlook.office365.com (2603:1096:803:15::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.17 via Frontend Transport; Fri, 6 Sep 2024 06:28: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 HK2PEPF00006FB4.mail.protection.outlook.com (10.167.8.10) with Microsoft SMTP Server id 15.20.7918.13 via Frontend Transport; Fri, 6 Sep 2024 06:28:15 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , Geert Uytterhoeven , Magnus Damm , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org Subject: [PATCH v15 17/32] ARM: dts: aspeed: yosemite4: Revise mx31790 fan tach config Date: Fri, 6 Sep 2024 14:26:43 +0800 Message-Id: <20240906062701.37088-18-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240906062701.37088-1-Delphine_CC_Chiu@wiwynn.com> References: <20240906062701.37088-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FB4:EE_|JH0PR04MB7914:EE_ X-MS-Office365-Filtering-Correlation-Id: dab33e4e-c3bf-432e-1aa7-08dcce3d1745 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|1800799024|7416014|82310400026|376014; X-Microsoft-Antispam-Message-Info: Nqfb/z1GkN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l2Pv1bwM9ZX7fg3gUCcn2dS4oks6WGyzabeErlrhRLQCoAFJGtqnq0N0CvfmTlejqCvkbYUSoaqZWZabRBL7Hs7+ZYT80pZCKmnv38KjEhoBWhUzJhi3ZdItNuyLadBsBb6MUQkjL6gNWG0NXvkgkyktavsP/zZsaUhEmtfR+XPBxAJXa8ceOTe4Mdd7UqoOlTWe+MEtvCt52xnh26O5Frt4ANqScYmDZaFKhS3gl2MHoblkne7pQJRr9bZz/RgvP43LsQlYpytUbtleJgdG0C4GcrFeLx/RFwOVtCGXL/gPooWcwJIxj2zGEIy4Uk5QjmsJ6l5Pf7l4HJj5xnMLqvQDcbtMc7yLNkVqUoBv1BQBuROnCTRtHMUnC4P8XxTWIVkMAOxFTCnHphH 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)(36860700013)(1800799024)(7416014)(82310400026)(376014);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2024 06:28:15.5686 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: dab33e4e-c3bf-432e-1aa7-08dcce3d1745 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: JH0PR04MB7914 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240905_232828_049523_E2506541 X-CRM114-Status: UNSURE ( 8.14 ) 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 60743f9829a5..b46a0b9940e2 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 {