Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp1167919lqt; Fri, 7 Jun 2024 09:47:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXlfCBoizcfD/HqAje2kn78YZeyvOXXyNnWdr4kb2RLxNWkxJk/cXf0rXLcaYbYKKnG7EHftZfRsk5YHGWugeyvr7FUIKHFWQ47F6gWaA== X-Google-Smtp-Source: AGHT+IFpMKdUYk4xfKtasqCE8KNb+neMdkYu/f/ETfEN5QIbQD9tPaAPxCDTWnJru8rawK5gy2+F X-Received: by 2002:a05:622a:1a9c:b0:43a:a8ad:179a with SMTP id d75a77b69052e-44041b8eea7mr36329061cf.32.1717778838250; Fri, 07 Jun 2024 09:47:18 -0700 (PDT) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-44038a86a7csi44909091cf.221.2024.06.07.09.47.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 09:47:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-206505-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=temperror (no key for signature) header.i=@amperemail.onmicrosoft.com header.s=selector1-amperemail-onmicrosoft-com header.b=JnRZ9yv8; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-206505-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206505-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id C51A31C22090 for ; Fri, 7 Jun 2024 16:47:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A70EC19AA6D; Fri, 7 Jun 2024 16:47:11 +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="JnRZ9yv8" Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2111.outbound.protection.outlook.com [40.107.94.111]) (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 C5335134B2; Fri, 7 Jun 2024 16:47:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.94.111 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717778830; cv=fail; b=K/oZSbebsg/3dv+FpUDyQ80I/8nkGSDEf2edbbCIIco+XoTOMr2XKN68yi+H8E/vZz1wThvvEotNOfx5HfFumkrnXSVvTNYOmmjHjrxcaOi+/m72Jikqzn7Kyv42iPCuweqZTGx1Ao2ZWUijtXqXG5OBPha4RbCtEtWSlp3wHEM= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717778830; c=relaxed/simple; bh=4NkV7hokM/7LJEMraYebpIzWBz2cnBg3FVSUIL0otks=; h=Message-ID:Date:From:Subject:To:Cc:References:In-Reply-To: Content-Type:MIME-Version; b=DO7GC0LRZUxji0AbGU5/beI9uhs7j52i680atKLB7Vom8W6dWI+uVeb4DXGLHA68ZQbk626YPp5ianqsxshW5NlkfsIPmtJGmAsOPxnuOn1nkIbDVApF/xrG4xKC+pqAmKuqa1dcnYxm1oMfhVF/+3aiKk1Zl1hm0p3R6i6twOs= 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=JnRZ9yv8 reason="key not found in DNS"; arc=fail smtp.client-ip=40.107.94.111 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=A2yLKJuuUe+jXg6kZXpeabekORZzQ0X29+zqT3+P77nlowgEyHIJUt2GWp4+Qma9Ic6Cxe1sHmNQqRrJwfRsmSXuhXCsxCviK3snZkFCvBs8anS8gXrj5ovY+44XjXqngci36/A68FsOoe5PtSM1UyZbAy+VHk20QXhsmqsBTvnVyruGPnkWsB+r3bqVWbcrGs9BkYWSowdy3TPMCmT/KcHg44aHv13vZ3xMQD8vttwub1GvItdYYMHhqeW+JG8Cw1fLEHL9d4ZklR8v1wUyL2I/NsEq+Xu7HFj0Fn2m7MfhfbjOarKFbxE07BRfIHb9h5BRY7qYdx1Cbs6Gmom8AA== 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=n4AF+CrlQjOSIXynNGm/bkA1U7ShpesIpF9FHHt6/Bw=; b=BpRNGU8eXzdFZIRvDBALjBtSPwLL2wYGcl0Ehi+LGP5r4RDwDGawYqKQUuoo/k695oBLA2P8spbVvwwo6m0FMgx1zRk9TmYhW7D1xBpKd2m0Am1v+KWpvi9SgMJRWcpKTyMhejo1VlxheNBltC4zruyrASjK2Cal4RvRgc7OvCeiAbvZYKfU4H8kOCZEmGvgU6tm3VXvKySqFM1LprBsu54K0C1VqOM8UQv4uWB7p6ZMRydJmjyF4fZYSZL1s1Uvkf8H4rPND8dWS4H9cPIW9HQ/gFVzfbn3Wr4sVWCd77B0QY3VouzbG+qNLCNDz/WQksjBLtfSrvaZfqH1abasrA== 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=n4AF+CrlQjOSIXynNGm/bkA1U7ShpesIpF9FHHt6/Bw=; b=JnRZ9yv8mkkUjtj/xwD/aiHmwVYJEDprRS/Rie/r+vQAvwGjLRxl3OSJLi3bpFgt0JYteIeENsytK1JI64V0ADqxxLSbUhzlsX7T13jPb1YumXUzz6Oa1CDsrE5jboIuFfFBc4i8BLTWbtJOnzxBd6rGQP3d5/2AEC2dQlVPrBI= 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 CH0PR01MB7051.prod.exchangelabs.com (2603:10b6:610:10c::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.34; Fri, 7 Jun 2024 16:47:03 +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.7633.033; Fri, 7 Jun 2024 16:47:03 +0000 Message-ID: Date: Fri, 7 Jun 2024 23:46:52 +0700 User-Agent: Mozilla Thunderbird From: Chanh Nguyen Subject: Re: [PATCH v2 3/3] dt-bindings: hwmon: max31790: Add maxim,pwmout-pin-as-tach-input property To: Krzysztof Kozlowski , Guenter Roeck , Conor Dooley Cc: 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> <0dcc8788-604a-49c1-8c6b-fdbfa9192039@amperemail.onmicrosoft.com> <8fb38eb3-bb94-49cc-b5bc-80989d7876b9@amperemail.onmicrosoft.com> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SI1PR02CA0045.apcprd02.prod.outlook.com (2603:1096:4:1f6::16) 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_|CH0PR01MB7051:EE_ X-MS-Office365-Filtering-Correlation-Id: 6e8dcf05-e880-4725-74d8-08dc871174e6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|366007|376005|7416005|1800799015; X-Microsoft-Antispam-Message-Info: =?utf-8?B?VkxsWERtdDlPL292azFQSzdTYVQ1aUE0UjA4bFcxUjZiT0tNUDdPTExBNjBX?= =?utf-8?B?TCtPVGdXZWJVaTNna29mOVJkeFFRWFBsem1xaHNqRXJ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TVjWVVoWWFiUFpUTStW?= =?utf-8?B?SnZ3eTRUeVVET2w5blJqV1E0T3d3ZVJPTk00RU9zdURvLzgrMSt3TW1UcGo5?= =?utf-8?B?dWZmMzlrWGovcTk4bDBnWU1zK0c1RGlxRFh1QUpXeEY0U1d6czY3S1pIRjVV?= =?utf-8?B?eFIxNlJ2QXlxV01KZXU3UEVYWEp1cmxEbVpFTlZGTlh2SEx3eUhyenNhbkg3?= =?utf-8?B?d21hamRTNjRvUnZHb1NiLysrd0NDbFR2M0RSMmVLb2xxQkN1a09DaVJ0RUlV?= =?utf-8?B?NEtGSk9ETmtYY3BqRU84N3prZFVLU2g0QmdxWFVqbGhMYXMvWnFlZHJXbk5O?= =?utf-8?B?Q1U3bXBxbmRvMnhMUldXQ2lLR01RMklLRUt4WUFHOFgwd2huSXNOTnI5QVVh?= =?utf-8?B?dk9HRm5iL0VkMmxUK091SnIvd041eFdaZjcyalFMM09OZXFUUnBoMi84V1Mv?= =?utf-8?B?cUY0aTRPd1lKR2luT2hMbzlPWTlQc0ZZbnRxczA2elBleVZpb2p4ME1VTi9R?= =?utf-8?B?eEI4UUhMUTEySmZtSGE5bEVNVFhPYWF1OTducWRTNDRRWTd2aDROWVhHKytK?= =?utf-8?B?ZWErc0J2TEFjNDJkMkFJZW1mK0cvSE1MT3cyVTdDQlRtRDd3VzFCR1dLWXp2?= =?utf-8?B?a3NFVGsvSUhJTmhUekdEWkk3ZjJ1TXhDMDVqanZONFhRaVRqOXY2dHJWeE93?= =?utf-8?B?YlFuZWpsMWVTNW5yT0dvR3U1VU9BdTFJOG0wa3phS2tsV0dhRmxVVkVnPT0=?= 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)(366007)(376005)(7416005)(1800799015);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X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8?B?bFZXaFJKY0RRaVpTY29JNTkwVlVpRHN2TDhPQ0Zwd0txUmhacktJdWo2NE1v?= =?utf-8?B?UjlPMERDOERZdEM1RVpnSTZNM1RsOFluM21sV2k2MlRnaTIwTjFDRWhkYlFE?= =?utf-8?B?RXRaYnlhM0RjMDRCVGZnbnlpYjRVdy9GSlV2RDF5SHF5MnFyWVMvanl6TWYy?= =?utf-8?B?SllORTIzM3lxMTk5TTJkWjVsSEluKzYzcTNsOXVzdkt0Q3BpeW9wVTBFT2ts?= =?utf-8?B?SzlCRXFIYXBQYzM3VFJrWDVqeW03UlNIczhCekdlUVpEdzJ1SUlpVWxHRTBx?= =?utf-8?B?dkxIVnR1b2h0ek9hZjRwUHloRlVFNGZUa3FERWlpcnhhcjE5aDYvSDZRV1Aw?= =?utf-8?B?dnRjd1RYK3hIbFE0cUlQN0pzWTIzSllxYTNQUkg1d3lpRHEwZXc4ZFBnUTZT?= =?utf-8?Q?16w5E93uBu/V14HDC8JU55Y=3D?= X-OriginatorOrg: amperemail.onmicrosoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6e8dcf05-e880-4725-74d8-08dc871174e6 X-MS-Exchange-CrossTenant-AuthSource: DM6PR01MB5947.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jun 2024 16:47:03.1791 (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: q+BHTRgK3wjU3RbdgXnRvnPmlg/Oo7OmA6eG9D91XtzXgpkYzE2lxsKZ9ReBd7SbUnMCflsuq/2ptEDnsfALTyOmkD4v1RxqsIgyeUGZC8uhPvMdrkP3lMqOGMo03/6+ X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR01MB7051 On 09/05/2024 15:29, Krzysztof Kozlowski wrote: > On 08/05/2024 05:44, Chanh Nguyen wrote: >>>>>> >>>>> >>>>> 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. >>>> >>> >>> Based on its definition, tach-ch is associated with fans, and it looks >>> like the .yaml file groups multiple sets of fans into a single >>> fan node. >>> >>> In the simple case that would be >>>     tach-ch = <1> >>> ... >>>     tach-ch = <12> >>> >>> or, if all fans are controlled by a single pwm >>>     tach-ch = <1 2 3 4 5 6 8 9 10 11 12> >>> >>> The existence of tachometer channel 7..12 implies that pwm channel >>> (tachometer >>> channel - 6) is used as tachometer channel. That should be sufficient to >>> program >>> the chip for that channel. All you'd have to do is to ensure that pwm >>> channel >>> "X" is not listed as tachometer channel "X + 6", and program pwm channel >>> "X - 6" >>> for tachometer channels 7..12 as tachometer channels. >>> >> >> Hi Guenter, >> >> I applied the patch [2/3] in my patch series >> (https://lore.kernel.org/lkml/20240414042246.8681-3-chanh@os.amperecomputing.com/) >> >> My device tree is configured as below, I would like to configure PWMOUT >> pins 5 and 6 to become the tachometer input pins. >> > > And what is wrong in described common tach-ch property? I think we > explained it three times and you did not provide any arguments, what's > missing. Instead you say "I want something like this in DTS" which is > not an argument and does not help discussion. > Hi Krzysztof, Apologies for any inconvenience caused by the delayed response. I'll to support the child nodes by having different tach-ch values. I suggest the child nodes and the "tach-ch" is optional, it will not be added to "required:". Do you have any comments? Please help me share! This is a brief binding ... properties: compatible: const: maxim,max31790 reg: maxItems: 1 clocks: maxItems: 1 resets: maxItems: 1 patternProperties: "^fan-[0-9]+$": $ref: fan-common.yaml# unevaluatedProperties: false required: - compatible - reg additionalProperties: false examples: - |     i2c {       #address-cells = <1>;       #size-cells = <0>;       pwm_provider: fan-controller@20 {         compatible = "maxim,max31790";         reg = <0x20>;         clocks = <&sys_clk>;         resets = <&reset 0>;         fan-0 {           pwms = <&pwm_provider 1>;           tach-ch = <1 2>;         };         fan-1 {           pwms = <&pwm_provider 2>;           tach-ch = <7 8>;         };       };     }; If it's OK, I'm going to push the patch series v3 soon. Thanks, Chanh Ng > Best regards, > Krzysztof >