From patchwork Fri Apr 21 08:52:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herve Codina X-Patchwork-Id: 8518 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp932130vqo; Fri, 21 Apr 2023 02:20:54 -0700 (PDT) X-Google-Smtp-Source: AKy350bd+hHLBIb0OAu/q0SaF3NVc7p9lm2GFexnF51gYqsHWKWeuRJm5RUXywms0lW+uT9EH9jU X-Received: by 2002:a05:6a00:812:b0:63d:25e7:fd1b with SMTP id m18-20020a056a00081200b0063d25e7fd1bmr5900777pfk.14.1682068853750; Fri, 21 Apr 2023 02:20:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682068853; cv=none; d=google.com; s=arc-20160816; b=hFLH0Sm8weAp8PoxHQ+bZNSq5bIMWj6fo2+fdrdnB948NJMvK3E3ZgUJo+TkTXOmv4 NXBzMRtniIRCqy+vLvGEbKxBpiQEdJ+pIHQEXY+kWckSoDH6EStkJW5CPV5eXA4zOQfU lOuZzHKPDAC+LBEB0oEa/een9sdAPu20+P0/oiYz2JoUYBIxT9IFciZQ36QILq9eB2gx pHLal7KbsYMEDM4su+j3cWq71dloi8hHNTxewwEFneZxjgUisYK/M3ByEcTgNM0rsPlE A7x7Lra+pHXLsd3FOiXWkiaEZnSzzK8h2XosM7F+vDGiohDKRsQTuvlHZpXnhqaHbRJS owww== 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=wLh6sHdmNW/ZOlcY1Y6FMyOLEeuQzg3ieXpewGsn+vY=; b=g58aHwocXy7J8LkWhG/aGomaxbGfWmHNziDXL4bd46lyeRdttew8h6sOiH5dNQG84t F0VOzgiKf+7gwIgsBOlr1OxJl4/HKJ7EVbQQlYG5rASgd/5kEGANnKSq7z7p2bEcfIIu ucQ0C62UK7nnR1PKvVlc83KqTvMhFEKMfkl5h5n4muh386OCE27h/0NTG+bJxjuAF1Vu 3UBewAncRylzcOQ6lo93MmZpyZpm2dj26LL0PYMi6NEzcRWBdRIvxW/Gr47QFZVj0u8X jbTjhEa76QfRYP4hQU2l/vDG6MKGrHS3qPs8mOwAPt9fsfGywnnqxLxmVM2Lbrct2jZX QcEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=GQlE+sc5; 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 q14-20020aa7842e000000b0063b7e177fc3si3905734pfn.165.2023.04.21.02.20.41; Fri, 21 Apr 2023 02:20:53 -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=GQlE+sc5; 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 S231725AbjDUIxH (ORCPT + 99 others); Fri, 21 Apr 2023 04:53:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231636AbjDUIw5 (ORCPT ); Fri, 21 Apr 2023 04:52:57 -0400 Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAAE2A5D0; Fri, 21 Apr 2023 01:52:50 -0700 (PDT) Received: (Authenticated sender: herve.codina@bootlin.com) by mail.gandi.net (Postfix) with ESMTPA id 51CF21BF20C; Fri, 21 Apr 2023 08:52:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1682067169; 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=wLh6sHdmNW/ZOlcY1Y6FMyOLEeuQzg3ieXpewGsn+vY=; b=GQlE+sc5iO7g0PJP3FvKgbcKkRsMZhMyMtbSyJ4+9nvlaVwhVUF3WvXGl5CHXs5lLeKqaW VDjsR0JwImGEYk0W782AkgcyMcLSHcPVy/HNvc5ELtylJZmeA1dkvE1i7DBvvRkW1w9oLQ hpcOMZc04FIKuuCl2ezv8TVglTwulanGT7QpY55oDXn3O7BXJZMtrWaU8qmZc8mQtppwPw SOLEVda496i5hrUXYhwnwhgAWyhp6JxQ+p5ZEz0w0YCTReHckPQskGcNuLa6ftJ2jmy1Jn o+jx/yZAFuFSjWzOJ6rIcSPICdmtuqvgRf6IZbeL6xs39ckJOjDiNbXJT6WOcw== 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 v3 0/3] Add the Renesas X9250 potentiometers IIO support Date: Fri, 21 Apr 2023 10:52:42 +0200 Message-Id: <20230421085245.302169-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, URIBL_BLOCKED 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?1763777030106696881?= X-GMAIL-MSGID: =?utf-8?q?1763777030106696881?= 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/20230420161052.270366-1-herve.codina@bootlin.com/ This v3 series updates the binding. Best regards, Herve Codina Changes v2 -> v3 - Patch 1 Remove the reg property description Use 'potentiometer' for the node name in the example. - Patch 2 and 3 No changes 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 | 54 ++++ MAINTAINERS | 7 + drivers/iio/potentiometer/Kconfig | 10 + drivers/iio/potentiometer/Makefile | 1 + drivers/iio/potentiometer/x9250.c | 234 ++++++++++++++++++ 5 files changed, 306 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/potentiometer/renesas,x9250.yaml create mode 100644 drivers/iio/potentiometer/x9250.c