From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Murphy Date: Wed, 22 May 2019 00:53:45 +0000 Subject: Re: [PATCH] dt-bindings: backlight: lm3630a: correct schema validation Message-Id: <6bc54c69-0c7b-69e5-6dce-aef631e20247@ti.com> List-Id: References: <20190520085846.22320-1-masneyb@onstation.org> <20190520133007.gymbonmq635gp73b@holly.lan> In-Reply-To: <20190520133007.gymbonmq635gp73b@holly.lan> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Daniel Thompson , Rob Herring Cc: Brian Masney , Lee Jones , Jingoo Han , Jacek Anaszewski , Pavel Machek , Mark Rutland , Bartlomiej Zolnierkiewicz , dri-devel , Linux LED Subsystem , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , Linux Fbdev development list , Jonathan Marek On 5/20/19 8:30 AM, Daniel Thompson wrote: > On Mon, May 20, 2019 at 08:14:03AM -0500, Rob Herring wrote: >> On Mon, May 20, 2019 at 3:59 AM Brian Masney wrote: >>> >>> The '#address-cells' and '#size-cells' properties were not defined in >>> the lm3630a bindings and would cause the following error when >>> attempting to validate the examples against the schema: >>> >>> Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.example.dt.yaml: >>> '#address-cells', '#size-cells' do not match any of the regexes: >>> '^led@[01]$', 'pinctrl-[0-9]+' >>> >>> Correct this by adding those two properties. >>> >>> While we're here, move the ti,linear-mapping-mode property to the >>> led@[01] child nodes to correct the following validation error: >>> >>> Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.example.dt.yaml: >>> led@0: 'ti,linear-mapping-mode' does not match any of the regexes: >>> 'pinctrl-[0-9]+' >>> >>> Fixes: 32fcb75c66a0 ("dt-bindings: backlight: Add lm3630a bindings") >>> Signed-off-by: Brian Masney >>> Reported-by: Rob Herring >>> --- >>> .../leds/backlight/lm3630a-backlight.yaml | 20 +++++++++++++------ >>> 1 file changed, 14 insertions(+), 6 deletions(-) >> >> Reviewed-by: Rob Herring > > Acked-by: Daniel Thompson > Acked-by: Dan Murphy