Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp104399imm; Mon, 14 May 2018 21:56:24 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrVApE6EZviwJG1LBO8M6PtDd6zmk4+v494LMX+YYjt4covBPqHQFT05M7zD81UHgJpPnlp X-Received: by 2002:a65:6604:: with SMTP id w4-v6mr10852191pgv.102.1526360184034; Mon, 14 May 2018 21:56:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526360184; cv=none; d=google.com; s=arc-20160816; b=wqt0ZhbDOzSNhis7zDfo3NCnV8/VYOg5B7ayRhLpnjhBi9vynGboDJsgVm0i3jXGV7 +DOnOnpIHL6jCbefeVtD+bLW7bZtroutdI5FTWGR7F5wuorCabzBCENl9h6FUlgSNiaB i2WVwI/PmUK4gN7VqHmfW2+wHqMFNLjpGVeVkLxSqstEsKP0GbKWmHp0oKSMNcagqEGD kxiNknboWnk+o9SN1i/p5jONgCoTKf5d07+Qn0aERqFGUtVHNd6i8eJ9sBGh4VSVFvzV VEt+IYkVi72kGmaRjaVJ7TQLN8KAIXuYNejZ7zhVOMzITfn2GzyP4GH1dnuGEs3s8aZN CYuw== 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=8PLXsAwVgShILENrNeOZIQCWOJODYu21WWedSfFgIgY=; b=vZSXNyQEPjakU809C1spLiRJ79+dMYfxT/5PIAeAy+S6wiz1Y0hq7s+vuDG/EPPLLy nfaZtVZdrKs3gMzLxDsJ1cl/t//1TqP5k7iAfp4EQN085SeUM06+UaPEQgDc3gVH6y82 rBHV87tIZnqh07mfxeFTc9xJlhlDUlWT6fLJH0tpzUaTYhk61uvS67TTEFa0vePysPPJ APRmXAd24IilOTfC5tQwywvG/o+jwIpbkS71XG42x5rjNf8WMC/BdYU0f/FWL9lfs22w XnNYEGXmCqRFK5nfHUzl8zZEkooAe77T/Nvq7urz5IwA7DuV+ZDlXhvtmcSz9gGOP9kU T1Dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=JeL6NJeh; dkim=pass header.i=@codeaurora.org header.s=default header.b=dFN9uUnY; 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 e98-v6si3712691plb.279.2018.05.14.21.56.09; Mon, 14 May 2018 21:56:23 -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=JeL6NJeh; dkim=pass header.i=@codeaurora.org header.s=default header.b=dFN9uUnY; 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 S1752189AbeEOEz7 (ORCPT + 99 others); Tue, 15 May 2018 00:55:59 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:58660 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752130AbeEOEz5 (ORCPT ); Tue, 15 May 2018 00:55:57 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 88A21602B6; Tue, 15 May 2018 04:55:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1526360156; bh=3oFLh8vMi8dincrvmHv5Ub64h+3uZ2beXa/+jKtJiUo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=JeL6NJehpLMu5dNnaCQG+nMN93F4ZH8+ZRNMeb6fR0DTPbQoJxVGl/a/BEIRJZIP/ i41EQ7wwhCXd6MhqA9AO4RFCm2KP7QlODDNvJ6+iYWabXOc5vGai2QBocZIHhvfM+g ji9FRTICxJ+MOMtGYoZzAv0hUaryiWpqwh5YJOtw= 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 83E39602B6; Tue, 15 May 2018 04:55:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1526360155; bh=3oFLh8vMi8dincrvmHv5Ub64h+3uZ2beXa/+jKtJiUo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=dFN9uUnYsrXTjYVfvPh23ua46DDSpeBcmx3m7GbRgix3rzWbhjazCuEY2DbZVUHeI 7WrCELSr4gMzml0vUCF4GHtPPoDQ6yElfx0ToVCGba6qB9DsoBaASaxEyPH4BpL08y 7TUryaeLwAyyYCQCv1KQuDvQIoiXt17p26mnWXIk= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 15 May 2018 10:25:55 +0530 From: kgunda@codeaurora.org To: Pavel Machek Cc: bjorn.andersson@linaro.org, Lee Jones , Daniel Thompson , Jingoo Han , Jacek Anaszewski , 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, linux-arm-msm-owner@vger.kernel.org Subject: Re: [PATCH V1 2/5] backlight: qcom-wled: Add support for WLED4 peripheral In-Reply-To: <20180514165755.GB27984@xo-6d-61-c0.localdomain> References: <1525341432-15818-1-git-send-email-kgunda@codeaurora.org> <1525341432-15818-3-git-send-email-kgunda@codeaurora.org> <20180514165755.GB27984@xo-6d-61-c0.localdomain> 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-05-14 22:27, Pavel Machek wrote: > Hi! > >> WLED4 peripheral is present on some PMICs like pmi8998 >> and pm660l. It has a different register map and also >> configurations are different. Add support for it. >> >> Signed-off-by: Kiran Gunda >> --- >> .../bindings/leds/backlight/qcom-wled.txt | 172 ++++- >> drivers/video/backlight/qcom-wled.c | 749 >> +++++++++++++++------ >> 2 files changed, 696 insertions(+), 225 deletions(-) >> >> diff --git >> a/Documentation/devicetree/bindings/leds/backlight/qcom-wled.txt >> b/Documentation/devicetree/bindings/leds/backlight/qcom-wled.txt >> index fb39e32..0ceffa1 100644 >> --- a/Documentation/devicetree/bindings/leds/backlight/qcom-wled.txt >> +++ b/Documentation/devicetree/bindings/leds/backlight/qcom-wled.txt >> @@ -1,30 +1,129 @@ >> Binding for Qualcomm Technologies, Inc. WLED driver >> >> -Required properties: >> -- compatible: should be "qcom,pm8941-wled" >> -- reg: slave address >> - >> -Optional properties: >> -- default-brightness: brightness value on boot, value from: 0-4095 >> - default: 2048 >> +- compatible >> + Usage: required >> + Value type: >> + Definition: should be "qcom,pm8941-wled" or "qcom,pmi8998-wled". >> + or "qcom,pm660l-wled". >> + >> +- reg >> + Usage: required >> + Value type: >> + Definition: Base address of the WLED modules. > > I'm not sure if this change of format is good idea here... > > Pavel > -- This format is clean and easily readable. That's why I have moved to this format. To avoid confusion, I will move out the existing properties (pm8941-wled.c) to other patch. So that it will be easy to review. > To unsubscribe from this list: send the line "unsubscribe > linux-arm-msm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html