Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2886958pxa; Tue, 25 Aug 2020 06:12:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzeJ5YfJS0yXPdC3EEsWckacnaywWk4Z8h5hXdcJtItjKd/crZxZ8NU3cOOoGAfSEY9tCIV X-Received: by 2002:a17:906:1154:: with SMTP id i20mr6940642eja.243.1598361153774; Tue, 25 Aug 2020 06:12:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598361153; cv=none; d=google.com; s=arc-20160816; b=Zk3vlpZtHjA+Md+z3+UK0oJNQAgq+hFrg5c15L0o28KZatIymRs51WLS5/BzvLJpOf p4mW+8eTDhrabo2hk/e3E+HZRWEB2UuZ52Cwr+UJZobipMn8NLCGZkwd1YKmcZQqssic zKxMsnxkTB3yOCokIeKSmdG3DigPch84nxpDW6fpRc2s1gnL3PzQP+/Iv0/9Oj8+zoaQ GNLsIPJ8K1QaqKy2hS+OEE5zrG9e6SMsD/Rq/IV2oegeZdg9JyHTOZinCpK6FjtFRVIW exP+9yp8W/wswLz8PVEulfcp82Jt9bPzgaRAkPRbfElakDWuGr1eh3MjDA0FoUuJ35am YysA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=IC7jYoJcfKkpwWPsNEp8M63/l3I3y2LHOlI73a/F3EQ=; b=rGOUuOMDIewOzIl+iMgfeImu62AKFDKc50/utQ1tffucCfrTNFbo+GesuVk59ldUPU iqdbuusvfEjsSHuI8sEFjQ0UaVuyv/NO0+T6trxHDlDFTHnbXBzOGI1oNl5lx2ye1c3U Tdk0bnVTbLFy6M6bPVKE9giF+BaAYuh19exUdfZ7eYJqnUWL0Ake+biNwJI7Cvx9Y5ix TjyoyrMrkW8/v7YgiRt6mno/l+c5EtQlHwSypPCITf1KKMRI0fOQ+n7C3eQUpsk+kIVr ZkX9SuZSWEoA5sieg15nzR480VTwxOUo8sXDMRztBKnRB8n+MZqSzqaPwtltFpx8jotw hTlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nn45BJno; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i21si8449701eje.143.2020.08.25.06.12.10; Tue, 25 Aug 2020 06:12:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nn45BJno; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728972AbgHYMsR (ORCPT + 99 others); Tue, 25 Aug 2020 08:48:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728852AbgHYMsB (ORCPT ); Tue, 25 Aug 2020 08:48:01 -0400 Received: from mail-pg1-x52d.google.com (mail-pg1-x52d.google.com [IPv6:2607:f8b0:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56DA2C061574; Tue, 25 Aug 2020 05:48:01 -0700 (PDT) Received: by mail-pg1-x52d.google.com with SMTP id p37so6764744pgl.3; Tue, 25 Aug 2020 05:48:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=IC7jYoJcfKkpwWPsNEp8M63/l3I3y2LHOlI73a/F3EQ=; b=nn45BJnoeyd4Dp5yJ2nKCIHoWqhJXJ7cIS9lDzB/+Cpj3S8GIeQG50JOhfelB/HbqF IpgHFtJmpkcQmCcr5+ik5IL6DOdo9sATJ2Jccej1D7sxj1mwmuD3aclxti/7ospV65wo BJVrhIBPSvqD4FtGukv99Y6N6HcprwDvQZnztEJolI3+4jAEt5su7ZRdtZDIWNKe3eJ4 a02v2tKosuaffRzdPLztLx1jjQoMS3abZNKiby+HnsW3A2q3teT9qA9V68hATZHfahyU /o8LawCcMtsZ60k3ID16slbEK4nNHyIY8ICvv6Osa9zXvG3eAcY6MqULS6HQ+icqgp0c SsFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=IC7jYoJcfKkpwWPsNEp8M63/l3I3y2LHOlI73a/F3EQ=; b=Slg0iGz6uhI3L9aisUk8KkAAqzNPPUdibkj3GRK+VB6dH4IIpHkt36V/ApSrTEBXmZ vDkv5dh1dSWf5EdJGtdEpott3dY7Z2RkZ1dWk802QPVc9eUYN5ss12+HH16T5lkC4A+U g0/bDXO5Hf6LWhwL1xBKwsVLutf3n6qomGdfct6iNmLEJrGAK8w5ZqZFosFAgTn0H/Fk 2M8Mj2dYnzm8mFjpAqNPWTQ0K+0b5BFVUL7PObmjsyonTSOu2fTq3993AFcEw0yji7AW XjgT4LAeu7f0sw1BX3ydPAXrdo6ZYzWE4NAP37n8SMCcjZ40SX9dc5R1ZXOafwouLHAk 9hkw== X-Gm-Message-State: AOAM530qQCQltA3QRc/WUjLR5xdgu/2LHcKrhN4cpL8P/9RxQMJmGvHW 6RQ/WCihN51ap/VhlWykKZQaoXvG544= X-Received: by 2002:a17:902:b20e:: with SMTP id t14mr7833807plr.58.1598359680845; Tue, 25 Aug 2020 05:48:00 -0700 (PDT) Received: from nish-HP-Pavilion ([2409:4072:619:dc6c:a526:a3b6:4686:f6fb]) by smtp.gmail.com with ESMTPSA id b18sm13198746pgj.12.2020.08.25.05.47.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Aug 2020 05:48:00 -0700 (PDT) From: Nishant Malpani To: jic23@kernel.org, robh+dt@kernel.org Cc: dragos.bogdan@analog.com, darius.berghe@analog.com, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, Nishant Malpani Subject: [PATCH 2/3] dt-bindings: iio: gyro: adxrs290: Add required interrupts property Date: Tue, 25 Aug 2020 18:17:10 +0530 Message-Id: <20200825124711.11455-3-nish.malpani25@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200825124711.11455-1-nish.malpani25@gmail.com> References: <20200825124711.11455-1-nish.malpani25@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Append 'interrupts' as a required property and provide a suitable example for using a GPIO interrupt line. Signed-off-by: Nishant Malpani --- .../devicetree/bindings/iio/gyroscope/adi,adxrs290.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/gyroscope/adi,adxrs290.yaml b/Documentation/devicetree/bindings/iio/gyroscope/adi,adxrs290.yaml index 61adb2c2454b..cae593dd1ba7 100644 --- a/Documentation/devicetree/bindings/iio/gyroscope/adi,adxrs290.yaml +++ b/Documentation/devicetree/bindings/iio/gyroscope/adi,adxrs290.yaml @@ -28,17 +28,23 @@ properties: spi-cpha: true + interrupts: + maxItems: 1 + required: - compatible - reg - spi-max-frequency - spi-cpol - spi-cpha + - interrupts additionalProperties: false examples: - | + #include + #include spi { #address-cells = <1>; #size-cells = <0>; @@ -48,6 +54,8 @@ examples: spi-max-frequency = <5000000>; spi-cpol; spi-cpha; + interrupt-parent = <&gpio>; + interrupts = <25 IRQ_TYPE_EDGE_RISING>; }; }; ... -- 2.20.1