Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp358711lqb; Tue, 16 Apr 2024 19:54:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUg6EBYc+zJt7Oq/ancClbxPjRvXCxGBXdiA5g60QT2atkeSPBMOF/cfnbRCqhBpQoHQHHxIbdo2CUT6KSbkjQlhtLVF2pg7t/UIdZ0LQ== X-Google-Smtp-Source: AGHT+IGYZp1h7hn67JVCr89VhFQcif/OQrJ2INUHEERPSc7GtLaLXHTLzCjBxmwKfEQix8+GMFGe X-Received: by 2002:a17:906:c309:b0:a52:4246:94d1 with SMTP id s9-20020a170906c30900b00a52424694d1mr6883792ejz.7.1713322475410; Tue, 16 Apr 2024 19:54:35 -0700 (PDT) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id cs14-20020a170906dc8e00b00a5222c4b5e5si6565222ejc.361.2024.04.16.19.54.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 19:54:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-147868-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=temperror (no key for signature) header.i=@amperemail.onmicrosoft.com header.s=selector1-amperemail-onmicrosoft-com header.b="k20Cvit/"; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-147868-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147868-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 E837B1F221F6 for ; Wed, 17 Apr 2024 02:54:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 627D2747F; Wed, 17 Apr 2024 02:54:26 +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="k20Cvit/" Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2106.outbound.protection.outlook.com [40.107.236.106]) (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 63AE579C0; Wed, 17 Apr 2024 02:54:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.236.106 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713322465; cv=fail; b=ixkuBn1/Cybz6pB5ryr12OxT1v6TC+KO4K2sbTjHbBCTBdQhUUof/zzhPpU7+ssc8ijtTEUM/Uy2+gzgVKpzGS2qmYZT8Nf3b9/Iw2tH1oCGGQSYOIocfGXUAgRPV51egCiiueGWQ5OBcmJ8qz86yBjF3ebYBXmYUhqM8LSmHOs= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713322465; c=relaxed/simple; bh=j2WXg8cYGwt6SVYpRKrhTkCEFojyUCdHuTKngh48yAo=; h=Message-ID:Date:Subject:To:Cc:References:From:In-Reply-To: Content-Type:MIME-Version; b=Irh4rhRac8YfTlhdDrLmGDv22vRh66EQY7hmKFipoHU2ZzbDctvIJVK/QdZx1s1Ka77nf/lj8HmEoso38DJPRy9D6Slwnz10PoRvz8MH3iLanZ0g0vXAPDTWbeEyB8CehgWLGpEi0f4rstqiQkOcKuG+4QJqEFTCFXnF/BwT17k= 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=k20Cvit/ reason="key not found in DNS"; arc=fail smtp.client-ip=40.107.236.106 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=J1a/5McrpOV5lcfCB98MJ3qjQAjUZv1B8I1bZKK91og6sUrt7VIgCS7mX6lkqB83mYPo+ajmOs1kVShzQNGqmEEmZ4WDjcv+3ZYPN/Bq5osFvcrrFER8Ug3HyPu0HOfVca9w+FjHySOV7nzh+5jf0bP4RBuPYPxTDloMZXF50+I7+VJDUbVlyqK4oGdha17ZMSOEpiyLtiUfoRHk8MeJROSZBzvlBN+TFVBxnSnqiH3ARg5pspmLd4FKDqpNrmehUd1+v3zJwc0i52VS+wpP44yxpX/5PnSZ3/l6fSB3Usvd+16rs9CYo4tmS581bz4y0NExieApODHAA7O9mML81g== 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=QvGKNw4lYWjAOSNCzGrpqOwmynRYmMy5OMgWuAWKiys=; b=WI2eAxajrp39vJhm9YtCjoiNG2wWREfrPJy00ZZlKqlcwjj+yISqDKpmvezKx8AQEdYaoTPkzbLDtFGECJ716SPh4uBTksNeSXE16zkQPiXKcCwW2fShBvReRUz27kOlysDp7GuKDa5w08nGyohOtmxr0KjO1tnYq5wtawJ+n/b4DNi5XuLGzijqrr11uIoAf64ja7qQTDXoBbbQzn6PtGRlLe3UCOvN6QZOQugEy09BpRmrkTQ1aB7doswHts5LfYSp6MTn6DORQn0bNQL6EwgNyuC0UyXqOOb1KB5VX21HGpBs7EIHBVzWOzD93wwUmaSrvEGHsnlJYNDctJdffQ== 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=QvGKNw4lYWjAOSNCzGrpqOwmynRYmMy5OMgWuAWKiys=; b=k20Cvit/uHLWZq7hcorEc12Bf0bXZeGbvd7JqSJtebGALWalq+YC4uV+Vc5/Kq2dzOryyZlGqwWM6u7ijqWsSIV4d7u52JQACxTFkZdkrXYpqMQ8rSNZYH8AfH2FnHjKTu10DhVpuYVBXM5SisDVLChGxQoz0t/8PSa8Pc4joPo= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amperemail.onmicrosoft.com; Received: from BY5PR01MB5938.prod.exchangelabs.com (2603:10b6:a03:1bd::12) by BN0PR01MB7168.prod.exchangelabs.com (2603:10b6:408:157::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.50; Wed, 17 Apr 2024 02:54:19 +0000 Received: from BY5PR01MB5938.prod.exchangelabs.com ([fe80::66a0:fe74:f7f:6baf]) by BY5PR01MB5938.prod.exchangelabs.com ([fe80::66a0:fe74:f7f:6baf%4]) with mapi id 15.20.7452.049; Wed, 17 Apr 2024 02:54:19 +0000 Message-ID: <8ff7df9e-9ca7-47d3-a1b0-4997a0713341@amperemail.onmicrosoft.com> Date: Wed, 17 Apr 2024 09:54:03 +0700 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 2/3] hwmon: (max31790): Support config PWM output becomes TACH To: Christophe JAILLET , 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-3-chanh@os.amperecomputing.com> <79bef664-b191-4905-896c-afab341b982b@wanadoo.fr> <9bc38f67-01e0-4a38-8db8-4086a215b474@amperemail.onmicrosoft.com> <3a4e0543-fc40-41dc-8aaa-19811b96f1cb@wanadoo.fr> Content-Language: en-US From: Chanh Nguyen In-Reply-To: <3a4e0543-fc40-41dc-8aaa-19811b96f1cb@wanadoo.fr> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: CY8PR12CA0014.namprd12.prod.outlook.com (2603:10b6:930:4e::16) To BY5PR01MB5938.prod.exchangelabs.com (2603:10b6:a03:1bd::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: BY5PR01MB5938:EE_|BN0PR01MB7168:EE_ X-MS-Office365-Filtering-Correlation-Id: 7c7955e9-f49f-49db-1b39-08dc5e89abac X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: =?utf-8?B?OEhEY2RuOHNPdkQzOEVMcURjT0JVaWtYQmhhS3paUGkzYUNFR2psb2YvdXlu?= =?utf-8?B?azZFRlloN0VHUU5rbThCRjk3TTk0Z1g5TVV4N3ZYOHNFRkZNcTZxZytOYWtr?= =?utf-8?B?SzRzMCtFWVlLa0pJNXpqWExCQzdWb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8?B?SnJSQlZENk9wN2JVY09FV2NLNkRKcklQSVBPdTQzYkRycTNUbEJGL0VDb3BV?= =?utf-8?B?L0ZDbU1ZaytSaTk3akxXNzJNMVVieG9WSFk1NEh4TmhZWkUrdG14M2xMNUM1?= =?utf-8?B?U0Q3RlpDQ0VCYlJFR1RkQWhPaUFwMGMvWjlHSHdVN01jL25sczk1WEM2aEJM?= =?utf-8?B?T0grMGxoWmg1eU50MEdZOXQ2Y0lvalhrT3BSK0puNlphcFdreTI2WTZTZW52?= =?utf-8?B?UTFGL0ZNc1N5YlNFUys3ZzdwT3ZNamhoMytmSTdWY0pNZ1ZBZjIwc0VKSUg5?= =?utf-8?B?TWk1aFFQNkNVVmRlUXR4a0lwTGErbzFpbHUyMWRjNWszY0tkOFNKQ2NZMjJY?= =?utf-8?B?R0dtdmQyRVUra3NranNWdVpYKzVHUmdheGVJc1RySkc5b0RHVG1FcFIrdnQ2?= =?utf-8?B?ODdTY2xOMjFvcWpSTFZ5RVgybXV4Q1lYRnNSVHNKY1hjN3crMTg5dDdza1F5?= =?utf-8?B?N2ZySUEvMm11b2xOdUxySXQzbHVueDZ4T2gxMTA3Uy9CQlZrUFRPNEFUZGk4?= =?utf-8?B?K3R0VzVRVDNKUXBaVDhhaHROeklBQlJxWmIyRlhiZ1pTMnIvOC9NZHFITjVs?= =?utf-8?B?bGJUSXExeC9LaTRtUDZ1WjVRb0tjbVIyWTVTbDZ4WitJQnM1N1FyenlEeWxz?= =?utf-8?B?U2Nzd2VBUmtNWUdoRnRYNllQdk5RTHdWRzVDSW42RVVlTExCYnlrQlBqa29p?= =?utf-8?Q?8FrrGs3axbu3ZL27OxhfMWgbluG/1WxNHo0gE7R?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR01MB5938.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(7416005)(366007)(1800799015)(921011);DIR:OUT;SFP:1102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mRwUzVKeDRDYlVqS00xWFNKeHFN?= =?utf-8?B?cTNseTIyWEVpQWtWYWVyZDd0cFlvaWRiVG5WS21KV2dnMXBjNUJiVG42MkRi?= =?utf-8?B?cVBaeEdoNzhlSThRcFZlV3llN1pLREpxdFNaSGlVSmdKRlRFY1dFRy9EQis5?= =?utf-8?B?NVZDZ21IbUhJN3FUQm5OVm5yK1Z5cEZ0ZkF4TFBPTUlDNWZuT2R6Mk9kMkpF?= =?utf-8?B?K2xjT0dOVDZFRHRvTCtnaDJOT0I3dlFTR0RmUkxGdC8waUIrUnFhb0R0OUpt?= =?utf-8?B?bUlsZXRXcnBqYjNPS2lhQWRnOUFhS1k4MGgzQ1RsNXg1RWlWaXp6N05HSk5l?= =?utf-8?B?TjIrSHNOK0svOUdxTFJJaytlelpZbC9jYkk0T1BNUnFneFkwQ1BVQmYxNkdp?= =?utf-8?B?Smp2dmdTSG9vbUZQMDd6L2RUZURxakJZeC8xSVhkOHgvbWZDcmtsL1BETXFN?= =?utf-8?Q?pCm1zO85pvW9iWP/xku84gU=3D?= X-OriginatorOrg: amperemail.onmicrosoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7c7955e9-f49f-49db-1b39-08dc5e89abac X-MS-Exchange-CrossTenant-AuthSource: BY5PR01MB5938.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Apr 2024 02:54:19.0810 (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: x508rOswtbkkDVyeqcDKO5fYEWpIjkG7hwxGlB+Pinmnwrreuvvq4inf1vU//zJI3tdcKMIq/DKDwVWakyxGxWoWuK8Ifli6ytF8SE25EgWgBVBLfb+fqcb9+Zq5hWAM X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR01MB7168 On 17/04/2024 00:39, Christophe JAILLET wrote: > Le 16/04/2024 à 07:27, Chanh Nguyen a écrit : >> >> >> On 14/04/2024 15:03, Christophe JAILLET wrote: >>> Le 14/04/2024 à 06:22, Chanh Nguyen a écrit : >>>> PWMOUT pins on MAX31790 can be configured as a tachometer input pin by >>>> setting bit[0] in the Configuration Register. When the bit[0] of a >>>> channel >>>> is set, the PWMOUT pin becomes the tach input pin for the channel >>>> plus six. >>>> >>>> This commit allows the kernel to set those pins when necessary if the >>>> maxim,pwmout-pin-as-tach-input DT property exists. >>>> >>>> Signed-off-by: Chanh Nguyen >>>> --- >>>> Changes in v2: >>>>   - Update the vendor property name to >>>> "maxim,pwmout-pin-as-tach-input"   [Rob] >>> >>> ... >> >> Hi CJ, what does it mean? > > Hi, > just a shortcut of my name : Christophe Jaillet. > Thank CJ! It's a pleasure to see your comments. I'm happy to meet your review in the next patches. Best Regards, Chanh Ng > CJ > >>> >>>> @@ -528,6 +532,33 @@ static int max31790_probe(struct i2c_client >>>> *client) >>>>       if (err) >>>>           return err; >>>> +    if (device_property_present(dev, >>>> "maxim,pwmout-pin-as-tach-input")) { >>>> +        err = device_property_read_u8_array(dev, >>>> "maxim,pwmout-pin-as-tach-input", >>>> +                            pwmout_to_tach, NR_CHANNEL); >>>> +        if (err) { >>>> +            /* The maxim,pwmout-pin-as-tach-input is an array of >>>> six values */ >>>> +            dev_warn(dev, "The maxim,pwmout-pin-as-tach-input >>>> property exist but malform"); >>> >>> Nit: exists >>> Nit: malformed or "is malformed" >>> >> >> Thank CJ, >> >> I'll update that in the patch v3 >> >>> CJ >> >> >