From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 60C12C63697 for ; Mon, 23 Nov 2020 23:33:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1F19F20724 for ; Mon, 23 Nov 2020 23:33:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726618AbgKWXd5 (ORCPT ); Mon, 23 Nov 2020 18:33:57 -0500 Received: from anchovy2.45ru.net.au ([203.30.46.146]:56324 "EHLO anchovy2.45ru.net.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726729AbgKWXd5 (ORCPT ); Mon, 23 Nov 2020 18:33:57 -0500 Received: (qmail 15171 invoked by uid 5089); 23 Nov 2020 23:33:54 -0000 Received: by simscan 1.2.0 ppid: 15053, pid: 15054, t: 0.0725s scanners: regex: 1.2.0 attach: 1.2.0 clamav: 0.88.3/m:40/d:1950 Received: from unknown (HELO ?192.168.0.22?) (preid@electromag.com.au@203.59.235.95) by anchovy3.45ru.net.au with ESMTPA; 23 Nov 2020 23:33:53 -0000 Subject: Re: [PATCH 02/46] dt-bindings:iio:potentiometer:adi,ad5272 yaml conversion To: Jonathan Cameron Cc: Rob Herring , Jonathan Cameron , "open list:IIO SUBSYSTEM AND DRIVERS" , devicetree@vger.kernel.org References: <20201031184854.745828-1-jic23@kernel.org> <20201031184854.745828-3-jic23@kernel.org> <20201103161039.GA1754553@bogus> <20201103172834.00007040@Huawei.com> <66e8db5d-cc37-dde9-7d55-770d54506e3d@electromag.com.au> <20201122163500.4c699fcc@archlinux> From: Phil Reid Message-ID: <7c002207-918b-e300-6113-fcf392ce7a8d@electromag.com.au> Date: Tue, 24 Nov 2020 07:33:52 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: <20201122163500.4c699fcc@archlinux> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-AU Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 23/11/2020 00:35, Jonathan Cameron wrote: >>> Having a software interface to assert the reset would be nice. >>> >>> >> If there's no comments against the change, I'll submit a patch in the next day or so. > Hi Phil, > > So I've fixed the binding example up to have the sense as ACTIVE_LOW as discussed. > If you have time to flip the sense round in the driver to match that it > would be great and I'd propose we then mark that as suitable for stable > so that we get it backported into existing trees. We could also spin > a patch to the txt binding but perhaps that is more effort than is needed > here. If I get time before you do I might send a proposed fix patch. > > Hopefully anyone then using it will get the sense right and we won't > accidentally break anyone. > > At some point soon I'll also try and audit similar cases and hopefully we > will get those fixed up as well. Obviously if anyone else wants to take > a look at that it would be much appreciated! > G'day Jonathan, Sorry this had slipped a bit on my list. I'll send a patch in next day or so. -- Regards Phil Reid