[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200427103614.GM44490@ediswmail.ad.cirrus.com>
Date: Mon, 27 Apr 2020 10:36:14 +0000
From: Charles Keepax <ckeepax@...nsource.cirrus.com>
To: <robh+dt@...nel.org>, <lee.jones@...aro.org>, <broonie@...nel.org>,
<mturquette@...libre.com>, <sboyd@...nel.org>, <jdelvare@...e.com>,
<linux@...ck-us.net>, <linus.walleij@...aro.org>
CC: <lgirdwood@...il.com>, <linux-kernel@...r.kernel.org>,
<devicetree@...r.kernel.org>, <patches@...nsource.cirrus.com>
Subject: Re: [PATCH 6/6] mfd: lochnagar: Move binding over to dtschema
On Mon, Apr 27, 2020 at 11:28:12AM +0100, Charles Keepax wrote:
> Signed-off-by: Charles Keepax <ckeepax@...nsource.cirrus.com>
> ---
> + lochnagar-pinctrl {
> + compatible = "cirrus,lochnagar-pinctrl";
> +
> + gpio-controller;
> + #gpio-cells = <2>;
> + gpio-ranges = <&lochnagar 0 0 LOCHNAGAR2_PIN_NUM_GPIOS>;
> +
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinsettings>;
This seems to cause the following error:
Documentation/devicetree/bindings/mfd/cirrus,lochnagar.example.dt.yaml:
lochnagar@22: lochnagar-pinctrl:pin-settings:phandle: [[4]] is not of type 'object'
I think the schema is correct and the problem is one of tooling,
I have been poking at it for a while but can't seem to find a way
to silence this one. Any advice would be greatly appreciated.
Thanks,
Charles
> +
> + pinsettings: pin-settings {
> + ap2aif {
> + input-enable;
> + groups = "gf-aif1";
> + function = "codec-aif3";
> + };
> + codec2aif {
> + output-enable;
> + groups = "codec-aif3";
> + function = "gf-aif1";
> + };
> + };
> + };
Powered by blists - more mailing lists