Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761565AbcJRORk (ORCPT ); Tue, 18 Oct 2016 10:17:40 -0400 Received: from mailout4.w1.samsung.com ([210.118.77.14]:10596 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758881AbcJRORZ (ORCPT ); Tue, 18 Oct 2016 10:17:25 -0400 X-AuditID: cbfec7f4-f791c6d000006eac-62-58062ef04de9 Subject: Re: [PATCH] leds: leds-pca963x: workaround group blink scaling issue To: Rob Herring Cc: Matt Ranostay , Tony Lindgren , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , Matt Ranostay , Mark Rutland From: Jacek Anaszewski Message-id: Date: Tue, 18 Oct 2016 16:17:18 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-version: 1.0 In-reply-to: <20161018134915.hbeiorftge56xrih@rob-hp-laptop> Content-type: text/plain; charset=windows-1252; format=flowed Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprMKsWRmVeSWpSXmKPExsWy7djP87of9NgiDE69trSYf+Qcq8XlXXPY LJZev8hk8fFbP7PF15PH2Cz+79nBbrH/ipcDu8eaeWsYPb59ncTisXPWXXaPTas62TwOPmxm 9/i8SS6ALYrLJiU1J7MstUjfLoEr42/jTuaCJuGKOdu6mRoYV/J3MXJySAiYSHSuPMQCYYtJ XLi3nq2LkYtDSGApo8TLPQ/YIZzPjBITWnuZYDpenTsMVbWMUaJzwjtGkISQwDNGic8zZUFs YQF/iZfvj7KB2CICihK/26axgjQwC8xgkvi2bDFYgk3AUOLni9dgU3kF7CQ+bVrB3MXIwcEi oCpx+bwviCkqECGx+24qRIWgxI/J98Au5RSwkbh2+RjYFGYBR4kHi3ayQtjyEpvXvGUGWSUh sIldYs7fJawgcyQEZCU2HWCGMF0kbsyJhHhFWOLV8S3sELaMxOXJ3SwQrZ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CjKdAPE5mlRJPzgSkgryTe0MTQ3NLQyNjCwtzISEmcd+qH K+FCAumJJanZqakFqUUwfUwcnFINjHvu2sz9VZo098ULoczz3oJbze5GPZpmqvfQr02e48Ne 7rV+1yauMM8+EnZyQ+bE7fG9t0rCLx/t9btwkonTbd6G+lu/7jIIfXyifCQndGmT1/Q5Hx+X yDhUbOIrmWD/fkuqLsuL1Tpi5aq7twtuYMmYo6b7bVY+/4amiWdVLZ4cDOh80PaPxUuJpTgj 0VCLuag4EQCVJUXryQIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20161018141720eucas1p128fecf92187dd32423c974e305ea4d0e X-Msg-Generator: CA X-Sender-IP: 182.198.249.180 X-Local-Sender: =?UTF-8?B?SmFjZWsgQW5hc3pld3NraRtTUlBPTC1TeXN0ZW0gRlcgIChN?= =?UTF-8?B?Qikb7IK87ISx7KCE7J6QG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Global-Sender: =?UTF-8?B?SmFjZWsgQW5hc3pld3NraRtTUlBPTC1TeXN0ZW0gRlcgIChN?= =?UTF-8?B?QikbU2Ftc3VuZyBFbGVjdHJvbmljcxtTZW5pb3IgU29mdHdhcmUgRW5naW5l?= =?UTF-8?B?ZXI=?= X-Sender-Code: =?UTF-8?B?QzEwG0VIURtDMTBDRDAyQ0QwMjc1MjY=?= CMS-TYPE: 201P X-HopCount: 7 X-CMS-RootMailID: 20161013131622eucas1p2e419c58b25f2c61da22d390f2adfacfd X-RootMTR: 20161013131622eucas1p2e419c58b25f2c61da22d390f2adfacfd References: <1476364572-26849-1-git-send-email-matt@ranostay.consulting> <924a896d-b3f2-5fed-62ba-a731e79e1567@samsung.com> <20161014142047.imm4idfetphlp5od@atomide.com> <5d9476b8-b552-f745-e06d-9894fa2e542a@samsung.com> <20161018134915.hbeiorftge56xrih@rob-hp-laptop> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2375 Lines: 59 On 10/18/2016 03:49 PM, Rob Herring wrote: > On Mon, Oct 17, 2016 at 09:58:26AM +0200, Jacek Anaszewski wrote: >> On 10/15/2016 02:00 PM, Matt Ranostay wrote: >>> On Fri, Oct 14, 2016 at 7:20 AM, Tony Lindgren wrote: >>>> * Jacek Anaszewski [161013 23:37]: >>>>> On 10/13/2016 04:20 PM, Matt Ranostay wrote: >>>>>> On Thu, Oct 13, 2016 at 4:05 PM, Jacek Anaszewski >>>>>> wrote: >>>>>>> Why DT property? Is it somehow dependent on the board configuration? >>>>>>> How this period-scale value is calculated? Is it inferred empirically? >>>>>>> >>>>>> >>>>>> We empirically discovered and verified this with an logic analyzer on >>>>>> multiple batches of this part. >>>>>> Reason for the DT entry is we aren't 100% sure that it is always going >>>>>> to be the same with different board revs. >>>>>> >>>>>> Could be that parts clock acts differently with supply voltage. This >>>>>> has been calculated by setting it an expected value, and measuring the >>>>>> actual result with the logic analyzer. >>>>> >>>>> I'd like to have DT maintainer's ack for this. >>>>> >>>>> Cc Rob and Mark. >>>> >>>> How about do this based on the compatible property instead? If there >>>> are multiple manufacturers for this part and only a certain >>>> parts have this issue we should have multiple compatible properties. >>>> >>> >>> I could only find that NXP as the manufacturer of that part. It is >>> possible since the clock is internal to the chipset that the vdd of >>> 2.5V is doing something undefined. >>> >>>> Then if it turns out all of them need this scaling there's no need >>>> to update the binding. >>> >>> Understandable. >> >> Since at present we can't guarantee that all produced devices >> are affected, then we should strive to avoid breaking any existing >> users of the possible non-affected devices. >> >> In view of that the addition of a new "compatible" proposed by Tony >> seems most reasonable. >> >> Still, DT maintainer's opinion is required. > > Seems like a quirk of this board, so I think the added property is fine. > > It could be existing users just didn't notice the rate being off. 30% is > probably not all that noticeable to the human eye. Thanks for the feedback. I infer that you wouldn't mind if I added your ack to this commit then? -- Best regards, Jacek Anaszewski