Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp931329ybe; Fri, 13 Sep 2019 08:30:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqxv05W+BGQobGbIxlnnfBbaTFRSBtJYtYXVLVF6+j91EKS4Rz9QKlCKjp6WlVZjZXDfwuNs X-Received: by 2002:a50:9734:: with SMTP id c49mr48867077edb.93.1568388657125; Fri, 13 Sep 2019 08:30:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568388657; cv=none; d=google.com; s=arc-20160816; b=mnyFnyYHUkEYBEvvY/T+7UWww0DEuaHWsWZiuy8xMr1LeYlo9EFHn3+RF+KxWHLgxS 027yGASmMHqSeW3qRUepO3udPtOwWtk5HMu3a74Xmn5V+0grpSQZhbodfFFrGnWGB8jh PL/wNROzWWLpAT+lC1KTHpn8gli/oJmIIde4b9xvYGuD0jFrLZS1NTHQadVNqmXesLsl wKkr5FpqlVHrlTLPwQVj6F2xmh0+GpJ5mfTc0+jpcyQa1/qqXih03XCTUd1M91W6JKO2 X0pwe1HBTcSHx2/oW33lAEF4r9eFFf6PQwf/gqju/Zlnuhpi/VSIQ/j7GLUssYo2qQ9b E/AQ== 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:to:subject:dkim-signature; bh=rF+4FIKlVSHlEEHXf6QhcIJo8Cxci4JVbaPWe8BeTLU=; b=1AURG0L1td+hjd+16L5lSkDTd7GUmeVejV8IeMx4j0xHV3b6PC6lmRTUlAKK43wfGz WLTPB3564RfPtmULQgovgiFP/FavDQu0vFnQaXvasbCEbDI1JFEruphj9Q44LTXqnL8t B4fsNUNA+L3Eh+GeGI2vMW0tELS/ltsJ5REDraOjsBRp1u9wuUW+JmfIjGZ7D3+VFy7S JD4qet+pGqnkEPgD/IFWGhVEvuaCf8S8IyBSciQ84Ld247tpV/FicmXOxgR4X8XcEpkt B5g3X0n1yKUVX+5MMde3NrSLkdrUp3GzS+Qe8Uixrb8uXH/gnmFM4AsiQW7YCM9UR4Lv xq/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="Fau/Eh2R"; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z2si17817575edd.390.2019.09.13.08.30.33; Fri, 13 Sep 2019 08:30:57 -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=@ti.com header.s=ti-com-17Q1 header.b="Fau/Eh2R"; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388920AbfIMOGq (ORCPT + 99 others); Fri, 13 Sep 2019 10:06:46 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:59566 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388084AbfIMOGq (ORCPT ); Fri, 13 Sep 2019 10:06:46 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x8DE6Q4g085351; Fri, 13 Sep 2019 09:06:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1568383586; bh=rF+4FIKlVSHlEEHXf6QhcIJo8Cxci4JVbaPWe8BeTLU=; h=Subject:To:References:From:Date:In-Reply-To; b=Fau/Eh2RkxT2FjWYINFwq5ybCkEMljIcv/34t118YnCLwX7NW6QTXF//tC0XsvuEr ql/gd1dKIh53WiL5srBH0sxo3Qs8zcVuJMZqTC6/VIniqVf/Vtcwz5ixYYq2M1tRyu v+sIGtV0rhH7HozaZPTqdhqoMy2Py9vWLbZS3o5w= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x8DE6QNb056725 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 13 Sep 2019 09:06:26 -0500 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Fri, 13 Sep 2019 09:06:26 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Fri, 13 Sep 2019 09:06:25 -0500 Received: from [10.250.65.13] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id x8DE6PlR112383; Fri, 13 Sep 2019 09:06:25 -0500 Subject: Re: [PATCH v4 1/2] dt-bindings: backlight: lm3630a: add enable_gpios To: Andreas Kemnade , , , , , , , , , , , , , References: <20190912213257.24147-1-andreas@kemnade.info> <20190912213257.24147-2-andreas@kemnade.info> From: Dan Murphy Message-ID: Date: Fri, 13 Sep 2019 09:06:51 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190912213257.24147-2-andreas@kemnade.info> 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 Andreas On 9/12/19 4:32 PM, Andreas Kemnade wrote: > add enable-gpios to describe HWEN pin > > Signed-off-by: Andreas Kemnade > Acked-by: Daniel Thompson Reviewed-by: Dan Murphy > --- > changes in v2: added example > changes in v3: added Acked-by > changes in v4: moved enable-gpios to the right position > in the example > .../bindings/leds/backlight/lm3630a-backlight.yaml | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml b/Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml > index dc129d9a329e..c8470628fe02 100644 > --- a/Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml > +++ b/Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml > @@ -29,6 +29,10 @@ properties: > '#size-cells': > const: 0 > > + enable-gpios: > + description: GPIO to use to enable/disable the backlight (HWEN pin). > + maxItems: 1 > + > required: > - compatible > - reg > @@ -96,6 +100,7 @@ examples: > led-controller@38 { > compatible = "ti,lm3630a"; > reg = <0x38>; > + enable-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>; > > #address-cells = <1>; > #size-cells = <0>;