Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1340881ybp; Fri, 11 Oct 2019 12:41:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqydUe5RiRTlpTpv6K55WhnYevWbZjmpLupoXQKlK4lUcy8A6xBd+AIXPTHqC3b5/Hu7vkZ2 X-Received: by 2002:aa7:d6cd:: with SMTP id x13mr15346240edr.272.1570822901051; Fri, 11 Oct 2019 12:41:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570822901; cv=none; d=google.com; s=arc-20160816; b=JdNEQ6+Vu9ffr4sjv+7zM/ujGg5NiK7JHriDwbruQCx6NJM1p+EeTf+R2q9MdphZZ7 rFgIJDX8l9ifo7PI9qu0tUWTRm5j3Y+jcWBaPKQ1ave978zeEyo1ML+h2HJyIdOhU3MH DsXv0doZBn5cL19qVcUCmDCqjIyzQ6inIfsjwymlZEykQDOm8OXYZJxcJOVu+VjfrF5j e/YycvAZod7eOtcRfzO1GohBv5F8S+UKdZ7jnIPgLX44frCTg98lWtED1lNqSEQHRVrz WdE4x3RvwZf9KPN8rhUpVdneg6RtMHtuExZK0VYi57HqlebmYeOREYJ5RSGPkUvBzvQn Ux5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:cc:to:subject :dkim-signature; bh=az5ld5XgdF0H2M1Bu2HqLoXmNMtXfnpvceh2+J0pVic=; b=g3XVrt6rPuDChb05a4mU8pODJtQpZQNmGLoirsLGpIyuQa7SmQ4JMaO8/dG7B6Oore 7cRUbUEDTZ7eqjJtmGi9xaP2Sy7UnQfGZz0VQyufrkPRPzBVcYiU9Spzp19DCNl4nq6r V8Y26qBZu4rxmyfN5yaubVMB9tLmfC3tH7SEY5WaZwMI/ZEKJ27yBDllUaL6ZMVuVWnC W1zvi07Bjhgw3sRIh8SdDZjS5I9KK9+HH/vEXPiBytZ6gO5d2IhP/6osLFjFTg93I+By ZCd4+VrkD3UAYK/zPhVGuQ97fO2odKdGh/WTn4xnHvDq1HDp7aLAnK4YabUsAV92yDX8 8zLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=SsKQK3U7; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b27si6394761ede.233.2019.10.11.12.41.17; Fri, 11 Oct 2019 12:41:41 -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=@gmail.com header.s=20161025 header.b=SsKQK3U7; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728970AbfJKTkw (ORCPT + 99 others); Fri, 11 Oct 2019 15:40:52 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:46649 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728889AbfJKTkv (ORCPT ); Fri, 11 Oct 2019 15:40:51 -0400 Received: by mail-wr1-f68.google.com with SMTP id o18so13093981wrv.13; Fri, 11 Oct 2019 12:40:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=az5ld5XgdF0H2M1Bu2HqLoXmNMtXfnpvceh2+J0pVic=; b=SsKQK3U77EuN/5R69bkzCVSaFLrB8tGb54ccO4OzP7I82Klll+jYfpXeF4geEk6Diu kupieeMIG1tEqVQfSBHMQkaFOTRzewuy1Ny74OP5Kb95qy11Bza4onGC81daBm7ToDvJ N9wda6qs+PBs/QLBUaVgu+5Udi/5joGIATTzF1z6AqSQtQhsDQqBeUG42reK9pJWp2Fa t9Sg5pqHTFnC0uh/rm5GZEehpj0M6lB4Xn42hRv4bc0pfKpllVOC0Xj9flWvU/BPS/Ag ktiZjsWqDZrh9goHchuVp0nhdz7Tt0iXxw3KalotNIDYMMkbmHNitoqC9/CW4AiPCncD S/xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=az5ld5XgdF0H2M1Bu2HqLoXmNMtXfnpvceh2+J0pVic=; b=kp3cZFU8ofLBpaqjA2DffzOrg/b+7LLpwHMZspYyHWNDDSf+xRubmk3FcTdrCAmjea qG5smlq61soc/NuQ1nztrtwXQBGznEms3NLjMnkWV0AHVK59EYtXcjPZMGwWB6mkqxAN pY07ju2xNDrf9tH73HM+aA8yiRddVsfFCU12RaiQEQjgQ/D5XecB3mPR3laBsAHZNLUs zJCJvDkykX1j5PsQfr1L6AzS2muOy98p1aRxVurZtq/JS69gxFnpyxHn2SBkET4mSNO6 D/VOXWJjPHx30DM0A4KPvs9rDCTqkz9DZ/lQzCNv0mN9aE1hQU28BExxd+iLpp4aCQrN A9DA== X-Gm-Message-State: APjAAAXdDolooguEoYADBu2S+CfuhtnFgumEexL7rcEvF8uV5CGAcCm3 Ohc8nQimhYN/i9PUBepK/w+U8lcj X-Received: by 2002:a5d:5552:: with SMTP id g18mr1018560wrw.79.1570822848108; Fri, 11 Oct 2019 12:40:48 -0700 (PDT) Received: from [192.168.1.19] (cjl71.neoplus.adsl.tpnet.pl. [83.31.61.71]) by smtp.gmail.com with ESMTPSA id o18sm22622108wrw.90.2019.10.11.12.40.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Oct 2019 12:40:47 -0700 (PDT) Subject: Re: [PATCH v12 00/16] Multicolor Framework v12 To: Dan Murphy , pavel@ucw.cz Cc: linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org References: <20191011130657.4713-1-dmurphy@ti.com> From: Jacek Anaszewski Openpgp: preference=signencrypt Autocrypt: addr=jacek.anaszewski@gmail.com; prefer-encrypt=mutual; keydata= mQINBFWjfaEBEADd66EQbd6yd8YjG0kbEDT2QIkx8C7BqMXR8AdmA1OMApbfSvEZFT1D/ECR eWFBS8XtApKQx1xAs1j5z70k3zebk2eeNs5ahxi6vM4Qh89vBM46biSKeeX5fLcv7asmGb/a FnHPAfQaKFyG/Bj9V+//ef67hpjJWR3s74C6LZCFLcbZM0z/wTH+baA5Jwcnqr4h/ygosvhP X3gkRzJLSFYekmEv+WHieeKXLrJdsUPUvPJTZtvi3ELUxHNOZwX2oRJStWpmL2QGMwPokRNQ 29GvnueQdQrIl2ylhul6TSrClMrKZqOajDFng7TLgvNfyVZE8WQwmrkTrdzBLfu3kScjE14Q Volq8OtQpTsw5570D4plVKh2ahlhrwXdneSot0STk9Dh1grEB/Jfw8dknvqkdjALUrrM45eF FM4FSMxIlNV8WxueHDss9vXRbCUxzGw37Ck9JWYo0EpcpcvwPf33yntYCbnt+RQRjv7vy3w5 osVwRR4hpbL/fWt1AnZ+RvbP4kYSptOCPQ+Pp1tCw16BOaPjtlqSTcrlD2fo2IbaB5D21SUa IsdZ/XkD+V2S9jCrN1yyK2iKgxtDoUkWiqlfRgH2Ep1tZtb4NLF/S0oCr7rNLO7WbqLZQh1q ShfZR16h7YW//1/NFwnyCVaG1CP/L/io719dPWgEd/sVSKT2TwARAQABtC1KYWNlayBBbmFz emV3c2t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47e924dd-ae75-b822-b79e-9156d09b8b1a@gmail.com> Date: Fri, 11 Oct 2019 21:40:45 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20191011130657.4713-1-dmurphy@ti.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dan, On 10/11/19 3:06 PM, Dan Murphy wrote: > Hello > > Minor changes per review comments. > https://lore.kernel.org/patchwork/project/lkml/list/?series=413385 > > Rebased the series on top of Pavel's next branch. > > Multicolor changes: > Rename led_mc_calc_brightness to led_mc_calc_color_components > Updated the binding example for the function from STATUS to CHARGING I see STATUS is still there, as well ass "Child". > LP50xx changes: > None > > LP55xx changes: > Changed color_component array allocation from COLOR_MAX_ID to MAX_GROUPED_CHANNELS > Updated MC API to call led_mc_calc_color_components > > Dan > > Dan Murphy (16): > dt: bindings: Add multicolor class dt bindings documention > dt-bindings: leds: Add multicolor ID to the color ID list > leds: Add multicolor ID to the color ID list > leds: multicolor: Introduce a multicolor class definition > dt: bindings: lp50xx: Introduce the lp50xx family of RGB drivers > leds: lp50xx: Add the LP50XX family of the RGB LED driver > dt: bindings: lp55xx: Be consistent in the document with LED acronym > dt: bindings: lp55xx: Update binding for Multicolor Framework > ARM: dts: n900: Add reg property to the LP5523 channel node > ARM: dts: imx6dl-yapp4: Add reg property to the lp5562 channel node > ARM: dts: ste-href: Add reg property to the LP5521 channel nodes > leds: lp55xx: Add multicolor framework support to lp55xx > leds: lp5523: Update the lp5523 code to add intensity function > leds: lp5521: Add multicolor framework intensity support > leds: lp55xx: Fix checkpatch file permissions issues > leds: lp5523: Fix checkpatch issues in the code > > .../ABI/testing/sysfs-class-led-multicolor | 36 + > .../bindings/leds/leds-class-multicolor.txt | 98 +++ > .../devicetree/bindings/leds/leds-lp50xx.txt | 148 ++++ > .../devicetree/bindings/leds/leds-lp55xx.txt | 155 +++- > Documentation/leds/index.rst | 1 + > Documentation/leds/leds-class-multicolor.rst | 96 +++ > arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | 14 +- > arch/arm/boot/dts/omap3-n900.dts | 29 +- > arch/arm/boot/dts/ste-href.dtsi | 22 +- > drivers/leds/Kconfig | 22 + > drivers/leds/Makefile | 2 + > drivers/leds/led-class-multicolor.c | 271 ++++++ > drivers/leds/led-core.c | 1 + > drivers/leds/leds-lp50xx.c | 799 ++++++++++++++++++ > drivers/leds/leds-lp5521.c | 20 + > drivers/leds/leds-lp5523.c | 39 +- > drivers/leds/leds-lp55xx-common.c | 198 ++++- > drivers/leds/leds-lp55xx-common.h | 9 + > include/dt-bindings/leds/common.h | 3 +- > include/linux/led-class-multicolor.h | 143 ++++ > include/linux/platform_data/leds-lp55xx.h | 7 + > 21 files changed, 2020 insertions(+), 93 deletions(-) > create mode 100644 Documentation/ABI/testing/sysfs-class-led-multicolor > create mode 100644 Documentation/devicetree/bindings/leds/leds-class-multicolor.txt > create mode 100644 Documentation/devicetree/bindings/leds/leds-lp50xx.txt > create mode 100644 Documentation/leds/leds-class-multicolor.rst > create mode 100644 drivers/leds/led-class-multicolor.c > create mode 100644 drivers/leds/leds-lp50xx.c > create mode 100644 include/linux/led-class-multicolor.h > -- Best regards, Jacek Anaszewski