Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1891257ybl; Tue, 3 Dec 2019 14:29:45 -0800 (PST) X-Google-Smtp-Source: APXvYqxQXmJLYN03PbAsh6LhK1InygLyuRzSxTXDx+hlvJzwvjpraYr5+3ej24e+ntFoClxVPFhj X-Received: by 2002:a9d:6357:: with SMTP id y23mr143245otk.91.1575412185877; Tue, 03 Dec 2019 14:29:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575412185; cv=none; d=google.com; s=arc-20160816; b=Rp4igW/BGBtRfGvgirAEXi1oSjzNQogGJrgHkeBk2S9ekRRALseHr4zos9UenflnmP +C/Gu5orN9TnwrC6Ycpyie+ebMIZe2S5QlwJ1LiuGt3z/pvEXjNrKhfhkyXscS1GyXgL yS+T2QSwhUFr5fg59216BT4anaIoV58s6hpXbblCxO0WoPYjt/7AQNGwPSdkKdhbsRd5 Ye5yuA/v3lQhswgQIIE2X2ZnobW0E1u5oTFp932tTqGhRblQsYxEcuFGpgCz22sgeSR7 4I1p0tbqKxTzTLeLVXxyg5cCrHYtx3sleUVzkQUtLSUILTbYpYxz7MbBJrd7pxLHHD4e tQFw== 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=5XuHokHw4efCtZVQtnByAdlLAHGMV6/s4tvVDlM+iMs=; b=pGDLYLZMKOrX+s0KF56RxhziLP1JLCtUpCzmM5iEy83NhMhnurFWIBef+CeznEn4Kk ZFlAO7OVahwVipPzvHeYhtn7qb32OIZeuPR34zs95KedCRhGEatQYjAWD1j1YsSn/BhV jhcSzjQ9rNqDXUS+ET0aJlHDOEIDwLlTSIEx1sNVg2kFp1WJARMUVHal5LPiDOIaTNPd jMhQZ23Zr0gcjeIEJzgADXj6hxscXYMEsNJm+soHywOICtgCscmIQ6f8IU9t+0iUnrGx cuBpN7PZmKcvzeMjY8EKVp6XSxMCe6ys7sttgUrVibtWLvtYL8m4BzbLU9EfWkSuJCIA fZDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=cM957qnc; 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 89si2056198otn.277.2019.12.03.14.29.33; Tue, 03 Dec 2019 14:29:45 -0800 (PST) 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=cM957qnc; 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 S1727600AbfLCW3E (ORCPT + 99 others); Tue, 3 Dec 2019 17:29:04 -0500 Received: from mail.kernel.org ([198.145.29.99]:36184 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727131AbfLCW3D (ORCPT ); Tue, 3 Dec 2019 17:29:03 -0500 Received: from mail-qk1-f178.google.com (mail-qk1-f178.google.com [209.85.222.178]) (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 1F9442073B; Tue, 3 Dec 2019 22:29:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575412143; bh=ZDwlZcEh4OnMpDgXDfGnbemvackMvCJ/D0nXnz0P1Ow=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=cM957qncrcp7ghV2Fqz53oQOIB+zquJzFTZDg7axDyXoQLJHILOfBseyNF9yTQmPc IM0lweyB+cBA4xdv4I9iciu57pL3EfY5zs35YakuareM5lKXAQLfQaX1M8RSJFXE8d 0Vjtw+KLAdDpCSdtD5o7cp20feLCIcRUc0qhbNHc= Received: by mail-qk1-f178.google.com with SMTP id d124so5190051qke.6; Tue, 03 Dec 2019 14:29:03 -0800 (PST) X-Gm-Message-State: APjAAAUI5tq8Jjaun2U16AiDiNamb5AUHpJ6sedIXu6GMn7dOZu43D6V alzexj5cwjKYhN+92F6Tq3c79DjqUTtW0vXwKA== X-Received: by 2002:ae9:f205:: with SMTP id m5mr7985272qkg.152.1575412142251; Tue, 03 Dec 2019 14:29:02 -0800 (PST) MIME-Version: 1.0 References: <20191119194623.23854-1-robh@kernel.org> <46d7e474-d2b0-10e4-d9dc-f7783c49e699@gmail.com> In-Reply-To: <46d7e474-d2b0-10e4-d9dc-f7783c49e699@gmail.com> From: Rob Herring Date: Tue, 3 Dec 2019 16:28:51 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/2] dt-bindings: leds: Convert common LED binding to schema To: Jacek Anaszewski Cc: Linux LED Subsystem , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , Pavel Machek , Dan Murphy 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 Sat, Nov 23, 2019 at 10:46 AM Jacek Anaszewski wrote: > > Hi Rob, > > On 11/19/19 8:46 PM, Rob Herring wrote: > > Convert the common LEDs properties bindings to a schema. As trigger source > > providers are different nodes, we need to split trigger source properties > > to a separate file. > > > > Bindings for LED controllers can reference the common schema for the LED > > child nodes: > > > > patternProperties: > > "^led@[0-4]": > > type: object > > allOf: > > - $ref: common.yaml# > > > > Cc: Jacek Anaszewski > > Cc: Pavel Machek > > Cc: Dan Murphy > > Cc: linux-leds@vger.kernel.org > > Signed-off-by: Rob Herring > > --- > > .../devicetree/bindings/leds/common.txt | 174 +------------ > > .../devicetree/bindings/leds/common.yaml | 228 ++++++++++++++++++ > > .../bindings/leds/trigger-source.yaml | 24 ++ > > 3 files changed, 253 insertions(+), 173 deletions(-) > > create mode 100644 Documentation/devicetree/bindings/leds/common.yaml > > create mode 100644 Documentation/devicetree/bindings/leds/trigger-source.yaml > > For both 1/2 an 2/2: > > Acked-by: Jacek Anaszewski Thanks. You should take these in case there are other changes during the cycle. Rob