From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1C5A7C4321E for ; Tue, 15 Nov 2022 09:55:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229597AbiKOJz0 (ORCPT ); Tue, 15 Nov 2022 04:55:26 -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-Google-Smtp-Source: AA0mqf4B1dGT4gH+hEp8hRtblF49bEkY0uTVTCvQ1FPRbPOe8PvqPHIW1e35lJ181gViqsxSnV45Gw== 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 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