From patchwork Tue Aug 13 08:41:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanh Nguyen X-Patchwork-Id: 13761571 Received: from CH1PR05CU001.outbound.protection.outlook.com (mail-northcentralusazon11020072.outbound.protection.outlook.com [52.101.193.72]) (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 86B1A17C231; Tue, 13 Aug 2024 08:42:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.193.72 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723538543; cv=fail; b=R2RobuU2F2d6diDdbmKxgN4ARr+6MaIjESMlMeN6I1zkbvuj58IZSrruf9xG8r/OJw13JN5sQsDLwo5cGmWy+qkhnAIS6lAA5yw1a3l/VD/388h6H6DalfAW622Xqoe+vcFCqvDVS5r/NLZN7jWe8H01wFGGmh/0tQE48r2IW6Q= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723538543; c=relaxed/simple; bh=57oiuV8vzEl66eeSveis0Su8VNvtJh27tS+ALq+aPgM=; h=From:To:Cc:Subject:Date:Message-ID:Content-Type:MIME-Version; b=m1C270DlB0s+uvXitT3w/eW5lq22XqP1LVhzNfZy4hjoufuGoElVMAmjbu5A/NDxvx+1TOA5gvUn49YyE161+sQMC0wLuJGntzzZ2GC/rDONF0hmufbk2+ltmp5juRpqAynqZm6523lTkDqx362NaBcjNjcxLTt3mZHbGnJE84o= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=os.amperecomputing.com; spf=pass smtp.mailfrom=os.amperecomputing.com; dkim=pass (1024-bit key) header.d=os.amperecomputing.com header.i=@os.amperecomputing.com header.b=jhbSQ7Z1; arc=fail smtp.client-ip=52.101.193.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=os.amperecomputing.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=os.amperecomputing.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=os.amperecomputing.com header.i=@os.amperecomputing.com header.b="jhbSQ7Z1" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=C3t19UuVhKIM2jgJZ4zW/fb6PGRYTrDLpATBQKkU9/MbD+nJYaUw94cbVQbZhfD5f2YD+OXovYGUv0xHwgGJnis/+ZH6tpC1EGRMgmz4AoRlqXk7y8G43Mvn45vPvaD8JFVahQpg61F+2Zvl4sG+FItM46ERUa+QE9wXfuuP6GB7U2GfwyXviEQ8hmWAwFXqybcVg8b3jaf2CWQJz8wDXPlv0weYzlRs3pVqSqi0cAGxy+rE6NWCsG5Oyw8pO0WmRb2QYDcH4xI9szGFU47o6lvBWBt+U0zMI6bIAlz0gZn1M0l7DWeq5PEijZSxNB5xdEGoGPmpmKQ0YoOY7eqGsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=2seuTs4FhM6PMbB+991Xs2fXiFRKknwp8NsNQq0HcHg=; b=nPuwwcae/xfUFz9dIjIIyRLQkQZBEA2z5r3IfDpOXlQ4/Ttvh4mE6phyx3mTbYGE8qxZzd9wBOkQlZP6KF2m1TpiFCa96x7+1U5zfW9K573ouCpkn7i/MH3ensMWZspDY5jvfM9Z+eh56WhpTShMpKe8wf96/2WS9U1jTH6I3EQqzgzH5WY/AYtRoOHZygJpylEvHYBHdoa+8CaDgC/HumYLBv3L+JOKZQPxR5YfI/HIFKVsyexDTafLm4TD/EERWghzQluLIQPj8FpP3e7il+Ejh5SlGZU7b+OwI1OrvB5PEHPQoVh1U7K4knzcB8UgAp/tddsIPamzR23jAxawPw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2seuTs4FhM6PMbB+991Xs2fXiFRKknwp8NsNQq0HcHg=; b=jhbSQ7Z1jcQ88eXavX8fotMMg4UN0K/1nLsk6QR41IbB4gj1+DRSRNhdhgPd49JoJe2pJ9QKD5zrCRQ9xevfriBtP81oC4OY+TjySh3DdfZEMb2fZGCVcTBjusHN2z0QiQQfOK5aLLzC0T/ExBqK15+oQ1vX4GwDeAK8GvboC3E= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from BL3PR01MB7057.prod.exchangelabs.com (2603:10b6:208:35c::16) by CH5PR01MB9029.prod.exchangelabs.com (2603:10b6:610:214::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7849.22; Tue, 13 Aug 2024 08:42:18 +0000 Received: from BL3PR01MB7057.prod.exchangelabs.com ([fe80::b69e:5684:ed7c:4d09]) by BL3PR01MB7057.prod.exchangelabs.com ([fe80::b69e:5684:ed7c:4d09%4]) with mapi id 15.20.7849.021; Tue, 13 Aug 2024 08:42:18 +0000 From: Chanh Nguyen To: 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 , Chanh Nguyen Subject: [PATCH v3 0/1] Update the max31790 driver Date: Tue, 13 Aug 2024 08:41:51 +0000 Message-ID: <20240813084152.25002-1-chanh@os.amperecomputing.com> X-Mailer: git-send-email 2.43.0 X-ClientProxiedBy: SI2PR01CA0013.apcprd01.prod.exchangelabs.com (2603:1096:4:191::9) To BL3PR01MB7057.prod.exchangelabs.com (2603:10b6:208:35c::16) Precedence: bulk X-Mailing-List: linux-hwmon@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL3PR01MB7057:EE_|CH5PR01MB9029:EE_ X-MS-Office365-Filtering-Correlation-Id: 1efd61ce-db54-4ea3-14f8-08dcbb73d685 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014|52116014|7416014|921020|38350700014; X-Microsoft-Antispam-Message-Info: IW5qLS5d6H7ILN/SCT0kv4OOY/BxFCeuSnhHarI4eeB7n5jZ7nbTrFZtBAoUqYtTOVD179QAgxi4yKyiP7B2hkZAu1LdAshuuwiEFGXF6/NJ1eOX4mjUi+9RZkjkkLildVbFyL/ALGE764w4XboR74dgmysVR7Q78xGeK6xyaJdiR+jX/4Syuglj3OQj84ioAIBRiOD2EFTh09ik2bKMbchHTLN62t5AHAucQHU1YEDfvC0mHYoc0U8yDnEz58rRrlrSEPGktJqOhp4fr9XIJEDmneQBNDrSR8inJhyvjdv3u26eyrh6hnBQApmnYjNM9vVmQI4WoFFG2y919Hp3bXQwz6uIR/4YwDo8uO07dz7IG3IUpRGKZdwd1obFuVXsBEBDjhkT58RdkxUIP8szz1cXQSH0NZ/9N2TJS3VrnJ92kvE/XMK9FJjAUb4TFQEMnHW/vjh1YL5UwsxY67YLP1fC2QvDnXojQClTpm3ozchFQeVflf4YWhdhzpfV+nVqmrGFQ+QxcSUYHRj5oxLN2jd9FUklkQ55K1vlBdiMH/rNtnmiAdw5qYTqO4nVzm/9uiACdkZSUz/Fo8g7p6TX6qJgFG/vP/6qT8or3wR9KJpHhXri0r2dK/hELLTyI114Eb7TxEF8+kMUX68STm2MSQcXB0JjpEzYStcyTootmvVk1jTys5A+vUm06li9eT1TFsc5Lac3ywfBW9wLsv3gZzv74VASTcn122umb/y+gYuj0W5AL1HDucLWQRJ3tSIsHUpBMF6Ih3Mjz7iGUbASCaxa2X8ihsc3Jm0lTt0uedECse8UxJzz2pBJbb30/8jXs4QhIyujEUL/PAWe6rh8Cspivsf105Ms1Km90KlG/FtXUn+gLtgH9dx+Zs19wu689yVEdUECd6bjIhhj7BRvMehoToE6ptViw0wPuWUSXkUxO/MiLNmW4jaE7ClkjpC+9asulgLd9FjmKMI9llEU0Ui33AWaLNcCMAFP0jnntbTdQ9ZT+JvXRaICqTNsjQdYPnw/+1mm88aV8nrUZI6qmTvnazuV4vVhFnEhCthlmFtFqbKwD0RJDCO51DGnWUfgTFpFaZjMqrsfobhaFu1THTQHN5KNoPOVxuHIb8AsVHlSbjxCiqSafXTr9Kaa83iVR5Y8Qi62+PkzQFn/H5fd4hdgxdtDcMWFPUchYy7drobZsF5CBx/29X+ClBpN39BKM43oDLt7yBBkVapQgjeVcmCVsRMN0SMBLBy9ydkbt4BAg9jFv0+j/19MXQ8rG707MfaBzFJwCsZoW+vJyDZErQcpCQ7O2c8SXYtwfPTvZPyyfhbt7SIvk3AQ1XnzG54RYI9TPh0zu3JcPNCjBkccKR2es6GtfLK9EDUXPYFX4r+bVJSkDa9hhlcua44KsjJ3 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL3PR01MB7057.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(376014)(52116014)(7416014)(921020)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: sha+kaOrbPzCc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IqtTAtUIhAyZ5LgHSrCm/Utdp1iyU6Izz90NAEo95EP9mv69jBJl+Wc44VrlA7xCuC6SOsd85cNEHeU/RLmExwNsCuX6yoj56qu7wyB5gHSihIW7c3URIQyIQF6byNf4pRfW1Kw35s60/ES1jfHtUVasNgbfaFoLok8ZdwmqIsHJjzt8FH1GqusaF7rIpg1ylUuQ+ErXkmaY2oueyI1qd8KQVAWtUPNSkBpUtWxHy2gqa3t8Ez7/9upXTDCUvylOvXrhBiaVVBRmu9qzlH81HVCoJ0sEySMUkY7ArclT02Q57XgtJfa9l2o+uCLJx+UYE5/fjZamk+g77YD+z49EZDHVIa/1tiL6+rPiseE30GJTnwO9gbHDQisUgQGi541FYd+VLsXZDPbj1oWmp1prhOWvRTKQmeXOTiAcbGs5JrWDus7GQvvnI+GylUQVIqfDVyq2TioW3MFKG3pJbHdcP4Z4u/91yiRe7fLhIjIZar7BuyDDJWSa67thHcl34x8umhnvjeLLra4rShIw86brpAnaV+mNaoAKqNtEo= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1efd61ce-db54-4ea3-14f8-08dcbb73d685 X-MS-Exchange-CrossTenant-AuthSource: BL3PR01MB7057.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Aug 2024 08:42:18.3075 (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: AJB0zBFfyfG/zkBtcx5L5em8IhErelea72SwLdq/Ilr2AReCOJKfUKqHVle+DibRCEXrTbTsCMbvNvZSnwr30XfqV6OTFxgXrH4BxIcHMyM+Q4Fesv7mgVEYgU18A0tZ X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH5PR01MB9029 Add device tree binding for the max31790 device. Changes in v2: - Drop "driver" in the patch 1/3 commit title [Krzysztof] - Update filename of the maxim,max31790.yaml [Krzysztof] - Add the common fan schema to $ref [Krzysztof] - Update the node name to "fan-controller" in maxim,max31790.yaml [Krzysztof] - Update the vendor property name to "maxim,pwmout-pin-as-tach-input" [Rob] Changes in v3: - Drop redundant "bindings" in commit message [Krzysztof] - Add the clocks and resets property to example [Krzysztof] - Add child node refer to fan-common.yaml [Krzysztof, Conor] - Drop "Support config PWM output become TACH" patch [Chanh] - Drop "Add maxim,pwmout-pin-as-tach-input property" patch [Chanh] Chanh Nguyen (1): dt-bindings: hwmon: Add maxim max31790 .../bindings/hwmon/maxim,max31790.yaml | 81 +++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/maxim,max31790.yaml