Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp3859238pxy; Tue, 4 May 2021 11:29:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxwJ1UcUdONe6OsE1jq8FkwgE2CYzy9o1E4mUCJeeadrWisLHVtQq6rtXpLhXrOqH6WIfnk X-Received: by 2002:a17:906:e4a:: with SMTP id q10mr22786595eji.511.1620152981769; Tue, 04 May 2021 11:29:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620152981; cv=none; d=google.com; s=arc-20160816; b=WgaUEJztQcs2YUlj9LeAOfUXm8Jy9LyF9MfFdeD7EggtCl5TqtbSNyUSvBjDmZM4nP 2rVTGq8+Ob8fuG37LUcC6D1xOu9GHgXhecS5xCR2d39mJUNclVdtc9CqlwYsxBw52KvI 1m2KrgbJAWlwHEkQd0Y7ine7q3MvADKx4U0kH/fplyHqnT/TyW1gKzD8I+xRqLu/2BaG icSQRGYa1bj20zJ+BE27J3eC+2FQRuETF1NOC3PokCfqgdYHYJM3ws/NYQUJqBn8H1uj 9PidblYGQqGE9Tr5UiJ1TAxA0IqjWGQ04QJ7ws4K6yoENqbbbCqqhtJI3J3R/J1sxn2a xC+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dmarc-filter:sender:dkim-signature; bh=oH1tHohc/rqxGsngrqjYmA2CbkVcO2iqa+XuJaeCoJg=; b=Va9P6DY4ZfXgolMzmrT5ahSyZgBqIcQlxzQaw/EGSMI1VqGT/ix7+8IoqNDVfS0Ivz H6r7UUQyFJ2/sp1ImwkDepOsNxafCfqWj/IldOLcGyhVElxGUh1Yo6O8R0dtFOwRmqd5 uR+V3q9+Bun10gNO12mtgUyoTC7/yFggvTbSbCh3NedwViyNNPR/lix0sdfcNocuGL3h LwGVZufuEGWyov25r94AZTSTEU+m9aRN8u0Q+5R2JOuisseW8zaIydgeUabGgx5BXKCN /fBk9/I7eqrd9WsQzeiwuMw5TwRByMhYs9D35zAkL4ht9Q0GYCwBYKzn9axEmdKTuhNH yTHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=kZuWL105; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m9si10060142edc.229.2021.05.04.11.29.17; Tue, 04 May 2021 11:29:41 -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=@mg.codeaurora.org header.s=smtp header.b=kZuWL105; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231894AbhEDQaQ (ORCPT + 99 others); Tue, 4 May 2021 12:30:16 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:11913 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231824AbhEDQaP (ORCPT ); Tue, 4 May 2021 12:30:15 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1620145760; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=oH1tHohc/rqxGsngrqjYmA2CbkVcO2iqa+XuJaeCoJg=; b=kZuWL105XOdLZx2SBrkCnxXCkPujydTtitt8fuDar0tDIHK1sPfKdqkmYglsJzYzDIeUja/W Pcya8eFycTHNQ4mpZ4F+WW0toerw0rjBb48XcJdnE7j6/4MJr7EUVjx6dUvVp33nXVjRn793 jjWrRpZDUrVuTQRdPK7wB0XUD+8= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n06.prod.us-east-1.postgun.com with SMTP id 609176598166b7eff7ccf927 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 04 May 2021 16:29:13 GMT Sender: subbaram=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 8F7CFC433F1; Tue, 4 May 2021 16:29:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00, NICE_REPLY_A,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 Received: from [10.46.162.93] (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: subbaram) by smtp.codeaurora.org (Postfix) with ESMTPSA id DE532C4338A; Tue, 4 May 2021 16:29:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org DE532C4338A Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=subbaram@codeaurora.org Subject: Re: [PATCH v7 1/6] dt-bindings: leds: Add Qualcomm Light Pulse Generator binding To: Pavel Machek Cc: Bjorn Andersson , Rob Herring , Andy Gross , Thierry Reding , Uwe Kleine-K??nig , Lee Jones , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-pwm@vger.kernel.org, Marijn Suijten , Yassine Oudjana , Luca Weiss References: <20210429211517.312792-1-bjorn.andersson@linaro.org> <20210429211517.312792-2-bjorn.andersson@linaro.org> <635d3f2c-d3a8-c0d6-7659-c22e44103901@codeaurora.org> From: Subbaraman Narayanamurthy Message-ID: <8e2bdc31-2259-08c6-b50c-2b464bbc86bf@codeaurora.org> Date: Tue, 4 May 2021 09:29:09 -0700 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: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/4/21 7:39 AM, Pavel Machek wrote: > Hi! > On Mon 2021-05-03 18:01:09, Subbaraman Narayanamurthy wrote: >> On 4/29/21 2:15 PM, Bjorn Andersson wrote: >>> This adds the binding document describing the three hardware blocks >>> related to the Light Pulse Generator found in a wide range of Qualcomm >>> PMICs. >>> >>> Signed-off-by: Bjorn Andersson > ... >>> + "^led@[0-9a-f]$": >>> + type: object >>> + $ref: common.yaml# >>> + >> >> Just a question more than a comment. From what I can see, when this device is specified as a multi-color device or an individual device (e.g. "red", "green" and "blue"), the user can only set "pattern" and "repeat" under the corresponding device after setting "pattern" to "trigger". Would you be planning to add a way (e.g. another set of DT properties) for the user to specify such patterns via the devicetree itself? >> > Please trim your replies and format emails to 72 columns or so. Sure noted. > If you need patterns in DTS that can be discussed, but it should be > generic functionality not tied to one driver. I agree. It's not tied up just with this driver but wanted to see whether it's feasible/acceptable. > > Best regards, > > Pavel -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project