Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1250256ybe; Wed, 11 Sep 2019 11:47:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqxYq0qcjzmUm8nsdVnVRsUinM9Nz6s3m7vTK1tyv7LtWOXCAy4Jv/fJ22qTku1akXH30wld X-Received: by 2002:a17:906:8158:: with SMTP id z24mr30845407ejw.54.1568227622479; Wed, 11 Sep 2019 11:47:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568227622; cv=none; d=google.com; s=arc-20160816; b=Qzjph94LgmOYJoyB3cP42SFfWimt937nD70ZRSJL3uSwIzWX5ZIk6YCnjTlDuXUGC8 zKqvotfif0E1jJdBfvIOyPXhxL2C1fZHVRpjrHaXTdAlKuty7lMlYW1+jMwSWQyoCcKn TFMsIjB3mh3oezzfhoIf2cHK4xt/uNi404ytDgH/dTGQtzKf4StuLaCr2Gqqgeluk/3l HpKsMxp69bMyHoWMSzvTvxvBW0f9mulj08NS4VzR6yEmTVlKDTUF1Zisb99MMVc6Jwim JDdo4noD119eiWdEDjhttD/S+S3ze6NHjI6bMEqi8+0a38+Uq4i4gmg5ifkyMGPQAFoT Tb7A== 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=BOqEWOsrdu0X1JsJVt3OgXpcdPXFlSvGPSUfjNqw9dQ=; b=lJmqgHZ+XOb2lCq2cyifoM3JpN+Ls8/awQClShq1GJnuwRxYtKb3TPfvboGcBqdAOO O2WRc+Rxv1yiA4P/ZroFazOnZZVr4PE6xpRAHATEwg+ObHHmao853It1gvVaoC6ys6rS dru+jNAYFmlGiU7X97CornsN2SO6SEhmPIDMjF2omvyY1F2FqnyVzY0X28m8jFQL97Hu tOoz7M9mQu9ICGl8XjW5YvXL61t3caxCY4rNslidaGE5AeDqCkZge3C8Cg2ZpHc2rz8B dTIMXOqRMeNftDKy+9HxAYyyYxdmFZ4RNFgaUw/94se1UoXB9UqXt8hfU6zLGnTpdSW6 cMug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="Wi/twvAL"; 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 m26si11597401eji.61.2019.09.11.11.46.38; Wed, 11 Sep 2019 11:47:02 -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="Wi/twvAL"; 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 S1730126AbfIKSoi (ORCPT + 99 others); Wed, 11 Sep 2019 14:44:38 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:32794 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729994AbfIKSoh (ORCPT ); Wed, 11 Sep 2019 14:44:37 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x8BIi2Jl011385; Wed, 11 Sep 2019 13:44:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1568227442; bh=BOqEWOsrdu0X1JsJVt3OgXpcdPXFlSvGPSUfjNqw9dQ=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=Wi/twvAL12qufysWGszW8BVjS4jU82o51dv3hlho8PnLShrKplFUNbYT/EXiAW50k a1Q0Yt7t2W+AjUk18Prrg9uauG41/3RuiVXzWUkDbB/Yc97d74rbeh7n1j63COuFrG H7Fcc6i61XTuU7SMyMK9YqtOu8Ba/FO/X3HFlfQ8= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x8BIi2uo096292 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 11 Sep 2019 13:44:02 -0500 Received: from DFLE110.ent.ti.com (10.64.6.31) 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; Wed, 11 Sep 2019 13:44:02 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE110.ent.ti.com (10.64.6.31) 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; Wed, 11 Sep 2019 13:44:02 -0500 Received: from [10.250.65.13] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id x8BIi15j122843; Wed, 11 Sep 2019 13:44:01 -0500 Subject: Re: [PATCH v2 1/2] dt-bindings: backlight: lm3630a: add enable_gpios To: Daniel Thompson , Andreas Kemnade CC: , , , , , , , , , , , , "H. Nikolaus Schaller" References: <20190910212909.18095-1-andreas@kemnade.info> <20190910212909.18095-2-andreas@kemnade.info> <20190911100851.f4rnldghtmly26oo@holly.lan> From: Dan Murphy Message-ID: <3d8237d0-4e36-3787-6050-b0e75f2fa8c3@ti.com> Date: Wed, 11 Sep 2019 13:44:01 -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: <20190911100851.f4rnldghtmly26oo@holly.lan> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit 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/11/19 5:08 AM, Daniel Thompson wrote: > On Tue, Sep 10, 2019 at 11:29:08PM +0200, Andreas Kemnade wrote: >> add enable-gpios to describe HWEN pin >> >> Signed-off-by: Andreas Kemnade > Acked-by: Daniel Thompson > >> --- >> changes in v2: add 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..1fa83feffe16 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 >> @@ -92,6 +96,7 @@ examples: >> i2c { >> #address-cells = <1>; >> #size-cells = <0>; >> + enable-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>; This is in the wrong place.  This is implying that the gpio is for the i2c parent This needs to go under the led-controller node below Dan >> >> led-controller@38 { >> compatible = "ti,lm3630a"; >> -- >> 2.20.1 >>