On Wed, Aug 25, 2021 at 11:12 AM Rob Herring <robh@xxxxxxxxxx> 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@xxxxxxxxxx> > > >> --- > > >> 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