From nobody Fri Jul 24 04:50:58 2026 Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) (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 467E741D21E; Thu, 23 Jul 2026 16:45:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=148.163.147.86 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784825126; cv=fail; b=E9doPvHVMEcCsGzouqp+7oNlnVXDvfjCVpGId6qVobyzFdB8xCSC1Bw5RFApEnxepQcKhRPTEfRtENwljoKejtddjVGORkLfwLLQ3gLdcz9si//PSLHWKPBt9I7thumr2hu1+voGronC5dqw5AdlBpNFcuDsIf9sd/vGtDroD8c= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784825126; c=relaxed/simple; bh=Jb9eMMNgfVhmwwX1cvvaTwhSGWSV1INNgeOrjrIHlBg=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=cIlXH6OiTFy1MMtt7L6lVsSq3tsGvGHvlRvwDHOWXnarXIkJyotIwE/7PunNhUZ9dKtUDjKI3srHFrIyfDl4LCsSv5au6KllwFspNmOvt/6O2PCZr4IAr0yPZeSIQbaP6KXmUvg48x8UjpuQ5//rl4dMSlx8cfKTCRcwxPbWDMQ= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=hpe.com; spf=pass smtp.mailfrom=hpe.com; dkim=pass (2048-bit key) header.d=hpe.com header.i=@hpe.com header.b=QPJs0irr; arc=fail smtp.client-ip=148.163.147.86 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=hpe.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=hpe.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=hpe.com header.i=@hpe.com header.b="QPJs0irr" Received: from pps.filterd (m0148663.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 66NFk6iZ3463088; Thu, 23 Jul 2026 16:44:49 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=pps0720; bh=62 +Z3PC5iM+qoLplYi8EiXbcgHHTscp39nyvLDTVIww=; b=QPJs0irrqk3+Kgvslq /l134aJacKW0n55cZUiZnqR0onWf4rAbFIO7vJOvT+Mr0OCemJQM7MBqlZ8xTqpN ITpw2xAOXS6i3VUZqwu4NDMY+xYlQ2Czc0kRVbhPTCWn/5V7PoQdmESdSrlZOIJv TYSBDpo6NTaF7M4fdPUZc9PI11WrS3yyEFS5MDj4dlOhmt9l0BHZm0h9WutCeesI 1T1FV24YtYXT2Gbz2+PLeHGn0+YruVh8RS3NlBO7GLtTT50gjWH53LGaBt3HHjNA Y51hGVXToAaRPuR6V5SQYdfFOYBesxCCvTB19DtPuwJjPaaSPKxT1iFpkZnQaUtb yfkA== Received: from p1lg14880.it.hpe.com (p1lg14880.it.hpe.com [16.230.97.201]) by mx0a-002e3701.pphosted.com (PPS) with ESMTPS id 4fkmgp2t9u-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Thu, 23 Jul 2026 16:44:48 +0000 (GMT) Received: from p1wg14925.americas.hpqcorp.net (unknown [10.119.18.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by p1lg14880.it.hpe.com (Postfix) with ESMTPS id 6030E800200; Thu, 23 Jul 2026 16:44:47 +0000 (UTC) Received: from p1wg14927.americas.hpqcorp.net (10.119.18.117) by p1wg14925.americas.hpqcorp.net (10.119.18.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.43; Thu, 23 Jul 2026 04:44:29 -1200 Received: from p1wg14924.americas.hpqcorp.net (10.119.18.113) by p1wg14927.americas.hpqcorp.net (10.119.18.117) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.43; Thu, 23 Jul 2026 04:44:23 -1200 Received: from P1WG14918.americas.hpqcorp.net (16.230.19.121) by p1wg14924.americas.hpqcorp.net (10.119.18.113) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.43 via Frontend Transport; Thu, 23 Jul 2026 04:44:23 -1200 Received: from BYAPR08CU003.outbound.protection.outlook.com (192.58.206.35) by edge.it.hpe.com (16.230.19.121) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.43; Thu, 23 Jul 2026 16:44:22 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ciklGTun0yYiBEP00Fhwez0bOzh9T0K314mhCMnLSNhNAdDJkadPQov36zfqkYZp9Pyo8Jex+OKGmpVbxK0bQk9Twk112e4+6Y5+qtzOrGrfYAWemRHlYe1f0jopK6pCqPjb8hwri9j0nP1o1tnfpePpvmlHb6IQ662BcabLJro5CSfPDy4FKodGm3GEmdplG9UrCpsHJJhbd55Vn+IRTGKGKTn0BJOzQ8O//TkbetAPF6OJ5Ad/lgenxmJYHmRVyHmsAVvYuWnewAcFgv71tdGJWV/WeybS4GGR3iUbI4N35Jsp9cTy0Sgg/scjb7xYGzhhGVj4PZwvsABtUg2nDw== 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=62+Z3PC5iM+qoLplYi8EiXbcgHHTscp39nyvLDTVIww=; b=nGMz8qJfu68sufkq0+ntMH9XnB3wPZuSkiOJaoPqT94EU7wgePupo6MqpiizXpmYLv+k6ncInRyMwR77rFemr7U+SuGUtvIt7HnWrSgPYByxHCbJw85WSJxB6xQapf1opvE6pOjNZ5O6helNkUFheb03mL5vUJyUHbr45sgGP49AtGCp5viCHJ+M3xlwtui+MM5iVvFLfrErBKMPblBsa2EzFGP+PUCCcuZly6KSQXmts5QeAYx4xspocB0kIcy89amaLW95MBYKQQeYjKXD5r9LDQYABUKY7MQG7X0C1THjyx955NJS0wxJ78fjdPmylYso+XcUgBQYISd6l78fvQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hpe.com; dmarc=pass action=none header.from=hpe.com; dkim=pass header.d=hpe.com; arc=none Received: from CH3PR84MB3523.NAMPRD84.PROD.OUTLOOK.COM (2603:10b6:610:1cc::7) by CYXPR84MB3515.NAMPRD84.PROD.OUTLOOK.COM (2603:10b6:930:db::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.245.11; Thu, 23 Jul 2026 16:43:47 +0000 Received: from CH3PR84MB3523.NAMPRD84.PROD.OUTLOOK.COM ([fe80::2c54:3534:122f:e74f]) by CH3PR84MB3523.NAMPRD84.PROD.OUTLOOK.COM ([fe80::2c54:3534:122f:e74f%4]) with mapi id 15.21.0245.010; Thu, 23 Jul 2026 16:43:46 +0000 From: "Pradhan, Sanman" To: "linux-hwmon@vger.kernel.org" CC: "linux@roeck-us.net" , "robh@kernel.org" , "krzk+dt@kernel.org" , "conor+dt@kernel.org" , "corbet@lwn.net" , "skhan@linuxfoundation.org" , "devicetree@vger.kernel.org" , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Sanman Pradhan Subject: [PATCH v2 1/2] dt-bindings: hwmon: pmbus: Add Analog Devices MAX16545/MAX16550 and Volterra VT7505 Thread-Topic: [PATCH v2 1/2] dt-bindings: hwmon: pmbus: Add Analog Devices MAX16545/MAX16550 and Volterra VT7505 Thread-Index: AQHdGsJu1DPrY7wfh0CJrkgcZbBUcw== Date: Thu, 23 Jul 2026 16:43:46 +0000 Message-ID: <20260723164249.199442-2-sanman.pradhan@hpe.com> References: <20260723164249.199442-1-sanman.pradhan@hpe.com> In-Reply-To: <20260723164249.199442-1-sanman.pradhan@hpe.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CH3PR84MB3523:EE_|CYXPR84MB3515:EE_ x-ms-office365-filtering-correlation-id: d480843b-35d2-4a66-f5d8-08dee8d990ae x-ld-processed: 105b2061-b669-4b31-92ac-24d304d195dc,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|23010399003|366016|7416014|376014|1800799024|38070700021|6133799003|56012099006|10067099003|18002099003|22082099003|3023799007; x-microsoft-antispam-message-info: i4Qwpw8Kk1XILyVZHU6MNVUjvNAtIqMk5xbc9zDijxge849/WmUvRMrE/bBCdoW0S/jH17Pg7IOGVF9kCUm5GugWOfgRKkSWixcAsVkoFjDSyH8xanuuuUqi8lDok+otn/pp5Mr9Szl0sfmQXLWxSko8jp0lTiYQFmciEVwXo87sKwIxpQ2lTuOrl9y8Gbqyoe1zNxGbJ3HgRc854yDmQoCETN7IYvD5NR+KgJ65TkXt3K8a3kGcJgdekKDfoAhTf3DQSHVmAv0+lmI6SqDfNNnuKReW5MvYhDj3rGnR6i6DqfVgya2SAepzDSzqCk69HNaJzzJ9SR48gzr/doZThEVHeB9ZB8cVjSASrZuv6zw0VpJySXowV/tSewI6NYv3AFDwZeBdKJhBpA/Xao26DFDKiYWE1qM3EURE7Vk+AFPPzkvrqw5L8s40tSSos9su8/D9TX3vQ5caD0EAuSnjf+yyws5Mm55v/hoL7y1YRnqB1XhHVffponN4EQgYpJwY/0jKCSsDOsZhFt+6pEsr2/Fhv25yn705ylQqjgaDPePCQymYa+mbQXFjJlpb5j7qMYNc0CwiwjSCbXWnwFcOfR2ZialSPtEfWzk4l2DO2yTgSERWAyvdQ9N3fYm3eSXChNll17MUc8BWJCpYXiKys6dzIqrUj3YwJWNH3RCD0us= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH3PR84MB3523.NAMPRD84.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(23010399003)(366016)(7416014)(376014)(1800799024)(38070700021)(6133799003)(56012099006)(10067099003)(18002099003)(22082099003)(3023799007);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?2v6ZAgvmxwLkQ9y889y2lviaak/yOCU877ieXW7Rmb1twuNnEnMvv8FKFn?= =?iso-8859-1?Q?+SL2ZBjDMgWwn7iv8AI8/rOeIVO7BmbSWokKTDEeq42c7SZvkczdE/B2s3?= =?iso-8859-1?Q?/N5asPSkWKdIsUEJSd80JJHEXUuBPfIOdSA2e+FheDWXmgNvjiVxhCjYDW?= =?iso-8859-1?Q?9NllNRakUhduxMhkARcD65YMVS5+tZgJmcRErC02FNNkB1h/MhK09wwCLe?= =?iso-8859-1?Q?PovQL7dPHwZ5e7q4GHxxqv+2hxZ+fxNPO+H8bzY/UV2SxW3iTQZT0Pzqx5?= =?iso-8859-1?Q?SSKk5gGIubu/7fJXgcVZ87XkFq+cap5JTLyMeaUmh/nA0NZcPTscLJlu9Z?= =?iso-8859-1?Q?/E0cSsHV2JIvHEm9S90zsbMi08cv9nXtRkSMHg7MaCHBn3OKzwv5+R44TX?= =?iso-8859-1?Q?JNR+q5VQXsqihJbEnPozftW0ghjqu9NyvKmobAkTsve+Ea3z7487gLvQfI?= =?iso-8859-1?Q?OH7qQVejDowzBMjhAeHivoaXgjJN9U6mrnWfekgyrK3Ut2naH5oIH29xR5?= =?iso-8859-1?Q?+TfrSQSk/JJ3mVYh/nj9jd4oztdHJdNQ2GlXGYiWHWNn2TLNkN6/zAu8hG?= =?iso-8859-1?Q?kGJD8ldyA5OMlOjRPxlcp4fG1b0Jbke9x9wv7WfDXUdnw9LjVxdxJJ/7ai?= =?iso-8859-1?Q?ojEIiiOORhnXUghPVQh6bVvfIwiMdGpny+t3LqM//LzctfU9H1h1uUU44M?= =?iso-8859-1?Q?EjkMaJBNpqMqukMJyeW8Zn7RbMP/jcjyWrz8wtH2e/oEQzQ+UuBDq7iBzk?= =?iso-8859-1?Q?Ye71g1lgRBHTZnzAgreIgHN8L0tmoyr10rw92pUFQ2I87DYrepKiX/yS39?= =?iso-8859-1?Q?P1c4InNVmaHjf0HM7FeGaoSiu5XplWeNZmy/1+wI5ImZOcEVwdEQ1C73Bs?= =?iso-8859-1?Q?VskvmA93IvwvA2RKUy7LAaaeCtqGbJZyRDCfMhGSVP2ZHkoys3JcmLrayN?= =?iso-8859-1?Q?SXmjJ4dLnmwtqaVJUvdwikAXlaYbIl308qm0AAR0qLgyC0DNWLWHC89kwi?= =?iso-8859-1?Q?T7hp1wC1qlisFFfYI1Z2jW6A64rhJ30WYezyX16YZuEJTToSoDGidTftYY?= =?iso-8859-1?Q?9oqY+xeYNn9K7F8LeLAeYKEOcNh4inf7Ik0CvBGBhZEcMTD8WDQzgiz+vj?= =?iso-8859-1?Q?SMIUE6iTAWSNp9DT85V3hrDK4z/SCgW24ZGgm15zTb4xALfqVq7Eo9rZLY?= =?iso-8859-1?Q?8MltcFaG0rlL4+NzzYVyvLhn6Q/avpwLCJN718++OR54FubctXO0/ph0h1?= =?iso-8859-1?Q?2n4TI2gCsEV1b0rWS9SLZSWEzCzOO/ECAGTXXugxyj2p+ghuP3sPXn83o5?= =?iso-8859-1?Q?o9foCWwtKhyeiRD9yoBKc30xU1ZMmee4zt0TxTzVPI9hO05hbjJhKIrTPp?= =?iso-8859-1?Q?So3fZQXzHoH3VKFXiRTVFX1zDdzsE/jsB870DglwRsGr7brrOsHRnr17zx?= =?iso-8859-1?Q?UeDrh97LORrGLWT/MnV2lqu9gqEApXMj1lFPKZRq2R0hYoh81DbH8PC9tV?= =?iso-8859-1?Q?YWORIDOaSxpQHGC4St+5oEa9lm7mNVnH5B7BvQsmDA6w7Ru+namNJ9yAN4?= =?iso-8859-1?Q?0G9AQT3mX1c5u+bT+/C7Cp/YTBuyp/yivSQQy9mfi7CNU8g1bbt6ORWGC5?= =?iso-8859-1?Q?vWau2dfc7QoAJh42fGKIA1xqkdAKdbKaNJdhe4vlwoMql03WERYiAiizfa?= =?iso-8859-1?Q?xnTiiMR6Q+/8QVyhiDpU5Md9g69CoSOn0G2CPBvWjOsm0V1GsZrzZDarcH?= =?iso-8859-1?Q?wYv1RYaIeos/HtBhj5HIm5vknSfyLf7si4bUpuWa39Zhg+?= Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Exchange-RoutingPolicyChecked: UO/GJ0pD1Sly7dqzrs8OeyLMp8yvfAGs6I7YfqAmd6xK5MNKyWPnj5cGT25cPniE/hmoQsAffD1t38ReWuTpfp8wyt/wc3oQm/v/hAIwbFpZCvpsesMKj0RlM6D6N/DLC7nZn+tYEL1MQj2H07kDKnKF3EhJCZ9/aadLk4DqLs0q1Bp7Spjg0FgRjW3ec3cW+5ocYs4g/WuKsGIANvDkWpC/dJHEVKC7fvOKgi04lzvhsteMnNe3x7L1glGWCrnPfxTiRcUD4TyPlalgTEE8gnuiulig7yuTpR4P2Dem4DYCepEj/EtVTyrDAAN6hKphTRfKRfi+uHj1cw1atGBvGA== X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH3PR84MB3523.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: d480843b-35d2-4a66-f5d8-08dee8d990ae X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Jul 2026 16:43:46.5985 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: gIHyMBYjRF9a6wXKcLLNeDb42rkmIcL3F3Mcjj7K2yCCCohI/rMftPvxK2/RlNVoerihdy5vcrpItpyZ2RMdRQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CYXPR84MB3515 X-OriginatorOrg: hpe.com X-Proofpoint-Reinject: loops=2 maxloops=12 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzIzMDE2MyBTYWx0ZWRfX0xp0ZMGIbt66 NPXhe8brqZCPXISwqKcVpIqFSRpCuImgHO52oGzaGZ3sFiKWJ2YquRPY32ocH7iYU4jclyluf8I 5tYjlqN3UigwLxGiPNZfwXr3zuzhAhih5PfBkQYfIGT3wygFyorH6Pyj6MsT8W9n+EdlLZW1mZu AgOzNBC+kiI0OARiicdHe4zVZTzuK9oRL7vaEQMvAAN97owPhxg8/bZ0MvBLWX6NYPoEyu+MXw3 P0FqB7rIotJ3XHCB+CrLifAFzpjDopwMI8geU/NcUI73o0LTnFCq8eWd5H1+1pXGkOrdyVHRLdM j+W6UkERAoKVEqSG/Sg93gmtx+5lIQ5zrF3dUsbOiEnhsr1xGDbrBFeAtWvwWPGslO8HhyVLgD7 WF65c7GPEAMDQnfHCri2Q/PXuYGz8Io4+NKL30FViK3Fd3teGOXR87Y1no+5icvw+acBRWz9jOM bQ0kBfTfq4Xw4NDhY8w== X-Proofpoint-Spam-Info: AW1haW4tMjYwNzIzMDE2MyBTYWx0ZWRfX7WGuHHgouVy6 7PgWsgBAqMf8oJKofqrnEQu4RMJQdm/Gelt9N3C8CAMgwVzF+CBv48HjSsP5Ofb+aXHVkJSiTiT fik9f4qyKRnsLXmpn/QaxXT/bndAT8o= X-Proofpoint-GUID: NwuYZ-yZzq_JWHZ9amKPGPSZWAt3KIpL X-Proofpoint-ORIG-GUID: 2SiLrjO0t9Wo1MapU1Felah8GZ2WecQi X-Authority-Analysis: v=2.4 cv=Zqbd7d7G c=1 sm=1 tr=0 ts=6a624500 cx=c_pps a=A+SOMQ4XYIH4HgQ50p3F5Q==:117 a=A+SOMQ4XYIH4HgQ50p3F5Q==:17 a=z/mQ4Ysz8XfWz/Q5cLBRGdckG28=:19 a=lCpzRmAYbLLaTzLvsPZ7Mbvzbb8=:19 a=xqWC_Br6kY4A:10 a=8nJEP1OIZ-IA:10 a=RAioF0-LDSMA:10 a=VkNPw1HP01LnGYTKEx00:22 a=gQcMVamqm3wCPoSYhaRC:22 a=6_mrDcixewTG61oOsKN3:22 a=gEfo2CItAAAA:8 a=gAnH3GRIAAAA:8 a=OUXY8nFuAAAA:8 a=Hk0O5Nsy0ObjQIZZsMkA:9 a=wPNLvfGTeEIA:10 a=sptkURWiP4Gy88Gu7hUp:22 a=cAcMbU7R10T-QSRYIcO_:22 X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-07-23_04,2026-07-22_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 clxscore=1015 phishscore=0 priorityscore=1501 suspectscore=0 impostorscore=0 bulkscore=0 spamscore=0 adultscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607230163 Content-Type: text/plain; charset="utf-8" From: Sanman Pradhan Add device tree binding documentation for the Analog Devices MAX16545 and MAX16550, and the Volterra VT7505 PMBus controllers. Signed-off-by: Sanman Pradhan --- Changes in v2: - Represent the severe-OCP deglitch filter in microseconds (renamed to adi,ocp-severe-filter-us, values 0/1/2/10). .../bindings/hwmon/pmbus/adi,vt7505.yaml | 82 +++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/pmbus/adi,vt750= 5.yaml diff --git a/Documentation/devicetree/bindings/hwmon/pmbus/adi,vt7505.yaml = b/Documentation/devicetree/bindings/hwmon/pmbus/adi,vt7505.yaml new file mode 100644 index 000000000000..6096e03cb80a --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/pmbus/adi,vt7505.yaml @@ -0,0 +1,82 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/pmbus/adi,vt7505.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices MAX16545/MAX16550 and Volterra VT7505 PMBus controll= ers + +maintainers: + - Sanman Pradhan + +description: | + The Analog Devices MAX16545 and MAX16550, and the Volterra VT7505, are P= MBus + controllers that provide input/output voltage, input/output current, + input power and temperature monitoring over the PMBus interface. + + The MAX16545 uses the same programming model as the VT7505. + + Datasheets: + https://www.analog.com/media/en/technical-documentation/data-sheets/max1= 6545b-max16545c.pdf + https://www.analog.com/media/en/technical-documentation/data-sheets/max1= 6550.pdf + +properties: + compatible: + oneOf: + - enum: + - adi,max16550 + - adi,vt7505 + - items: + - const: adi,max16545 + - const: adi,vt7505 + + reg: + maxItems: 1 + + adi,rload-ohms: + description: + Resistance in ohms of the external current-report resistor connected + between the ILOAD pin and ground. It is used to scale the reported + input and output current and power. + minimum: 1 + default: 4750 + + adi,ocp-severe-filter-us: + description: + Deglitch time, in microseconds, applied to the severe + overcurrent-protection comparator, programmed into the + MFR_CONFIG[15:14] field. The MAX16550 and VT7505 expose this field. + On the MAX16545 the severe overcurrent delay is fixed and these bits + are reserved. + enum: [0, 1, 2, 10] + +required: + - compatible + - reg + +additionalProperties: false + +allOf: + # The severe OCP deglitch filter is fixed on the MAX16545, so the proper= ty + # is only valid for the MAX16550 and VT7505. + - if: + properties: + compatible: + contains: + const: adi,max16545 + then: + properties: + adi,ocp-severe-filter-us: false + +examples: + - | + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + regulator@40 { + compatible =3D "adi,vt7505"; + reg =3D <0x40>; + adi,rload-ohms =3D <4750>; + }; + }; --=20 2.34.1 From nobody Fri Jul 24 04:50:58 2026 Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) (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 8199E37F8C6; Thu, 23 Jul 2026 16:44:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=148.163.147.86 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784825073; cv=fail; b=CdtMX5R1ItVn8bV/zDxynpqBYJWfJ/NA76DgfCdGskI5I8iGbzhC9WMeZ7fEzorctiJE3xwiooW77uusp0X3TKu6TpC5rM8VomjNbW04FCe5yYLE4Tf0kJCGPJlR5NJCtOP2UWXTEaIxlpguT+TIAtsNWemL8zBzZsQ5zYGe5x0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784825073; c=relaxed/simple; bh=AqCu28IXCnKe9gYkekCnM7wBkIVH6I4lE2NDpo4bmcs=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=Lf6u1vlkEkoiCyWmLLH3gCsA5fNXjIVZaW6R/f2YRerdpV6IfOttbFOOmAtVmpzXkVTD0myOO7tuS8J46/I8/Fqz2+V4kN3U0CDxg/b53MfOT3hY6brA3DnPeRXIMRkU7f4FWm9xmltn9O4ja2s+Q5Mi0g0c0i2FvTpWDh2g6J8= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=hpe.com; spf=pass smtp.mailfrom=hpe.com; dkim=pass (2048-bit key) header.d=hpe.com header.i=@hpe.com header.b=NfcjG+Bt; arc=fail smtp.client-ip=148.163.147.86 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=hpe.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=hpe.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=hpe.com header.i=@hpe.com header.b="NfcjG+Bt" Received: from pps.filterd (m0134421.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 66NFk3HF3448544; Thu, 23 Jul 2026 16:44:13 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=pps0720; bh=Jl MRz2/bLAtMB9C4SBO2HXrgBiRs6Xc08ddoGjRLTuw=; b=NfcjG+Bt9ApHEvbLrO BCyQatc1EaQ/9A7xR+SW7HfJYXEEwnvzQX+OmIqpVRybt2takzFLuh0vKvUC3J6i /MUoCi583+oHYgrvvVPxGBVOU69ekn6Ynbvw6+qCR7vsG4FiA756erghGGFswZ0R EGrxYREX7xwdfZaJck4hoG2nx0iOrTFQ+YHpb+w/mWkHNouwN1QfkO1j8k5wfu1p DluXzRCZyY0Vw/uJ10gf9IJI5ztip11K98OAriWySRwRuviuw6AhtXT2pcV556fM buuzhxA559yP+HZCLdXgAYNebh6zGJMzi2l5OsA6zrYX7qMEOvtDuPX5alxrCvBv OdsQ== Received: from p1lg14881.it.hpe.com (p1lg14881.it.hpe.com [16.230.97.202]) by mx0b-002e3701.pphosted.com (PPS) with ESMTPS id 4fkng89g3g-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Thu, 23 Jul 2026 16:44:12 +0000 (GMT) Received: from p1wg14923.americas.hpqcorp.net (unknown [10.119.18.111]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by p1lg14881.it.hpe.com (Postfix) with ESMTPS id 30B3E805662; Thu, 23 Jul 2026 16:44:12 +0000 (UTC) Received: from p1wg14928.americas.hpqcorp.net (10.119.18.116) by p1wg14923.americas.hpqcorp.net (10.119.18.111) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.43; Thu, 23 Jul 2026 04:44:03 -1200 Received: from p1wg14925.americas.hpqcorp.net (10.119.18.114) by p1wg14928.americas.hpqcorp.net (10.119.18.116) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.43; Thu, 23 Jul 2026 04:44:02 -1200 Received: from P1WG14918.americas.hpqcorp.net (16.230.19.121) by p1wg14925.americas.hpqcorp.net (10.119.18.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.43 via Frontend Transport; Thu, 23 Jul 2026 04:44:02 -1200 Received: from BYAPR08CU003.outbound.protection.outlook.com (192.58.206.35) by edge.it.hpe.com (16.230.19.121) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.43; Thu, 23 Jul 2026 16:44:02 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=V0/WHbbQjp0DYsaGyI+XVMxXwMhdM4HnW4m8A+v/w9V+vCUgn379sZnGSWduEg9R62MD9TlS2lzXa3CZjJtcjk7U2NJgaOtHM9n1bOouvY0Ux+KkBBGrbnlYsmKbBfU3yMQBbQokr/AkTLyzxkiX+Bzrax1791ge3beGocSydz5P+lneorTHPk4WJM5SQVX8mPI8Jg57lH8yMNNcr/Kpi+4jUGzeaDqsu0P9gedB3UJluAjGKpHLsqx9Ajo3rWOVwe3jDbRLKkI1zrMzCCCrQ/r0vTkiKAedasoWoWY8nqBx2GblLTCgsZsX5pJIXjDtL5Qg6JXMSqv7mznhusG00g== 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=JlMRz2/bLAtMB9C4SBO2HXrgBiRs6Xc08ddoGjRLTuw=; b=uaNNtTk+pBA2r2ykAseka7cxuA9T/dbdu7lEMQTvIuVmkqOjng85cxhZCtv8x4q14itn+XgdCSsuvEqVCYDcFg+jTGe8Ocbx6NCO8v3mpdMIkNeikLZvYnQu/b+T2p4fkd23CJL2RIxNsPAEH7R/AxhthXlIwngOLdoHm70AfgRgnsPGxWaUfIfVQNPkdQfjEyTGznoAa1wCq5MJmeQxJVQ7qRdlFIo1HEfi63WGF2fDScKhCgdRL88LXlWly6Obh5SM/enrxmLe1tT+jqKvNZyaDpSsAK3Els02JJ1ZpALXuYQhbZNv6dxyz8j45yOLGwgFVKj1bRvAQ+PB0ER0wA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hpe.com; dmarc=pass action=none header.from=hpe.com; dkim=pass header.d=hpe.com; arc=none Received: from CH3PR84MB3523.NAMPRD84.PROD.OUTLOOK.COM (2603:10b6:610:1cc::7) by CYXPR84MB3515.NAMPRD84.PROD.OUTLOOK.COM (2603:10b6:930:db::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.245.11; Thu, 23 Jul 2026 16:44:00 +0000 Received: from CH3PR84MB3523.NAMPRD84.PROD.OUTLOOK.COM ([fe80::2c54:3534:122f:e74f]) by CH3PR84MB3523.NAMPRD84.PROD.OUTLOOK.COM ([fe80::2c54:3534:122f:e74f%4]) with mapi id 15.21.0245.010; Thu, 23 Jul 2026 16:44:00 +0000 From: "Pradhan, Sanman" To: "linux-hwmon@vger.kernel.org" CC: "linux@roeck-us.net" , "robh@kernel.org" , "krzk+dt@kernel.org" , "conor+dt@kernel.org" , "corbet@lwn.net" , "skhan@linuxfoundation.org" , "devicetree@vger.kernel.org" , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Sanman Pradhan , Georgi Vlaev , Dhruva Devineni , Debjit Ghosh , "Jawahar Balaji Thirumalaisamy" , Avadhut Naik , Santhanakrishnan Balraj , Brian Mak Subject: [PATCH v2 2/2] hwmon: (pmbus/vt7505) Add driver for Analog Devices MAX16545/MAX16550 and Volterra VT7505 Thread-Topic: [PATCH v2 2/2] hwmon: (pmbus/vt7505) Add driver for Analog Devices MAX16545/MAX16550 and Volterra VT7505 Thread-Index: AQHdGsJ2cSmLk2VFO0OlR+OxGumQZA== Date: Thu, 23 Jul 2026 16:43:59 +0000 Message-ID: <20260723164249.199442-3-sanman.pradhan@hpe.com> References: <20260723164249.199442-1-sanman.pradhan@hpe.com> In-Reply-To: <20260723164249.199442-1-sanman.pradhan@hpe.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CH3PR84MB3523:EE_|CYXPR84MB3515:EE_ x-ms-office365-filtering-correlation-id: c66791ea-064a-43bb-92c9-08dee8d998b1 x-ld-processed: 105b2061-b669-4b31-92ac-24d304d195dc,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|23010399003|366016|7416014|376014|1800799024|38070700021|6133799003|56012099006|10067099003|18002099003|22082099003|3023799007; x-microsoft-antispam-message-info: ZdvveePBFvwKIM3h3nR+0P6jbviUboRzCdCMNUXO+K1zu3xB+wWIZdtk1A8wiWcxg8V3imDdhTZBGEWF9pg7ErPcWRk7Dv/axqDTWNVIMr/7OYPA7VSdqbqrEhfor7c37SDl44ekoKtNbn29sCSrNT2aSC9E5SJoNtKTIR7SheCUzCfCqfsHnCtsPBNxuN7PzhGyCoB8hy4N+4JQWMm9ch5MHNGY9jm+RTxy8aUDvlYoBd15ANnRkQTdTl94Gc9qvmSYU5GaI1EGMoUQ1ceuZEV9UbeNlq6ZISuQQ322CZQP0sqG+ozkfPYWeLoHBpwMWx2RTuoGx+8nN+kI3cMNlgTmHoPIBME4d3wxCrdCi+a/2Z39iSRp7A/+CZPdiYvchG+EJi7P+T7hp7zR0C/Zp9pmsO2q7eZQVLsdNj3doPp+CG+OS+DusQTkTwmHwn10p8MdnWgAbLY2caGqDEpyWrKocWaseOBjj31EZOzUBhUaPtUFnVNMYpYpuRwgjTaa+OatiK3r3ab8/GHtErihyu43R7AoieuHcW2r2to8Qb7C7yYamhg/4iezf15NFjPbVxvrVq1NYxs4SaXoqfqMM479PhbFYIvXwCz52X/00MfyLCEFW3wcPv8Yt+GMcTUOVGLzv0DYk1BAUBN+etikeDeF/xO2d5Ro+Q+FU6mHZXwB3bWuM/0WURudE7x7b0gmO3xmT/jYTgRDBZ5nRMq9/2KcP0gXykVqhb1G5J+NAb8= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH3PR84MB3523.NAMPRD84.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(23010399003)(366016)(7416014)(376014)(1800799024)(38070700021)(6133799003)(56012099006)(10067099003)(18002099003)(22082099003)(3023799007);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?O+o8FiS11w8vJmrCiPSFGEdE3cmw9eJuUksczkEwJZom7no9IFQQ+j3qTC?= =?iso-8859-1?Q?d29q7Ar+YLS312ivj5sE1zn7ZVlA2feH3yHk44CKir/qalah1pF6vxcq0w?= =?iso-8859-1?Q?70WH5r7DRa9xHjFzB5aAF7GsWoCHxQOAuCP1rUF3KwVxhOBSLWpn8ydDvc?= =?iso-8859-1?Q?+T1r8nfrGz1xzI5uHxa6ozk4Q3LswNO6cWPuSmYwQ2IOTCobszr1PTWZSX?= =?iso-8859-1?Q?IP4pE0dQ7eUbgfuzrY/JzYYz6KtLcXZPLc45RKl7GYa4i0ENFt4klGNDVy?= =?iso-8859-1?Q?Ujh0TvpNt7yDgjwHauGZkxXsaPuVB5CDD332RL0byIJN6U8PNtp1TOJRF1?= =?iso-8859-1?Q?42u+Wrcxh/8bq9FWlKnftwhkNH97tc5Svrfzm8hozoyPToF0WlYujHi/yK?= =?iso-8859-1?Q?v8/qyRRkK88vh4AePTyPkCMR6N6/pk5vVcTk/u09ILn3EzZhPCciFCsUk/?= =?iso-8859-1?Q?bKA2us4L2gziegOfQlTx4FVlbUUvkAHNdFdcNH/o/dEtsldYtylN4SFW0W?= =?iso-8859-1?Q?NZTTSqCY0wbS1If2uLXdwClsSkGmx4ZataqNwowYRzf4Gh4CidIvhkVHL1?= =?iso-8859-1?Q?MQQ5YkFOVHWoTjiFYbLybUUbfWqfh6PqzVL4ZdX8U8HwGLL17wKE/JcyE7?= =?iso-8859-1?Q?tKUeqmJZymu8zf/EPlK2KIxFMRWNgHLHfgvW9HbLuEM0Pex6w52slSIYV/?= =?iso-8859-1?Q?MoTolKHfNfT+WANhLLYUl5M10KVhmhd1yjTTlJa+l7Ncdfv4fDsoj8vb/Q?= =?iso-8859-1?Q?Jqb+qD1Edng51uSgFOR1wXKdv+lSEVbYuo+JRXmclN/OoXlb1wP0i41Q0w?= =?iso-8859-1?Q?07l/qLQGxwcdA9gc2gS3pITkI0MU0HF4vahcENNizXTFujNqhbnWiq4qAM?= =?iso-8859-1?Q?NEoepo71HVvHxn2ckB1W8xD8L0MZ0YRb3l6aMf6VNcPNPcgAZ6+G7g8oNl?= =?iso-8859-1?Q?s+1aT8fqhJDQ5jN569Gvgk2LQlxMTbekiI6qdZnOwzlmevTamN1sLvnNKq?= =?iso-8859-1?Q?27IGdo452zWJ9zjfZTjJCQ4FN6DCNFNf+Hzf6DRruaBDNwFFZcaTujoGfi?= =?iso-8859-1?Q?+5ipdrBQQDAc5mCExH1xyg9zMn3TYlxLhbWJOPfO/G/VQSidEMXyZmNEse?= =?iso-8859-1?Q?GDrnb0j0X7SSFhHR3k103fZoGfMDPKlUmPfzxiEowbewuR0zfrr6xcBr0T?= =?iso-8859-1?Q?yc3lyGpaD8QuNlHRS+v9FN6xUEUkhFl2rh7dyUsxpqhFvQWGT2P3NcD01a?= =?iso-8859-1?Q?qMOMC5THW1rR4XGN442rHVHjQ03DM5tNYJTlk44b6G35O5P2sXVlR4uYOx?= =?iso-8859-1?Q?26rMbjulMXrvup6w1wKV2Z2HUloy4Z1cGwXIQRW3VHb1H3MQqhf8FjJXEh?= =?iso-8859-1?Q?CmX9SN1qsZJltkLjkSCfTjJWlAOmAsH677MIC2wWxk32sShlt+7E46zsrs?= =?iso-8859-1?Q?nhe/OQi8d7YWIuiCUKvW0dBkFCwiZ7iGdREn0Ondoo3zeTEvFB4SJ2J1in?= =?iso-8859-1?Q?VkPtkOKQBIz1G+DJ7H8Rvkn7nGlMxZJlLCyCfX43JX+ZitNsVWgxfY3fvb?= =?iso-8859-1?Q?cWo/bq3bk7nuITAG1UXWuZiMnpHBfg6h8WynOCoobLZRUGy1fucIf5E76T?= =?iso-8859-1?Q?veHhBU3mrjSvpGIQEcUg9gn3iukBLOxjhyoSPHnvLQvb/aeORitQh8+kQW?= =?iso-8859-1?Q?E4LfyzZWObnRqxkuBcQakID7ei/6QVulbkYFA7WxcAcU7Cb4QkpQejur15?= =?iso-8859-1?Q?DBGnjyyRKzEnM4/ohUC3A8w6/P7tbeTK0zNb7/icm1nX3j?= Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Exchange-RoutingPolicyChecked: FLOVfmYZ5BscKy5+c0nzEfUHFtkUa4KFCiPQ/LxNk4pFtpaKnfSJrtBYGFZtCTmibJ6x2AVYKKTxsfLYdwPZsGz0wSg0iEtYtclhfJLs3KY7paW7q2UDbO2cOtRpzAl3occCgfLUlvZEiU9SjrfzoqWRSN6fwgTZZuCn1miv89RmDqAXRbjyXU1DsN6Np+T7cAZEjIU21QtO02v5bDSSw6sgAGOLlAl7ndGl7sQdvP2c9fGsm9P2tRu/arzxLV7NZ0Tqq9zuAdN4OlpU6FS+IyNH+5WhaZeO/GkwYkjKiJc6Jn/nQJBKmE6hpoynEqECyWKop1y0w60tmFR/A7U38Q== X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH3PR84MB3523.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: c66791ea-064a-43bb-92c9-08dee8d998b1 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Jul 2026 16:43:59.9863 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: KsJxL6MLCpwm4MbfgvkCFICJdGJkoaNZZEto5oHX6/VE4WdN/paTqZlJXQanVuxRAWzcMdheXtwWElvbMUCGMw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CYXPR84MB3515 X-OriginatorOrg: hpe.com X-Proofpoint-Reinject: loops=2 maxloops=12 X-Proofpoint-GUID: dC98gjHQYEyLRTyzZawJk8I-mavwB6KI X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzIzMDE2MyBTYWx0ZWRfX0hqHqHoesgMk 3hOW8IWrynpbTzUVvaq5Jms117Nx+M9scUhA4QYgAUP/XxichunRX6o4+l3staFvSf3SNUq1ix2 r9lzxwP9wPHdyS4+KCVIKIaZfIztKnwoQxBulBappL5pbxbeqNlrnq363pca50ME7N2FarO8odb avHqORe9o4+CsIr4AAvCgcSN80qNxEXK5N4fz4VEtCIVA5OeDtn7EHXCcmwKnlkFXKUkueTkw6D evZy/T6geDaZ30NVNyCsMEr6Nii8ehLaiZ+C5lx8K6xwXmZT43ZoOmD0IrxwWmdT6l+SU1f5q6L /u8d0vrd4FrJ0y24LHYLRIh1t5keGoN84/nv4rXqT9mH1j3OYVRfRIY08jpMisfjWRcFppdyy6Z NHo8vRx1ie1aCCWzrYlB75Qf/+zTKn9Hv9RyzEU0qLwVQgbA0NlRjkrPZMlcMQf2QAAY5BDJzho 24S3fISzo+8m1/by4Eg== X-Proofpoint-ORIG-GUID: bN-NkSmvkII4Gm7AWK5G2o8BjVhf8u7q X-Authority-Analysis: v=2.4 cv=Ibm3n2qa c=1 sm=1 tr=0 ts=6a6244dd cx=c_pps a=FAnPgvRYq/vnBSvlTDCQOQ==:117 a=FAnPgvRYq/vnBSvlTDCQOQ==:17 a=z/mQ4Ysz8XfWz/Q5cLBRGdckG28=:19 a=lCpzRmAYbLLaTzLvsPZ7Mbvzbb8=:19 a=xqWC_Br6kY4A:10 a=8nJEP1OIZ-IA:10 a=RAioF0-LDSMA:10 a=VkNPw1HP01LnGYTKEx00:22 a=gQcMVamqm3wCPoSYhaRC:22 a=ay80y3fxfMS_JZZz1qJy:22 a=gAnH3GRIAAAA:8 a=OUXY8nFuAAAA:8 a=VwQbUJbxAAAA:8 a=EprCN7UrAAAA:8 a=4msjFyqVbehHPNB7FIMA:9 a=wPNLvfGTeEIA:10 a=cAcMbU7R10T-QSRYIcO_:22 a=HCbi7XInCiJmNhJA85EG:22 X-Proofpoint-Spam-Info: AW1haW4tMjYwNzIzMDE2MyBTYWx0ZWRfX1cuBSAWv+5Qy uhegVlw8+bvYEe0FSTDKW0byfsFXJgT4T8dWywcwIrro9PQ+DAIp/d65yFeJardFIvGmz7m3teq Texsy4/J0patv9oQJ26hjvSyz3saKYE= X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-07-23_04,2026-07-22_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 lowpriorityscore=0 suspectscore=0 malwarescore=0 impostorscore=0 bulkscore=0 phishscore=0 priorityscore=1501 adultscore=0 clxscore=1015 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607230163 Content-Type: text/plain; charset="utf-8" From: Georgi Vlaev Add a PMBus driver for the Analog Devices MAX16545 and MAX16550, and the Volterra VT7505 controllers. The driver reports input/output voltage, input/output current, input power and temperature over PMBus. All values use the direct data format. Peak input voltage, output voltage, output current, input power and temperature readings are exposed and can be reset. The reported current and power depend on the external current-report resistor connected to the ILOAD pin, which can be provided through the "adi,rload-ohms" device tree property. Signed-off-by: Georgi Vlaev Co-developed-by: Dhruva Devineni Signed-off-by: Dhruva Devineni Co-developed-by: Debjit Ghosh Signed-off-by: Debjit Ghosh Co-developed-by: JawaharBalaji Thirumalaisamy Signed-off-by: JawaharBalaji Thirumalaisamy Co-developed-by: Avadhut Naik Signed-off-by: Avadhut Naik Co-developed-by: Santhanakrishnan Balraj Signed-off-by: Santhanakrishnan Balraj Co-developed-by: Brian Mak Signed-off-by: Brian Mak Signed-off-by: Sanman Pradhan --- Changes in v2: - Map the microsecond adi,ocp-severe-filter-us value to the MFR_CONFIG[15:14] register field. Documentation/hwmon/index.rst | 1 + Documentation/hwmon/vt7505.rst | 89 +++++++++++ MAINTAINERS | 8 + drivers/hwmon/pmbus/Kconfig | 9 ++ drivers/hwmon/pmbus/Makefile | 1 + drivers/hwmon/pmbus/vt7505.c | 274 +++++++++++++++++++++++++++++++++ 6 files changed, 382 insertions(+) create mode 100644 Documentation/hwmon/vt7505.rst create mode 100644 drivers/hwmon/pmbus/vt7505.c diff --git a/Documentation/hwmon/index.rst b/Documentation/hwmon/index.rst index 956f3da0b722..62687bb994ac 100644 --- a/Documentation/hwmon/index.rst +++ b/Documentation/hwmon/index.rst @@ -281,6 +281,7 @@ Hardware Monitoring Kernel Drivers vexpress via686a vt1211 + vt7505 w83627ehf w83627hf w83773g diff --git a/Documentation/hwmon/vt7505.rst b/Documentation/hwmon/vt7505.rst new file mode 100644 index 000000000000..e56dc0055e89 --- /dev/null +++ b/Documentation/hwmon/vt7505.rst @@ -0,0 +1,89 @@ +.. SPDX-License-Identifier: GPL-2.0 + +Kernel driver vt7505 +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +Supported chips: + + * Analog Devices MAX16545 + + Prefix: 'max16545' + + Datasheet: https://www.analog.com/media/en/technical-documentation/dat= a-sheets/max16545b-max16545c.pdf + + * Analog Devices MAX16550 + + Prefix: 'max16550' + + Datasheet: https://www.analog.com/media/en/technical-documentation/dat= a-sheets/max16550.pdf + + * Volterra VT7505 + + Prefix: 'vt7505' + + Datasheet: Not publicly available; register-compatible with the MAX165= 45. + +Author: Georgi Vlaev + +Description +----------- + +This driver supports hardware monitoring for the Analog Devices MAX16545 a= nd +MAX16550, and the Volterra VT7505 PMBus controllers. + +The devices report input and output voltage, input and output current, +input power, and temperature. All values use the PMBus direct data format. +Peak (maximum) values for input voltage, output voltage, output current, +input power and temperature are exposed and can be reset. Writing to any +``*_reset_history`` attribute clears all of the device's peak values. + +The reported current and power values depend on the resistance of the +external current-report resistor connected between the ILOAD pin and +ground. This resistance can be provided via the ``adi,rload-ohms`` +device tree property; a default of 4750 ohms is used when it is absent. + +Sysfs entries +------------- + +The limit and alarm attributes are created by the PMBus core for the limit +registers that the device implements. See +Documentation/hwmon/sysfs-interface.rst for the meaning of each attribute. + +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D +in1_label "vin" +in1_input Measured input voltage. +in1_min Input undervoltage warning limit. +in1_min_alarm Input undervoltage warning alarm. +in1_lcrit Input undervoltage fault limit. +in1_lcrit_alarm Input undervoltage fault alarm. +in1_highest Historical maximum input voltage. +in1_reset_history Write to reset all peak values. +in2_label "vout1" +in2_input Measured output voltage. +in2_min Output undervoltage warning limit. +in2_min_alarm Output undervoltage warning alarm. +in2_highest Historical maximum output voltage. +in2_reset_history Write to reset all peak values. +curr1_label "iin" +curr1_input Measured input current. +curr1_alarm Input current alarm. +curr2_label "iout1" +curr2_input Measured output current. +curr2_max Output overcurrent warning limit. +curr2_max_alarm Output overcurrent warning alarm. +curr2_highest Historical maximum output current. +curr2_reset_history Write to reset all peak values. +power1_label "pin" +power1_input Measured input power. +power1_max Input overpower warning limit. +power1_alarm Input overpower warning alarm. +power1_input_highest Historical maximum input power. +power1_reset_history Write to reset all peak values. +temp1_input Measured temperature. +temp1_max Overtemperature warning limit. +temp1_max_alarm Overtemperature warning alarm. +temp1_crit Overtemperature fault limit. +temp1_crit_alarm Overtemperature fault alarm. +temp1_highest Historical maximum temperature. +temp1_reset_history Write to reset all peak values. +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D diff --git a/MAINTAINERS b/MAINTAINERS index d88c0dd4c814..b914aafb8514 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -28958,6 +28958,14 @@ S: Maintained F: Documentation/hwmon/vt1211.rst F: drivers/hwmon/vt1211.c =20 +VT7505 HARDWARE MONITOR DRIVER +M: Sanman Pradhan +L: linux-hwmon@vger.kernel.org +S: Maintained +F: Documentation/devicetree/bindings/hwmon/pmbus/adi,vt7505.yaml +F: Documentation/hwmon/vt7505.rst +F: drivers/hwmon/pmbus/vt7505.c + VT8231 HARDWARE MONITOR DRIVER M: Roger Lucas L: linux-hwmon@vger.kernel.org diff --git a/drivers/hwmon/pmbus/Kconfig b/drivers/hwmon/pmbus/Kconfig index ca312be58ed5..6c97a6dc88a5 100644 --- a/drivers/hwmon/pmbus/Kconfig +++ b/drivers/hwmon/pmbus/Kconfig @@ -795,6 +795,15 @@ config SENSORS_UCD9200 This driver can also be built as a module. If so, the module will be called ucd9200. =20 +config SENSORS_VT7505 + tristate "Analog Devices MAX16545, MAX16550 and Volterra VT7505" + help + If you say yes here you get hardware monitoring support for Analog + Devices MAX16545, MAX16550 and Volterra VT7505 PMBus controllers. + + This driver can also be built as a module. If so, the module will + be called vt7505. + config SENSORS_XDP710 tristate "Infineon XDP710 family" help diff --git a/drivers/hwmon/pmbus/Makefile b/drivers/hwmon/pmbus/Makefile index 080d366809f3..daa4b49bc90f 100644 --- a/drivers/hwmon/pmbus/Makefile +++ b/drivers/hwmon/pmbus/Makefile @@ -75,6 +75,7 @@ obj-$(CONFIG_SENSORS_TPS53679) +=3D tps53679.o obj-$(CONFIG_SENSORS_TPS546D24) +=3D tps546d24.o obj-$(CONFIG_SENSORS_UCD9000) +=3D ucd9000.o obj-$(CONFIG_SENSORS_UCD9200) +=3D ucd9200.o +obj-$(CONFIG_SENSORS_VT7505) +=3D vt7505.o obj-$(CONFIG_SENSORS_XDP710) +=3D xdp710.o obj-$(CONFIG_SENSORS_XDP720) +=3D xdp720.o obj-$(CONFIG_SENSORS_XDPE122) +=3D xdpe12284.o diff --git a/drivers/hwmon/pmbus/vt7505.c b/drivers/hwmon/pmbus/vt7505.c new file mode 100644 index 000000000000..a96abf75b1aa --- /dev/null +++ b/drivers/hwmon/pmbus/vt7505.c @@ -0,0 +1,274 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Hardware monitoring driver for Analog Devices MAX16545/MAX16550 and + * Volterra VT7505 PMBus controllers. + * + * SPDX-FileCopyrightText: Copyright Hewlett Packard Enterprise Developmen= t LP + */ + +#include +#include +#include +#include +#include +#include + +#include "pmbus.h" + +#define VT7505_MFR_CONFIG 0xd0 +#define VT7505_CFG_OCP_S_FILT_MASK GENMASK(15, 14) + +#define VT7505_MFR_PEAK_VIN 0xd1 +#define VT7505_MFR_PEAK_IOUT 0xd2 +#define VT7505_MFR_PEAK_PIN 0xd3 +#define VT7505_MFR_PEAK_TEMP 0xd4 +#define VT7505_MFR_CLEAR_PEAKS 0xd5 +#define VT7505_MFR_PEAK_VOUT 0xfd + +#define VT7505_RLOAD_DEFAULT 4750 + +enum chips { max16550, vt7505 }; + +static int vt7505_read_word_data(struct i2c_client *client, int page, + int phase, int reg) +{ + switch (reg) { + case PMBUS_VIRT_READ_VIN_MAX: + return pmbus_read_word_data(client, page, phase, + VT7505_MFR_PEAK_VIN); + case PMBUS_VIRT_READ_IOUT_MAX: + return pmbus_read_word_data(client, page, phase, + VT7505_MFR_PEAK_IOUT); + case PMBUS_VIRT_READ_PIN_MAX: + return pmbus_read_word_data(client, page, phase, + VT7505_MFR_PEAK_PIN); + case PMBUS_VIRT_READ_TEMP_MAX: + return pmbus_read_word_data(client, page, phase, + VT7505_MFR_PEAK_TEMP); + case PMBUS_VIRT_READ_VOUT_MAX: + return pmbus_read_word_data(client, page, phase, + VT7505_MFR_PEAK_VOUT); + case PMBUS_VIRT_RESET_VIN_HISTORY: + case PMBUS_VIRT_RESET_IOUT_HISTORY: + case PMBUS_VIRT_RESET_PIN_HISTORY: + case PMBUS_VIRT_RESET_TEMP_HISTORY: + case PMBUS_VIRT_RESET_VOUT_HISTORY: + return 0; + default: + return -ENODATA; + } +} + +static int vt7505_write_word_data(struct i2c_client *client, int page, + int reg, u16 word) +{ + switch (reg) { + /* + * A single reset command clears all peak values. CLEAR_PEAKS is a + * send-byte command; the device NAKs a word or byte-data write to it. + */ + case PMBUS_VIRT_RESET_VIN_HISTORY: + case PMBUS_VIRT_RESET_IOUT_HISTORY: + case PMBUS_VIRT_RESET_PIN_HISTORY: + case PMBUS_VIRT_RESET_TEMP_HISTORY: + case PMBUS_VIRT_RESET_VOUT_HISTORY: + return pmbus_write_byte(client, page, + VT7505_MFR_CLEAR_PEAKS); + default: + return -ENODATA; + } +} + +/* + * None of these controllers implement the standard PMBus WRITE_PROTECT + * (0x10) register, so tell the core not to access it. + */ +static struct pmbus_platform_data vt7505_pdata =3D { + .flags =3D PMBUS_NO_WRITE_PROTECT, +}; + +static int vt7505_set_ocp_filter(struct i2c_client *client) +{ + u32 ocp_us; + u8 field; + int ret; + u16 word; + + if (of_property_read_u32(client->dev.of_node, "adi,ocp-severe-filter-us", + &ocp_us)) + return 0; + + switch (ocp_us) { + case 0: + field =3D 0; + break; + case 1: + field =3D 1; + break; + case 2: + field =3D 2; + break; + case 10: + field =3D 3; + break; + default: + return dev_err_probe(&client->dev, -EINVAL, + "invalid adi,ocp-severe-filter-us value %u\n", + ocp_us); + } + + ret =3D i2c_smbus_read_word_data(client, VT7505_MFR_CONFIG); + if (ret < 0) + return dev_err_probe(&client->dev, ret, + "failed to read MFR_CONFIG\n"); + + word =3D ret & ~VT7505_CFG_OCP_S_FILT_MASK; + word |=3D FIELD_PREP(VT7505_CFG_OCP_S_FILT_MASK, field); + + ret =3D i2c_smbus_write_word_data(client, VT7505_MFR_CONFIG, word); + if (ret < 0) + return dev_err_probe(&client->dev, ret, + "failed to write MFR_CONFIG\n"); + + return 0; +} + +static void vt7505_set_m(int *m, u32 rload) +{ + u64 val =3D (u64)*m * rload; + + /* Make sure m fits the s32 type */ + *m =3D DIV_ROUND_CLOSEST_ULL(val, 1000); +} + +static int vt7505_probe(struct i2c_client *client) +{ + struct device *dev =3D &client->dev; + struct pmbus_driver_info *info; + enum chips chip; + u32 rload; + int ret; + + chip =3D (enum chips)(unsigned long)i2c_get_match_data(client); + + info =3D devm_kzalloc(dev, sizeof(*info), GFP_KERNEL); + if (!info) + return -ENOMEM; + + dev->platform_data =3D &vt7505_pdata; + + /* + * The m coefficient used in the direct-format current and power + * calculations depends on RLOAD, the external current-report resistor + * connected between the ILOAD pin and ground. Use the default value if + * none is specified. + */ + if (of_property_read_u32(dev->of_node, "adi,rload-ohms", &rload)) + rload =3D VT7505_RLOAD_DEFAULT; + + if (!rload) + return dev_err_probe(dev, -EINVAL, + "adi,rload-ohms must be non-zero\n"); + + info->pages =3D 1; + info->read_word_data =3D vt7505_read_word_data; + info->write_word_data =3D vt7505_write_word_data; + + info->format[PSC_VOLTAGE_IN] =3D direct; + info->format[PSC_VOLTAGE_OUT] =3D direct; + info->format[PSC_CURRENT_IN] =3D direct; + info->format[PSC_CURRENT_OUT] =3D direct; + info->format[PSC_POWER] =3D direct; + info->format[PSC_TEMPERATURE] =3D direct; + + /* + * Direct data format coefficients from the device datasheet ("PMBus + * Equation Parameters"). The current and power m coefficients scale + * with RLOAD; vt7505_set_m() applies the 1/1000 factor below, giving + * m =3D 3.824 * RLOAD for current and 0.895 * RLOAD for power. The + * temperature coefficients are chip specific (see the switch below). + */ + info->m[PSC_VOLTAGE_IN] =3D 7578; + info->R[PSC_VOLTAGE_IN] =3D -2; + info->m[PSC_VOLTAGE_OUT] =3D 7578; + info->R[PSC_VOLTAGE_OUT] =3D -2; + info->m[PSC_CURRENT_IN] =3D 3824; + info->b[PSC_CURRENT_IN] =3D -4300; + info->R[PSC_CURRENT_IN] =3D -3; + info->m[PSC_CURRENT_OUT] =3D 3824; + info->b[PSC_CURRENT_OUT] =3D -4300; + info->R[PSC_CURRENT_OUT] =3D -3; + info->m[PSC_POWER] =3D 895; + info->b[PSC_POWER] =3D -9100; + info->R[PSC_POWER] =3D -2; + + vt7505_set_m(&info->m[PSC_CURRENT_IN], rload); + vt7505_set_m(&info->m[PSC_CURRENT_OUT], rload); + vt7505_set_m(&info->m[PSC_POWER], rload); + + switch (chip) { + case max16550: + info->m[PSC_TEMPERATURE] =3D 199; + info->b[PSC_TEMPERATURE] =3D 7046; + info->R[PSC_TEMPERATURE] =3D -2; + break; + case vt7505: + info->m[PSC_TEMPERATURE] =3D 205; + info->b[PSC_TEMPERATURE] =3D 6545; + info->R[PSC_TEMPERATURE] =3D -2; + break; + default: + return -ENODEV; + } + + info->func[0] =3D PMBUS_HAVE_VIN | PMBUS_HAVE_STATUS_INPUT | + PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT | + PMBUS_HAVE_IOUT | PMBUS_HAVE_STATUS_IOUT | + PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP | + PMBUS_HAVE_IIN | PMBUS_HAVE_PIN; + + /* + * The severe OCP deglitch filter is programmable on the MAX16550 and + * the VT7505, but fixed on the MAX16545. The MAX16545 shares match data + * with the VT7505 (its fallback compatible), so identify it by its + * compatible string and skip the programming there. + */ + if (chip =3D=3D max16550 || + !of_device_is_compatible(dev->of_node, "adi,max16545")) { + ret =3D vt7505_set_ocp_filter(client); + if (ret) + return ret; + } + + return pmbus_do_probe(client, info); +} + +static const struct i2c_device_id vt7505_id[] =3D { + { "max16545", vt7505 }, + { "max16550", max16550 }, + { "vt7505", vt7505 }, + { } +}; +MODULE_DEVICE_TABLE(i2c, vt7505_id); + +static const struct of_device_id vt7505_of_match[] =3D { + { .compatible =3D "adi,max16550", .data =3D (void *)max16550 }, + { .compatible =3D "adi,vt7505", .data =3D (void *)vt7505 }, + { } +}; +MODULE_DEVICE_TABLE(of, vt7505_of_match); + +static struct i2c_driver vt7505_driver =3D { + .driver =3D { + .name =3D "vt7505", + .of_match_table =3D vt7505_of_match, + }, + .probe =3D vt7505_probe, + .id_table =3D vt7505_id, +}; +module_i2c_driver(vt7505_driver); + +MODULE_AUTHOR("Georgi Vlaev "); +MODULE_DESCRIPTION("PMBus driver for Analog Devices MAX16545/MAX16550 and = Volterra VT7505"); +MODULE_LICENSE("GPL"); +MODULE_IMPORT_NS("PMBUS"); --=20 2.34.1