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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CD6F0C433EF for ; Fri, 1 Jul 2022 06:38:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235209AbiGAGi1 (ORCPT ); Fri, 1 Jul 2022 02:38:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234737AbiGAGi0 (ORCPT ); Fri, 1 Jul 2022 02:38:26 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82E96192AE for ; Thu, 30 Jun 2022 23:38:25 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id pk21so2290138ejb.2 for ; Thu, 30 Jun 2022 23:38:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=jSUhQ3rBFKJxU2LCa9Ql4GrsO3TLNvrpxzwTvNvCTBU=; b=KR6dlzrqc5KAGSH9q86OuFL5a+BEdvq6u4BADqzj2u4IsWpTYBto01KpxaRquYf7o0 JtiDRx/EyAFV+Cgl87CMVn8WN8HIEmG9LenpcmVVzSOvx+64M2BMif34Ryj1EWc5AOFw fYwxSBePaevTU7jMLWsvxwTKWDcn87aGdBdmm0sxLXhyzBwIBwpzD4KT7gyiC7VxyfNv uHVB9jLUHzbOWpzFgjBqcmsnAnHklk34pQDS0rTbq2/FYY0HRtcx/JVWOP2N114fQYUZ M4+c23OEagK0HqTdKz9FxEcJaQD4psedtmE5SHRxcA0KMZO2obWfzBbCZJRV9wn0TrIc x3zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=jSUhQ3rBFKJxU2LCa9Ql4GrsO3TLNvrpxzwTvNvCTBU=; b=s141WFnksQdF4HLfv53Xb097WP/ceL9rSy7YsgRP6Z4Sktj4PtiwBqjgycmjb3gwVt JL+2266/NQhRbxLAMjJkyav1PN2mjJEXOsrcb/SzGsy7HvVoXAsJ1IJKKzTGBtxyI++h 7ef8npRRluPzAf7c3Wx5rxDO7z9t52GkQL+p17K0ebKA51BJPyiE/QmwklVALoTDBqBG rnMjeqzu8TxDyfyd3P0CaKdG8RW2jRtaqJ8BHnd2PmC4Mw4kcpDKKe8A92O7fCAXrdDc KsqOgEcaP4PrHZUjeuvVhABJRtpluibXxnpOGT0fT9s01Hm2X6kVJTLqjVYKij1dfYzI dv3A== X-Gm-Message-State: AJIora+J+2KbFG5KC5fIhdUTgCw5zXNBQKWZWJrYWar9xVHdgGRIWEcz EvCqbbIuidP2o4T9YRqLCBZfvg== X-Google-Smtp-Source: AGRyM1u1+fKIC+2Zyq9jouPxdVF4hWeo0y+1sNSQER05/bn7i/qCLb8ToWpi8wtdaJkhU/0g3pvttA== X-Received: by 2002:a17:907:7636:b0:72a:9297:37d1 with SMTP id jy22-20020a170907763600b0072a929737d1mr293126ejc.349.1656657504110; Thu, 30 Jun 2022 23:38:24 -0700 (PDT) Received: from [192.168.0.190] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id s27-20020a170906355b00b00702d8b37a03sm9951428eja.17.2022.06.30.23.38.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 30 Jun 2022 23:38:23 -0700 (PDT) Message-ID: <5dbf57e4-7573-fa63-d8f1-6ecde08a0875@linaro.org> Date: Fri, 1 Jul 2022 08:38:22 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH 1/2] dt-bindings: iio: adc: ti,adc128s052: Add adc08c and adc10c family Content-Language: en-US To: Nishanth Menon , Angelo Compagnucci , =?UTF-8?Q?Nuno_S=c3=a1?= , Christophe JAILLET , Alexandru Ardelean , Krzysztof Kozlowski , Rob Herring , Lars-Peter Clausen , Jonathan Cameron Cc: Florian Eckert , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-iio@vger.kernel.org References: <20220701042919.18180-1-nm@ti.com> <20220701042919.18180-2-nm@ti.com> From: Krzysztof Kozlowski In-Reply-To: <20220701042919.18180-2-nm@ti.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 01/07/2022 06:29, Nishanth Menon wrote: > The adcxx4s communicates with a host processor via an SPI/Microwire Bus > interface. The device family responds with 12bit data, of which the LSB > bits are 0 for the lower resolution devices. I have been able to test > adc102s051, hence adding just the missing ones in that family. > > Lets reuse the binding to support the family of devices with name > ADCS, where > * bb is the resolution in number of bits (8, 10, 12) > * c is the number of channels (1, 2, 4, 8) > * sss is the maximum conversion speed (021 for 200 kSPS, 051 for 500 kSPS > and 101 for 1 MSPS) > > Complete datasheets are available at TI's website here: > https://www.ti.com/lit/gpn/adcs.pdf > > Handling of 8, 10 and 12 bits converters are the same, the > unavailable bits are 0 in LSB :) > > Inspired-by: drivers/hwmon/adcxx.c > > Signed-off-by: Nishanth Menon > --- > > Checkpatch does complain with Inspired-by: insisting it to be an email > address.. but I was really inspired by the hwmon driver.. Don't know > what else to say here.. we could probably drop it? Drop it or convert to just test. When passing checkpatch: Acked-by: Krzysztof Kozlowski Best regards, Krzysztof