Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp12403ybm; Mon, 20 May 2019 11:00:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqyI2mL8rWJnhj11+tQWdus0q7oTf5yVL1WGplBwRGntgOBgbzX64840X3VZdF33BrlcYcPo X-Received: by 2002:aa7:9a1d:: with SMTP id w29mr60252216pfj.81.1558375208026; Mon, 20 May 2019 11:00:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558375208; cv=none; d=google.com; s=arc-20160816; b=e/zU1x45B7imk1ZWHGh99hy+woeViCOw+ddBdc6sTIUDjWNANOHvmMHnpDKLkVFJsn TZeNnOHgCoQPfv/IQtIOuaEg4RYKiDtJSx5HXPhKuQBQQh9wKQEXkyHw8gn+ctF5IT+x nFNgrHL3McV7kFFx1+8xOFWMEvKspFw6egtQL0LkCFNLaThml6rINRAbestNoNKdKBDR yeXNMrQslA3TQ26HhGrYF4zCw2VpMgkJOEBgtIEARV+s8cALPz7V30BRBE1kripYfRUe /Dk0mrXj4EPskkqKWRpOEYieMcDYKDgpYBEuJH4JotSMH+ONxiT2GnQYTcb/16z3rY+u 45Tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=5wI7iZh5E6/c3F5hpIwsLbLHNdiP17cdqYaMVwlcz1k=; b=ubVmOXTAHLd6A0LfnCjEvZgdeBm0GCeVTtrLi3nMqOWIMtLM0oE5fd4xVbo7Sa/pSr /st6gxs2eSFFj30QwTwLF3zsVVEUKWW4vMKGbxrFHzsXyM7S5ZjjnVBI/poErG99CxsK dVMjDmzuTZduZoCIR0RTnQZg3EFbnoBHT5eYuxX6sGSMfDjTptjWVajJhcZM3DM3K3lR 2gmlGvhsaxqXTNWDQzVYn2cASEYs1fI7OPtZKGmPzwr7xvrllocaIonQW3ampWG1eXkA L1d4ChyoyRtYAgdXjZTxvzSX98Qx9b+tBK/kWg1lonhITgN+SlY2Gzb3rlLFXDGX8qa8 g95w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=lvQIveQU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x8si17182679pgg.443.2019.05.20.10.59.53; Mon, 20 May 2019 11:00:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=lvQIveQU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387737AbfETNOX (ORCPT + 99 others); Mon, 20 May 2019 09:14:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:48592 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387633AbfETNOR (ORCPT ); Mon, 20 May 2019 09:14:17 -0400 Received: from mail-qt1-f182.google.com (mail-qt1-f182.google.com [209.85.160.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id AEFB3217D7; Mon, 20 May 2019 13:14:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1558358056; bh=ArhYqFidQbDseOeh6RGnVwM2C9x89IIUj6IxarCU9Xo=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=lvQIveQUQlHl8qUCg4Mt9xmQCilab7e4NlHCUz729LxcZ3xS7QcfrjYUGVOGctIGN 1cBCrrX9hkEuEJfzgMjmKGHA3hdCC+IJdBvOr5ZOKEpvpOrQBfBHcSKD3F6hY0wJe8 Cw2arMGuA2eiaYQG/5C6YjlESDKbTMQQaDaiCYXs= Received: by mail-qt1-f182.google.com with SMTP id t1so16135581qtc.12; Mon, 20 May 2019 06:14:16 -0700 (PDT) X-Gm-Message-State: APjAAAUDS9e+FeEG8AdeLh6Vdz6CoENmJzSuerkEJFeyCVaZoBLsx/3/ FTYqX/xsUiXM4dOp9qPqT0GCOW6y4v8Pdilphw== X-Received: by 2002:ac8:3884:: with SMTP id f4mr64856728qtc.300.1558358055837; Mon, 20 May 2019 06:14:15 -0700 (PDT) MIME-Version: 1.0 References: <20190520085846.22320-1-masneyb@onstation.org> In-Reply-To: <20190520085846.22320-1-masneyb@onstation.org> From: Rob Herring Date: Mon, 20 May 2019 08:14:03 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] dt-bindings: backlight: lm3630a: correct schema validation To: Brian Masney Cc: Lee Jones , Daniel Thompson , 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 , Dan Murphy , Jonathan Marek Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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