Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp3862778rdb; Mon, 11 Dec 2023 02:05:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IG3APhrjGgst9dM3d0k+Akb0cGNIoBfKikGX4XQHsHaf8624wdbA2lCcsyyS/HyzOGxk2jE X-Received: by 2002:a17:90a:898c:b0:28a:325d:1ed3 with SMTP id v12-20020a17090a898c00b0028a325d1ed3mr1617787pjn.2.1702289110078; Mon, 11 Dec 2023 02:05:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1702289110; cv=pass; d=google.com; s=arc-20160816; b=eKG/S3hN713q7+1gdslFe/hwZabCcB4T6oNRGo1WS0uCdyw7JdFyQEWmoCr8/vwf8v dfXF+qjVSSNlMoIddE0XJzDUUmf9ggs6WJLX0jB06TBsQPI9hlefSzYE099D5tdmkvIe VvYcJcPEeP8VGpVzOZgR/3hf6v0Bi93PeEt763+tVdTj8AIo1Xs4vwipCijDGi9tLN8B PeqQQkET4qV/ZhdiDv9Gk8555kmxo3+XAyWnyILg9ngnVkewHIFLVO457DOMPpvij41Y fTpNY6VG4pKM0ajJkmSyBc2Mt09QU+9refvtuleSQHBW+gaJuPUx0fL5kqXaDHVloGQO de7g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=uGTire1khymAurDE24N2Ga1RZMcRUKvih7zqhbJUcjI=; fh=Ym4qTpD4M3cm0TbrVGNdP2Ob6NKlyMYuL0vwrAGUgx4=; b=ixOHgjo2+8g/uBVpy/LZ7gmufDlwQVPo2PkF7dv4httj5Oe7IAtsMMHWGPyZA9cEsP 6Ud9T/Z19YTJW1e2SsoGdmUcPp/7hhqjv4Y7hBkmKYFr13QsUqcmkvtAWqwLUXxo1loQ sySAdW0EMgvOcjniUtTMtukv85ZxBkTHzXfnE6nTcnOehQkjU8aXaN8jUqzUBNUlnQ38 7sR5WPBcxJ2qnNovM3E3pp25aKh7AEqM+bzBMrgMN5hou1GBDafviKRiltjoNiOgQ/QJ QoTdXxMz7rWo3LatJsxu95MeND7f7nTVymv4d5nnlJLslbOiSxqFo1sWWnwOH+3GJRvi nUGg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wiwynn.com header.s=selector2 header.b=GsktXv2G; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wiwynn.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id ot4-20020a17090b3b4400b00285c4fd2ff0si6195380pjb.116.2023.12.11.02.05.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 02:05:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@wiwynn.com header.s=selector2 header.b=GsktXv2G; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wiwynn.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id D8ACC805E2FA; Sun, 10 Dec 2023 18:51:22 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232889AbjLKCvC (ORCPT + 99 others); Sun, 10 Dec 2023 21:51:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233563AbjLKCui (ORCPT ); Sun, 10 Dec 2023 21:50:38 -0500 Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2050.outbound.protection.outlook.com [40.107.215.50]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15B931724; Sun, 10 Dec 2023 18:50:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mEpoQX2Pntv35E1b98/m9yKXJARZZ8iDLeKqq21g4nl8oFfyEdjRl2qJV5LuqcG1WsSageFiPobNnWB8QH/WbMf3AR+mLwUivXkgWhnR6KvbasfeCSU0nMFgoGbpLG8tvyr4J4XBFG18kz58v2iVMlVpcJH+LUF6u/rWaNqzZ9/N04ucch88xRjrE9SGNcbcGiWEM6STYfnL9duGaZ7Ar27H309ry9qo8Rdhfw/6QFsCA5+r+fmZh/wH57o+1Tqh4Kx4u6BG6MYMDmhWSMYJXtI96ek47W1AsXonQKVIUnhyX3n8czP6EwPwy4CdXzLEcNci9Ah4MoL752/GEgIbdA== 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=uGTire1khymAurDE24N2Ga1RZMcRUKvih7zqhbJUcjI=; b=B4X/eRb179iSY8iR6ThjfbyJQZEsqP8s7R+f6T/gkddnvyggL/U2Crl7jEkTx2gnne6pTN8UuA9m7mcJDpfFCdSS0b142h8XYCdFnB/Z3XtMmfZ/Joypy0yokUU73sb+kmEsA2e6zgKt5FV2aohd4gK98GwMX2sb3GWCkQ3rJzALWznXVSg1XlDoHRnYROusnUGi2UbWFaT5O2lNwT1dykXvXUJ6y5Wn6U/hEn4h/vo225pinuR+e8NAy4/sw32H+r/BcuCYGkkd6wUsx719Hopnaiowrh7+PXM7KcPg1apEbDZD3f+HJ8YHWkLx2UfPg+OECwYUxFjO3f189epWDg== 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=uGTire1khymAurDE24N2Ga1RZMcRUKvih7zqhbJUcjI=; b=GsktXv2GQ5NNyCHleHywh+lzM2jjG9V1FAx/YIaRPOm+tu9F20VyZ51ofR2pol4aoyO3UFl4IwxnsX7/gtlscUZvxJL/lf27CC4X1HWPLu5CqwQZGTiUup16DoRJROO4Kzq5XCsznHDuKDwZy5hSkAQHdoNrA3iB98BOzyrG/wapqrd/LkglL7hswVWR+5fQeyqgqF7YzBF1WaLkw+iygCeP9fdo1N5ZoFVbOs9iSdaI68t3TM3wLZ5CfM30Qo8Ar2tVOeqCIMzKMzseDrTjuGjBAydXv+elphxZSiaSpkt5HnQCJ8JcPXwkh2wRUGmry/MVFpFwQXNozNYZ5k0J+A== Received: from SG2PR02CA0033.apcprd02.prod.outlook.com (2603:1096:3:18::21) by SI2PR04MB5871.apcprd04.prod.outlook.com (2603:1096:4:1ea::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.32; Mon, 11 Dec 2023 02:50:32 +0000 Received: from SG1PEPF000082E6.apcprd02.prod.outlook.com (2603:1096:3:18:cafe::c2) by SG2PR02CA0033.outlook.office365.com (2603:1096:3:18::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.32 via Frontend Transport; Mon, 11 Dec 2023 02:50:32 +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 SG1PEPF000082E6.mail.protection.outlook.com (10.167.240.9) with Microsoft SMTP Server id 15.20.7091.18 via Frontend Transport; Mon, 11 Dec 2023 02:50:32 +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 v2 11/14] ARM: dts: aspeed: yosemite4: Revise mx31790 fan tach config Date: Mon, 11 Dec 2023 10:49:42 +0800 Message-Id: <20231211024947.3990898-12-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231211024947.3990898-1-Delphine_CC_Chiu@wiwynn.com> References: <20231211024947.3990898-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG1PEPF000082E6:EE_|SI2PR04MB5871:EE_ Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: f25e8903-79ad-49f2-1313-08dbf9f3f188 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5jx6G0sN6Gt26PiasXgBCawpAVsCSZ8b+58NWbd2euuJ/ENPJ+AUdLxFrt5FeHRXfZ6I5jg7jvJ4IcrGo4Urww/xfZDcV/ycRRCq4/yl3r/ugsOUe7l5Wy0gmWv6KTtJ953GZKzkIHT0h7fmVFkdR4mIM7RRB9ZJrfuwsITpG6+mNRc1L8Vt+DieSA5pf+/BqnOf8/ouJNj4eh1Oj0wKd9tbUVH4gn59mOPcLoGco8TxtJiPZKAiiSdsafp5tkzEpi7bbCYp0apiubi5jxSjwjRCr7V9Eigq2FiQ6A4/CBYeNtDTTZZMgojoV8RFFW2br/3xbT0A/VymxZUVSSQNYEMdEeMGHjVXbNHTmWZ5tOCmlHu3q4z6Qew1SUMmMqDYCz20za6FlUbq+qFnKbWtTmxK+jDn7yHJYH+zkYXRbvwWMWZT1srTj5PL97nyhZ8NspzZ9ttGxFAJnp8joNGMIpzDyKUGXYuNkJn1cQesGbpNsDRhapw0SoxMA6ceON3/At03O+uB8zqtA5/EyY6rOCDX/S8dUrXu6jRtMQpO8MsjEiWRGVypiXF3ZJ3cAMDGWIVhUT4VR1iKbnoSAdkvHcyfN1RedPHODZalTwxPO0HPsQ3aWpCKD5v+E+CJLfbPLnCyMIg0vwItk5/o38nw+6B+Z1KRtG1Offk/UF/zM7vVz7aSsxol7XJiq0kNX7QAXHw+Ye5Kbruyo9+3W6HDxA== 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)(6069001)(4636009)(376002)(346002)(396003)(136003)(39850400004)(230922051799003)(1800799012)(186009)(451199024)(82310400011)(64100799003)(36840700001)(46966006)(6512007)(26005)(336012)(956004)(2616005)(1076003)(6486002)(478600001)(6506007)(6666004)(47076005)(36860700001)(83380400001)(7416002)(2906002)(5660300002)(41300700001)(9316004)(70206006)(70586007)(4326008)(8676002)(8936002)(316002)(110136005)(36736006)(356005)(81166007)(82740400003)(86362001)(36756003)(40480700001);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Dec 2023 02:50:32.1090 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f25e8903-79ad-49f2-1313-08dbf9f3f188 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: SG1PEPF000082E6.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SI2PR04MB5871 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Sun, 10 Dec 2023 18:51:23 -0800 (PST) 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 eb3687bfd632..073f27f1e35f 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -1095,8 +1095,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{ @@ -1108,8 +1118,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 { @@ -1145,8 +1165,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{ @@ -1158,8 +1188,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 { -- 2.25.1