Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6683451rwb; Tue, 15 Nov 2022 02:06:07 -0800 (PST) X-Google-Smtp-Source: AA0mqf4Nvl724ARyegEOLudlzmVHHAyKlJRby00MFLnihHG0fdTapN3mgilY1xVu+gsMQxlQWFrr X-Received: by 2002:a17:906:e29a:b0:78d:d2e5:7a11 with SMTP id gg26-20020a170906e29a00b0078dd2e57a11mr13619197ejb.144.1668506766769; Tue, 15 Nov 2022 02:06:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668506766; cv=none; d=google.com; s=arc-20160816; b=lbGz/GPVekNCl1Vjvy+2DAhfotL5oNBqsj1D4GUGfQBRtHfYfquiNSNRFmjRWuQ5+T ul9lFYCnjIONkO0CIYgiPEYbi0RA6sk4POgspTJll3RBY+aclVejzHmdD5vczntLXYnk r2keNqn3mYnW3GhW0MIhpuPt+oh/TK0e2gdisRsPdu3Wm2f3CixmduVsxjqRviyiT/Ru l5dErGRSWsaksGCnTyG9rbVyzZEDzGoWw5hqpJfOlYTYpNMLXpbUS/zryyiwEx2fLMFd PApAtZiHz1sxiuY7CDJtDrt9DID2O71w6L8Kai5Nh+2A03tXZmaa5qX1jboNM1Ek4Gjh Lmmw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=6f4zxcZ/5nPMHcfGpObgAYnAA7vWPHzrHK0NitDUTLM=; b=gI6D2dhvbtRXjHkYes+p5tgdZhRJkD6H+YSaUEt3132+sY502u2MHQnnogCNlbkvKQ l9p2ivvs54BebVqDINraDyKH+oaYpJJ6yfK9IB8W0ukrLk5BwCePxx9vTmX4h/u9RSvB zZsF0zlGm/Awkz5RMALL7tyyU15IcZX3anlo9ZwnL0zLNisAXj7WVjlqfvzh2ROZrWdD 1Oexb86qvHmoxswuXJdDJQ5VNcYUguCWuVhCiy+VuJyr/XrZhznWd69CmAyzzRNqdzf2 UN7GsV3NlugNsQaASmV0PSduSrW1LRfU6DvsWvxm6pn0/XEyzmGOzf4uxyfyXftWLX8e bzuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=Oeubwhbx; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nc2-20020a1709071c0200b007824786a7easi12457729ejc.724.2022.11.15.02.05.23; Tue, 15 Nov 2022 02:06:06 -0800 (PST) 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=@rasmusvillemoes.dk header.s=google header.b=Oeubwhbx; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232465AbiKOJzZ (ORCPT + 88 others); Tue, 15 Nov 2022 04:55:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229686AbiKOJzX (ORCPT ); Tue, 15 Nov 2022 04:55:23 -0500 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBC721131 for ; Tue, 15 Nov 2022 01:55:21 -0800 (PST) Received: by mail-lf1-x133.google.com with SMTP id g12so23652488lfh.3 for ; Tue, 15 Nov 2022 01:55:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=6f4zxcZ/5nPMHcfGpObgAYnAA7vWPHzrHK0NitDUTLM=; b=OeubwhbxdIfz0aEAv9BRbLsIfviL7qSKBjc1sG8maAgoYTDIE7ICssPLrxtswLYJUB ujRxKu0QnkecST1Z4OR6oV6S70fNkY2EgOlqJV46E6FnOtKjV8IoXvOD+CpZy0zODqjv 4JmzFJWCphcuwg5/qBlfRxGF3B1pGSsJ2nS4w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6f4zxcZ/5nPMHcfGpObgAYnAA7vWPHzrHK0NitDUTLM=; b=NmqkjE+NeIdS4f4TV6b3eaDEgaFaK8XxKMyVpGpHM3sjmDFltn+j1NAqMtP+jpTPUW MbLBSw3rn3sTvwsS0pAUr8MDVdENGLFhfLsl73F0esmvKC2AZwbXtJv8pch8BoucJrIw Afc2UnLs338llhTMHsYEUX7AwEOtm/2o+v2rgiNd5kfGCbAMI/sQ3xyYyUKDrLuoUZgz wclFI0/0x/2eoUkAoMaaAuNlo0PXPYBuhO8pLFHpD1i8ILK0v+NLAO29vlk47CynMUTX KP8VxyvQ//4bhJ1rjFv3SsLVPMzjCX4VzcWXTk0MIcXayX+A27WLMc3W/rbrwdJuVF4n 2xdA== X-Gm-Message-State: ANoB5plWR0K/RVGnkPIySLGnf7swoyX8PWx9JrowH9/q8F16FOLy1Mzf 0yYiPNzGc0aHb4mnVm5cVOsd/g== X-Received: by 2002:a19:645e:0:b0:4a9:e27a:1cfa with SMTP id b30-20020a19645e000000b004a9e27a1cfamr5177422lfj.147.1668506120064; Tue, 15 Nov 2022 01:55:20 -0800 (PST) Received: from prevas-ravi.prevas.se ([81.216.59.226]) by smtp.gmail.com with ESMTPSA id q3-20020a19f203000000b00493014c3d7csm2148598lfh.309.2022.11.15.01.55.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Nov 2022 01:55:19 -0800 (PST) From: Rasmus Villemoes To: Rob Herring , Lars-Peter Clausen , Michael Hennerich , Cosmin Tanislav , Jonathan Cameron , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Cc: devicetree@vger.kernel.org, Rasmus Villemoes Subject: [PATCH v2 0/3] iio: addac: ad74413r: add spi device id table, support reset gpio Date: Tue, 15 Nov 2022 10:55:14 +0100 Message-Id: <20221115095517.1008632-1-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20221111143921.742194-1-linux@rasmusvillemoes.dk> References: <20221111143921.742194-1-linux@rasmusvillemoes.dk> 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,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 Fix a run-time warning from the SPI core by providing a spi_device_id table, and add binding and driver support for a reset gpio. v2: - drop the two patches related to refin-supply - fall back to getting device data from the spi_device_id entry - update the example in the binding with a reset-gpios entry - fix a style nit Rasmus Villemoes (3): iio: addac: ad74413r: add spi_device_id table dt-bindings: iio: ad74413r: add optional reset-gpios iio: addac: ad74413r: add support for reset-gpio .../bindings/iio/addac/adi,ad74413r.yaml | 4 +++ drivers/iio/addac/ad74413r.c | 29 +++++++++++++++++++ 2 files changed, 33 insertions(+) -- 2.37.2