Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp3621062rwi; Wed, 2 Nov 2022 00:48:09 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5Abca5OiKRJcz5yCh/7qmIub0DhYLghPxXBJQ+fb6LGrb3Bn4VPhYXPRkC0Lx150VcfiFV X-Received: by 2002:a17:906:8a47:b0:7a5:8160:19a6 with SMTP id gx7-20020a1709068a4700b007a5816019a6mr23092303ejc.477.1667375289004; Wed, 02 Nov 2022 00:48:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1667375288; cv=pass; d=google.com; s=arc-20160816; b=UVQ93f+Dxpdpz0DORKYIj14Dc4wLTwdUqbpbqcpEtN8+6eCs5Eif1uPs4fcnkMqaDq Pw5avXTUAUY/fzKqKyJeRQydj5bX3l8J1ggDg+HIy2mFnolxL1IF/zhpFzQtfrw81K2B 1P/yiUHgXoFrlygEIHBu0mRtl/a/grM26x31f2a5gZqp8Rmdbo/uIaP/iMQ0GQip3HAe 8zDE8E0vi4wdi89sS2WNlgYKRN+UYOU8sSmnV35wfPaIoGt5qOwLbK6GqiYZGldcHuUn gLLTP/M3/7kW+NtFZIDS9fVVZ1JF3Xi4pXw65wVHZznaeIQtoj8geIrbuYhwfuRiu6OO YB1w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature; bh=bV2HCPkCaFcUXZfY7XGCLPBI2vM9Km2epssA/QF2fIk=; b=f5SD6u1ZwkpR0gU3wcF1BaS1+RF+9ExndRUZqVhq9kzDiapmhFOoo8X1ybw4BLq9np 9eLpkQiZ18LzcAC37HkQ8Avf1AMXegSvcjrh/3dm82HYRz3jkPHhyMSFdcCgJgGgSG2o f6JI1Lod+wadrXccsbmORX2Zu2paKW0miiF7IXVU9p3fvkKGvMyjN0V+2GliXwkNA1zO nCSf8hGwKKbDRm8uEEIUP6vcbtOjWKXnUJse5LoMnW/gBaNPwL8cbgMfUXS50lblAz8q 5xn74jWHbPEQYta1I2Jc4Xf2j5LAaakIkzJFqbube8jJY0M0J2TrmzGWS66b1O5lgjMt UjgA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@aspeedtech.com header.s=selector1 header.b=LvxjV4qk; arc=pass (i=1 spf=pass spfdomain=aspeedtech.com dkim=pass dkdomain=aspeedtech.com dmarc=pass fromdomain=aspeedtech.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cr18-20020a170906d55200b0078a9cbab78asi3247187ejc.738.2022.11.02.00.47.45; Wed, 02 Nov 2022 00:48:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@aspeedtech.com header.s=selector1 header.b=LvxjV4qk; arc=pass (i=1 spf=pass spfdomain=aspeedtech.com dkim=pass dkdomain=aspeedtech.com dmarc=pass fromdomain=aspeedtech.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230104AbiKBGy4 (ORCPT + 96 others); Wed, 2 Nov 2022 02:54:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229462AbiKBGyx (ORCPT ); Wed, 2 Nov 2022 02:54:53 -0400 Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2094.outbound.protection.outlook.com [40.107.255.94]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55EA423398; Tue, 1 Nov 2022 23:54:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OX2vq56UUEpgqqIWe9LXOpiIuyUARLG9nBwI5oLn7BS3htmwANu7hkkqbp00OQPvtORd2E/JFXcJ/txsyAWVDJHP0HDMD1oQxvF8EZnQ/0QqA5jkasEi7A/cFLzstHqEPabbx5k52hXtgbBpPiRJ+TunnGklzOWyVkCzZsemfqd8IIGrFq8oYz3dY7JFCNQOA9v1Hst4mInTzfBw4WqrLWbxRPHF8ZJgbEGQq7k6PIHXpjOUzlkOQYu9aENRlzwKPuP7JslC6qwt/9opPRco4qWTSH+1sR+QS4MLXbaYGSnjGwIOfjzsBABx3AQafN5ojXtIKxeVp51CidwQGsnPsQ== 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=bV2HCPkCaFcUXZfY7XGCLPBI2vM9Km2epssA/QF2fIk=; b=WYo7iZPbPyeIvsAIvehc6eUahj3CqkJUVKG85XC2jf3QwdPjERs4GDDRUPNPlGfrCoDZccSipzgCxNXDq/fkXli+i9BNizPAJ+H7BZERu42CsURGrjjHDKvNnVfCNolPBa6d5HujZn06VYT1Cuw+up+eKOd7ICDrW+LEQnRWHVYFJYuNDxNL2SLpwyEZP5SZT19T0wTvHSr+53/wRifNZgicyk9FN5gBI0e+APcsaO9CgjBffyr7TcIz68+EuXL3dVOLNqeKMXzuwEGcYhGl6iw9RIfwtFB2uiFX3A0TrISVKBoJxdc7IdrOIldcZY8BjXgmct2oeI7P5EoosnSwdQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=aspeedtech.com; dmarc=pass action=none header.from=aspeedtech.com; dkim=pass header.d=aspeedtech.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aspeedtech.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bV2HCPkCaFcUXZfY7XGCLPBI2vM9Km2epssA/QF2fIk=; b=LvxjV4qkNJGAra9RR0mY7tE0WqM15hatsG1HAh9LrOLw0lWuCJ8IuzahHnE+iMRm6VlwBpqz/4csd6jhzEEwZL0sruN6caLSFPgTRxCPmU8OvS1EywQBSIWdD91kZefLHiv8ZM5NLnYv9EQHbGDmtFVGMU7+Du3Mt0pzCKePcQCYEhuFaFOAaumEmQsbneuGJotNgklClE+93SPYQ0ssqX02/ugnsEnFAu4r18a+JT3/CicmGvsKN7+b38PjTXopUBbNyJyzF47GpZHsntBsiCvDSZzMFV4vPoZv6nzwqgCrNOy9VcyOFcq1Xat7zVlwZ1T3yevNKW5G9sZ6oWq3cQ== Received: from SG2PR06MB3365.apcprd06.prod.outlook.com (2603:1096:4:69::12) by PUZPR06MB6032.apcprd06.prod.outlook.com (2603:1096:301:116::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.20; Wed, 2 Nov 2022 06:54:43 +0000 Received: from SG2PR06MB3365.apcprd06.prod.outlook.com ([fe80::dd5d:e720:e00f:831]) by SG2PR06MB3365.apcprd06.prod.outlook.com ([fe80::dd5d:e720:e00f:831%6]) with mapi id 15.20.5769.019; Wed, 2 Nov 2022 06:54:43 +0000 From: Billy Tsai To: Guenter Roeck CC: "jdelvare@suse.com" , "robh+dt@kernel.org" , "joel@jms.id.au" , "andrew@aj.id.au" , "lee.jones@linaro.org" , "thierry.reding@gmail.com" , "u.kleine-koenig@pengutronix.de" , "p.zabel@pengutronix.de" , "linux-hwmon@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-aspeed@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" , "linux-pwm@vger.kernel.org" , BMC-SW , "garnermic@meta.com" Subject: Re: [v2 3/3] hwmon: Add Aspeed ast2600 TACH support Thread-Topic: [v2 3/3] hwmon: Add Aspeed ast2600 TACH support Thread-Index: AQHY7ddiCLgpICHNHkaN+NgNt8n5/K4qDDAAgAGuNQA= Date: Wed, 2 Nov 2022 06:54:43 +0000 Message-ID: <271C521D-8F20-4C86-B3DA-9C0AD74242D4@aspeedtech.com> References: <20221101095156.30591-1-billy_tsai@aspeedtech.com> <20221101095156.30591-4-billy_tsai@aspeedtech.com> <20221101131456.GA1310110@roeck-us.net> In-Reply-To: <20221101131456.GA1310110@roeck-us.net> Accept-Language: zh-TW, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/16.66.22101101 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=aspeedtech.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SG2PR06MB3365:EE_|PUZPR06MB6032:EE_ x-ms-office365-filtering-correlation-id: ba22b636-41c8-4cf1-791c-08dabc9f1f2a x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: hQNL2N3LfGCWJLcUa6tf9u+pvujfPcg2sZxbHTMmvwe568rbNVjgkWBybUNgj1fcVq8fdYNImsryv0t4Qchv8DPZO1y5avnSQlV++nKW/JjD+41XuOqpJLrvmUkVV3g2E5glMsJDN1EblsoNGtLhi9TRQj/D2+DJtcis/256tCA0RzYYZDNn1sRVlvNtGVCyxp69FvLsJdBxsAHr7kPDeTyfGuyV+wQach7FMzJ6EQ5lwf9zUZ5CoViSUpmYxvlcc7l+NAsTdCbDziN1L3E17GhpxzfG0rrmB9Bld1w3YBGUUSxGGZDkCHpgvOPTmySLEExJoWQQnF3FAeJSeMwpJYM214s14AETSx4Xf1hxKu55Mry64Ylmwr4hbr5WdGfRZi16JgTgX6ObojVVER0ZbTxhHdGu+I74F3rk51rMfMK6WzbC3jRw8C1O6qLmyfe61t+HR2jWWsfQj3fisZ/YRI8+7L7Fvv4yILOtJGspjv1R8Ihju/0y4+HRbYofY19LPSN9scejZBcjJLxOhr1JQSOJ4MrRS0l4k+l4O3EaVZcqFbocGSqZ00NxBme34QNqCCXKv19gsyz+QrBd/8Ziu9OZcObGtOzo37PJUItINlP0FjiIOdPthjB7/Jb+yMNVKDgTmUwQnLwnJH5KwIVkGON2QVm0schIGCWY3iAoYD7lz767lB1mepM8k61x994FkrAXiARu3ctqZuG00P8EHHjbZ7Y/ezMh7slZZr0KzEbR1M+MRncbhsaqYluVNLkDA3ok7Y7LxlPWSYKDVNsJHB8wnXcqKMo7T4cuJdhFoUs= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SG2PR06MB3365.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(376002)(136003)(346002)(366004)(396003)(39850400004)(451199015)(86362001)(36756003)(33656002)(122000001)(38100700002)(38070700005)(316002)(478600001)(66446008)(91956017)(54906003)(6916009)(71200400001)(66946007)(5660300002)(6512007)(2616005)(41300700001)(186003)(26005)(8936002)(7416002)(66556008)(66476007)(8676002)(6506007)(4326008)(64756008)(6486002)(53546011)(2906002)(76116006)(45980500001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?ZEVKRkVGdTNNSlhzeWxzWEcrZnNtNzNSN3dRR1hKdlcwWE9OVHZDZ0xVbkNl?= =?utf-8?B?VG82Ung4aFpCeElPbVBHK090SmkrdHp4V2JUSVJBN0plUTJkUVZsa0lwWExB?= =?utf-8?B?WFQ3dGs1UzJvbXZnMWE3Z3hyeG9sdXQzNzY0dWpYN2JtSHdZSzByelh4TENy?= =?utf-8?B?c1U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NmtublE0U3k5KzM2dk03?= =?utf-8?B?OGFsR0g4a0R2SXdMSndSYkZHUHlSTDd1ZXduWVVqWmRWS2xBK3pFQWNjSlc3?= =?utf-8?B?N2xMNXl5L3VxdzBJSWhyd3BLNVEzV3I4Um9kMGF3SzdNTThzOUgrVFBMVFow?= =?utf-8?B?S1h4b0Irb3NscXVPVEh5dHMwYkRIQncyRkxtWGwwcGp4TlFZTCtPT0VEenJB?= =?utf-8?B?QXc9PQ==?= Content-Type: text/plain; charset="utf-8" Content-ID: <8C9AC82443FBDB46A1865C06EAE224C1@apcprd06.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: aspeedtech.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SG2PR06MB3365.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ba22b636-41c8-4cf1-791c-08dabc9f1f2a X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Nov 2022 06:54:43.4420 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43d4aa98-e35b-4575-8939-080e90d5a249 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: b1B8JSWLqHPUk99oEtU60OSUlSozlr7sy387S0HwgO4n0Umsn0vm9fLIJUx39puZ7K2nUr3w8ZA1l0NotfCoSwaa0Uu+yov655Vr2+XFHNo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PUZPR06MB6032 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-M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