Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp811759lqh; Sun, 5 May 2024 03:08:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXO3vLEz4eowydRV+2aroWGx0DO3E5GWqI5fv5zh4nVTTu6z6GAC52daOmoeVrSsWaxemijjcGm6fB8TeFJI+Hf+ztL92M7NvXv1QP1Nw== X-Google-Smtp-Source: AGHT+IEDhlvr7WeuFwLg5/+bmzc2kz8fk6UedpR2HTtNXUfcyxSMSp2z4fd8pGZBUld8k1Q+efGL X-Received: by 2002:a05:6300:8a0d:b0:1ac:34cc:b323 with SMTP id jp13-20020a0563008a0d00b001ac34ccb323mr7129375pzc.33.1714903724267; Sun, 05 May 2024 03:08:44 -0700 (PDT) Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id lm15-20020a056a003c8f00b006f47307ca21si963281pfb.246.2024.05.05.03.08.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 May 2024 03:08:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168941-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=temperror (no key for signature) header.i=@amperemail.onmicrosoft.com header.s=selector1-amperemail-onmicrosoft-com header.b=M7D0bmi2; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-168941-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168941-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 2DB93281A98 for ; Sun, 5 May 2024 10:08:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2308DB662; Sun, 5 May 2024 10:08:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="key not found in DNS" (0-bit key) header.d=amperemail.onmicrosoft.com header.i=@amperemail.onmicrosoft.com header.b="M7D0bmi2" Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2099.outbound.protection.outlook.com [40.107.223.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0DE7B3D76; Sun, 5 May 2024 10:08:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.223.99 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714903715; cv=fail; b=RC/7dGeft7VHUvV1Dcox+peGPNQzr1q4P5WgT4Nwp4N8h7fAbtnQzQz5bXl7VWoLTL0rXfnCNStgS26pLNJRD7VJnh27P1uWr95AyXsd7YCF7FBqyFd8G2htTj/2er19eb8vabYb2rvhTSQO3wUiEIh7HSE7OwEca7R0qEdXPgg= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714903715; c=relaxed/simple; bh=TGNtx/AlqHWl9hQy2eeC5rNjQ1HSRHtFsrw2DwvftXk=; h=Message-ID:Date:Subject:To:Cc:References:From:In-Reply-To: Content-Type:MIME-Version; b=f9Kn4qX2wncqNc2wI6x/CkXua3CDbqzuq0cXuUOIqilKLSTYGL4HZvSGA1d0F+31uUs56xQteZT3MLX3LQ0kMcSVzlfJbE84Xx64767Z+FaMHkPwkAszxLW2ku98z3qm6flexWixsdqxdjrqt0LlPGE5SesPtjAdnLSsa5lONIg= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=amperemail.onmicrosoft.com; spf=pass smtp.mailfrom=os.amperecomputing.com; dkim=fail (0-bit key) header.d=amperemail.onmicrosoft.com header.i=@amperemail.onmicrosoft.com header.b=M7D0bmi2 reason="key not found in DNS"; arc=fail smtp.client-ip=40.107.223.99 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=amperemail.onmicrosoft.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=os.amperecomputing.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hKZC+8BCUMjhd5wXKiKgo4OW6eMIDlsSpjlM4FIlvbdgrF+xPV9z6VLsFjEVimLDYn3ScvYlpnOJ/Z88mZrxcmDqsPXUXrGM4e0JN2qxqlxKlvHaHrcPwUBcNp7vAMwubRmcVpZ6T3oh2TIArlBWHlk910ghLxk5jyaIDATi8pBTOgwiQQOuVmAcXRc5k+51IH4O7q1aNppzJBd/0MqEKnXu/e5lG3oUnEzuaqOxjNkR7aDqi0heI+UJUUyQa+4vpbWf9HhGFv6HoJmbKjnQgqKrZ1abYrGzlo2kN5ide6vILwDbmHZTBLRPLuZFTIH+Vh6GzsWAD0HqyNPTbk6Tew== 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=R5pipOz/4xBDRXVq7KDNuBmnPewEO01r0h9MchghJi4=; b=apVjAUtCDv2dXYdIs/0dBaSNadKgEm8qiau9KE2r3ng+iBPOcpw9HYB16cXrWPJbUId3t6oh87uVsA+1D2J2I2nIICQX/Wu11ccDa5awY2uvG+SkG8pEkvcoLtVxJOlp5uz3uKMcrQv7V+6TXQYbjjNlNZvYFxsa/bwS5vSI2ORHvdf+6MkaITXw4jR3Im7pHJztwQQQ4rFLieX3uD+HqKVimAH2t+xTWb5w/qGymson9I/AfY0xVkqcjx47DuXGeT0f3D+E0LP4+CLajCyUpW40j+Roljx2jWJQX5+fvPu8ycI+aBp+H54QV9YuSz/6BdbvPV0h81qfHqUZeCspoQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=amperemail.onmicrosoft.com; dkim=pass header.d=amperemail.onmicrosoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amperemail.onmicrosoft.com; s=selector1-amperemail-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=R5pipOz/4xBDRXVq7KDNuBmnPewEO01r0h9MchghJi4=; b=M7D0bmi2ZM0LtbaAkHqbcrn8YyQYveanhx+/JVO4ZT+EWhhFpxQ9zvjGGW2Dhc13KkBQDKoWAmCNX0SRI1BA3IjY7kEZHtjPTclBMujYzTYicXRylhhtGphktOtp/D0F/grb54aZbKKwZ0zT8PCWzLXkelRh+jjikdlibpY/hrw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amperemail.onmicrosoft.com; Received: from DM6PR01MB5947.prod.exchangelabs.com (2603:10b6:5:1dd::12) by IA0PR01MB8277.prod.exchangelabs.com (2603:10b6:208:48e::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.24; Sun, 5 May 2024 10:08:29 +0000 Received: from DM6PR01MB5947.prod.exchangelabs.com ([fe80::919c:7d6a:2069:b0ca]) by DM6PR01MB5947.prod.exchangelabs.com ([fe80::919c:7d6a:2069:b0ca%3]) with mapi id 15.20.7544.036; Sun, 5 May 2024 10:08:28 +0000 Message-ID: <0dcc8788-604a-49c1-8c6b-fdbfa9192039@amperemail.onmicrosoft.com> Date: Sun, 5 May 2024 17:08:15 +0700 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 3/3] dt-bindings: hwmon: max31790: Add maxim,pwmout-pin-as-tach-input property To: Guenter Roeck , Conor Dooley Cc: Krzysztof Kozlowski , Chanh Nguyen , Jean Delvare , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Justin Ledford , devicetree@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, OpenBMC Maillist , Open Source Submission , Phong Vo , Thang Nguyen , Quan Nguyen References: <20240414042246.8681-1-chanh@os.amperecomputing.com> <20240414042246.8681-4-chanh@os.amperecomputing.com> <13b195e6-cbbd-4f74-a6fa-d874cb4aaa45@linaro.org> <065243cc-09cf-4087-8842-bd4394fb324f@amperemail.onmicrosoft.com> <20240423-gallantly-slurp-24adbfbd6f09@spud> <396b47f5-9604-44ab-881f-94d0664bcab8@roeck-us.net> Content-Language: en-US From: Chanh Nguyen In-Reply-To: <396b47f5-9604-44ab-881f-94d0664bcab8@roeck-us.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: CH2PR10CA0021.namprd10.prod.outlook.com (2603:10b6:610:4c::31) To DM6PR01MB5947.prod.exchangelabs.com (2603:10b6:5:1dd::12) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR01MB5947:EE_|IA0PR01MB8277:EE_ X-MS-Office365-Filtering-Correlation-Id: dc41bc7d-d0bf-4389-a396-08dc6ceb4e8c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|1800799015|7416005|366007; X-Microsoft-Antispam-Message-Info: =?utf-8?B?dzdzL0p0dTVXUFJTTXVUT2RzdmZIdmd3b0pWWm8zTWxIOTFSOWU4c3RaOE5y?= =?utf-8?B?S2lGcGxSd2REQUYxalo5VFluTWxFV2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1Ry9CczhzUFl4M2JQaWpjS29WMDZDdTNXanllWVMrM1lrbGhk?= =?utf-8?B?b3RlNkdvQ2cwZnIwWTdzMDZZczNSajloeWhnRnBGbnc0bXduZ3ZmTmFWNFNI?= =?utf-8?B?a3R0OXpYOVluZlZBR3haZ3JvNUM0NmRBOG9FTk54YVRRRXJuMmsyQmRGMGg5?= =?utf-8?B?NWFWRzJ1Y0xqd3RSSHp1RWpvaXdNZkNYdXhXeGpIMS9rVGpjQXFyS1MrSnEy?= =?utf-8?B?VGpiVVVLeFFGeDNsRzVkS1FLdG1wak1JVFh2Vmdyd0RFTWNYaDJBemo3aVh3?= =?utf-8?B?ZXhqY1NFaFJ2YjYrc2NZR01Ocks3c1VoU2xGdjV4ejB0MlV2UUhzWTFUWHJj?= =?utf-8?B?dmh4SXhpQ3U4MlpDYmNvbng3dDBLU25tdFJnbmhudXBLQ0xabDVlVFRsdXZ1?= =?utf-8?B?bW9lbzlySDMxZXJ2Tnh2bFJVd3VRWTU4bXlyTkREVTZtOUdZTmVaZTNGVWwv?= =?utf-8?B?RDlYWFVnVjl5c0N5UWwwalJVcjJ4UTl6YUsyT1lTR0FMR2RuaFlyMDJrK2pw?= =?utf-8?B?T213Q3U4MTE3cXgwY2I4RlJyRThiR3ZmNHkxNUQyTDJsbERCaURGR0FMZU9y?= =?utf-8?B?RDBPam11eXZGemFYajlBblJMUUwvSHN1ajRmWitZM1g0NlA2Tk5TVjBTM3Zj?= =?utf-8?Q?DzaKnmZ/9hpO4+NJ0n4HXrH1BAjG6FCMAhKM3B7vmrvM=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR01MB5947.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(1800799015)(7416005)(366007);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?T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mlT?= =?utf-8?B?STNFWnZGZ3lMNkRvdW0vdm1uTnFTUWRqWCtrdzNwS1VsNysvLzZzTlpCZVF6?= =?utf-8?B?b0hlaTRWSVdrekw0eHgvcHJqZER0bGdoRDVCeGtZOCtNVlBTT2VhOTh3TW9m?= =?utf-8?B?L0wrK3p3cVMyVG9aWS8xM2hRZkZ4L2QxZURMejdYNGJXS00yMXZaTjR5NWZO?= =?utf-8?B?d1l3QnhpVm1uYmFtSG9QN2VlV3dLckZtK1BDU1k0cU1tMlljSXJMRUhmY0xz?= =?utf-8?B?Ny8rY3lZeUw2c2w2VE5EcTdicUgveVFqcktOTVQ2V2ZVM3B6Y29VcWFmZjVL?= =?utf-8?B?SEtMNGMzcEZlb3RYM3BPejlqVzhsMHFNdWJDZ3duL012Zm93ZEF0QktMZS9l?= =?utf-8?Q?gH9gwa8YrnWFTvnMMGOOOR4=3D?= X-OriginatorOrg: amperemail.onmicrosoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: dc41bc7d-d0bf-4389-a396-08dc6ceb4e8c X-MS-Exchange-CrossTenant-AuthSource: DM6PR01MB5947.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 May 2024 10:08:27.9796 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: cUwV3jVBx+UIybofd8tnez0e5asdcVLxG4/s11EQOWu8hgdD5IN/KzvM+bBnWQpPVlSY2NKq0cfTVFSMNoU/SWyqSUYsyB9gwIZjx7y9UqqcGQIvMakBR0FvsykJwFCD X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR01MB8277 On 25/04/2024 21:05, Guenter Roeck wrote: > On 4/25/24 03:33, Chanh Nguyen wrote: >> >> >> On 24/04/2024 00:02, Conor Dooley wrote: >>> [EXTERNAL EMAIL NOTICE: This email originated from an external >>> sender. Please be mindful of safe email handling and proprietary >>> information protection practices.] >>> >> > > The quote doesn't make much sense. > >> Sorry Conor, there may be confusion here. I mean the mapping of the >> PWM output to the TACH input, which is on the MAX31790, and it is not >> sure a common feature on all fan controllers. >> > > I think the term "mapping" is a bit confusing here. > > tach-ch, as I understand it, is supposed to associate a tachometer input > with a pwm output, meaning the fan speed measured with the tachometer input > is expected to change if the pwm output changes. > > On MAX31790, it is possible to configure a pwm output pin as tachometer > input pin. > That is something completely different. Also, the association is fixed. > If the first pwm channel is used as tachometer channel, it would show up > as 7th > tachometer channel. If the 6th pwm channel is configured to be used as > tachometer > input, it would show up as 12th tachometer channel. > > Overall, the total number of channels on MAX31790 is always 12. 6 of them > are always tachometer inputs, the others can be configured to either be a > pwm output or a tachometer input. Thank you, Guenter, for your explanation. That is also my understanding of the MAX31790 feature. So, I think we should introduce a vendor property to configure the pwm output pins to become tachometer input pins. We shouldn't use the tach-ch property. Because they are completely different, I think. What's your idea ? Please help share me, Guenter > > pwm outputs on MAX31790 are always tied to the matching tachometer inputs > (pwm1 <--> tach1 etc) and can not be reconfigured, meaning tach-ch for > channel X would always be X. > >> I would like to open a discussion about whether we should use the >> tach-ch property on the fan-common.yaml >> >> I'm looking forward to hearing comments from everyone. For me, both >> tach-ch and vendor property are good. >> > > I am not even sure how to define tach-ch to mean "use the pwm output pin > associated with this tachometer input channel not as pwm output > but as tachometer input". That would be a boolean, not a number. > Thank Guenter, I reviewed again the "tach-ch" property, which is used in the https://elixir.bootlin.com/linux/v6.9-rc6/source/Documentation/devicetree/bindings/hwmon/aspeed,g6-pwm-tach.yaml#L68 and https://elixir.bootlin.com/linux/v6.9-rc6/source/drivers/hwmon/aspeed-g6-pwm-tach.c#L434 That is something completely different from my purpose. > Guenter >