Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3581494ybc; Thu, 21 Nov 2019 10:23:52 -0800 (PST) X-Google-Smtp-Source: APXvYqye4dMqNc3Ew4hzIfntlgsBsMLRX2FvGVasJHRQ0M1+n738xEwOUjDyxM7cqKByiE8APP5q X-Received: by 2002:a7b:c3d6:: with SMTP id t22mr12061439wmj.13.1574360632517; Thu, 21 Nov 2019 10:23:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574360632; cv=none; d=google.com; s=arc-20160816; b=fQxk5ZxLUjYheBkgfjWEwCk0E+OBeqjy5mKWU2HADy1agyDyZhYLPCTSCWxTVDPIAt +BdTzt0syIXYkXtPhilhZbuouVk7a/L5mq/GjJ2Gf6fDsPcnqJDPfqN4LEkxWCtR0Vdc xni6ZNRaSA8+X9lCOQIQQ48oBxeg57ir1K112tOFhHl26DpZPR2wV8dUtuHvyL8ylyt5 25XBaorU6cp13BH2OsNErKJU/FmqaCDoJiC/drOMKC7urZMkWVSWqUW9uwPA3KLlwCf0 MpuekooAnau2ln2C31CSZMPsyPETJrd0E3uQvBh6/OkBkAzN+/kQEXaoSYWQLxwFk7PD CZQw== 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:from:references:cc:to:subject:dkim-signature; bh=0e5EJpVJzy2Baw213TA2xZto+Y9SP+YeGGPkcLODTIM=; b=L8cXslwkDD9SQNB8PYfNYUYAAQZ47PmOek4/7mZbawaZ18tzvtI+igF1U7IbS7zuJZ i8t+ReSOlbAxhSp+7YJogtxd7yjAlIiZJYlU48svFaf38M9eydUilL1pgkG3MTiuxY/t wmdU9izYUyBINQZy82E2MQcRb54oSEiFCNnXkUU+s6zTL23sb/wXCSz0dOCT5umaFOgZ GCx2tQgGpd6HnCsX0CN+yRbIn7M7M9cdKXH7qPf1F1jH63ACqTNjYcjyCTMmnOR+RUMX s0KpJvIXCcmjJTz8INowBjC4YMG35yD24+mdnKOeboHXfRyfIflQsupk70cpLfw2dGMm vVSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YCVkuHAi; 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 t8si3269951edd.373.2019.11.21.10.23.27; Thu, 21 Nov 2019 10:23:52 -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=pass header.i=@gmail.com header.s=20161025 header.b=YCVkuHAi; 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 S1727192AbfKUSUr (ORCPT + 99 others); Thu, 21 Nov 2019 13:20:47 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:37313 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726279AbfKUSUq (ORCPT ); Thu, 21 Nov 2019 13:20:46 -0500 Received: by mail-wr1-f65.google.com with SMTP id t1so5654986wrv.4; Thu, 21 Nov 2019 10:20:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:autocrypt:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=0e5EJpVJzy2Baw213TA2xZto+Y9SP+YeGGPkcLODTIM=; b=YCVkuHAi1Sy/RJGLmcqcnQZUNrEUm0EcNhGl5njVMTGGCvRvjLjT81tpiSnJCiWzRN y2/LUZaygRiBm+Wp0H8vobGYetu6KFOgOpRqwGYVkRMid6D4gaOoN3JZav40rZ2NUHjJ R9j7QRpXzybv6KZJfPEnblPBShrv/5B54hGjgxOhKR9XvB4AB595xaatUwc2db5YYiJe cc8CM/cvSX6v2+vd838cTdS2nJCeo10gx526eR/HPxTwBe8lAAJVONtvD4DhD8NM59Yr Xu5U614sT69ZPysdSmKwv6ab2fcSCpWdJV04Uj+/vVeFCi3F8YrpJjGFDPruxZzMpwW6 WiEg== 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:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=0e5EJpVJzy2Baw213TA2xZto+Y9SP+YeGGPkcLODTIM=; b=R+X/eGQVXLoPlYSM3lJVVXONELKv+5c+VT0EQx6SO4fumFnKskHz8tk0ziyk1onq6e zJHx/CYxdc+MpM2RXAVzPeQZSJOC6e3AJqYsByu8yvSK1CvfeXcDRFJpt1DadpQNcHYV mm86R/wAQIery4Pd9AKrGPqtG18wydl4rmq2Ufkl+XdKaM7UkMrDTGdhebnLiUwcitR2 Cd406V8Wdb1pnoZFTWaThNoTfpJJVPPdWscXKxDZ1uy2wUqaF2z4AkJDEmigiVDcVSaE 44Ws4j1zc2XFll7E79xqjZsKgHGdUBy/3244n5aJYxJT8vpPcHGHFBX+cm/1ekrNlENm It0A== X-Gm-Message-State: APjAAAUslfh7LioVSxLZZgKJ4aN6vVun8lQvsrd3RfuDmz19ifSfo0HH R9aC60A8vlwgqXaRyBx2VVi2X/zy X-Received: by 2002:a5d:558e:: with SMTP id i14mr12450063wrv.140.1574360443025; Thu, 21 Nov 2019 10:20:43 -0800 (PST) Received: from [192.168.1.19] (blc9.neoplus.adsl.tpnet.pl. [83.28.196.9]) by smtp.gmail.com with ESMTPSA id c4sm4539133wrp.86.2019.11.21.10.20.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 21 Nov 2019 10:20:42 -0800 (PST) Subject: Re: [PATCH v4 0/2] tps6105x add devicetree and leds support To: Sven Van Asbroeck , Lee Jones , Pavel Machek , Rob Herring Cc: Linus Walleij , Grigoryev Denis , Axel Lin , Dan Murphy , Mark Rutland , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org References: <20191121142726.22856-1-TheSven73@gmail.com> From: Jacek Anaszewski Autocrypt: addr=jacek.anaszewski@gmail.com; prefer-encrypt=mutual; keydata= xsFNBFWjfaEBEADd66EQbd6yd8YjG0kbEDT2QIkx8C7BqMXR8AdmA1OMApbfSvEZFT1D/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/sVSKT2TwARAQABzS1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iwpTfRQr5y2Uo12IJsKxohnNFVYtK8X/R6S0deKPjrZWvAkllgIPcHjMi2Va8yw KTj/JgcpUO5KN906Pf7ywZISe7Kbcc/qnE0YjPPSqFOvoeZvHe6EZCMW9+xZsaipvlqpByQV UHnVg09K9YFvjUBsBPdC8ef6YwgfR9o6AnPmxl0oMUIXkCCC5c99fzJY/k8= Message-ID: <4b64bc1d-681d-8916-7247-a9536afc00c6@gmail.com> Date: Thu, 21 Nov 2019 19:20:38 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <20191121142726.22856-1-TheSven73@gmail.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 Hi Sven, Thank you for the updated set. For both patches: Acked-by: Jacek Anaszewski Best regards, Jacek Anaszewski On 11/21/19 3:27 PM, Sven Van Asbroeck wrote: > v3 -> v4: > Removed tps6105 mfd patch - it was accepted (Mark Brown). > > Use the new LED registration API - suggested by Jacek Anaszewski. > > Updated led dt bindings to document function, color usage. > > v2 -> v3: > Removed tps6105x regulator patch - it was accepted (Mark Brown). > > Removed devicetree/platdata bindings for tps6105x led naming. > I can test only with a 4.19 vendor kernel, which does not have the > latest led naming infrastructure (function/color). Drop devicetree/ > fwnode/pdata led naming in favour of hard-coding to "tps6105x::torch", > so the patch can be tested by me, yet remains acceptable to upstream. > > v1 -> v2: > Select chip operational mode by looking at subnode name, _not_ its > compatible property. Suggested by Mark Brown. > > I needed led operation for this mfd chip, so I added a very simple > driver for this. > > My platform (arm imx6q) is devicetree-based, so I added optional > devicetree support for this chip and its sub-drivers. > > Sven Van Asbroeck (2): > leds: tps6105x: add driver for mfd chip led mode > dt-bindings: mfd: update TI tps6105x chip bindings > > .../devicetree/bindings/mfd/tps6105x.txt | 47 ++++++++++- > drivers/leds/Kconfig | 10 +++ > drivers/leds/Makefile | 1 + > drivers/leds/leds-tps6105x.c | 83 +++++++++++++++++++ > 4 files changed, 140 insertions(+), 1 deletion(-) > create mode 100644 drivers/leds/leds-tps6105x.c >