Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp4495404ybf; Wed, 4 Mar 2020 05:10:50 -0800 (PST) X-Google-Smtp-Source: ADFU+vtU05yhJCSLpW2bUkHpjhaCQKizNGqe2jgAgmIfu/MyALgC99lndj+mcmK6wivv0LUVDXjR X-Received: by 2002:a9d:6310:: with SMTP id q16mr2096070otk.147.1583327450090; Wed, 04 Mar 2020 05:10:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583327450; cv=none; d=google.com; s=arc-20160816; b=iC3qmsB+6LKoNeE43aCmFu0xmkHKqkAcze91RMTxXzxIrIA72AJ6lItbz5kOZ5Nvnd Ncg0e3yqDWolueBbswl6EvqDOZIP2I26hK36iLanWoq5m27gq+hHd2huwZHyXz1c4zl/ HLvAkbhpV7IeSX5bGeJPeIqYOwzRXBu6tkUPKr8+Dok7/8u4AZeksS3EP8cgtoFB+COI vMToaQuiXW7tGv18boW6Vs3UcGX3KQ6LvRoBMQqYIzb9LM/iig//Eb80v7XodP+G4cvl pS1rpqJ6pTPUie3tn9PbRMnEEnA0yvxBUqkqY1qXne1rZrt3RYO6P/4LmxtA4c9XY58h CL7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dmarc-filter:dkim-signature; bh=/9KMV4bz9yQQBdDYMd242fhFL2hzub31ZngWvFmtQFc=; b=WZ2NKSQMgZMHEOAfzN4iTqsrzDMIStvTQ8EJjJIsSyIwdEy1webD57Y2u9nfePx54x sc6SQOac7+FjQDDjPnYBsL56VGyDvd2ZSK+eKNaPepSXl6JM+v72eN4bO0bymaL00BBz xZokm5e8ZaxnHQTnjA+pLq4yZbj4ZXbNmXX3Kpm3rvwn6JSbvVba+HAyx/s3tQnUOYeZ i5WD8kgdVB6ESbbwxnEW+bvHgLH+wLXCX4qdySix4c9v03TtuEUqCQ1vUDyTTfXC6Lhj O91ax0WJtiF+5LsTvV204k6JKDrD6evP55XxHDxf54LxiD49T1wWWD6WO6LFL6qPe9Mw zg1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=N+fvhmze; 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 a26si1039707oic.91.2020.03.04.05.10.37; Wed, 04 Mar 2020 05:10:50 -0800 (PST) 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=fail header.i=@mg.codeaurora.org header.s=smtp header.b=N+fvhmze; 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 S2388063AbgCDNJU (ORCPT + 99 others); Wed, 4 Mar 2020 08:09:20 -0500 Received: from mail26.static.mailgun.info ([104.130.122.26]:60628 "EHLO mail26.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388029AbgCDNJT (ORCPT ); Wed, 4 Mar 2020 08:09:19 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1583327359; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=/9KMV4bz9yQQBdDYMd242fhFL2hzub31ZngWvFmtQFc=; b=N+fvhmzeSmPahgnFY6A/sexV4F24sC3McOWn29oxKwjsZlHN9tYI+U1vFcvO5+C+Ms619yzd sl3KAIF+uAYwzsJ54TrJDEVTAyWVSWB7hC6dctmytSLcnMZwhFFim9zNQhvZa0S1/UAqprgo sXyXUXviZbH0N4LY3Oy9A8Isf2Y= X-Mailgun-Sending-Ip: 104.130.122.26 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 mxa.mailgun.org with ESMTP id 5e5fa87b.7f7aaec8ec70-smtp-out-n02; Wed, 04 Mar 2020 13:09:15 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 469DBC447A2; Wed, 4 Mar 2020 13:09:15 +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=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.0 Received: from kgunda-linux.qualcomm.com (blr-c-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: kgunda) by smtp.codeaurora.org (Postfix) with ESMTPSA id 0F2E8C43383; Wed, 4 Mar 2020 13:09:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 0F2E8C43383 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=none smtp.mailfrom=kgunda@codeaurora.org From: Kiran Gunda To: 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, pavel@ucw.cz, robh+dt@kernel.org, mark.rutland@arm.com, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org, Kiran Gunda Subject: [PATCH V2 0/2] Add support for WLED5 Date: Wed, 4 Mar 2020 18:38:53 +0530 Message-Id: <1583327335-26899-1-git-send-email-kgunda@codeaurora.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Currently, WLED driver supports only WLED4 peripherals that is present on pmi8998 and pm660L. This patch series converts the existing WLED4 bindings from .txt to .yaml format and adds the support for WLED5 peripheral that is present on PM8150L. PM8150L WLED supports the following. - Two modulators and each sink can use any of the modulator - Multiple CABC selection options - Multiple brightness width selection (12 bits to 15 bits) Changes from V1: - Rebased on top of the below commit. backlight: qcom-wled: Fix unsigned comparison to zero Kiran Gunda (2): backlight: qcom-wled: convert the wled bindings to .yaml format backlight: qcom-wled: Add support for WLED5 peripheral in PM8150L .../bindings/leds/backlight/qcom-wled.txt | 154 ------- .../bindings/leds/backlight/qcom-wled.yaml | 223 ++++++++++ drivers/video/backlight/qcom-wled.c | 459 ++++++++++++++++++--- 3 files changed, 634 insertions(+), 202 deletions(-) delete mode 100644 Documentation/devicetree/bindings/leds/backlight/qcom-wled.txt create mode 100644 Documentation/devicetree/bindings/leds/backlight/qcom-wled.yaml -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project