From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0244130DEA6 for ; Thu, 11 Jun 2026 10:01:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781172069; cv=none; b=iS9WEfhCRLo8WQXcKcMA3sAq5aOZurBggVd3R9GqArC+gysCASD+LNa9V3sQeSpCgKqMN0EEf7rUZyf7FBUofNpzayNUjieomWT0pCk7XLCLl19pFNLAj2CV8OpQ8QwehzLElfR8KNVWiTAWwhXWnyeLtsHj5ub8Jkuj7Df2oxo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781172069; c=relaxed/simple; bh=QyXGOSCMhNFMYsXpPKcOvXoQAJoVbNEMyk1T1kn3M2g=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=kzQ6fUgYd/obSUAZNtvifwhXFc64JLEjLMHngPciiRF4SbEtLgLTJLN4PkCiQauV7KfwrNpiUzco6QEqCUC5E8pPueGBgjggrJtGag+1nq+QYbwKdN/eg/GF0rxgz7QvZLk+7lvtL6k6+VhuIc1t5i5jZkMNfWHq9jfVu4kdoZs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=M+vw0V7A; arc=none smtp.client-ip=209.85.210.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="M+vw0V7A" Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-84234c83142so3277823b3a.1 for ; Thu, 11 Jun 2026 03:01:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781172067; x=1781776867; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=9BCmmGp98tP7vpTLYAGl0cPpmP2dXSe3pZaGWlv+WcE=; b=M+vw0V7Arx980+SHOfNCDSyqUDQGKKH5ZyYMPwDXi+Av/pP29TOjOe345/oYvKhuNe qq3vrN/6m4bUo8SyLVasCFFwBvbYnqXjJe3K0VqgF/GL8logty/gXdMybfRGHFFEtEWM r4l1C0CbuRTPzDGDieiemeU+60uOPlKmE34j7dkxJvJLHJ3UE+N6g+UvEFZAv+gkxV9/ UGJLKqUT/YExjCTuA3X2XYdnNGMD9lHDw5au1a17bRJYBjG+7KsBfs9btKpGbALzmhzL aYmNdUDD0T7a/NntfWdGh0FeqCokacocBTNhZdl6G2E5GzMiW+ySsc/KA6+3BSHNQLkk EHeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781172067; x=1781776867; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=9BCmmGp98tP7vpTLYAGl0cPpmP2dXSe3pZaGWlv+WcE=; b=rV60ICGegtk76TtpqmIlKf27KyYaPW5lXN+FVcUMorUCPF26S8ZSjatc1Hm/G8Ilan LiMBq7muo+sLs0x1jtNwjUMTvNNNFq38I6XSsY2M+BEj3Eidv1al4sPPjHpJSgPExTm9 xiLnKuwOq8GntBoUBpig0aBJSJhSiUKbIeF3MiAVFMFmPwpuWM9rbiibvKozvt4dwOQs /kvD2d2stxUdzVF3EZPscWlTBM7W2XOAbjHRnCXeXKAVNxcdHG44D9y8VgJ7ypITEKBz BiA1jLZZQfJvHY8RH0QiA/9LipkpYyV5Ottkm38ncMeELRfH85z0lJV+E2InEsJXB9ns pYjQ== X-Forwarded-Encrypted: i=1; AFNElJ9P7gXw4eA/5uwaBAOaTNDBkd22C57HM7WP62DCBMGSQakjaSOljKc5tjEUziZzHR2jFpF0cTSciRDe+gQ=@vger.kernel.org X-Gm-Message-State: AOJu0YxOVnpgboSF91hnP+Jh8wlHzn9TS1Peum9iePkt5y9YKE6VDR8d 7jx1Q+bi5wQDPqctF3/YFkEsminrT9l2cpFXezcibo73law0F/Ang1yC X-Gm-Gg: Acq92OFtfug0xuTWD9mTrJdUz6CAMT+rZQE3q49XBNHNlhTFv6D5EHIHAr4unn32PSq VIsgsVh1JhK3TjkDK6iXDG4rnQO1p4IafKmNpw+bONfNS9fcQfLdqDD6OLDBr9I+qo26UHSX6d8 f2SNxMuZc5+ADNxwMh60/VWyW6M46z1xr1BqTHKJOI/6M84ppyWN9iOkMPuHn6EPqGFvtsI14rW 79gK+Lb1WfcPvpJ+Xs84G9PB5ZwYXsI5JLHli94QUcsCh4rLW1nYYpRHVjJ+pgKke/z24YjCXoP 2orqVci0MGwCt1iZR/3fP7rKY4691Yte5nC80M1WRnBCNRPvbtqFj9kOAn7DbbuFacUX9VzPbh6 oGthCd6n9j3VxeoCVQ8B02+cnN1ZMeJ8QczKndszO3JnhcfeTN1r3vSUjq4Xv9SsvF6EA3Oz84N BX5e3siP6cQIFxzlC94tqMlKl29hBLs6M0IMr6JbJDRSXh2Z7GHqi7bStrdMi1QeEhES0EBQgWQ 2yQSGrwcdaUVMo= X-Received: by 2002:a05:6a00:390b:b0:837:a211:4ee2 with SMTP id d2e1a72fcca58-84336df7ea7mr2358672b3a.38.1781172067225; Thu, 11 Jun 2026 03:01:07 -0700 (PDT) Received: from [10.10.15.228] (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-843380c92edsm1458228b3a.32.2026.06.11.03.01.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2026 03:01:06 -0700 (PDT) From: Potin Lai Subject: [PATCH 0/2] hwmon: (pmbus/lm25066) Support SMBus Current Limit configuration Date: Thu, 11 Jun 2026 17:58:43 +0800 Message-Id: <20260611-lm25066-cl-config-v1-0-02e567bf3d91@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIANOGKmoC/yXMTQ7CIBBA4as0s3YSfgJYr2K6UBxwTEsNtMaEc HdRl9/ivQqFMlOB01Ah04sLr6lDHgbw90uKhHzrBiWUFVZKnBdlhLXoZ/RrChwxHOWoTHBaO4L ePTMFfv+e5+nvsl8f5LfvCFr7ABw/BZZ1AAAA X-Change-ID: 20260611-lm25066-cl-config-f81925f7337e To: Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Zev Weiss Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Cosmo Chou , Mike Hsieh , Potin Lai , Potin Lai X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1781172064; l=1224; i=potin.lai.pt@gmail.com; s=20260522; h=from:subject:message-id; bh=QyXGOSCMhNFMYsXpPKcOvXoQAJoVbNEMyk1T1kn3M2g=; b=Jm65z9PjYXe3Kw48Woq8SPQDkDDjqvOdDF9/YhrKoC7y4aPXtJmIBWK8ovy39qCX2XfhAqhfi aKEUvgX6l4wAI+m0Rh/S1aSRTirdGLidQT/Envcn3fU8BIabB15F5vs X-Developer-Key: i=potin.lai.pt@gmail.com; a=ed25519; pk=j3/nMxzz1ZPpp1revghyZ8IqOnwi6RWfuxXN2XrNMRE= This patch series adds support for configuring the Current Limit (CL) behavior of the TI LM25066 and compatible devices (LM25056, LM5064, LM5066, LM5066I) using SMBus settings instead of physical hardware pins. The first patch documents the mutually exclusive Devicetree properties 'ti,cl-smbus-high' and 'ti,cl-smbus-low'. The second patch implements the driver changes to configure the DEVICE_SETUP (0xD9) register based on these DT properties. It handles the dynamic differences in the CL bit (bit 4) mapping where LM25056 and LM25066 have swapped logic for High/Low settings compared to LM5064, LM5066, and LM5066i. Signed-off-by: Potin Lai --- Potin Lai (2): dt-bindings: hwmon: pmbus: ti,lm25066: add current limit properties hwmon: (pmbus/lm25066) add SMBus current limit configuration support .../bindings/hwmon/pmbus/ti,lm25066.yaml | 20 +++++++++++++++++ drivers/hwmon/pmbus/lm25066.c | 25 ++++++++++++++++++++++ 2 files changed, 45 insertions(+) --- base-commit: 05f7e89ab9731565d8a62e3b5d1ec206485eeb0b change-id: 20260611-lm25066-cl-config-f81925f7337e Best regards, -- Potin Lai