Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4044224pxu; Mon, 21 Dec 2020 02:53:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJz5PoKmQ9hMORkCGzh+SHBrKXN37SldvF4bmsaFiIoFm/l0GZn293leDYuCVfRWIbV0LVdz X-Received: by 2002:a17:906:351a:: with SMTP id r26mr14388213eja.204.1608547987107; Mon, 21 Dec 2020 02:53:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608547987; cv=none; d=google.com; s=arc-20160816; b=qvBse9uCvA6H9bUVeZeDiSC8Fe0rLk7GLjxrnB8OQXcgx9ypCsmsiBlgMs6JOIpywX k0gAdgBTYM4fd3A7nAJeNVKoC4X+uLrLD73I6R1lfb2r9mlsMG/cYeMZcj+QzxyBOR0o rbLgjFoLl1PUKSBkD8hqCLrVJNHwQlSkdw7EaIYFG2ck2GEqy10eaCAQAZmQUbRNyxGW CbKhX0Ix5v2Z+lj5sx/cjJoscSWBPdrfycN/bej1NDpuw7AkLdww809a+u4VQDwAtvz7 88zdGlX0ESp1Nx3ANxBzqjBbt8Ab8pRZJ0efTKAGgsuqWgvFJAiWjrZZIaspYIpdlD+k oRqg== 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=cPuxQSxzMWTU2G1K91YlflotqfV+c7j7rgRMPeG1ygk=; b=Cs4Qo3qqji0B0yyjQiyCsbChKnFpLp0195XrHvC3USBgJ3gIMomhuZUeHF5DnPcvOy WZb84qJfuONU5gVPItOdLewf5M6mEhAiW48uN1Bymcz+E6hwMWuHxLk172jNbckiXkMO 3Vyp7sx/CLc+POxoNjIXbJYBHtI6rZgOQx3RREq729Cdd9III2mgaZofhX+qEw0RCHXi n/x3i7RskOA83ChlHHkZA0QbMBHMsOtMos4DmbT3h+k8IGwOqpcwhOA8J/U1zv9TxoJd /5v6xwDCLmupg+kAaL+RtUBHknbjcJZM6jHdpUi3PdlDeSoCmohfpQnH5edn4vPUebYG 3sqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WYnpvh7A; 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 me16si8613525ejb.257.2020.12.21.02.52.44; Mon, 21 Dec 2020 02:53:07 -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=WYnpvh7A; 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 S1725844AbgLUKwU (ORCPT + 99 others); Mon, 21 Dec 2020 05:52:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725807AbgLUKwU (ORCPT ); Mon, 21 Dec 2020 05:52:20 -0500 Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27117C0613D3; Mon, 21 Dec 2020 02:51:40 -0800 (PST) Received: by mail-pf1-x42b.google.com with SMTP id 11so6243330pfu.4; Mon, 21 Dec 2020 02:51:40 -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=cPuxQSxzMWTU2G1K91YlflotqfV+c7j7rgRMPeG1ygk=; b=WYnpvh7A2/BU+oA+5c8Nxu2JyYVuDR6Z1fIOfwq5Oyejckp1lr9LLxg9neN2XsG6AB 3ApHJuCK9wCpFmaUEe02e3InMRpO7KWbAkn2wK7Agqz3LaJ8BY0EaPrYnwWRVGobSG6H Jk3C9cjzOwqrVC1imhwsXAl6SQKijAwYmItvnyZb0QRaj9HZrAC2GZ6ikKvHnHWj1ofN aoBkgRVOo/lSmOd6r0sP/DgdX2XgFcZT6cCNI8EuqS/0j4KOIhmOpdkqoUCGiEUGTPIe +XKNGxG77LSdTVspNT3y1oa3JeIT/9Bjabcq0Ph/qbkNJGkcXx/LDmmehc5/usIA3aFU TkNA== 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=cPuxQSxzMWTU2G1K91YlflotqfV+c7j7rgRMPeG1ygk=; b=sTlJRDCuLMpK1Z+XIg3qS+SDoqpSOSwaLwln2ry3Z9lNAgrop7Nk9dxK3OzaSupitH GiqtA7l9qKld5RG31Ny7xFJ6khcNCWHx2WaQMQuBLGz92CAirs9OVP8gH5ktCYqHGvu2 /6I+tgvi+jNx1AEXUceJdPWngBNio8Qh2wSDkmuYhX0Auajp5GGPmnGkFpUTJOa7gzdI xIIUE6GMede7RXf7ZF5G6wwafZ/QiCq5Ra5ja7ajTQzPeqXEoFhO/8jP8UzSSTJgLO/v 2EEWgmwAbwXbkV0huiNDvXIWaUKLwvQLMniuizl+V4tirjLJC6GEkQ2SOQqbVGbTz1dU EVzQ== X-Gm-Message-State: AOAM530sFxgRHj17/em8X63/mUycOhVf5TvbW2hT/hsgiyFrPzOu4orW RkuSArbnWoDNcv09HRAL8Qk= X-Received: by 2002:a63:d855:: with SMTP id k21mr3814934pgj.399.1608547899772; Mon, 21 Dec 2020 02:51:39 -0800 (PST) Received: from localhost.localdomain ([2402:7500:469:a113:4308:e075:646d:7374]) by smtp.gmail.com with ESMTPSA id p4sm15364193pjl.30.2020.12.21.02.51.33 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Dec 2020 02:51:39 -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 v13 0/5] leds: mt6360: Add LED driver for MT6360 Date: Mon, 21 Dec 2020 18:45:49 +0800 Message-Id: <1608547554-6602-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 In-Reply-To: This patch series add MT6360 LED support contains driver and binding document Gene Chen (5) leds: flash: Add flash registration with undefined CONFIG_LEDS_CLASS_FLASH leds: flash: Fix multicolor no-ops registration by return 0 dt-bindings: leds: Add LED_COLOR_ID_MOONLIGHT definitions dt-bindings: leds: Add bindings for MT6360 LED leds: mt6360: Add LED driver for MT6360 Documentation/devicetree/bindings/leds/leds-mt6360.yaml | 159 +++ drivers/leds/Kconfig | 13 drivers/leds/Makefile | 1 drivers/leds/leds-mt6360.c | 827 ++++++++++++++++ include/dt-bindings/leds/common.h | 1 include/linux/led-class-flash.h | 42 include/linux/led-class-multicolor.h | 42 7 files changed, 1049 insertions(+), 36 deletions(-) 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 changelogs between v6 & v7 - Add binding multicolor device sample code - Add flash ops mutex lock - Remove V4L2 init with indicator device changelogs between v7 & v8 - Add mutex for led fault get ops - Fix flash and multicolor no-ops return 0 - Add LED_FUNCTION_MOONLIGHT changelogs between v8 & v9 - reuse api in flash and multicolor header changelogs between v9 & v10 - add comment for reuse registration functions in flash and multicolor changelogs between v10 & v11 - match dt-binding reg property comment to the functionality name - remove exist patch in linux-next - dicide multicolor channel by color definitiion changelogs between v11 & v12 - Fix print size_t by %zu - Fix dt-binding name regular experssion changelogs between v12 & v13 - Fix kbuild test rebot build error