From patchwork Thu Apr 20 12:13:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herve Codina X-Patchwork-Id: 8485 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp290364vqo; Thu, 20 Apr 2023 05:20:29 -0700 (PDT) X-Google-Smtp-Source: AKy350aVY3+KAErwyinFCIpmDU/jb1h2cWuZgl8pvfBf4UPoI8qgphza11ZSmfeYWxzzpPWt6RbF X-Received: by 2002:a05:6a00:1a86:b0:637:3234:4e22 with SMTP id e6-20020a056a001a8600b0063732344e22mr1361847pfv.23.1681993229071; Thu, 20 Apr 2023 05:20:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681993229; cv=none; d=google.com; s=arc-20160816; b=BiEg2NsTKKZjuKeEgGADET+uSQYlfqR/ZKOuMUKKAO94DjWxJqCNLUfPmwP6dUy2T+ rxqZbwYItaltOlo/yoDYXuEe6LnLozX4d28kZJdbPSATHujxrq/lBHMg3yGUHIVPQses ohF5VNa5z1WjWGP5kYseMokevauIxUTTNT+UIPWWsTzjFp85ImSrwQNma+liyvoabMSb w5nxk0fqwDJjQl1b/EclJ0SVznmH3Rg3b50grmVT+SojM7CLOzgi756SHXZbIs6QbH8f XUGn+q684zEh5Iao9X2UJLmWP5LoK2P35Y1RM2YOpq8k4iRlTHugYzm6NGccyk2IbUPM 2oUA== 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=FKmU07mRpe487AegOhAsJpXczZ7sjGPeDkciIDCToaI=; b=YxgrVSkmhhU/OFyDes7TI9pdXy0JMHVuxXeALc+FGoOf7w1mvnrcnDPuMPLoXEz1k5 o8OmXBnA9OEAZgWLWwQcYrNmULkUis1fKfXHlVTBAuqmVjt0WMBiZahw+JMBRvo9/2iJ gxn+K8ya3SbgrNNWksKcZL0jhl9l4GcFsg+nc7tY3nbMFYgrNAEEO1hhFR9+DbkfmdPY sm+kuKC3CqcrQPftSo4eqn+LrkZ9+1uWEJ9+gZMq7zvdK1iXoNPc2rAURtjfizAYjxQS xhKykFz5cPk1TCJBVx1qA0s361DIl0cSRn+OOH0OofXtYw31BZ40wLdbg2SusoGHDFTw uYDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=noHygQNF; 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 s5-20020a655845000000b0051b5bb35d72si1632240pgr.338.2023.04.20.05.20.14; Thu, 20 Apr 2023 05:20:29 -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=noHygQNF; 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 S234735AbjDTMON (ORCPT + 99 others); Thu, 20 Apr 2023 08:14:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234284AbjDTMOL (ORCPT ); Thu, 20 Apr 2023 08:14:11 -0400 Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [217.70.178.231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B637261BD; Thu, 20 Apr 2023 05:13:47 -0700 (PDT) Received: (Authenticated sender: herve.codina@bootlin.com) by mail.gandi.net (Postfix) with ESMTPA id EA035100009; Thu, 20 Apr 2023 12:13:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1681992826; 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=FKmU07mRpe487AegOhAsJpXczZ7sjGPeDkciIDCToaI=; b=noHygQNFQScaDJcJSMzqZFuYOS79Hx85BeoxnrkA4xCXODc3a1XRWFuldyn7B+siYwTENM wneHvdwsQ8KKC8yI41P4Fs+3am6d0vvMkuHC1r/Bok5PGPYTP1jLQhwy5yRl48pHllgfzl 5DfqdHxftW0TVBuMwXbUzD3s8RXjS/XlvDM2OHfxAu3A9SM0B9fpXXBoMu7xtavJ+SFGOu 1HucqXtMCyWvYT+fGX8y6REl+nVm4XgIcnfWVgxInsKpTWtjMEtGOnUIo5hTK20nfhKgQq 95SpV/b4LhXNmule1bqjGY5Z2desclgWvQkCNtA/cZeCsxZl/uir+LqkJ7KBng== 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 0/3] Add the Renesas X9250 potentiometers IIO support Date: Thu, 20 Apr 2023 14:13:17 +0200 Message-Id: <20230420121320.252884-1-herve.codina@bootlin.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 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, RCVD_IN_MSPIKE_H2,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763697731907947813?= X-GMAIL-MSGID: =?utf-8?q?1763697731907947813?= 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. Best regards, Herve Codina 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 | 233 ++++++++++++++++++ 5 files changed, 307 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/potentiometer/renesas,x9250.yaml create mode 100644 drivers/iio/potentiometer/x9250.c