-
Notifications
You must be signed in to change notification settings - Fork 237
hwmon: Add Qualcomm SPMI BCL driver #892
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Salendarsingh Gaud (sgaud-quic)
merged 12 commits into
qualcomm-linux:qcom-6.18.y
from
dmantre:bcl_v2
Aug 30, 2026
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
9245125
Revert "QCLINUX: defconfig: Enable Qualcomm BCL driver"
dmantre cdcf395
Revert "FROMLIST: arm64: dts: qcom: pm8350c: Enable Qualcomm BCL device"
dmantre 973d77f
Revert "FROMLIST: arm64: dts: qcom: pm7250b: Enable Qualcomm BCL device"
dmantre 333283c
Revert "FROMLIST: hwmon: Add Qualcomm PMIC BCL hardware monitor driver"
dmantre 59b9e52
Revert "FROMLIST: dt-bindings: hwmon: Add qcom,bcl-hwmon yaml bindings"
dmantre d1adc25
FROMLIST: dt-bindings: hwmon: Describe Qualcomm BCL hardware
quic-manafm b483aa8
FROMLIST: hwmon: Add Qualcomm PMIC BCL driver
quic-manafm 633817d
FROMLIST: arm64: dts: qcom: pm7250b: Enable BCL sensor node
quic-manafm 530abda
FROMLIST: arm64: dts: qcom: hamoa-pmic: Enable BCL sensor node
quic-manafm bffd7b0
FROMLIST: arm64: dts: qcom: pm8350c: Enable BCL sensor node
quic-manafm 68ceed6
FROMLIST: arm64: dts: qcom: pm8550: Enable BCL sensor node
quic-manafm d87a3b2
QCLINUX: defconfig: Enable Qualcomm BCL driver
dmantre File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
128 changes: 0 additions & 128 deletions
128
Documentation/devicetree/bindings/hwmon/qcom,bcl-hwmon.yaml
This file was deleted.
Oops, something went wrong.
64 changes: 64 additions & 0 deletions
64
Documentation/devicetree/bindings/hwmon/qcom,pm7250b-bcl.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,64 @@ | ||
| # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
| %YAML 1.2 | ||
| --- | ||
| $id: http://devicetree.org/schemas/hwmon/qcom,pm7250b-bcl.yaml# | ||
| $schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
|
||
| title: Qualcomm SPMI PMIC Battery Current Limiting (BCL) Hardware Monitor | ||
|
|
||
| maintainers: | ||
| - Manaf Meethalavalappu Pallikunhi <manaf.pallikunhi@oss.qualcomm.com> | ||
|
|
||
| description: | ||
| SPMI PMIC Battery Current Limiting (BCL) hardware provides monitoring and | ||
| alarm functionality for battery overcurrent and battery or system under | ||
| voltage conditions. It monitors battery voltage and current, and | ||
| can trigger interrupts when configurable thresholds are exceeded. | ||
|
|
||
| properties: | ||
| compatible: | ||
| enum: | ||
| - qcom,pm7250b-bcl | ||
| - qcom,pm8350c-bcl | ||
| - qcom,pm8550-bcl | ||
| - qcom,pmh0101-bcl | ||
| - qcom,pmih0108-bcl | ||
| - qcom,smb2360-bcl | ||
| - qcom,smb2370-bcl | ||
|
|
||
| reg: | ||
| maxItems: 1 | ||
|
|
||
| interrupts: | ||
| maxItems: 2 | ||
|
|
||
| interrupt-names: | ||
| items: | ||
| - const: max-min | ||
| - const: critical | ||
|
|
||
| required: | ||
| - compatible | ||
| - reg | ||
| - interrupts | ||
| - interrupt-names | ||
|
|
||
| additionalProperties: false | ||
|
|
||
| examples: | ||
| - | | ||
| #include <dt-bindings/interrupt-controller/irq.h> | ||
|
|
||
| pmic { | ||
| #address-cells = <1>; | ||
| #size-cells = <0>; | ||
|
|
||
| sensor@1d00 { | ||
| compatible = "qcom,pm7250b-bcl"; | ||
| reg = <0x1d00>; | ||
| interrupts = <0x2 0x1d 0x0 IRQ_TYPE_EDGE_RISING>, | ||
| <0x2 0x1d 0x1 IRQ_TYPE_EDGE_RISING>; | ||
| interrupt-names = "max-min", | ||
| "critical"; | ||
| }; | ||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.