Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp14137ybm; Mon, 20 May 2019 11:01:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqxwzcUE0U5thOYYSgFlTUGCazcjK8Xmmk1YFQWZB8saPCTEgAEG8RqQZF03r9Kzv57wQp6y X-Received: by 2002:a63:318b:: with SMTP id x133mr76545746pgx.297.1558375300405; Mon, 20 May 2019 11:01:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558375300; cv=none; d=google.com; s=arc-20160816; b=v3J4cC+5toMlNw3lIGOTfq4tzudC7KCVqRYtK5xbdZLjTQI3F0Nnmbxzh4XoGquUTP suWDxW6pC4OduYsBgISeza5nksfT4QteaKuEpto9nxCJsxUdDT6zxKD+Ja8ZiUm7BcsE P2Rph9KJgG0CLSnTEdSN1f/znY/ZkEZfTusSlbrDeO7xSktF6LuCQqzKXB4Jl5WkeSDo vbPEpSvGiLMISwRpJ7XOR3ccuVAy0L15Xgu7e8Iwfo+cImegAso4zFNt6Z7ThdDYIXjk yTfpj743YW4+S46xl5AgY0/L34Cm4bxv/FZYhAiFRfwX8DL5B5AyOJMyNZDb/HfZyjb+ 50jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=8jmGilw1nCQQmkBhHj38AiUSNpWBZe/sVuRM01rHJv0=; b=LlOMwRoFhivSsG+ufIxfMBMqnez9junbmnmmCun8u2uZnXFWeb+hm06+eYbJvpWKTN 7p68+IAOE1hXkDPiuvljjdHOCU4G3Dw/OYbKWqr7CDHhg8haIXW+YCRpIX/dSyE74WDY VGlHtUQXjzN6N3p4ZE1hnx+dXXk7MLJ39zCO+4BMjN/iaZVQ5iHzAXMiDeVHgEzvh7Dx MWSCPWqvzo6LDDJ9ZOicfAM0nUTGiy9N27Uz6cCxgZp/y0MAwVDf3gziDBF7Hsp+ko+m nQhH2kUCdLfyczUV1USNc0sU+g9KBGeXsPJ+CakuCW5tDW3YqLC1Sa04gOkOby4L3Rgf 7K7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FY+xDHdl; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h4si13238388plr.24.2019.05.20.11.01.25; Mon, 20 May 2019 11:01:40 -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=@linaro.org header.s=google header.b=FY+xDHdl; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732653AbfETNaN (ORCPT + 99 others); Mon, 20 May 2019 09:30:13 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:37719 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732069AbfETNaM (ORCPT ); Mon, 20 May 2019 09:30:12 -0400 Received: by mail-wm1-f65.google.com with SMTP id 7so13073037wmo.2 for ; Mon, 20 May 2019 06:30:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=8jmGilw1nCQQmkBhHj38AiUSNpWBZe/sVuRM01rHJv0=; b=FY+xDHdlrGHpESK8d3dY9mKd1ulBFHyvOVNM4E/E1imXiTfV0C2iFc0rfPluiYI9ti MkuGQzvux2dG6tG1e+KiV4OUqVQT5Qm7Yy6WB3PkW8ZWeG7UB4NYbi7D93geMjs6ZkGo Fx+yt0kZcrFZHxnA90yAfup2DJJZ8Dn6Y3K7hxCTFDbqFjRvkwbaSodfn5WtHGfthJDo 3PTdSyM8MM33ZMwBaxKztYfimViCP70xCgakknd24OaIpwTnAaIvV6iT+VaeivDs8E23 4PeY7+bjmcEHI+4pdtdPQ5ty1/iv+0HT0SoZnbwzxt+BwcB8hC4ZCUQeopMbZDFiDxOM jy8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=8jmGilw1nCQQmkBhHj38AiUSNpWBZe/sVuRM01rHJv0=; b=F2l+BxZqc+0CUf9a0FkGqjnRR3wEjjCN7VwZ+KWVD1bZ7v8dZeSidHsqq2CMOX+Wzi ZQuU3VsdKkkD6DwdGoTpbSAG4ufnlDGzNjINRsWtAAIvSCAFVlKkJeDj55hrrteA7TTb XgXHnJBBfn+Mg/TTj9XYnkk4TrE+BvhbdmedHUYw3UE8SsWjo8uxqe7ke9HAgvk8edVE nJrg7jndteHXDddiEBbbnCq84KC5hZ6oBqOk1RNyPapeYc+Y16e/Nl2lAng1qONAYGzJ dXtj9UXDOsl1kDtrjMLvEoBfvmufnaTaHTT/9BcvF0X8rkLvZAspZQjfzMep3ZlAKFwi CQrQ== X-Gm-Message-State: APjAAAXchUcLeSKDrO+iyWkFo5SELTsSw0uheqK21m8hWieUh++U1tHM LOC6tSNlnMfIg2h+ohcGiW8WZw== X-Received: by 2002:a1c:7606:: with SMTP id r6mr11647224wmc.25.1558359009976; Mon, 20 May 2019 06:30:09 -0700 (PDT) Received: from holly.lan (cpc141214-aztw34-2-0-cust773.18-1.cable.virginm.net. [86.9.19.6]) by smtp.gmail.com with ESMTPSA id y1sm15465215wma.14.2019.05.20.06.30.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 20 May 2019 06:30:09 -0700 (PDT) Date: Mon, 20 May 2019 14:30:07 +0100 From: Daniel Thompson To: 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 , Dan Murphy , Jonathan Marek Subject: Re: [PATCH] dt-bindings: backlight: lm3630a: correct schema validation Message-ID: <20190520133007.gymbonmq635gp73b@holly.lan> References: <20190520085846.22320-1-masneyb@onstation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 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 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