From patchwork Fri Aug 16 09:24: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: 13765828 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 536B1C3DA4A for ; Fri, 16 Aug 2024 09:37:08 +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=oVwr+8rFM0NbMIGKfSt98Tlwnk mqhKlC6aG6y+9CsbU8k7J4nl5124+o6IJwuDf4uQnVO/IM4RLMWzPZCLDEBtihPF/SjnR2TJ4jEyr h13DUlBR085rERxX14mQIlN7EDknuTZiBOi4XwZIjkYHM9AXrCwbWHpd9VfnWokDLuDZ1AO3YD98B 8IEMPzwsl9P6KD5Eh0Xmt7hEVGECNjJGlIs4nLFpIlXy7tuyuLCwqeiTpY9ccEZsiLhml7PJ/6LCg Kqy+bdoxJZVqEStWa6/QoYTS2ECHTtzTTxF8VY88LpB+o7nwlhy5BsF8wYB5ACzO8betAKJYj8DEu ibSLxSzQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1setOE-0000000CROe-3Lby; Fri, 16 Aug 2024 09:36:58 +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 1setDT-0000000CP0q-0f3K for linux-arm-kernel@lists.infradead.org; Fri, 16 Aug 2024 09:26:08 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=T/5wgz/DEPjU/OVffHp5EC0PMugjrAt/oSdoSL/sTfzgcG8DW34ss5vU+T9WAcI3tZZHAGYuXNXvhz3B3S/ZZZrc2dGEsyj3pUyu7WaZ/KHQVaC8KDLp8b013JNKliw03a4e0A5/irdErpwDuGf5E+/b6kwu3pOS2TMcNFl6foYcBzFFHuFuPgp1cw/zf/h5VwOaUyhQa+FW4qI6OQeZQmPcX7muxz+Lj3Ze+m7EAqdmE18SlmINdgogZ+MmOQkPIUXRQV0PxyHp+0MYHRytfy/yb3sKyx6MaumQ3jTD7rcAVMpg2PjA11chHzLHoF53dnLKF5qyC3GBosZcY50xdg== 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=LXdZf+YGpHSykxuxA5JfAdCg8yEWDrCIrnRXAD6DQSk7fbU0DH2JRG9DejfGsosNkOKKkndqOQCXzvRqRh1O84bEJSVog8FKgAPM19iHl/shbHMWvmOGCWuBhyufxDldSmt1Zcdw3CpPhl+qwJ5O3JkmBywhmEInEixcCmUPlWb11aO64vBF3iC8k3mBrMfWwxgrc5R/UjD2GorMfC7nZ2a4tzaFak/fuFnudbmMi5xlHxmAqYQp50whN+5VH3BceH0F7aMrA+x0SA3ylC5+n0RrO/Fx0V1aXT9M/a7BOeVgWdanxfZwtzSGBSW9Bm7XxQqP9BSU6XnkITwSRME4iA== 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=mTIP82liQBdv8UtRfGALcPpStI9OePVtBkZN2oc6wAhHbjmakF4F5geYN5qew//PxIez0gFxkeFLcX/Xqgah0+m+ogRaZHLLODGYEyPcjPOtqgoqoLhSvSUUQl0hVXoRWbEdkQetgL+4ghjsrI83uz5NCRqcQ+4gGf7MAjzQUzOAraotby1of7DSyffzlfasAqKGZ2jtdXDuKdBDX4xn84QLfb4nrtp7ynngnb2kQpip/D1vlp3ILdHV0alRQvdtoziP+zBW5kK6QQSx+FCn1mSZ9L82AS/oW0E9O28fSd3V0KFZKwSntVFh6saPsDaQGVnGRtzN3XLrJsoo49U5jA== Received: from SI2PR01CA0041.apcprd01.prod.exchangelabs.com (2603:1096:4:193::15) by TYUPR04MB6762.apcprd04.prod.outlook.com (2603:1096:400:359::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.17; Fri, 16 Aug 2024 09:25:43 +0000 Received: from HK3PEPF0000021D.apcprd03.prod.outlook.com (2603:1096:4:193:cafe::84) by SI2PR01CA0041.outlook.office365.com (2603:1096:4:193::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.19 via Frontend Transport; Fri, 16 Aug 2024 09:25: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 HK3PEPF0000021D.mail.protection.outlook.com (10.167.8.39) with Microsoft SMTP Server id 15.20.7849.8 via Frontend Transport; Fri, 16 Aug 2024 09:25: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 v12 17/28] ARM: dts: aspeed: yosemite4: Revise mx31790 fan tach config Date: Fri, 16 Aug 2024 17:24:04 +0800 Message-Id: <20240816092417.3651434-18-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240816092417.3651434-1-Delphine_CC_Chiu@wiwynn.com> References: <20240816092417.3651434-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF0000021D:EE_|TYUPR04MB6762:EE_ X-MS-Office365-Filtering-Correlation-Id: e813346f-8c5b-447e-cb29-08dcbdd566da 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: LrDwL0bgsuEHZxa/JFEv3iurI1X4UGv8zPPk4FcSOSLIzLAF3F6ATh5H/H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CvpNigtZNomXIb+jMYEinHTxyH/NYrngJZTwcLpgevVGcwPCYK0CzT21uOqc3MzCfY3JF6THfjFqtzba/38HMi6lxmo1nlBBxh9GT9wEATHPq3DajN2cDLjweyU1I1zag00MYvCm4wtA6jQPV8gvbpoVySejqV62h/Yb703k0zvubLUdMpjVZ7KxpDPS3PvuWm1F6YxIDWsd1QGICpVpJCxC8iKGk4Dw8eEpvG6ZPiY1VR10yQWTMo38wkHoCF0rAfPVRYySMWWWuCwRjnBdlOaUx3TL1Jb3NR5LbCYFAGDk/SEOuFHy99UzLS6hEbkoZ1w+Y3Ei8pCFu8TrhD 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: 16 Aug 2024 09:25:42.8878 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e813346f-8c5b-447e-cb29-08dcbdd566da 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: HK3PEPF0000021D.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYUPR04MB6762 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240816_022551_248880_6C88A2F3 X-CRM114-Status: UNSURE ( 8.30 ) 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 {