Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2799762lqt; Tue, 23 Apr 2024 01:46:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUaoq+IBQ4lFd8cD01iOPyoY6lYtMVlN7EjoHhke/k9PDl0EO4B2vb3UJRw55tLQKLsc7W25W7rPDR2ROhc+JmS0hiUpHAAjKT5t1ymjQ== X-Google-Smtp-Source: AGHT+IFR43Ev1QDfgQeMLcpobZ82nfvY9nKJwz8gwc9x5/OXv/d/gH5s2s5XCY2xMnb1xHiVLYvK X-Received: by 2002:a50:d491:0:b0:56e:2433:a0ab with SMTP id s17-20020a50d491000000b0056e2433a0abmr9490524edi.34.1713861981381; Tue, 23 Apr 2024 01:46:21 -0700 (PDT) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id r5-20020a50d685000000b0056bdc1ffbc9si6737990edi.543.2024.04.23.01.46.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 01:46:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-154725-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=temperror (no key for signature) header.i=@amperemail.onmicrosoft.com header.s=selector1-amperemail-onmicrosoft-com header.b=R3rrNeUr; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-154725-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154725-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 am.mirrors.kernel.org (Postfix) with ESMTPS id E9A391F21C89 for ; Tue, 23 Apr 2024 08:46:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D7AAC58AA7; Tue, 23 Apr 2024 08:45:32 +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="R3rrNeUr" Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02hn2218.outbound.protection.outlook.com [52.100.159.218]) (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 9399A5644F; Tue, 23 Apr 2024 08:45:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.100.159.218 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713861931; cv=fail; b=XM+UNZyrg2LfdaBFxNhcKJa86qx9iVQ/1izS5ns9wZ+HE5U5rLY2attisPE4Zq1ucxlHXq7Ay/YJOIwVEfsKAHG3mtRqwALSUr64ObNe1GYwptRb6OuZpO2Dh98whzJdWbuUxpyoUtkZT20fXaMmycFiO3ggHn2KwNvKb0CdDyA= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713861931; c=relaxed/simple; bh=2qX4kPg30r66dKtjNhL6Rb7YF7EaOxlg2r0Iqu6mxcQ=; h=Message-ID:Date:Subject:From:To:Cc:References:In-Reply-To: Content-Type:MIME-Version; b=mTpieRdxtnBQWxiJpNNGXsZwB8oPLQOU9numB/y/D9UQOS7tWEkB+znLbZuaZ6npXV4b3nrCkoZS7BN/idXA3/cZ+FsoWiYXg4nh/kDpeaIjeK2fU3ARhebukP5rvQpzPmt8LgOklRw51nfDB872wogzyBTFVB2Ugo2qQJAUNIE= 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=R3rrNeUr reason="key not found in DNS"; arc=fail smtp.client-ip=52.100.159.218 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=jKZ8KTriojy4tPV1gSc7bqREQuzGZI+HBRjQ5OqJpK8q0/0cgrVycZwzdevEnJSh/OnKvCUF45b/IABuNkqots/Mlde0fxoFXxlFCSSRnLUhNboOHdHRkTH2urVssDp9zOlMQLlPU9W+SCIjmJLTUx04CT01YO9eSUfpNywd/uPoSKx3Xu/ZkB2FMWSPNg5lg2mbuJP0TyF/gE4AgT1JjyIc2NPyUQI8o9I5fsPvZj/maF5gqENhB+Whv0n5TkPOQdsHBwomYJPB7TA4e705Q0cquq5Y6tlKd4wtZXOLJaUyT1ycm9d6+AR4kmqpOeW36tMyPeeUpseRq2b7l92w5g== 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=F5EzqQZSooulsjkTANisIwV4TevWyZLmJEs1QVuSeJs=; b=P5gxPCKBGLDDhD/pZI53H8ZxU+mrdkY95hR0CLsXKSm8Iq9q6pY65ikT3+aKiG9+QWpXGnQ+4/1Obg68W5glgJW/ljuXrPBPiHRn1dwY5wTcACrCHoCo35qMDzo4ZFmupnQbc5ploWwFnRx3B9kjdukQA8iRhvYBWy5OX1a5vhjL9JlYjWVpSagubJlGA3qXgX4RU7zYktXPeD9jXxWQZKHu6Mm81WCIedahZGJO2xMsFQpvvIP5sNsurM8hmpSSqGJpwYNeM0oOmrBbfYao/KXkobeEoR+t2RIQXDNf2e6wywdjDJ5v7GG6sPj2UG02AGngmvfo8QKglmHNDodljw== 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=F5EzqQZSooulsjkTANisIwV4TevWyZLmJEs1QVuSeJs=; b=R3rrNeUrHKhgkq85vTy8MzaBm4JEAvDNhFxvnUkCNG0+wQsq6oYYgyO4Rxyk0kUTYlDA1tPfzui25L5s49f0fpiA4C6h168FWd6rGpm7LNt+jGQW3UW2bk0rBAuGioNqZplMqr11UY7a4dBYUhkKGuODoIaev2S0dPuRhRoslNM= 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 CH3PR01MB8267.prod.exchangelabs.com (2603:10b6:610:17c::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.44; Tue, 23 Apr 2024 08:45:24 +0000 Received: from DM6PR01MB5947.prod.exchangelabs.com ([fe80::b557:13cd:8a29:ae08]) by DM6PR01MB5947.prod.exchangelabs.com ([fe80::b557:13cd:8a29:ae08%4]) with mapi id 15.20.7472.044; Tue, 23 Apr 2024 08:45:24 +0000 Message-ID: Date: Tue, 23 Apr 2024 15:45:12 +0700 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 3/3] dt-bindings: hwmon: max31790: Add maxim,pwmout-pin-as-tach-input property From: Chanh Nguyen To: Krzysztof Kozlowski , Chanh Nguyen , Jean Delvare , Guenter Roeck , 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 Cc: 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> Content-Language: en-US In-Reply-To: <065243cc-09cf-4087-8842-bd4394fb324f@amperemail.onmicrosoft.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SI2PR01CA0019.apcprd01.prod.exchangelabs.com (2603:1096:4:192::12) 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_|CH3PR01MB8267:EE_ X-MS-Office365-Filtering-Correlation-Id: 9917c390-700f-4fa6-ce80-08dc6371b74b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: =?utf-8?B?UzdiR3YrR09kRFVOdStMOTNXSm8rNkd4ZkRHUDREOEEzM3JhREQzYjBhd0RW?= =?utf-8?B?MnpKdnhGL0NjMzVvMWtrT1VxQWdFcStsQVlsNm9STWVtay9wZ1dHOVZETTBk?= =?utf-8?B?SVp6WlFIMFZZd21Ma0pqenZ1cUlWUHVRNmpqTi9laGJWZ3dPUUZqU3BKSFd5?= =?utf-8?B?OTlxT0hvT0lUYUZSSjFPOEZKTldNNCt6bEt3YUtJSGF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utf-8?B?Y3h3UnhlaVp2TlE2UHVuajBhMWI2U213enlkeXFtaEY4SFlVZ2hUeGZXUmpo?= =?utf-8?B?cnRNNHBuM1hBSVNndHZLOXpzZGt1bVpjTTUzTTVkem9nMFZxd1dGVFl4VEs0?= =?utf-8?B?SWFsenVGSW11UW9pY1FabWZFLzJnVTdkMmdPTDFnb1VJcGtuWjlzV2FjT2Yz?= =?utf-8?B?NWFmNm9FS1JvNkFhOHFMR2R4TERSK3p3ZCtZeVJoK3J6aHVNQlptT2RUcDlP?= =?utf-8?B?NndxZmFtYXpJQ1A5TGVvaWhBNm9Jci9qMlFOeFFDN0hDTjNrekpzelVjaGJX?= =?utf-8?B?dFlPM2tzVGc1YVBUMytiNzFMejB2TmZ4Rm5iVitWSDZrVXJxSzVQUT09?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:5;SRV:;IPV:NLI;SFV:SPM;H:DM6PR01MB5947.prod.exchangelabs.com;PTR:;CAT:OSPM;SFS:(13230031)(366007)(376005)(1800799015)(7416005)(34012699006);DIR:OUT;SFP:1501; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?a1JQekFDeUpXbVFWcUw4U1Q0K2I3RzV2cDk3ekhCOVNYWVF6MDlCTktrUVVX?= =?utf-8?B?b0UrVW5ZR2ttSXpwRWlNTGZoYTg3TUU5WDVVRWxHck43S2RocWhmazFuODQx?= =?utf-8?B?bmQ0Vlh5WWpjQzd4ZlkrNWkySDlBNjlCeEQ1SVZXczRUTWx1WUo4YWZQVm1l?= =?utf-8?B?aG1Rb3dUTmhJL0NGSlhDdEJPdjlsR3NBdk81aUtIZ212MThZanh4MnhseEdN?= =?utf-8?B?MGx1eFdiYUx2aXl6OWsyV20zbURST01DbFQ0UnhlZ0RuTlBRSjk3TU9YV2RP?= =?utf-8?B?OUZtayszSjltVnh2OUpyanlMR3A3RUtFWXQxQURPNEFFVEVTcHJsT2R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jgxQ3RjZjNzVDVMUXJSN3o3RC8y?= =?utf-8?Q?bEoGDkCJDXSiqjTe+0Sej3I=3D?= X-OriginatorOrg: amperemail.onmicrosoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9917c390-700f-4fa6-ce80-08dc6371b74b X-MS-Exchange-CrossTenant-AuthSource: DM6PR01MB5947.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Apr 2024 08:45:24.3817 (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: OS2OddWgDnOcGFp6DaRhHxsG+TCrfdztLGVtMJU+Sz6Y19wgbdtrOB+ah05vKT2zY8EXIp7+F5bjhwyNysVy4HagfeyaOAxWe8lCnjZJPqY1fub5R9Xwr7okhpd94R1f X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR01MB8267 On 16/04/2024 11:52, Chanh Nguyen wrote: > > > On 14/04/2024 13:07, Krzysztof Kozlowski wrote: >> On 14/04/2024 06:22, Chanh Nguyen wrote: >>> The max31790 supports six pins, which are dedicated PWM outputs. Any >>> of the >>> six PWM outputs can also be configured to serve as tachometer inputs, >>> allowing for up to 12 tachometer fans to be monitored. >>> >>> Add a new vendor-specific property, 'maxim,pwmout-pin-as-tach-input', >>> to allow PWMOUT to become a TACH input. >>> >>> An array of six integers responds to six PWM channels for configuring >>> the PWM to TACH mode. When set to 0, the associated PWMOUT produces >>> a PWM waveform for control of fan speed. When set to 1, PWMOUT becomes >>> a TACH input. >>> >>> Signed-off-by: Chanh Nguyen >>> --- >>> Changes in v2: >>>   - Update the vendor property name to >>> "maxim,pwmout-pin-as-tach-input"   [Rob] >>>   - Update commit >>> message                                                 [Krzysztof] >> >> Please put binding before its user. >> > > Hi Krzysztof, I'll drop this [Path 3/3] in the patch series v3. > > My patch series will only be two patches. They are "dt-bindings: hwmon: > Add maxim max31790" and "hwmon: (max31790): Support config PWM output > becomes TACH" > >>> --- >>>   .../devicetree/bindings/hwmon/maxim,max31790.yaml     | 11 +++++++++++ >>>   1 file changed, 11 insertions(+) >>> >>> diff --git >>> a/Documentation/devicetree/bindings/hwmon/maxim,max31790.yaml >>> b/Documentation/devicetree/bindings/hwmon/maxim,max31790.yaml >>> index a561e5a3e9e4..2d4f50bc7c41 100644 >>> --- a/Documentation/devicetree/bindings/hwmon/maxim,max31790.yaml >>> +++ b/Documentation/devicetree/bindings/hwmon/maxim,max31790.yaml >>> @@ -30,6 +30,16 @@ properties: >>>     resets: >>>       maxItems: 1 >>> +  maxim,pwmout-pin-as-tach-input: >>> +    description: | >>> +      An array of six integers responds to six PWM channels for >>> +      configuring the pwm to tach mode. >>> +      When set to 0, the associated PWMOUT produces a PWM waveform for >>> +      control of fan speed. When set to 1, PWMOUT becomes a TACH input >>> +    $ref: /schemas/types.yaml#/definitions/uint8-array >>> +    maxItems: 6 >>> +    minItems: 6 >> >> tach-ch solves your case. You define which inputs should be used for >> tach. >> > > Agree Krzysztof. I'll use the tach-ch property from the fan-common.yaml > to solve my case. So I will not need to define a new vendor property as > "maxim,pwmout-pin-as-tach-input". I'll drop this [Path 3/3] in the patch > series v3. > > >> Best regards, >> Krzysztof >> Hi Krzysztof, I checked in the Documentation/devicetree/bindings/hwmon/fan-common.yaml. I found the tach-ch property, but it seems define the tach channel used for fan. tach-ch: description: The tach channel used for the fan. $ref: /schemas/types.yaml#/definitions/uint8-array In my purpose, I would like to configure the pwm output pins to become tachometer input pins by setting bit[0] in the Configuration Register. I think a vendor property is suitable for this purpose. It is only available on specific MAX31790 fan controllers and not on other fan controller devices. So I think we can't use the "tach-ch" in fan-common.yaml. I discussed it in the thread https://lore.kernel.org/lkml/ce8b2b49-b194-42f7-8f83-fcbf7b460970@amperemail.onmicrosoft.com/ , but I have not yet received Rob's response. Please share your comment with me. I hope that will help us make a final decision. Thank Krzysztof very much!