Message ID | 3b70f9e757e018d3cd91a882282040c4c0589a93.1629884907.git.baruch@tkos.co.il |
---|---|
State | Accepted |
Commit | 3060c54ce3c234ce103a3989e1fd431c987ceb72 |
Headers | show |
Series | [v7,1/4] dt-bindings: mfd: qcom,tcsr: document ipq6018 compatible | expand |
On Wed, 25 Aug 2021 12:48:26 +0300, Baruch Siach wrote: > DT binding for the PWM block in Qualcomm IPQ6018 SoC. > > Signed-off-by: Baruch Siach <baruch@tkos.co.il> > --- > v7: > > Use 'reg' instead of 'offset' (Rob) > > Drop 'clock-names' and 'assigned-clock*' (Bjorn) > > Use single cell address/size in example node (Bjorn) > > Move '#pwm-cells' lower in example node (Bjorn) > > List 'reg' as required > > v6: > > Device node is child of TCSR; remove phandle (Rob Herring) > > Add assigned-clocks/assigned-clock-rates (Uwe Kleine-König) > > v5: Use qcom,pwm-regs for phandle instead of direct regs (Bjorn > Andersson, Kathiravan T) > > v4: Update the binding example node as well (Rob Herring's bot) > > v3: s/qcom,pwm-ipq6018/qcom,ipq6018-pwm/ (Rob Herring) > > v2: Make #pwm-cells const (Rob Herring) > --- > .../devicetree/bindings/pwm/ipq-pwm.yaml | 52 +++++++++++++++++++ > 1 file changed, 52 insertions(+) > create mode 100644 Documentation/devicetree/bindings/pwm/ipq-pwm.yaml > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13): yamllint warnings/errors: dtschema/dtc warnings/errors: Documentation/devicetree/bindings/pwm/ipq-pwm.example.dt.yaml:0:0: /example-0/syscon@1937000: failed to match any schema with compatible: ['qcom,tcsr-ipq6018', 'syscon', 'simple-mfd'] doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/patch/1520591 This check can fail if there are any dependencies. The base for a patch series is generally the most recent rc1. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit.
Hi Rob, On Wed, Aug 25 2021, Rob Herring wrote: > On Wed, 25 Aug 2021 12:48:26 +0300, Baruch Siach wrote: >> DT binding for the PWM block in Qualcomm IPQ6018 SoC. >> >> Signed-off-by: Baruch Siach <baruch@tkos.co.il> >> --- >> v7: >> >> Use 'reg' instead of 'offset' (Rob) >> >> Drop 'clock-names' and 'assigned-clock*' (Bjorn) >> >> Use single cell address/size in example node (Bjorn) >> >> Move '#pwm-cells' lower in example node (Bjorn) >> >> List 'reg' as required >> >> v6: >> >> Device node is child of TCSR; remove phandle (Rob Herring) >> >> Add assigned-clocks/assigned-clock-rates (Uwe Kleine-König) >> >> v5: Use qcom,pwm-regs for phandle instead of direct regs (Bjorn >> Andersson, Kathiravan T) >> >> v4: Update the binding example node as well (Rob Herring's bot) >> >> v3: s/qcom,pwm-ipq6018/qcom,ipq6018-pwm/ (Rob Herring) >> >> v2: Make #pwm-cells const (Rob Herring) >> --- >> .../devicetree/bindings/pwm/ipq-pwm.yaml | 52 +++++++++++++++++++ >> 1 file changed, 52 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/pwm/ipq-pwm.yaml > > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' > on your patch (DT_CHECKER_FLAGS is new in v5.13): > > yamllint warnings/errors: > > dtschema/dtc warnings/errors: > Documentation/devicetree/bindings/pwm/ipq-pwm.example.dt.yaml:0:0: > /example-0/syscon@1937000: failed to match any schema with compatible: > ['qcom,tcsr-ipq6018', 'syscon', 'simple-mfd'] What can I do about that? Is it because qcom,tcsr-ipq6018 is documented in a non-yaml plain .txt file? Thanks, baruch > doc reference errors (make refcheckdocs): > > See https://patchwork.ozlabs.org/patch/1520591 > > This check can fail if there are any dependencies. The base for a patch > series is generally the most recent rc1. > > If you already ran 'make dt_binding_check' and didn't see the above > error(s), then make sure 'yamllint' is installed and dt-schema is up to > date: > > pip3 install dtschema --upgrade > > Please check and re-submit.
On Wed, Aug 25, 2021 at 11:12 AM Rob Herring <robh@kernel.org> wrote: > > On Wed, Aug 25, 2021 at 05:59:45PM +0300, Baruch Siach wrote: > > Hi Rob, > > > > On Wed, Aug 25 2021, Rob Herring wrote: > > > > > On Wed, 25 Aug 2021 12:48:26 +0300, Baruch Siach wrote: > > >> DT binding for the PWM block in Qualcomm IPQ6018 SoC. > > >> > > >> Signed-off-by: Baruch Siach <baruch@tkos.co.il> > > >> --- > > >> v7: > > >> > > >> Use 'reg' instead of 'offset' (Rob) > > >> > > >> Drop 'clock-names' and 'assigned-clock*' (Bjorn) > > >> > > >> Use single cell address/size in example node (Bjorn) > > >> > > >> Move '#pwm-cells' lower in example node (Bjorn) > > >> > > >> List 'reg' as required > > >> > > >> v6: > > >> > > >> Device node is child of TCSR; remove phandle (Rob Herring) > > >> > > >> Add assigned-clocks/assigned-clock-rates (Uwe Kleine-König) > > >> > > >> v5: Use qcom,pwm-regs for phandle instead of direct regs (Bjorn > > >> Andersson, Kathiravan T) > > >> > > >> v4: Update the binding example node as well (Rob Herring's bot) > > >> > > >> v3: s/qcom,pwm-ipq6018/qcom,ipq6018-pwm/ (Rob Herring) > > >> > > >> v2: Make #pwm-cells const (Rob Herring) > > >> --- > > >> .../devicetree/bindings/pwm/ipq-pwm.yaml | 52 +++++++++++++++++++ > > >> 1 file changed, 52 insertions(+) > > >> create mode 100644 Documentation/devicetree/bindings/pwm/ipq-pwm.yaml > > > > > > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' > > > on your patch (DT_CHECKER_FLAGS is new in v5.13): > > > > > > yamllint warnings/errors: > > > > > > dtschema/dtc warnings/errors: > > > Documentation/devicetree/bindings/pwm/ipq-pwm.example.dt.yaml:0:0: > > > /example-0/syscon@1937000: failed to match any schema with compatible: > > > ['qcom,tcsr-ipq6018', 'syscon', 'simple-mfd'] > > > > What can I do about that? Is it because qcom,tcsr-ipq6018 is documented > > in a non-yaml plain .txt file? > > No, it is not documented at all. Sorry, I should read patch 1 first... Still, before adding new features to an MFD, the base MFD should be converted. Rob
diff --git a/Documentation/devicetree/bindings/mfd/qcom,tcsr.txt b/Documentation/devicetree/bindings/mfd/qcom,tcsr.txt index e90519d566a3..c5f4f0ddfcc3 100644 --- a/Documentation/devicetree/bindings/mfd/qcom,tcsr.txt +++ b/Documentation/devicetree/bindings/mfd/qcom,tcsr.txt @@ -6,6 +6,7 @@ registers via syscon. Required properties: - compatible: Should contain: + "qcom,tcsr-ipq6018", "syscon", "simple-mfd" for IPQ6018 "qcom,tcsr-ipq8064", "syscon" for IPQ8064 "qcom,tcsr-apq8064", "syscon" for APQ8064 "qcom,tcsr-msm8660", "syscon" for MSM8660
Signed-off-by: Baruch Siach <baruch@tkos.co.il> --- Documentation/devicetree/bindings/mfd/qcom,tcsr.txt | 1 + 1 file changed, 1 insertion(+)