Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2483768ybc; Sun, 17 Nov 2019 22:57:29 -0800 (PST) X-Google-Smtp-Source: APXvYqxZz9YaK14cdsR2khlt7pe6FobH22lfpEgMZ3YoJZd1iymSvLBuUNfQ5ht8bmdqawE+MOTy X-Received: by 2002:a17:906:1cc7:: with SMTP id i7mr8543097ejh.172.1574060249862; Sun, 17 Nov 2019 22:57:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574060249; cv=none; d=google.com; s=arc-20160816; b=mUfsYywnfinW+VK9L1biVtxR2UznyVQkHrrRKANFf3ocoaOtkgy6ROoC/21s2/FoOS ik1By21HCkGhfjabNNWYqrwkZWQxTvciYARQh5ix+TimwMhC8vMKJpkH7+R4vAp2WAeh B4KM1qOfzkdWYYG1n5k+GMs3NrxMIEITWiRoX8hij4nSTF4CdliEeCn4XTa2LcchlZlB 32K9mXx4gJwswZNqlKLco6HkZsuAxBOjEoM4U6L3zsDVp8gl+JhLOq8nLc5km0GflFUA hSsW4Xo+obSW/bXnqHaFIxTkEpma9UIB/6Xm50hJfrpizO4CgOEOfVXcC5dKjV28QqZo kkog== 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; bh=5TmO9SQwHecl5WqablS/6HXVG2Dtrb/naj4KnqE79Yo=; b=XOXsaEl3478/OY1clIdk1IvtThdxFLMkp8/RYS2J7lg0+lstODI68hK9xNxa9RwzvG oh4f1KQxKlljDZB6HPAVoSMjqXr1T/rhEO23e9wBIeUgAbpEN27TJyjv/1KCXKob9RZc IKjKgtdsoOhoQSr2wtbIr6Oobu+ZXFzb+kdnWQCVLiteRNukFokja5jsJIJKF9AKz3hq Gq951RuGaDC5ukUwQAOyUVCDJg9/mPJFQUS7YRYRYna05oFxIzVaepzpAR2ur59tNJU7 3uxzp1RIzmQILpK2XvNPPXA5V+5bau+DzWHLCj0rNZbu8fTs/zCz6axEEunCP5Fv5yna PBKg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k15si10616949ejr.327.2019.11.17.22.57.05; Sun, 17 Nov 2019 22:57:29 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726869AbfKRGyj (ORCPT + 99 others); Mon, 18 Nov 2019 01:54:39 -0500 Received: from mail-lj1-f195.google.com ([209.85.208.195]:42554 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726455AbfKRGyj (ORCPT ); Mon, 18 Nov 2019 01:54:39 -0500 Received: by mail-lj1-f195.google.com with SMTP id n5so17530409ljc.9; Sun, 17 Nov 2019 22:54:37 -0800 (PST) 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=5TmO9SQwHecl5WqablS/6HXVG2Dtrb/naj4KnqE79Yo=; b=gNd3xxbISNng+bBP+PvoqtcWxWdUpU6qFd6qjkJ3Wwv76qFegsl2nLy0GG7W8ino2w 5NqundWMe9zJLBztZX0kvAyG610/E2JrnMfVdtmTuKDyPutOiAcIwJHZSjRVPxL90C0k 7DIFvhZKNPK7UUJyiALPph+dlJPeWccNAZDEL5SXJLbbRFCeQ6Ktd3UHk57h/5BuG4zz s6do1AKQeRFvTOQKYDElXqIi20rVmMEXbp8vMchC0j0V+t4bOJUiU0t5HV3Nbcm4BE8d Lpv1yCFa5S+34gKjbnaN3MpIql+FE609gBUKXrDsvWySia5j5Q7nZh8SmCKrjQo1tRl0 yaKA== X-Gm-Message-State: APjAAAVIOps6qLuMAbB3zsztjWynM8ozbOObLHS1QfzrBmSGBM6nVP5f LRLJIXMHM2UeYQsCpeYQBqc= X-Received: by 2002:a05:651c:1a1:: with SMTP id c1mr20149419ljn.23.1574060076503; Sun, 17 Nov 2019 22:54:36 -0800 (PST) Received: from localhost.localdomain ([213.255.186.46]) by smtp.gmail.com with ESMTPSA id j10sm8504688lfc.43.2019.11.17.22.54.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Nov 2019 22:54:35 -0800 (PST) Date: Mon, 18 Nov 2019 08:54:25 +0200 From: Matti Vaittinen To: matti.vaittinen@fi.rohmeurope.com, mazziesaccount@gmail.com Cc: Lee Jones , Jacek Anaszewski , Pavel Machek , Dan Murphy , Rob Herring , Mark Rutland , Liam Girdwood , Mark Brown , Jonathan Corbet , Michael Turquette , Stephen Boyd , Linus Walleij , Bartosz Golaszewski , Alessandro Zummo , Alexandre Belloni , Mauro Carvalho Chehab , Jeff Kirsher , Wolfram Sang , Marek Szyprowski , Heiner Kallweit , Nicholas Mc Guire , Phil Edworthy , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-rtc@vger.kernel.org Subject: [PATCH v5 02/16] dt-bindings: leds: ROHM BD71282 PMIC LED driver Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document ROHM BD71828 PMIC LED driver device tree bindings. Signed-off-by: Matti Vaittinen --- No changes from v4 .../bindings/leds/rohm,bd71828-leds.yaml | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/rohm,bd71828-leds.yaml diff --git a/Documentation/devicetree/bindings/leds/rohm,bd71828-leds.yaml b/Documentation/devicetree/bindings/leds/rohm,bd71828-leds.yaml new file mode 100644 index 000000000000..e72c9ae0fc2a --- /dev/null +++ b/Documentation/devicetree/bindings/leds/rohm,bd71828-leds.yaml @@ -0,0 +1,49 @@ +# SPDX-License-Identifier: GPL-2.0-only +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/leds/rohm,bd71828-leds.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ROHM BD71828 Power Management Integrated Circuit LED driver + +maintainers: + - Matti Vaittinen + +description: | + This module is part of the ROHM BD71828 MFD device. For more details + see Documentation/devicetree/bindings/mfd/rohm,bd71828-pmic.yaml. + + The LED controller is represented as a sub-node of the PMIC node on the device + tree. + + The device has two LED outputs referred as GRNLED and AMBLED in data-sheet. + +properties: + compatible: + const: rohm,bd71828-leds + +patternProperties: + "^led-[1-2]$": + type: object + description: + Properties for a single LED. + properties: + #$ref: "common.yaml#" + rohm,led-compatible: + description: LED identification string + allOf: + - $ref: "/schemas/types.yaml#/definitions/string" + - oneOf: + - const: bd71828-ambled + - const: bd71828-grnled + function: + description: + Purpose of LED as defined in dt-bindings/leds/common.h + $ref: "/schemas/types.yaml#/definitions/string" + color: + description: + LED colour as defined in dt-bindings/leds/common.h + $ref: "/schemas/types.yaml#/definitions/uint32" + +required: + - compatible -- 2.21.0 -- Matti Vaittinen, Linux device drivers ROHM Semiconductors, Finland SWDC Kiviharjunlenkki 1E 90220 OULU FINLAND ~~~ "I don't think so," said Rene Descartes. Just then he vanished ~~~ Simon says - in Latin please. ~~~ "non cogito me" dixit Rene Descarte, deinde evanescavit ~~~ Thanks to Simon Glass for the translation =]