未验证 提交 94992004 编写于 作者: A AngeloGioacchino Del Regno 提交者: Mark Brown

regulator: qcom-labibb: Document SCP/OCP interrupts

Short-Circuit Protection (SCP) and Over-Current Protection (OCP) are
now implemented in the driver: document the interrupts.
This also fixes wrong documentation about the SCP interrupt for LAB.
Signed-off-by: NAngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Reviewed-by: NBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20210119174421.226541-7-angelogioacchino.delregno@somainline.orgSigned-off-by: NMark Brown <broonie@kernel.org>
上级 55813040
...@@ -29,9 +29,10 @@ properties: ...@@ -29,9 +29,10 @@ properties:
default: 200 default: 200
interrupts: interrupts:
maxItems: 1 minItems: 1
maxItems: 2
description: description:
Short-circuit interrupt for lab. Short-circuit and over-current interrupts for lab.
required: required:
- interrupts - interrupts
...@@ -47,9 +48,10 @@ properties: ...@@ -47,9 +48,10 @@ properties:
default: 300 default: 300
interrupts: interrupts:
maxItems: 1 minItems: 1
maxItems: 2
description: description:
Short-circuit interrupt for lab. Short-circuit and over-current interrupts for ibb.
required: required:
- interrupts - interrupts
...@@ -67,13 +69,15 @@ examples: ...@@ -67,13 +69,15 @@ examples:
compatible = "qcom,pmi8998-lab-ibb"; compatible = "qcom,pmi8998-lab-ibb";
lab { lab {
interrupts = <0x3 0x0 IRQ_TYPE_EDGE_RISING>; interrupts = <0x3 0xde 0x1 IRQ_TYPE_EDGE_RISING>,
interrupt-names = "sc-err"; <0x3 0xde 0x0 IRQ_TYPE_LEVEL_LOW>;
interrupt-names = "sc-err", "ocp";
}; };
ibb { ibb {
interrupts = <0x3 0x2 IRQ_TYPE_EDGE_RISING>; interrupts = <0x3 0xdc 0x2 IRQ_TYPE_EDGE_RISING>,
interrupt-names = "sc-err"; <0x3 0xdc 0x0 IRQ_TYPE_LEVEL_LOW>;
interrupt-names = "sc-err", "ocp";
}; };
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册