linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: mfd: qcom,spmi-pmic: support rradc type
@ 2022-10-16 17:57 Caleb Connolly
  2022-10-17  1:07 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 2+ messages in thread
From: Caleb Connolly @ 2022-10-16 17:57 UTC (permalink / raw)
  To: caleb.connolly
  Cc: Luca Weiss, Andy Gross, Bjorn Andersson, devicetree,
	Konrad Dybcio, Krzysztof Kozlowski, Lee Jones, linux-arm-msm,
	linux-kernel, Rob Herring, Stephen Boyd

'adc@' nodes can also be the rradc.

Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
---
This patch is based on Luca's series:
https://lore.kernel.org/linux-arm-msm/20220925211744.133947-2-luca@z3ntu.xyz/

Luca: feel free to apply this as a fixup if you re-send
---
 Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml
index b5a06c1b67bb..cba25562e1da 100644
--- a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml
+++ b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml
@@ -102,6 +102,7 @@ patternProperties:
     oneOf:
       - $ref: /schemas/iio/adc/qcom,spmi-iadc.yaml#
       - $ref: /schemas/iio/adc/qcom,spmi-vadc.yaml#
+      - $ref: /schemas/iio/adc/qcom,spmi-rradc.yaml#
 
   "^adc-tm@[0-9a-f]+$":
     type: object
-- 
2.38.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] dt-bindings: mfd: qcom,spmi-pmic: support rradc type
  2022-10-16 17:57 [PATCH] dt-bindings: mfd: qcom,spmi-pmic: support rradc type Caleb Connolly
@ 2022-10-17  1:07 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Kozlowski @ 2022-10-17  1:07 UTC (permalink / raw)
  To: Caleb Connolly
  Cc: Luca Weiss, Andy Gross, Bjorn Andersson, devicetree,
	Konrad Dybcio, Krzysztof Kozlowski, Lee Jones, linux-arm-msm,
	linux-kernel, Rob Herring, Stephen Boyd

On 16/10/2022 13:57, Caleb Connolly wrote:
> 'adc@' nodes can also be the rradc.
> 
> Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
> ---
> This patch is based on Luca's series:
> https://lore.kernel.org/linux-arm-msm/20220925211744.133947-2-luca@z3ntu.xyz/
> 
> Luca: feel free to apply this as a fixup if you re-send
> ---
>  Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml
> index b5a06c1b67bb..cba25562e1da 100644
> --- a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml
> +++ b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml
> @@ -102,6 +102,7 @@ patternProperties:
>      oneOf:
>        - $ref: /schemas/iio/adc/qcom,spmi-iadc.yaml#
>        - $ref: /schemas/iio/adc/qcom,spmi-vadc.yaml#
> +      - $ref: /schemas/iio/adc/qcom,spmi-rradc.yaml#

rradc seems to be present only on few specific PMICs, so we could
restrict it per compatible. Similarly like adc-tm is done.

>  
>    "^adc-tm@[0-9a-f]+$":
>      type: object

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-17  1:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-16 17:57 [PATCH] dt-bindings: mfd: qcom,spmi-pmic: support rradc type Caleb Connolly
2022-10-17  1:07 ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).