Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp5613409rwb; Tue, 9 Aug 2022 00:35:38 -0700 (PDT) X-Google-Smtp-Source: AA6agR7rRAJVQL6U2k1nLUVbChh6E2YGGJh/ST4G5uJheZD1i0Mh0sBKaYacHU+45YeQ3zhkjoTT X-Received: by 2002:a05:6402:292:b0:43c:ee5e:a5da with SMTP id l18-20020a056402029200b0043cee5ea5damr20943281edv.181.1660030538079; Tue, 09 Aug 2022 00:35:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660030538; cv=none; d=google.com; s=arc-20160816; b=frodZoGjih0hwno94aOTtOnO2hGJkMjjgYkNX2bi02Hse5czJexis5wTPp0kE0UDGd K4xOUu8PNEbqU78cxwJUmqkqVgRoc3u+mqYPFA+/8FGymS0gNIGONEJwV2iEoLBDMGUf CN3C8g5kW8xZdVsRiICYcXFCgKOqyV3hanq5p4XvKtJN56qf+qbFjFwLNvM6RQ2WRvpU xM74HfGvbudOOdaO56Vq+dMqf2sjfFvjNW3xdQBNY/lHcEpxRkYhmw+FmsfohZwAfboj Wx19xlvc/dJsdnpzoj32ebDzGhq7DOVJPRKJhZ6uF3PGCv5G0LlS9LT4m7Su2zdLMR4P LXFw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=fNXFoW8pYrIf1/G1F0nD0otxreymSfu0Gf6VI2D1QBM=; b=K1uxTRGVJsu7SlQEmOnL5+x4XRVgrDFZosf4FuL0Ajm4bmTmpy9hKy5D0XJw9GsE8l v1J9SYa9D1S2x7FlkuNNYLb2Pux23XeXbXEotvkT2dsrLsbk8js3Ut4sMTpXayZ7apT7 I8qD8hU1qzeD+TszklOwXVStzJ5tHTqsRoqqRrvKL2Dyzlm1EdqZ15TelFla0mctgaah jNIk1OomIqVyvqklVn79FesM4YLM/EDkO9RIRDQoFTrzprR/6t1d1A4aSBG+S9h7tuNf A450lkeTrUg0DULGbtvfizumd/3Kn52ckU+TPnbh2KHJFeq0N9weskk2XV6pCX8WFp9D d8Lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=LtBCC3Ry; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a20-20020aa7cf14000000b0043a10e5e81asi7237408edy.66.2022.08.09.00.35.12; Tue, 09 Aug 2022 00:35:38 -0700 (PDT) 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=@gmail.com header.s=20210112 header.b=LtBCC3Ry; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239050AbiHIHcc (ORCPT + 99 others); Tue, 9 Aug 2022 03:32:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233545AbiHIHca (ORCPT ); Tue, 9 Aug 2022 03:32:30 -0400 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A49FFE003; Tue, 9 Aug 2022 00:32:28 -0700 (PDT) Received: by mail-lj1-x234.google.com with SMTP id x25so12143031ljm.5; Tue, 09 Aug 2022 00:32:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=fNXFoW8pYrIf1/G1F0nD0otxreymSfu0Gf6VI2D1QBM=; b=LtBCC3Ryr7UEW6G0Dyk0vL+uquG5PoGU1/+Tu7pMOEnCS+E5TrQUkjN5COEL/yqth6 jqmQYlnhdWyIqK/PXvgEQoqrnqOA7fDaibtEwJCPTNJQrFtkbQtHH0TGdX0Xna3Y7odU fsfeYOcqXY4vgfaAIT/CjJzZSvzbsyeI2Dl3sucQHz2/HQHeEbETgjXhsaYU3V4/1tNx IusMF8amheMe0jLBAJTXeqpQZVy5+zRAQHuah0PW0esdTUIJQN08FSsWu4ACogu7P12C Xge1TjuDHlX3RXHmOhkDdwIX/QLJ+nqhrauQu9P6MjOW1S1PMrILAsorlCDrz6M9IIz3 WQ1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=fNXFoW8pYrIf1/G1F0nD0otxreymSfu0Gf6VI2D1QBM=; b=kUhzb7mUBuooOFcas3FxNO83dDG6Xm6dFi1Tw6JAuUNy3ZnWZAXQGocfCziq7Eo3mh aDuOlwN7HWfHFUq/JZTHUaqvWW/a/nXGSSDMApLNVbp8fuoO4lDEJqkjGouOC7A2MxEM Lh3XRKaoOoFxeD/y7GxoumiM/ubcghbK+VJe+6djYUUvnuX1JxBmf8zBLD0GvxXwV+2a GXy+HFxgVg26Wt4xV7zzk6kS/n/meQMxQuNm3RmRH/76WHIJfHxNT/b9X3e3Tu3XPzC2 jdeMbSVV1gmnVJ3gjoBCxSoGdcfj5XMKtSvkvHR7dAOUcIqtz37XuJZPIC0IryS6FpDZ MuVA== X-Gm-Message-State: ACgBeo3gPhybDEzWqRO6W7+GI+b9Zfeih4h1soek+tVn7Fm5l4k19Ea3 e277hHEoW0fcPp6bioJmXTs= X-Received: by 2002:a2e:9884:0:b0:25e:4b41:75da with SMTP id b4-20020a2e9884000000b0025e4b4175damr6617834ljj.339.1660030346766; Tue, 09 Aug 2022 00:32:26 -0700 (PDT) Received: from localhost.localdomain (82-209-154-112.cust.bredband2.com. [82.209.154.112]) by smtp.gmail.com with ESMTPSA id k15-20020a05651c10af00b0025d620892cdsm1528911ljn.107.2022.08.09.00.32.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Aug 2022 00:32:26 -0700 (PDT) From: Marcus Folkesson To: Marcus Folkesson , Kent Gustavsson , Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Andy Shevchenko Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 0/9] Improve MCP3911 driver Date: Tue, 9 Aug 2022 09:36:39 +0200 Message-Id: <20220809073648.167821-1-marcus.folkesson@gmail.com> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Hi, This patch series intend to fix bugs and improve functionality of the MCP3911 driver. The main features added are - Support for buffers - Interrupt driven readings - Support for oversampling ratio - Support for set scale values (Gain) Among the bug fixes, there are changes in the formula for calculate raw value and a fix for mismatch in the devicetree property. Another general improvement for the driver is to use managed resources for all allocated resources. General changes for the series: v3: - Drop Phase patch - Add Fixes tags for those patches that are fixes - Move Fixes patches to the beginning of the patchset v4: - Split up devm-cleanup functions - Cosmetic cleanups - Add select IIO_BUFFER select IIO_TRIGGERED_BUFFER To Kconfig - Add .endianness = IIO_BE v5: - Drop remove function - Split tx&rx transfers in mcp3911_trigger_handler() - Moved Kconfig changes to right patch Best regards, Marcus Folkesson