Received: by 10.192.165.148 with SMTP id m20csp5098011imm; Tue, 8 May 2018 22:16:41 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo/HattUGzOnPe81JuPoOGQIfAidIjnaxMBGTmy+UOU7eDZ+kFXiTa/wQIMDBbHqnr9DT7g X-Received: by 2002:a17:902:a9c1:: with SMTP id b1-v6mr36479771plr.181.1525843001591; Tue, 08 May 2018 22:16:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525843001; cv=none; d=google.com; s=arc-20160816; b=SZeU+anOYpPNb5gU6Q89nFhazDsCiCzZbySN8TYJnrgJBmATp+cb8jcwQBWaz1HIof six3Pow+t2xtgkh1ZX5b9J7qRT+307/wOlz8lWwSelBvT9DQ0UIjUVKlz1/vKIZo7NhN YTLG+vcZUjBZvDPR9I7nUXTrJ327Tri6R742kqa94kJy88wVk1QQ6HD09o34hwF7Ki0n a12Sa9bj9OCrVniLJFpGtZnpMByGqzW9WWfV50+3ovu9jdDPwWZ/TJu6hZUJmge0ewIF a3U5s1xsmxV5xDTAYnNhHrdulOhAFd2vWq2XtKAbSJB1c2cP1SlUNiad7t+OPGenOSY6 W1gQ== 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=5Guc41v4/dil16KJ8lGHI46TIC6QZawmZJ1Ppv9m8FM=; b=qbSMz06cLedfysuciv7B+eczXHLZrUjdyKSbAiSgUDavklcsipKIYCQdKuLfF7YdtI X8BRBBWcSErGOKLIE08MUWdN0h320vpYK5hzfU19mik3xT8teBYMxD5lw3+hDUONRuKD bdJreKNPOu4YbFXZtfg9grpkjkH4Gtxm2JPUveolC5PDOgcBnwNtzMFwOGAt1Q8ymwfp c3hCxHlXNBlsNfFDTE/FX2bZktmZrfCic/BR9X9zE7Fg0H7c/YhgyEB6KgOfPaHMItwA 7F3Yh0ZvpkBM6Wm1hWKBLT7qo64E2VAPVNfhk8aIg9mLCo5dYaXpCyr9qEPne2CIFbOt j/2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=AlYBCzHX; dkim=pass header.i=@codeaurora.org header.s=default header.b=AlYBCzHX; 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 x63si14488033pfi.162.2018.05.08.22.16.26; Tue, 08 May 2018 22:16:41 -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=AlYBCzHX; dkim=pass header.i=@codeaurora.org header.s=default header.b=AlYBCzHX; 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 S1756074AbeEIFPH (ORCPT + 99 others); Wed, 9 May 2018 01:15:07 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:60714 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752802AbeEIFPE (ORCPT ); Wed, 9 May 2018 01:15:04 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id E274E609D1; Wed, 9 May 2018 05:15:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1525842903; bh=yAGFp4JowSs0A0EYYqu+09ae3Dp1gbbyzRR1EFcqCGQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=AlYBCzHXD08bsF99o3IT7bBftnlS2ZsG0sD72+1cy8jl9wTBHcitk/9yF8gYBvoo1 djmhZYwLUBjX7yCOx9GEz9ncWVFMXVgtqEeQHUnPWnZiqlYIK6cSTPCcJeFWTyGLMe nP0rNjX1Xsmj84cvWN/wrBIJClDOa5JnJMBa7xMo= 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 0FF6C60250; Wed, 9 May 2018 05:15:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1525842903; bh=yAGFp4JowSs0A0EYYqu+09ae3Dp1gbbyzRR1EFcqCGQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=AlYBCzHXD08bsF99o3IT7bBftnlS2ZsG0sD72+1cy8jl9wTBHcitk/9yF8gYBvoo1 djmhZYwLUBjX7yCOx9GEz9ncWVFMXVgtqEeQHUnPWnZiqlYIK6cSTPCcJeFWTyGLMe nP0rNjX1Xsmj84cvWN/wrBIJClDOa5JnJMBa7xMo= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 09 May 2018 10:45:02 +0530 From: kgunda@codeaurora.org To: Bjorn Andersson Cc: Lee Jones , Daniel Thompson , Jingoo Han , Jacek Anaszewski , Pavel Machek , Rob Herring , Mark Rutland , Bartlomiej Zolnierkiewicz , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH V1 2/5] backlight: qcom-wled: Add support for WLED4 peripheral In-Reply-To: <20180508171736.GJ2259@tuxbook-pro> References: <1525341432-15818-1-git-send-email-kgunda@codeaurora.org> <1525341432-15818-3-git-send-email-kgunda@codeaurora.org> <20180507162004.GB2259@tuxbook-pro> <20180508171736.GJ2259@tuxbook-pro> Message-ID: <212855c92923c0437feaefae3139cc4a@codeaurora.org> 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-05-08 22:47, Bjorn Andersson wrote: > On Tue 08 May 03:25 PDT 2018, kgunda@codeaurora.org wrote: > >> On 2018-05-07 21:50, Bjorn Andersson wrote: >> > On Thu 03 May 02:57 PDT 2018, Kiran Gunda wrote: > [..] >> > > +- qcom,ovp >> > > + Usage: optional >> > > + Value type: >> > > + Definition: mV; Over-voltage protection limit; >> > >> > The existing users of qcom,pm8941-wled depends on this being in V, so >> > you can't change the unit. I suggest that you add a new "qcom,ovp-mv" >> > property and make the driver fall back to looking for qcom,ovp if that >> > isn't specified. >> > >> > PS. This is a very good example of why it is a good idea to not >> > restructure and make changes at the same time - I almost missed this. >> > >> Actually I have checked the current kernel and none of the properties >> are >> being configured from the device tree node. Hence, i thought it is the >> right >> time modify the units to mV to support the PMI8998. >> > > arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts does. > >> You still want to have the qcom,ovp-mv, even though it is not being >> configured from device tree ? > > Yes, please. > Sure. >> > > + For pm8941: one of 27000, 29000, 32000, 35000 >> > > + Default: 29000 mV >> > > + For pmi8998: one of 18100, 19600, 29600, 31100 >> > > + Default: 29600 mV >> > > + > > Regards, > Bjorn