On 23/10/2023 08:14, Jishnu Prakash wrote:
Hi Krzysztof,You cannot remove constraints from an entry.
On 7/9/2023 10:53 PM, Krzysztof Kozlowski wrote:
The idea here is to convey that reg can have multiple values for ADC5reg:Why? This does not make any sense. With previous patches it looks like
description: VADC base address in the SPMI PMIC register map
- maxItems: 1
+ minItems: 1
random set of changes.
Gen3 as there can be more than one peripheral used for ADC, so there can
be multiple base addresses. I'll try to make this more clear in the next
patchset.
The property name suggests this is type of monitoring. PropertyYou mean it sounds more like an enum which can take several values'#address-cells':Description does not match property name.
const: 1
@@ -38,6 +39,12 @@ properties:
'#size-cells':
const: 0
+ qcom,adc-tm-type:
+ description: |
+ Indicates if ADC_TM monitoring is done on this channel.
rather than just a boolean? I can update it to "qcom,adc-tm" if that
looks better.
description says this will enable ADC_TM monitoring. These two do not match.
Except that I wonder now whether this is a property of hardware at
all... What is this monitoring? By the driver?
...
then:
patternProperties:
@@ -299,7 +315,7 @@ examples:
label = "xo_therm";
};
Just to be clear: your internal rules are your internal affair. WeI think we do have an internal rule by which we do have to add these twodiff --git a/include/dt-bindings/iio/qcom,spmi-adc5-gen3-pm8550.h b/include/dt-bindings/iio/qcom,spmi-adc5-gen3-pm8550.hDual license.
new file mode 100644
index 000000000000..74e6e2f6f9ed
--- /dev/null
+++ b/include/dt-bindings/iio/qcom,spmi-adc5-gen3-pm8550.h
@@ -0,0 +1,48 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
licenses....I'll check again and update them if required.
expect here dual license.
Best regards,
Krzysztof