Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3763736pxb; Tue, 17 Nov 2020 02:59:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJxKZ0GNQZyIbkmgWrVtjkG7W8s2EHRPmLM+RmcJOuqqQUePbXR1YPxBy6DIR+NTW3Ab7XOt X-Received: by 2002:a17:906:90da:: with SMTP id v26mr19679344ejw.367.1605610758695; Tue, 17 Nov 2020 02:59:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605610758; cv=none; d=google.com; s=arc-20160816; b=PV/AZS9wM5YfvIGUSVKofSrOlCTbnml2X+aZHUc063KhAlNuCtu2kSnre1/cNvrl1j B90yMT9QlEMwn9mU3wI6bG8RHtwEO0yfiHPKKTFZxy6xl4rDlnOoNd81aItjem/AsRBO /RQ9GruLMRPgWs0W7z/tmRLM9f4ziTuEzgIt//KLVJf+Jh1iJ5FMHJ6OrKWmntFAtwi0 Kyui9oucFFQ8zrGzAuJqLbaizs989idrln5w9ADUv+gG6uWMLB/sjRsXOt11VUJJMvmQ FWKt42IWMO+tAHw/Trjp3ASDlJlslr0/wZcCZo7byYHk1iUNy5pKuTKvGSZg5tDd/PBq /CIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=NLioOEcjfW/MmxTk00oamg+ivAVVHPp1FiA+wpjNbWQ=; b=F21JsWb4EO5clbF4xiRFHFAfRUGv5vfFiq47qx/VQysmC0hN72hbGr78IF0QHUFWZw Tq0x6YgIMwkvfAJwOmCZyc5lchmqHPw9AMLYF8ccS5em24Xj8GX9SevGJZ8ZFGi/oMcp jPMbW/8Naw/AQhw7cRgSzgkeUtgDD4ZVQAmA9XEWcZdcSHrJtvFwA3zB3SN/2TcuDSp/ czFIo05LgEZ6ZcLPmkK65KLQISzrXTKiKJ3kf9bRyNhCjXfR8aGYuEUU2w1Cx6t8ecgM ofZa+Orf6FA/+JB/HzyTowW46yZ2ehUpK5Q9GWXKHbTJ4CbTeql5n+cFyqqHaqRCPE/9 KN8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=m16pyCmz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cd24si12760353ejb.213.2020.11.17.02.58.55; Tue, 17 Nov 2020 02:59:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=m16pyCmz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727267AbgKQK4W (ORCPT + 99 others); Tue, 17 Nov 2020 05:56:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727952AbgKQK4T (ORCPT ); Tue, 17 Nov 2020 05:56:19 -0500 Received: from mail-pj1-x1044.google.com (mail-pj1-x1044.google.com [IPv6:2607:f8b0:4864:20::1044]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5FE3C0613CF; Tue, 17 Nov 2020 02:56:17 -0800 (PST) Received: by mail-pj1-x1044.google.com with SMTP id js21so246399pjb.0; Tue, 17 Nov 2020 02:56:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=NLioOEcjfW/MmxTk00oamg+ivAVVHPp1FiA+wpjNbWQ=; b=m16pyCmzxROuHGcdnv2Xv4oL6krzQq0Gt2whfw3SxwIGX6hcYcu9GDcMI+kZfnOlfk JwynXS8svraxDwOQL3//C8AK+vnlfskp4OstdzkF7aFMPq+YqWNlGyxVp6zcQfV8vnuN PzcyaR8upFUAwpppzQDFaiLB91QxvCk4cDbczEqh8PHlS9rlBXdWyUoZkECp63RijA7f EDqgMuWJsBOvjyFZJ/rmui1rv+e9d9AEt8YCO7ebt6V/Rm9Srto8iN01GghqLq6x6MSW QJg5zleOp+e2usSrbOkRlcw62xxT/aqw0U0dRKwvplQhqd/9qlUvCVgeBZR9oQC+6unj kT1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=NLioOEcjfW/MmxTk00oamg+ivAVVHPp1FiA+wpjNbWQ=; b=o52Y1h2aZwe5Ab2phQON6yJyorFbwZpjumXnmXj0O8BTtN69d6gKv+6JesC7IewraL DnUXJttNkANqS35MRopDpe3kDVK6PolHcAnMZKmAuiVw2191m7FtuzqO4lgOb5qCUG4l 32FxDHjxvlEz3KUbVILgH24PJmsOX45gC/bRkOTSdlHKYZAL3Og6R7iYya9ahQLKYYvr pe8i/BCpzHjW+/IrmiJ3p9wQDSJyYk4v0AC8UKF6ZTgX/MIuyk+/QD1BLO9pAt4J61cK migJpl+z0aQTPuLOfBF6NlWa1duPjCa8woXdy+yp5r1/KQ0rFZrajr/Fn909UKXuEORX mAlA== X-Gm-Message-State: AOAM5317EewSMSTs/ETHqOY794C6QgCC0AsYoJiCIU2JLzAV9xT6fDYu d12apqY8dxSDmV1xNFRogQE= X-Received: by 2002:a17:90b:208:: with SMTP id fy8mr1101286pjb.204.1605610577432; Tue, 17 Nov 2020 02:56:17 -0800 (PST) Received: from localhost.localdomain ([2402:7500:462:32e6:3119:2966:5eda:751d]) by smtp.gmail.com with ESMTPSA id j11sm17708214pgp.82.2020.11.17.02.56.11 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Nov 2020 02:56:16 -0800 (PST) From: Gene Chen To: jacek.anaszewski@gmail.com, pavel@ucw.cz, robh+dt@kernel.org, matthias.bgg@gmail.com Cc: dmurphy@ti.com, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, gene_chen@richtek.com, Wilma.Wu@mediatek.com, shufan_lee@richtek.com, cy_huang@richtek.com, benjamin.chao@mediatek.com Subject: [PATCH v6 0/2] leds: mt6360: Add LED driver for MT6360 Date: Tue, 17 Nov 2020 18:55:35 +0800 Message-Id: <1605610537-18085-1-git-send-email-gene.chen.richtek@gmail.com> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series add MT6360 LED support contains driver and binding document Gene Chen (2) dt-bindings: leds: Add bindings for MT6360 LED leds: mt6360: Add LED driver for MT6360 Documentation/devicetree/bindings/leds/leds-mt6360.yaml | 95 + drivers/leds/Kconfig | 12 drivers/leds/Makefile | 1 drivers/leds/leds-mt6360.c | 783 ++++++++++++++++ 4 files changed, 891 insertions(+) changelogs between v1 & v2 - add led driver with mfd changelogs between v2 & v3 - independent add led driver - add dt-binding document - refactor macros definition for easy to debug - parse device tree by fwnode - use devm*ext to register led class device changelogs between v3 & v4 - fix binding document description - use GENMASK and add unit postfix to definition - isink register led class device changelogs between v4 & v5 - change rgb isink to multicolor control - add binding reference to mfd yaml changelogs between v5 & v6 - Use DT to decide RGB LED is multicolor device or indicator device only