Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1058254rwr; Thu, 20 Apr 2023 09:24:31 -0700 (PDT) X-Google-Smtp-Source: AKy350b26fhuGbcPDOzZzRVVQ2qdtNodTyamYmk+fMz1sJg/hHnxAYthosLrYaM4WBnB3k8EXWwh X-Received: by 2002:a05:6a00:850:b0:63f:539:3f7 with SMTP id q16-20020a056a00085000b0063f053903f7mr2245074pfk.1.1682007870670; Thu, 20 Apr 2023 09:24:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682007870; cv=none; d=google.com; s=arc-20160816; b=A3Wt+VS0CHpk9RKEzJB26+DuKPhS0kUIWXhuAYIYFXqXiZY+W0a6PIvmb5tPfxFIkZ RrjeO+eZY9OlwKvEYnzpyQgXywmh1e0RWYkmOM96CVwqNjHogmPaCxqucWfl8wGEBRRA eGb9WrK0GOnOLPxEkkjW+3oDjceZ+L/UidNCVwEAFDeC2j/drbAiV5pFPvoI+tutI9k4 vj9j6+H9laodTVhuzsvFo05WzTG5RE9mXSY8csHZxY8SJSMeyQxGYiZx4ouB+6UCQeOc NniifKCByQmSrsUa/zpy0DmRGFmT8bO9dUHxrfOucpkDPh9dG8/GhnjYzCMq38/Io1v4 6Ybg== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 199-20020a6305d0000000b004faf33e2755si2012880pgf.349.2023.04.20.09.24.17; Thu, 20 Apr 2023 09:24:30 -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 S232098AbjDTQLA (ORCPT + 99 others); Thu, 20 Apr 2023 12:11:00 -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 ); 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 To: Herve Codina , Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Christophe Leroy , Thomas Petazzoni 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: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.39.2