Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp557066rwb; Sun, 6 Nov 2022 09:52:31 -0800 (PST) X-Google-Smtp-Source: AMsMyM79stkcVVYO8645JAyWKdsVfYfFlmtsxnCMTzApgFRZB1K/mbhXurg68f83/Cov2+ZqubGY X-Received: by 2002:a05:6402:371b:b0:460:ff7d:f511 with SMTP id ek27-20020a056402371b00b00460ff7df511mr46745317edb.148.1667757151265; Sun, 06 Nov 2022 09:52:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667757151; cv=none; d=google.com; s=arc-20160816; b=k6EiQ6qgY+uWBM80T3miF+fCM9f7ZgfGWfQOyiE8zP6+kBGtkAJZwHbrBBefelsPW3 /CVLL2AcSiF6qmPavwYIWJAyJZOU6W/fOlNn/b7dOZPXowYCgvHCLePiVP34a3HUKm/3 DsWSpbrrMBGuXFqQQlMNez1P2l5lXXirc35k/0BP9tHD8972Czqj0XoDC0GDTxC1Sql8 ENqV41dMmv0KDyWLU4ZKqWW6zx19IeSgfnt9vFxVmqpeKUvGM4PTkg6D0wDEWYrhEbF8 HkofAhwAhx3RVp3ZlElgFTx2Ytyu0yNGt1UOEHMhueQAyLsC+2rewDH727P13KiIXSKm tu1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=YoE2BgoqkrN/e12ux5BU0oeopFk8qun8HnLOSkHyRf0=; b=M0qMZEDhwevoEpq2/OFWWRYaqAlTNVGXNbPO2hbouFLl0ZD7lO43xfc/Nxw0mNtFIl 4k3W8uhlItAXrC6pc2F7AQkGd9ciXZpH8EDZ/ZyrvCeQ/9ioDja5tfobsslrzePbyPk9 tqoc3StlqGCBohMTTglWt3G7AefzeqD9o8I6bfhwUk067zYDAnAZr9lu3Pvua8dx9cES 5cBWm2Eqc0J786j3JSTzz16wCs7Kf+2n7kQ/ILaV6x3JW8lRn9McJ/Ya6cYHyF64Qi9O MtlX9bg8jEpqfmpyGoCYQ9sxvSVas0M4Okp+AWBFDCOlb8xoEQ72QoBzHbhUlh2JmECH KBpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IbK2OrUM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bu7-20020a170906a14700b0078b0865d468si4767114ejb.549.2022.11.06.09.52.08; Sun, 06 Nov 2022 09:52:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IbK2OrUM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231317AbiKFRWX (ORCPT + 96 others); Sun, 6 Nov 2022 12:22:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231479AbiKFRWF (ORCPT ); Sun, 6 Nov 2022 12:22:05 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35D12339; Sun, 6 Nov 2022 09:15:12 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id C8063B80C6A; Sun, 6 Nov 2022 17:15:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D4601C433C1; Sun, 6 Nov 2022 17:15:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667754909; bh=aRmkKiaGl0TJQ5HduQMLRpqvOFwi5+C07v6IJ/fcaAM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=IbK2OrUMj5IGt2U1b8PXi/DCK/IBXk6oB/TgASEF3SBi7obCNpSfNJYWHr0e2jBPs rNLkdCddAr4fSOhEsSg2sFyKe0U8d7iP6yBI5lzu3xe9vzsJ4T7wQZPu2TQopAckSK B8krlsdB5unIP1lz2yJmwyWxHVtvLzh8QjpEFw4hXxoxXexQJamgSsGxK7JbNFJbem hJpzsXtWvc4FtB0JjV4t8SU3gA7Re9T9i1+xq4FDWaoM/G3o+vdvI26n6SDU9JlAgG +TTsTAU53zY9oJibVRV+9TmzzHI4WOqImiURsd74vGfAjk3hKupPMaI3bTPZlOV+jU HUKk6bfWmmKaw== Date: Sun, 6 Nov 2022 17:14:58 +0000 From: Jonathan Cameron To: Cosmin Tanislav Cc: Lars-Peter Clausen , Michael Hennerich , Nuno =?UTF-8?B?U8Oh?= , Rob Herring , Krzysztof Kozlowski , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 00/13] Support more parts in LTC2983 Message-ID: <20221106171458.0715a602@jic23-huawei> In-Reply-To: <20221103130041.2153295-1-demonsingur@gmail.com> References: <20221103130041.2153295-1-demonsingur@gmail.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.34; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 3 Nov 2022 15:00:28 +0200 Cosmin Tanislav wrote: > Add support for the following parts: > * LTC2984 > * LTC2986 > * LTM2985 > > The LTC2984 is a variant of the LTC2983 with EEPROM. > The LTC2986 is a variant of the LTC2983 with only 10 channels, > EEPROM and support for active analog temperature sensors. > The LTM2985 is software-compatible with the LTC2986. > > Also, make bulk write buffer DMA-safe. > Besides that, refine the binding. Replying at least partly so I can see I already looked at this... Looks good to me. Will pick up once DT bindings maintainers are happy. Thanks, Jonathan > > V1 -> V2: > * add Fixes tag > * add patch that fixes the regmap_bulk_write() call with stack allocated > buffer > * add patch that refines the binding in preperation for adding new > parts support to it > * do not use stack allocated buffer for writing the EEPROM key > > V2 -> V3: > * drop minItems if equal to maxItems > * drop adi,single-ended conditions because of recent dtschema > restrictions (even though they're valid in jsonschema and the last > dtschema tag) > * drop "allocate iio channels once" patch since it's been picked as a fix > > V3 -> V4: > * add pipe for 'adi,mux-delay-config-us' description > * add pipe for 'adi,rtd-curve' description > * keep newlines after descriptions > * move 'adi,current-rotate' to conditional > * put 'adi,custom-steinhart' in the original place > * keep 'minItems' for 'adi,custom-steinhart' > * override 'enum' to forbid auto-range in 'adi,excitation-current-nanoamp' > when using custom thermistors > * split refine patch into multiple patches > - use generic node name in example > - describe broken mux delay property > - refine descriptions > - change default excitation for custom thermistors > - require 4 wire rtd for current rotate > - require custom sensor tables > - describe matrix items > - remove qutations from phandle ref > - use hex for sensor address > - add default values > > Cosmin Tanislav (13): > iio: temperature: ltc2983: make bulk write buffer DMA-safe > dt-bindings: iio: temperature: ltc2983: add default values > dt-bindings: iio: temperature: ltc2983: use hex for sensor address > dt-bindings: iio: temperature: ltc2983: remove qutations from phandle > ref > dt-bindings: iio: temperature: ltc2983: describe matrix items > dt-bindings: iio: temperature: ltc2983: require custom sensor tables > dt-bindings: iio: temperature: ltc2983: require 4 wire rtd for current > rotate > dt-bindings: iio: temperature: ltc2983: change default excitation for > custom thermistors > dt-bindings: iio: temperature: ltc2983: refine descriptions > dt-bindings: iio: temperature: ltc2983: describe broken mux delay > property > dt-bindings: iio: temperature: ltc2983: use generic node name in > example > dt-bindings: iio: temperature: ltc2983: support more parts > iio: temperature: ltc2983: support more parts > > .../bindings/iio/temperature/adi,ltc2983.yaml | 335 +++++++++++------- > drivers/iio/temperature/ltc2983.c | 193 +++++++++- > 2 files changed, 389 insertions(+), 139 deletions(-) >