Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp198744rdg; Tue, 10 Oct 2023 07:58:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH393Y0qCl2eUw2vZrgo+q3xyjF9+NayaEUDu2oK2bE6lE1+4kTIeGjrkHtBx2rgxl8GOqd X-Received: by 2002:a17:90a:987:b0:27c:f8e1:7506 with SMTP id 7-20020a17090a098700b0027cf8e17506mr612303pjo.22.1696949917770; Tue, 10 Oct 2023 07:58:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696949917; cv=none; d=google.com; s=arc-20160816; b=qt59i4JNtmxX40Ccr8RkSv0m8AsVWATgHUXhhZhzivW+j/8LZWVaqdLM1/Tm6xjxeO fgZotTRgc7D5AjUFuocE0fClyjvRsm8pKTbdSsGcTK0Ld+4gvkjz9JXJ7AF4UFCoClz7 jOwa6GqJNpLL3kLSVEww5nyXvD8K9qx83+I1ajUwpT1NORFHvFsfcMHqpSeKfPqf8xMF WoB0gJZX1UreGX2E3S8h4Y9TmPSbOAkBYEdNQZATxYU9TxzvrYblOB4EOiPOEHrfxOOi wiv+uCoe/j1G5vKsx+zfVXM7oCFv2pamR34VJ0bwALzBsHF95Pm1N9SdGlZKUEpTkkIS QOuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-filter; bh=WKjfedJyvBDkzLdG/sTO4e60qiEDTGG07ZQdbl0pGik=; fh=Yds4YS00t0VPRf7msEDrSardkJrGoryuenORbWr+5a8=; b=VjQO2hjwZNibWc3gIbIUlaAFnkMKOKwlqUB8W8evNEi8g7LdnpB5uChGK9VjkxvC7A rMIPPhKPZHUaSYXUk+CacOGKb0co+0CVa1OALrlNPKVkqhQ3hWKTpsftXoNqcWNcTni0 F0/ywZGLr7VN8gg3hubxSF9rOdgCCY0cZcqHYVyjfjBBdKJ5YoklXwKBzu00Xx1d7aui rXjq7DQx1y5P/f/rqzUX+ultKL6+H5kBoiGTZIGn7VLQ6TNM69dfS7Xs/Ed5vZexradM Pkag+iUfLnl1HtnvTJHg8XskmPPIvnz6dvL6Oz1AoxNojCgDgEZUYRnpZj3VwoxP1pAD sXaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=M9+zGAzA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=salutedevices.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id o2-20020a17090a5b0200b0027909685905si11719319pji.149.2023.10.10.07.58.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 07:58:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=M9+zGAzA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=salutedevices.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 0455D803ACA7; Tue, 10 Oct 2023 07:58:35 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233244AbjJJO6M (ORCPT + 99 others); Tue, 10 Oct 2023 10:58:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233090AbjJJO6H (ORCPT ); Tue, 10 Oct 2023 10:58:07 -0400 Received: from mx1.sberdevices.ru (mx2.sberdevices.ru [45.89.224.132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FD1199; Tue, 10 Oct 2023 07:58:01 -0700 (PDT) Received: from p-infra-ksmg-sc-msk02 (localhost [127.0.0.1]) by mx1.sberdevices.ru (Postfix) with ESMTP id 2DBAA120008; Tue, 10 Oct 2023 17:57:58 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.sberdevices.ru 2DBAA120008 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salutedevices.com; s=mail; t=1696949878; bh=WKjfedJyvBDkzLdG/sTO4e60qiEDTGG07ZQdbl0pGik=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type:From; b=M9+zGAzAs6NiaUoSUbh7JWgTVinHLEqlbdhQTvz18rUUMNKqgSCKHgU1LrDPKrciu TyEKeA2xTRifnNuKhW/ESkdlqTsB72V0/XhFLp1VSVguwdXWX1DkuB13454b8JDx1w DN2b2pa10ugsXc+lFoETFz/xbSAwaMkna+gYHLvRpd6EPav+Y50qbFFippWYhwdNYd ZFpSTOQmHYR1ozNNtrbgDHcMs/mNmvjM9q3fI8JkKh+VdjypGzfWGzvFIy66feF5/C EVoAu++ZsEqDlZXbP/TVtZfkOSju4iKlvm+FzXabb7dZNI0ytfdZ6nIeFpwCJlFI1p AFjruUWllS4ag== Received: from p-i-exch-sc-m01.sberdevices.ru (p-i-exch-sc-m01.sberdevices.ru [172.16.192.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sberdevices.ru (Postfix) with ESMTPS; Tue, 10 Oct 2023 17:57:57 +0300 (MSK) Received: from localhost (100.64.160.123) by p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Tue, 10 Oct 2023 17:57:57 +0300 Date: Tue, 10 Oct 2023 17:57:56 +0300 From: Dmitry Rokosov To: Rob Herring CC: , , , , , , , , , Subject: Re: [PATCH v1 04/11] dt-bindings: leds: aw200xx: introduce optional hwen-gpio property Message-ID: <20231010145756.7kvzcwjqiiq6dz4j@CAB-WSD-L081021> References: <20231006160437.15627-1-ddrokosov@salutedevices.com> <20231006160437.15627-5-ddrokosov@salutedevices.com> <20231010141332.GA756597-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20231010141332.GA756597-robh@kernel.org> User-Agent: NeoMutt/20220415 X-Originating-IP: [100.64.160.123] X-ClientProxiedBy: p-i-exch-sc-m02.sberdevices.ru (172.16.192.103) To p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) X-KSMG-Rule-ID: 10 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Lua-Profiles: 180514 [Oct 10 2023] X-KSMG-AntiSpam-Version: 6.0.0.2 X-KSMG-AntiSpam-Envelope-From: ddrokosov@salutedevices.com X-KSMG-AntiSpam-Rate: 0 X-KSMG-AntiSpam-Status: not_detected X-KSMG-AntiSpam-Method: none X-KSMG-AntiSpam-Auth: dkim=none X-KSMG-AntiSpam-Info: LuaCore: 536 536 1ae19c7800f69da91432b5e67ed4a00b9ade0d03, {Track_E25351}, {Tracking_from_domain_doesnt_match_to}, d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;127.0.0.199:7.1.2;salutedevices.com:7.1.1;p-i-exch-sc-m01.sberdevices.ru:7.1.1,5.0.1;100.64.160.123:7.1.2, FromAlignment: s, ApMailHostAddress: 100.64.160.123 X-MS-Exchange-Organization-SCL: -1 X-KSMG-AntiSpam-Interceptor-Info: scan successful X-KSMG-AntiPhishing: Clean X-KSMG-LinksScanning: Clean X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 2.0.1.6960, bases: 2023/10/10 12:47:00 #22143134 X-KSMG-AntiVirus-Status: Clean, skipped X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 10 Oct 2023 07:58:35 -0700 (PDT) X-Spam-Level: ** Hello Rob, Thank you for the review! Please find my comments below. On Tue, Oct 10, 2023 at 09:13:32AM -0500, Rob Herring wrote: > On Fri, Oct 06, 2023 at 07:04:30PM +0300, Dmitry Rokosov wrote: > > Property 'awinic,hwen-gpio' is optional, it can be used by the board > > developer to connect AW200XX LED controller with appropriate poweron > > GPIO pad. > > > > Signed-off-by: Dmitry Rokosov > > --- > > Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml | 6 ++++++ > > 1 file changed, 6 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml b/Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml > > index 73b81f7a7258..e3ad11fc7a84 100644 > > --- a/Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml > > +++ b/Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml > > @@ -41,6 +41,9 @@ properties: > > description: > > Leds matrix size > > > > + awinic,hwen-gpio: > > + maxItems: 1 > > We have standard 'enable-gpios' or 'powerdown-gpios'. Those don't work > here? > > Note that *-gpio is deprecated in favor of *-gpios. Yes, you are absolutely correct. Andy has already addressed this issue in the driver patchset. I will revise the driver to utilize the current GPIO API. > > + > > patternProperties: > > "^led@[0-9a-f]+$": > > type: object > > @@ -90,12 +93,15 @@ additionalProperties: false > > > > examples: > > - | > > + #include > > #include > > > > i2c { > > #address-cells = <1>; > > #size-cells = <0>; > > > > + awinic,hwen-gpio = <&gpio 3 GPIO_ACTIVE_HIGH>; > > + > > led-controller@3a { > > compatible = "awinic,aw20036"; > > reg = <0x3a>; > > -- > > 2.36.0 > > -- Thank you, Dmitry