Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753321AbbKQJEl (ORCPT ); Tue, 17 Nov 2015 04:04:41 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:36425 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751363AbbKQJE1 (ORCPT ); Tue, 17 Nov 2015 04:04:27 -0500 X-AuditID: cbfee68f-f796f6d0000014a4-5d-564aed989efe From: Ingi Kim To: robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, sameo@linux.intel.com, lee.jones@linaro.org, rpurdie@rpsys.net, j.anaszewski@samsung.com Cc: inki.dae@samsung.com, sw0312.kim@samsung.com, beomho.seo@samsung.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, Ingi Kim Subject: [PATCH v5 0/2] Add RT5033 Flash LED driver Date: Tue, 17 Nov 2015 18:04:18 +0900 Message-id: <1447751060-27856-1-git-send-email-ingi2.kim@samsung.com> X-Mailer: git-send-email 2.0.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmphkeLIzCtJLcpLzFFi42JZI2JSqDvjrVeYwZapxhanP21jt5h/5Byr Rf+bhawW516tZLTYcfMLm8Wk+xNYLHqvPme0uP/1KKPF5V1z2Cy2vlnHaLH0+kUmiwnT17JY tO49wm6xe9dTVovT3awWMya/ZHMQ8Fgzbw2jx+W+XiaPlcu/sHlsWtXJ5nHn2h42j3knAz32 zP/B6tG3ZRWjx+dNcgGcUVw2Kak5mWWpRfp2CVwZHzpvshY846948fAvewPjBJ4uRk4OCQET iaZNK1kgbDGJC/fWs3UxcnEICaxglJh67TQjTNHR9vmsEIlZjBLr775jgXCmMkn0NL0Fq2IT UJO4sWIhE0hCROAyo8Sm8+fBZjELHGGUuPr8GxtIlbCAscTZswuBOjg4WARUJdpO+oOEeQVc JS4seAF1h5zEmlcrwDZICLxklzjxs5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ba/AgrxpiRWVqUW5ccX leakFh9iNAXaP5FZSjQ5H5g48kriDY1NzIwsjcwNLYyMzZXEefU9jcKEBNITS1KzU1MLUotg +pg4OKUaGKf9/7uiaPbSv/8P6L9P0+F+urjh9i9pbp83K46e3NO/SWDaFQvrVZNfuH2QP/BK as+6V9uLCpvubjzKKvtWe8fM1vjbvKaVbEIswjsZnu+I0GVWOGC17vyDKU66UbO71lrqXr+W 8TqFVULG8cSs1w/kPk7M4JmfMiXw6DfFK+1HDs/78pWlfvJkJZbijERDLeai4kQAXKPWiOQC AAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2211 Lines: 61 This is a fifth version of the patch set to support RT5033 Flash Led. It is based on RFC [1] from Jacek's patch set. Changes since v5: - Rebase on Jacek's devel branch git://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds.git - Remove work queue from driver. - Change brightness_set_sync ops to brightness_set_blocking ops. - Remove "iout_torch_max" and "iout_flash_max" values in rt5033_led struct. - Add missed case for distinguishing between setting brightness. for iout_joint case and for individual LEDs. - Add missed mutex_lock. - Remove guard to check dev->of_node. - Change type of value to const __be32 to get return value of of_find_property. Changes since v4: - Use of_node_put() when DT parse miss - Move struct(rt5033_led) from include/linux/mfd/rt5033.h to local driver/leds/leds-rt5033.c - Remove MODULE_DEVICE_TABLE - Add interface to handle two LEDs. Changes since v3: - Use mutex and work queue - Split brightness set func (sync / async) - Add flash API (flash_brightness_set) - Move struct(rt5033_led_config_data) to local area - Code clean Changes since v2: - Split MFC code from rt5033 flash led patch - Fix typo error - Change naming of mfd register back again - Fix compile error Original cover letter: This patch supports flash led of RT5033 PMIC. [1] https://lkml.org/lkml/2015/8/20/426 Ingi Kim (2): leds: rt5033: Add DT binding for RT5033 leds: rt5033: Add RT5033 Flash led device driver .../devicetree/bindings/leds/leds-rt5033.txt | 46 ++ drivers/leds/Kconfig | 8 + drivers/leds/Makefile | 1 + drivers/leds/leds-rt5033.c | 522 +++++++++++++++++++++ include/linux/mfd/rt5033-private.h | 51 ++ 5 files changed, 628 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/leds-rt5033.txt create mode 100644 drivers/leds/leds-rt5033.c -- 2.0.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/