Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp163437pxa; Wed, 26 Aug 2020 07:29:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyHdxx5W9FMp3Nnj3o1U05QJfXXPfxKu8FwZqsDW9FJaR+l+lHg1Rah0BkM8IB9Pd4E2sRr X-Received: by 2002:a05:6402:212:: with SMTP id t18mr15838713edv.124.1598452145222; Wed, 26 Aug 2020 07:29:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598452145; cv=none; d=google.com; s=arc-20160816; b=OfS6ta+NPkIzxn4VUI/GTfX6+uawEY1GnoflpFtnKpU+3+utRyjy6nrxJC8asNzZLf xGSuE2+Jc5FGGU4Eu8kH2eghFHOGPP5du8wJ8ryxCQn6fGCaX3T3vn/PXu+8mkkuv4Ps H/2wOxu93GAy3ieLI7z7BW01C9po+rIguRZ7s63OQf0NRsXRL4hPc9xcXAtx3Nqtnmqg cPxgbAnfXmKOvB3UwbXg/SrPcoc6jXfookupK3DbmSVIJVDyVOAFoJj2i6TREtMYneLP tl0wCKVDQS8uArzdd45goMettUTuog4ocyA4dTRs+8DxoRVYQpuazIFsegz9/7U8j39E Oq+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=7JbYWbrP9n+hcQ/zh3iXK/TqWpH2A4yaS5facefQiAo=; b=xAsF+RMF9AQFK069Jm9VIUJj6e9o2Hmzq4PNF/pQokHcVXzZ+erXcrh1JWMRh2b0h3 a57qI7YzJK2AR92ibFaEb1WsGAb1+cj3kdb9WMRlmjajlQeaYIk3eEbOF/1X0PtpyQry g4TMGnMIEhg52ntPGTtTeBi1FihrdHykHc7CZhsaGd6RhLbLnE20GdwEDVpMf2dYygom foZ1O1Aegm4rk2diB034hLrB4xSTLcuPgvQTOGxVe7sBqFY+/2sFO3oQh7Je265IxyFZ fnd09xJUDmSMfqeScRuJyDj4Cs5VCYb1vX9iBWPcxn/TYo6BlmQN8CiNZFQhw6p2UvDK lEcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=oFXSr8rr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u1si1523999edv.460.2020.08.26.07.28.42; Wed, 26 Aug 2020 07:29:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=oFXSr8rr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729264AbgHZLyz (ORCPT + 99 others); Wed, 26 Aug 2020 07:54:55 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:34666 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728992AbgHZLyd (ORCPT ); Wed, 26 Aug 2020 07:54:33 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 07QBsHd2011740; Wed, 26 Aug 2020 06:54:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1598442857; bh=7JbYWbrP9n+hcQ/zh3iXK/TqWpH2A4yaS5facefQiAo=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=oFXSr8rr31TE3eJ9f/HW9iGEl6X0XzJiaN+N6kQ4kgMn8V6Vh1mUkjaohMHgZ5jzq ZDpQYhNO9r4PCUDdM4Hw8ip8M6NfP8wV8sa0IPHJjSUM6qyC27ECzPlhhgY9w+xC6S oS8CUiZHoSxLWmueCL/rIBNbarRG2d2nEqr0n/HQ= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 07QBsHTg028820 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 26 Aug 2020 06:54:17 -0500 Received: from DFLE114.ent.ti.com (10.64.6.35) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Wed, 26 Aug 2020 06:54:17 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Wed, 26 Aug 2020 06:54:17 -0500 Received: from [10.250.68.181] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 07QBsG6i079719; Wed, 26 Aug 2020 06:54:16 -0500 Subject: Re: [PATCH 2/2] dt-bindings: leds: Add bindings for MT6360 LED To: Gene Chen , , , CC: , , , , , , , , References: <1598441840-15226-1-git-send-email-gene.chen.richtek@gmail.com> <1598441840-15226-3-git-send-email-gene.chen.richtek@gmail.com> From: Dan Murphy Message-ID: <06b19a38-6850-01b1-7a43-b61aec4079b8@ti.com> Date: Wed, 26 Aug 2020 06:54:16 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <1598441840-15226-3-git-send-email-gene.chen.richtek@gmail.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Gene On 8/26/20 6:37 AM, Gene Chen wrote: > From: Gene Chen > > Add bindings document for LED support on MT6360 PMIC Usually bindings are 1/x in the patchset. And you should cc Rob Herring and the Device tree mail list other wise the maintainer will not apply this patch without their ACKs > Signed-off-by: Gene Chen > --- > .../devicetree/bindings/leds/leds-mt6360.yaml | 50 ++++++++++++++++++++++ > 1 file changed, 50 insertions(+) > create mode 100644 Documentation/devicetree/bindings/leds/leds-mt6360.yaml > > diff --git a/Documentation/devicetree/bindings/leds/leds-mt6360.yaml b/Documentation/devicetree/bindings/leds/leds-mt6360.yaml > new file mode 100644 > index 0000000..4598be5 > --- /dev/null > +++ b/Documentation/devicetree/bindings/leds/leds-mt6360.yaml > @@ -0,0 +1,50 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/leds/leds-mt6360.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: LED driver for MT6360 PMIC from MediaTek Integrated. > + > +maintainers: > + - Gene Chen > + > +description: | > + This module is part of the MT6360 MFD device. For more details > + see Documentation/devicetree/bindings/mfd/mt6360.yaml. I think you need to include this yaml using allof tag > + > + The LED controller is represented as a sub-node of the PMIC node on > + the device tree. > + > + This device has six current sinks. > + > +properties: > + compatible: > + const: mediatek,mt6360-led > + > + "#address-cells": > + const: 1 > + > + "#size-cells": > + const: 0 > + > +patternProperties: > + "^led@[0-5]$": > + type: object > + description: | > + Properties for a single LED. > + > + properties: > + reg: > + description: > + Index of the LED. > + minimum: 0 > + maximum: 5 > + > +required: > + - compatible > + - "#address-cells" > + - "#size-cells" > +additionalProperties: false > + Need a new line And an example > +...