Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp270134imm; Tue, 28 Aug 2018 22:55:03 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYXtvQYnSJ9DQM19sk3R62r0nd/MP3r3z7vq6kFutgvnpt0EB+/zwvSec96mmDhfBtIMDMM X-Received: by 2002:a17:902:8a92:: with SMTP id p18-v6mr4456057plo.148.1535522103319; Tue, 28 Aug 2018 22:55:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535522103; cv=none; d=google.com; s=arc-20160816; b=alKzYTWRP24uvHTFcUjpO39Az3Rh0VBCxqmVUYq8Jr2ZKGsO9Lu6nupzPXi8togApj rCIGzqyX6ltMVOub+egpzm6MN98tUZ9Fr3iJnzJS50Z32SdeiSbty0RAdN75+lfx9XgD D0heCBDsCmd2tPNENwKDYwEg0BetQko+jNdQD5Xw7Y+Dbn7egCnfqx92ya9P4VsAjsb1 qRhHRMPmT6MUe43ET7X8NICPOChYpMT7T3gSzyhM/8Yx/6qhlFY7TWMICZN3sOAInmbG Jq/J2G2kYAC3Lh7Oa5K9dbAsBfuFSOmOn/dlBVv3MQShymPHKAApTdLQTGd1Tj2NzvKq /kmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=tfsdG2QiaOg5P24T3OIxecHs3vJu663Cu2phC8mjSps=; b=wfslK2V+CUEK4RxZ+vhIwRvpDuTgQKxKpX72JcYw8W6jy3i1iuNBumaQA0ttvM8SYp pjWWp4rtMHQJEb78n0/1sjQN1HYB/JLn424JIs5SLO2uSfv0Z9Ce+f9SqiOiF8NbhFaU dnqA/XPaXszj4ord6KvLhEnZJOVAI66cwae65qAZg6JbfiVku5+93uxWrHeisx7ATATD K2oy2+XhIc8RbLnl7Isf6NIfRoTypGcmMoVaBhx7Bj3NUJHGSo2hngzAmPsdNW5ahHFt OOnPyup6rd82hW30xFeRPWvCANjETxjVEHHE2/8u0CvLRcdnmEMGSsXz18tSQLstv1Ur B6UQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=VNbjVWpl; dkim=pass header.i=@codeaurora.org header.s=default header.b=VNbjVWpl; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q8-v6si2452668pli.355.2018.08.28.22.54.21; Tue, 28 Aug 2018 22:55:03 -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=@codeaurora.org header.s=default header.b=VNbjVWpl; dkim=pass header.i=@codeaurora.org header.s=default header.b=VNbjVWpl; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727399AbeH2JrW (ORCPT + 99 others); Wed, 29 Aug 2018 05:47:22 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:36162 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727233AbeH2JrW (ORCPT ); Wed, 29 Aug 2018 05:47:22 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id D288C6053B; Wed, 29 Aug 2018 05:52:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1535521929; bh=x12b7IBQCVTDo0nQDS/PvT04cXA7gJzx+zLHbUqc6ZI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=VNbjVWplU34OHNNaf27Ns7E8zkGYaDuJJPKxvQV5JBR/z7DeGQ2Hs5rt65/RogN4i moiaJu3hlfgDn3QOwtPwZTE9ljlr4Q5sEDZJCYcUAhU6G2q5pEDdX3HBy+ydNgldtR 8VzdtmM+mk2djhMZvbfnsTdfeRvqBfWK0ekKwZW0= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id 0B2F6603D2; Wed, 29 Aug 2018 05:52:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1535521929; bh=x12b7IBQCVTDo0nQDS/PvT04cXA7gJzx+zLHbUqc6ZI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=VNbjVWplU34OHNNaf27Ns7E8zkGYaDuJJPKxvQV5JBR/z7DeGQ2Hs5rt65/RogN4i moiaJu3hlfgDn3QOwtPwZTE9ljlr4Q5sEDZJCYcUAhU6G2q5pEDdX3HBy+ydNgldtR 8VzdtmM+mk2djhMZvbfnsTdfeRvqBfWK0ekKwZW0= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 29 Aug 2018 11:22:08 +0530 From: kgunda@codeaurora.org To: Pavel Machek Cc: bjorn.andersson@linaro.org, jingoohan1@gmail.com, lee.jones@linaro.org, b.zolnierkie@samsung.com, dri-devel@lists.freedesktop.org, daniel.thompson@linaro.org, jacek.anaszewski@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH V5 3/8] backlight: qcom-wled: Add new properties for PMI8998 In-Reply-To: <20180827100143.GE31905@amd> References: <1535106467-17843-1-git-send-email-kgunda@codeaurora.org> <1535106467-17843-4-git-send-email-kgunda@codeaurora.org> <20180827100143.GE31905@amd> Message-ID: X-Sender: kgunda@codeaurora.org User-Agent: Roundcube Webmail/1.2.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-08-27 15:31, Pavel Machek wrote: > Hi! > > On Fri 2018-08-24 15:57:42, Kiran Gunda wrote: >> Update the bindings with the new properties used for >> PMI8998. > >> Changes from V3: >> - Removed the default values. > > Why? > As per Bjorn's comment I have removed the default values. Do you want to add them back ? >> +- qcom,current-limit-microamp >> + Usage: optional >> + Value type: >> + Definition: uA; per-string current limit; value from 0 to 30000 >> with >> + 2500 uA step. >> >> - qcom,current-boost-limit >> Usage: optional >> Value type: >> Definition: mA; boost current limit. >> For pm8941: one of: 105, 385, 525, 805, 980, 1260, 1400, >> - 1680. Default: 805 mA >> + 1680. >> For pmi8998: one of: 105, 280, 450, 620, 970, 1150, 1300, >> - 1500. Default: 970 mA >> + 1500. >> > > I'd say that optional properties should list default values...? > Same as above. >> - qcom,ovp >> Usage: optional >> Value type: >> Definition: V; Over-voltage protection limit; one of: >> - 27, 29, 32, 35. default: 29V >> + 27, 29, 32, 35. >> This property is supported only for PM8941. >> > > Same here. > Same as above. >> +- qcom,ovp-millivolt >> + Usage: optional >> + Value type: >> + Definition: mV; Over-voltage protection limit; >> + For pmi8998: one of 18100, 19600, 29600, 31100 >> + If this property is not specified for PM8941, it >> + falls back to "qcom,ovp" property. >> + > > "voltage-limit-millivolt"? "ovp" is not really well known acronym. > Pavel "ovp" is already being used in pm8941-wled.c driver. That's why I am using ovp-millivolt. If I rename this, i think I have to rename the existing "qcom,ovp" also, which will break the backward compatibility.