Message ID | 20201106091854.14958-1-amelie.delaunay@st.com |
---|---|
Headers | show |
Series | STUSB1600 support on STM32MP15xx-DKx | expand |
On Fri, Nov 06, 2020 at 10:18:52AM +0100, Amelie Delaunay wrote: > Device tree property is named typec-power-opmode, not power-opmode. > > Fixes: da0cb6310094 ("usb: typec: add support for STUSB160x Type-C controller family") > Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> > --- > drivers/usb/typec/stusb160x.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/usb/typec/stusb160x.c b/drivers/usb/typec/stusb160x.c > index 2a618f02f4f1..d21750bbbb44 100644 > --- a/drivers/usb/typec/stusb160x.c > +++ b/drivers/usb/typec/stusb160x.c > @@ -562,7 +562,7 @@ static int stusb160x_get_fw_caps(struct stusb160x *chip, > * Supported power operation mode can be configured through device tree > * else it is read from chip registers in stusb160x_get_caps. > */ > - ret = fwnode_property_read_string(fwnode, "power-opmode", &cap_str); > + ret = fwnode_property_read_string(fwnode, "typec-power-opmode", &cap_str); > if (!ret) { > ret = typec_find_pwr_opmode(cap_str); > /* Power delivery not yet supported */ > -- > 2.17.1 thanks,
On Fri, 06 Nov 2020 10:18:51 +0100, Amelie Delaunay wrote: > Add binding documentation for the STMicroelectronics STUSB160x Type-C port > controller. > > Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com> > --- > .../devicetree/bindings/usb/st,stusb160x.yaml | 85 +++++++++++++++++++ > 1 file changed, 85 insertions(+) > create mode 100644 Documentation/devicetree/bindings/usb/st,stusb160x.yaml > My bot found errors running 'make dt_binding_check' on your patch: yamllint warnings/errors: dtschema/dtc warnings/errors: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/usb/st,stusb160x.yaml: 'additionalProperties' is a required property /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/usb/st,stusb160x.yaml: ignoring, error in schema: warning: no schema found in file: ./Documentation/devicetree/bindings/usb/st,stusb160x.yaml See https://patchwork.ozlabs.org/patch/1395559 The base for the patch is generally the last rc1. Any dependencies should be noted. 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 11/6/20 5:17 PM, Rob Herring wrote: > On Fri, 06 Nov 2020 10:18:51 +0100, Amelie Delaunay wrote: >> Add binding documentation for the STMicroelectronics STUSB160x Type-C port >> controller. >> >> Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com> >> --- >> .../devicetree/bindings/usb/st,stusb160x.yaml | 85 +++++++++++++++++++ >> 1 file changed, 85 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/usb/st,stusb160x.yaml >> > > > My bot found errors running 'make dt_binding_check' on your patch: > > yamllint warnings/errors: > > dtschema/dtc warnings/errors: > /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/usb/st,stusb160x.yaml: 'additionalProperties' is a required property > /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/usb/st,stusb160x.yaml: ignoring, error in schema: > warning: no schema found in file: ./Documentation/devicetree/bindings/usb/st,stusb160x.yaml > > > See https://patchwork.ozlabs.org/patch/1395559 > > The base for the patch is generally the last rc1. Any dependencies > should be noted. > > 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. > I already ran 'make dt_binding_check' but st-schema was not up to date, despite a not so old upgrade. I note for next time to do the upgrade autotically before the 'make dt_binding_check'. New version submitted. Thanks, Amelie