On Thu 10 Dec 07:52 CST 2020, Rob Herring wrote: > On Tue, Dec 08, 2020 at 02:27:47PM +0530, Vinod Koul wrote: > > Add device tree binding Documentation details for Qualcomm SM8350 > > pinctrl driver. > > > > Signed-off-by: Vinod Koul <vkoul@xxxxxxxxxx> > > --- > > > > Changes since v1: > > - Fix pins pattern > > - Fix example indent > > > > .../bindings/pinctrl/qcom,sm8350-pinctrl.yaml | 151 ++++++++++++++++++ > > 1 file changed, 151 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,sm8350-pinctrl.yaml > > > > diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm8350-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm8350-pinctrl.yaml > > new file mode 100644 > > index 000000000000..8ddb347c43da > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm8350-pinctrl.yaml > > @@ -0,0 +1,151 @@ > > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/pinctrl/qcom,sm8350-pinctrl.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Qualcomm Technologies, Inc. SM8350 TLMM block > > + > > +maintainers: > > + - Vinod Koul <vkoul@xxxxxxxxxx> > > + > > +description: | > > + This binding describes the Top Level Mode Multiplexer block found in the > > + SM8350 platform. > > + > > +properties: > > + compatible: > > + const: qcom,sm8350-pinctrl > > If this block is called TLMM, then I'd expect that to be in the > compatible string. But I guess this is consistent with the others. > This is my mistake 7 years ago and it bothers me every time we write a new one of these - in particular since we now support a few different "Qualcomm pinctrl" blocks. It would be ugly for a while, but I'm in favor of naming these "qcom,<platform>-tlmm" going forward. PS. And we can solve the ugliness by introducing the "proper" naming (and keeping the old one for backwards compatibility) as we migrate the binding documents to yaml. Regards, Bjorn