From patchwork Thu May 23 09:18:04 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: 13671533 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 C2C3BC25B75 for ; Thu, 23 May 2024 09:20:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=P8TdKnhK72RBHA2kruxVeL5ldlua7ZVk4748X54lSpc=; b=bBMliAVY5BAFf9 X4eiGUQ2E4lCHqIjGoVtyYakQzQUvxjcAFjxxjFSVjYGnZUuv9QHkY3opCEMQn6BWrYOL38tRxZp/ UzC15i1IofKpy9//I+eh80gL3tCbMqYR/82bYWXUcXqAWGKelKdeeFzLvjTgsr+GaPnpATqv4YIty EmsZ3NoXJ81hONG6XzCpwokjfhuRYomImJVtcn1iuBrng1/ms21rI0MibzYzNt6lQXW8/uwHP6/Vw 7kXovBx3UWQlMaOY/Vy37jM+oUm5VIoE+gi4/5TynwnfZ1Krdpu7Y+N8CwJrwWZa7sDJusVmIdYgm g4OBGqcwlc2wWeQX49Xg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA4ct-00000005eTh-0JiB; Thu, 23 May 2024 09:20:43 +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 1sA4bW-00000005dhL-1hh2 for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 09:19:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DpsSVb9mhjjKddD4o1dJjgMyxVJK1x9Nd1du8/JSjh19QQxDHqUQeVc36qU3A6E+W3hDyaUkz1Klf4oVO3ugcXYLNXXw4ocG33rf3mQQONpxbfP5+BytkVZDYZgFWauTi6qUi54D6ceCx1nXKo+RuwqRkmSLStgA/kOUbY8hKuH1zZCra1qXpjX3a7UFeA7242q84KBHjrI/eM3l4US5J8fZDBppwETJQ5R6DV/bIrW3EARqFqJ9xB7N+NZefGxzS1iRXrOdDQxZIfHp/WyTQfyyxUv6UxBfvkeeS/w69SQ0d6w1WS/214TtWSF5AEypegJeuJMPLlIQHuA1RUS5RQ== 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=mv8013+Loi4XEKluwYG2NKCgwi0Lu+plFCtC01GVLxyaNH5EK9MIlAl9QwuqV1/rbAsjiMMGR4AM3YlWUEkV3GOfZb9wd6BbdhRpe+pvtZZDvM++/XrGqD0Djofy5LRwoynFTOuU+XP7Z7GNdmTYHRV+xVwDRpL0czLeAZwuK5Waxs15fUB8IPUwCQv0QhtdQOKlRJYZBsXh/7OLnllKHBY5bD7joxJdN6X9I+CfUWP1ouy3h2GY5NGmd3mc/4N3nIHEMRtmvx8TgVAn9ctcQ57G3u10veQk8nQY0e07Fy2oTgvYpdkac5c/W/E4R1s1qKS8hXYGF+ndLR3BDK3JZw== 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=RtWRvU9UQLTlcjlT7qRYC9OOWStY7EhAtPm3+DjLgb1XNrMUGFuWc625aKgf2ZtcIDYOnBj67/bZmGaS4Xap0KGLxWGad9nEzQPLMZZDs7to3yXAvZfWtSKIp9s/fjXTrwl/HaitritOX9TCe5DPu37c57foV7HxWt7GLHkTV3Ieo3luQGNl5Swddpaxat9ESzfEZdEMwAnNDxhiXZ+Z4coowkjLxd2sehnKUNBABkA4lT1gg0vzJvauNvm/HEqo+flr+KiQ94bnD3LMT6oYjQ+XQT1ByirfFmZko5yeGPBw3m3SQoINnKBdF/osTVpj6u3/Wk34HI4eV2BISEWKkA== Received: from PS2PR03CA0018.apcprd03.prod.outlook.com (2603:1096:300:5b::30) by TY0PR04MB6343.apcprd04.prod.outlook.com (2603:1096:400:328::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.22; Thu, 23 May 2024 09:19:11 +0000 Received: from HK3PEPF0000021E.apcprd03.prod.outlook.com (2603:1096:300:5b:cafe::1f) by PS2PR03CA0018.outlook.office365.com (2603:1096:300:5b::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.19 via Frontend Transport; Thu, 23 May 2024 09:19:11 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK3PEPF0000021E.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP Server id 15.20.7611.14 via Frontend Transport; Thu, 23 May 2024 09:19:10 +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 v8 17/23] ARM: dts: aspeed: yosemite4: Revise mx31790 fan tach config Date: Thu, 23 May 2024 17:18:04 +0800 Message-Id: <20240523091812.2032933-18-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> References: <20240523091812.2032933-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021E:EE_|TY0PR04MB6343:EE_ X-MS-Office365-Filtering-Correlation-Id: 4695aef4-74ca-424e-4c0c-08dc7b09680c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|36860700004|1800799015|7416005|376005|82310400017; X-Microsoft-Antispam-Message-Info: k8dROagPR4WwcLtwn7/OWMTBTMs3tSHdYl+dKjzKbEJIjuNjfMEykTf7e3ZY6W6jOoJFz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lTUAWLH0/wMP5v0PTOu6nkV3Dca6gDNG0mvzXWMBDau6zZLtmNrurgSubjwGSLTymzbY7HTdzAdOaB0AKIPlsghcqYarZs3vxCE9A28OUIlkszQ8oDQ6kskYnRsx4R1o9gB2W9ZVvlapyEFs4x+XhMnG6HNthNTpr5/WnRbSwbMbn6pIY0MbyxC2Z3fH2nORnF2fOhjyx9sez4wPt3W29MZZ4mF2P6XG9vxv6lR3aJ2YCDpSTYT/nfl+Rc 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)(36860700004)(1800799015)(7416005)(376005)(82310400017);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 09:19:10.8138 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4695aef4-74ca-424e-4c0c-08dc7b09680c X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167;Ip=[211.20.1.79];Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: HK3PEPF0000021E.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY0PR04MB6343 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_021927_696641_B3D397DB X-CRM114-Status: UNSURE ( 8.68 ) 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 {