Message ID | 20230420161052.270366-1-herve.codina@bootlin.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:6358:3046:b0:115:7a1d:dabb with SMTP id p6csp523442rwl; Thu, 20 Apr 2023 09:52:08 -0700 (PDT) X-Google-Smtp-Source: AKy350YfjdkQWtDn+Gxk3pSQarv5m37zL8TY/oCtVwD0YKftiH64MnZ6ND4bvW95ozH1W7yRjliW X-Received: by 2002:a05:6a21:7889:b0:f0:42b4:d428 with SMTP id bf9-20020a056a21788900b000f042b4d428mr3142746pzc.61.1682009528270; Thu, 20 Apr 2023 09:52:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682009528; cv=none; d=google.com; s=arc-20160816; b=Hn8iV/+Qghh3Gshtz5x/Jfh90pqjTgomGV73R+w3qXux/7AYYJhO2wsF2KGCu3GcUQ OczuaQLH2G6X7u6VNz47I984HnFTLpNrWVYzXQWM9b6v0ef1kQi1+N53Uu1C+F//g+m+ 5Rw3Mw4fh8u4Iv+8WsZe+WkMizks5h3ierAw6BG7o/AdIkHsK8tz6pite4s7vevXg2wF A8yr0B6UoXboe8JTcHTdep4JMt1v9hH7ftEua0iAiYDCI02FmvMpOTw9V9EL4inrbQs4 klNNHLZp6RaNER2tk26z0jqUr/zreoxL+tIp0rGpCWsPXbXgopHFH821hiNke0y/x7CZ OVBg== 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=FwglzcQP0CkzkE+ONlTYCufahA4ItXFZzINpHTeBwiw=; b=qcEuc6PTo2TtWs5xzjPzvNM+vJWjB26QIaWNpTsP+RXTLuzcSbi56gNI8NnTWYnBoE r4qCRGQOy1jlyN8ZiXJOUD0PU72vgtuvCa1JiZrWm8JfksNeSqXeyno1UPV8II5xBdKU YVIsn8bd1VodHnI91lBI/CRS5U+/1UFFfaYqwDSEPIbQ2AivAcSuri4vFA+Tiqli7e2f lxBX4AFJDxsRKA1AJL2A+gxSyHXVV+yo+DuqFLtDbguPy/h/zj6OEXwtNTziwTzYLfnL NJEqL26h0prXeYiB+yXM1/vqFleArrqPEiAdG+Gz99C2X6Jauc4OcWcgE8Zb7kZeR0bm WY4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=CQ6nKLNh; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x187-20020a6363c4000000b004da377c33bbsi2004776pgb.85.2023.04.20.09.51.53; Thu, 20 Apr 2023 09:52:08 -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=@bootlin.com header.s=gm1 header.b=CQ6nKLNh; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232202AbjDTQLB (ORCPT <rfc822;cjcooper78@gmail.com> + 99 others); Thu, 20 Apr 2023 12:11:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230483AbjDTQK7 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 20 Apr 2023 12:10:59 -0400 Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::225]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 053292729; Thu, 20 Apr 2023 09:10:57 -0700 (PDT) Received: (Authenticated sender: herve.codina@bootlin.com) by mail.gandi.net (Postfix) with ESMTPA id 66ED71C000B; Thu, 20 Apr 2023 16:10:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1682007056; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=FwglzcQP0CkzkE+ONlTYCufahA4ItXFZzINpHTeBwiw=; b=CQ6nKLNhY5qKk4EBh3H8G2v0BS1b/0sdzyGTGSlWS+Xu0MZhDyWxpjp8IQ91m3+aeg+FCZ 0Csx9E+6LCzVOy9v7NXvobvULebrNEDT/8RyNeN2GYu+yEVh1WYJsfK+t5AriMiwHWeiS2 BV99WQWHGoDBrbzFLYoNIhRIDAaUjlOmn10fMlFDaBHdR0dRl4t8svpOZlnUvHSLFlvIsq sB1M8qmeH3lNylJW3cmJgSfIDbg25eI3JtvtRhEVfbhAIrJE47ScJqGlsjy5wTMIlvoTgB PyXPG3yVr2vXGAj+Fzg/RPjeXuHkddncZh99GTAmlZPc1UW1jLtuBfFpEn7TGQ== From: Herve Codina <herve.codina@bootlin.com> To: Herve Codina <herve.codina@bootlin.com>, Jonathan Cameron <jic23@kernel.org>, Lars-Peter Clausen <lars@metafoo.de>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Christophe Leroy <christophe.leroy@csgroup.eu>, Thomas Petazzoni <thomas.petazzoni@bootlin.com> Subject: [PATCH v2 0/3] Add the Renesas X9250 potentiometers IIO support Date: Thu, 20 Apr 2023 18:10:49 +0200 Message-Id: <20230420161052.270366-1-herve.codina@bootlin.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763697731907947813?= X-GMAIL-MSGID: =?utf-8?q?1763714822711234552?= |
Series |
Add the Renesas X9250 potentiometers IIO support
|
|
Message
Herve Codina
April 20, 2023, 4:10 p.m. UTC
Hi, The Renesas X9250 integrated four digitally controlled potentiometers. On each potentiometer, the X9250T has a 100 kOhms total resistance and the X9250U has a 50 kOhms total resistance. Compare to the previous iteration https://lore.kernel.org/linux-kernel/20230420121320.252884-1-herve.codina@bootlin.com/ This v2 series uses a define for the X9250 ID value. Best regards, Herve Codina Changes v1 -> v2 - Patch 1 No changes - Patch 2 Use a define for the 0x50 value used multiple times. - Patch 3 No changes Herve Codina (3): dt-bindings: iio: potentiometer: Add the Renesas X9250 potentiometers iio: potentiometer: Add support for the Renesas X9250 potentiometers MAINTAINERS: add the Renesas X9250 driver entry .../iio/potentiometer/renesas,x9250.yaml | 56 +++++ MAINTAINERS | 7 + drivers/iio/potentiometer/Kconfig | 10 + drivers/iio/potentiometer/Makefile | 1 + drivers/iio/potentiometer/x9250.c | 234 ++++++++++++++++++ 5 files changed, 308 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/potentiometer/renesas,x9250.yaml create mode 100644 drivers/iio/potentiometer/x9250.c