Received: by 10.192.165.148 with SMTP id m20csp4557676imm; Tue, 8 May 2018 10:16:47 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqw/VjFqrsDnnbxtI56se+IBgdI6Rl8cSTUzEbVDJg9+xZ5Qq0mG0m59bpl6jrlh5bXpytJ X-Received: by 2002:a65:51c4:: with SMTP id i4-v6mr27907846pgq.190.1525799807855; Tue, 08 May 2018 10:16:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525799807; cv=none; d=google.com; s=arc-20160816; b=MR1FfaQjRdm4hMoDj+7X/VKfu1QRJBst+OXZyqM9TGtjFhu626BaksR2na8YcT23h2 L4eyHxgjTeoo+ksmZi0TpRla/3nO2fVAb+XNZl5COMw2T+a6fcN48QB37tcA1PEjSAOZ rJEcy8Rh3oVFVJlK5wjN6bbtAJ66yCZr6hK502rrOhN6scQUyTe637K49NexRqciAsXk C/OsD7J1PEzfMgIHowKRXCYe+60e5IjKrn3pov527ejJXzQSUNYKZfi3y/3qibivijQK WIHfG8AZo5V5wA4Ix0ae+aCaJkDViVVZFGmuXUKeqZ4LEXLRyEON9gysPqULWd0ZWivH tk5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=dSnzHd9ZlSj/oOtVEuXmRWNKwArVdF0KlazJF0xx46g=; b=Aa162WeE3KYtQz5njf1x66q23LJjE0dynyFUo2wVzhm34XifjvtBTgaick4LMSXDIu hqAZvhvIQvJEEfZCyG0y7I53JJJUDie/ODTeCfhFVdZkYyf1ZwnXd9kuGEUlOs6hx3Qu bhmiTSAXM4ax1OM+II2MU74p1gX4RtcbUy9sEd4xCTBL+yNrpQKyzOFFNxpOxLsuXwgm l8M0OygBFrsyWlBD1zTNY/wUUeA5Ya1jIgUHwavp7QBz45IZakjFi65NwL7lxkRcNx2F 69Dn9G1HCUfdZwY2jqUJb0tfyxpRyblGUpRarkfGTW8uJ3T31lQETSeu9R5iHb6C2vPW uuYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JEPqfCSy; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x3-v6si24156208plb.478.2018.05.08.10.16.33; Tue, 08 May 2018 10:16:47 -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=@linaro.org header.s=google header.b=JEPqfCSy; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755276AbeEHRQR (ORCPT + 99 others); Tue, 8 May 2018 13:16:17 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:46989 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754099AbeEHRQP (ORCPT ); Tue, 8 May 2018 13:16:15 -0400 Received: by mail-pf0-f193.google.com with SMTP id p12so24250996pff.13 for ; Tue, 08 May 2018 10:16:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=dSnzHd9ZlSj/oOtVEuXmRWNKwArVdF0KlazJF0xx46g=; b=JEPqfCSynP35bnzh5vGkTpsMCt0UD9f4JOFinKB++ra30zoO5itLUJEc+eNubpVQOV dxgE0nPx5uItBEZAhXgWdXwvhp1gsE3ArfvVKTSUkpqYxUZnX2KuGhrLgnAxL44PDair EqpdbCjIHNmkvCEAJXDNcpRuCcU/AHCQcU8AQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=dSnzHd9ZlSj/oOtVEuXmRWNKwArVdF0KlazJF0xx46g=; b=ILlXlVqNMYHKItRIZnM06dTqDniKxlzYBXvrxCJOfaToOSY6cHOv0dNhwrCB8rIgrY oYmzPgLjQkUyIMWBDCIh8Ipq2y1J2S6+KRJLa92S3zxnbs62h0PerTSqzRXkFo1UJZO5 QvB2RBQ/Qt/e5yirKkhvtzzhAPhzJMrF+EbX++0Cg6wZonqEoKUBYlJONPKFDQjNLeyX JS49fFQrVupYkPwM5cTU2sIyTnOnFdg6GDaJc80VgtdLTZQcQ8J03XvdMs5OA499Kmh7 VOa/9NJC/I0sNw23j2Be/EEWNu9S/7MHxWW6xqd/aHBepef4aI9Kar52PvZKXaJUJr9h myzg== X-Gm-Message-State: ALQs6tC80ZLKrydFOQ2UGoS/sveTD/JBWnaEU0x31+qVXmNZ9RFEFJnD 84C0xKAamipInaYlJdwti7s6CA== X-Received: by 2002:a63:6e84:: with SMTP id j126-v6mr33839270pgc.310.1525799774474; Tue, 08 May 2018 10:16:14 -0700 (PDT) Received: from tuxbook-pro (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id r30-v6sm45935577pgu.17.2018.05.08.10.16.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 08 May 2018 10:16:13 -0700 (PDT) Date: Tue, 8 May 2018 10:17:36 -0700 From: Bjorn Andersson To: kgunda@codeaurora.org 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 Message-ID: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > > > + For pm8941: one of 27000, 29000, 32000, 35000 > > > + Default: 29000 mV > > > + For pmi8998: one of 18100, 19600, 29600, 31100 > > > + Default: 29600 mV > > > + Regards, Bjorn