Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6232773rwd; Mon, 19 Jun 2023 04:31:39 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6L0oUk7nNJ6n72l2X3EOEYT2AfS+XDRXi39Ml9KSfGXTgk9ER4MfvDZbM/FYr5Ey2a0tWh X-Received: by 2002:a17:902:f7cf:b0:1b3:d27b:32b0 with SMTP id h15-20020a170902f7cf00b001b3d27b32b0mr10131831plw.7.1687174299179; Mon, 19 Jun 2023 04:31:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687174299; cv=none; d=google.com; s=arc-20160816; b=x1S35LxAImKVFunSqGBpgD9BmLZl67jsbk93xgSQPcagJtv+HZnVsVunRSQhwwuY2t m1blFSWDyFVmc7JE0+dEKXHACuKeYWRH5CA6L5a2ZC603JOEEpgTujcLNPxXgP811oCp AGETIhEDKiM3MAq6aUCK1M/sepFlqUGdB3pobWWL8/VqboTcKct/7rEm8PVzwLNGz6G+ 9g38K6676UMeWwC0Be/6yyW1HSGzCh8KoVSJIy+Ag7q65YumHCU4uh1tDb+F8LQ+00dI 54J2ZppuT3NU0DJsZ668AyHq/xsLTlNHrKd3u3ZR9At1Dr2fqlIqG33spJIpQTjq6Zxk 8krA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:in-reply-to:date:subject :cc:to:from:user-agent:references:dkim-signature; bh=xvY+pIKGlvC9vbdsC2zgnhbkr6gQbQo+dI+lcNkse3U=; b=uvReqsUSCQFQ2dwx47qxKhX0B/vwRIJlhiD8KkRIx0cS4XjlmeBazyGqB/XCQVM2s/ 9J+v/+x/ibgNZt2RwMI+36i/X4GeODZ9m3/Ov4fTxspYRpKwotUoaCwMC1NEwlsDwmXt oNXsjiOwnli1lD4Kqp3W0g6XYwnbZfPjK4VzbrhGvnqJPMEXJXGTsD3cvVJ485whzsIG ARuUYkWyUQq0U2jOoziqJD7KuYNWV+XF5rNHFRVFmYUHEqMoKXa/WFTMR9BH5xhl8E1e t6pOXlT14n7mob2nGC91s09AKixYNliy1RFKVCf7Nb4TaPTBN1/tE2Gi5T8cVZNda7c1 ptjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@axis.com header.s=axis-central1 header.b=FG2dtH1D; 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=NONE sp=NONE dis=NONE) header.from=axis.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c7-20020a170902d48700b001b24857d1c4si2232908plg.508.2023.06.19.04.31.26; Mon, 19 Jun 2023 04:31:39 -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 (test mode) header.i=@axis.com header.s=axis-central1 header.b=FG2dtH1D; 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=NONE sp=NONE dis=NONE) header.from=axis.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231359AbjFSLYT (ORCPT + 99 others); Mon, 19 Jun 2023 07:24:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230314AbjFSLYS (ORCPT ); Mon, 19 Jun 2023 07:24:18 -0400 Received: from smtp2.axis.com (smtp2.axis.com [195.60.68.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A14F113; Mon, 19 Jun 2023 04:24:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; q=dns/txt; s=axis-central1; t=1687173853; x=1718709853; h=references:from:to:cc:subject:date:in-reply-to: message-id:mime-version; bh=xvY+pIKGlvC9vbdsC2zgnhbkr6gQbQo+dI+lcNkse3U=; b=FG2dtH1DCASR2LuN2ZFaRPq4IppRjKT3Mz9f4Al40FwAqKGLum/N2mil Fd7bYXDft7C5Q3/pNnky7x67zKaLLm2Dq1oSyngBDGV0vAipc18V3uwC4 DHv0qmY0ex7KRW5ZQixOzdwOxGlENG+oi2yc45KYonwfCmnNJTmklpJQd hA+UV+aWtH9poUmn2l5swk9l81b3cDd9u9Psk55Imy835ofOwAV/hEMcl Sg7E2uV8+l/HbCWUL/pnXg+UVlplcupQKHq+IwKmjJdNRvhCU66MT7eza x6/xYMlecdlq1AY6EqNJHi3bi4RjI792GAEB6e9brjj3/XteZWUHJzyCC g==; References: <9487391b0565434761055b39ba04900bd839580a.1686926857.git.waqarh@axis.com> <20230617135532.328dc3c8@jic23-huawei> User-agent: a.out From: Waqar Hameed To: Jonathan Cameron CC: , Conor Dooley , Lars-Peter Clausen , , , Rob Herring , , Krzysztof Kozlowski , Subject: Re: [PATCH 1/2] dt-bindings: iio: proximity: Add bindings for Murata IRS-D200 Date: Mon, 19 Jun 2023 12:41:06 +0200 In-Reply-To: <20230617135532.328dc3c8@jic23-huawei> Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.0.5.60] X-ClientProxiedBy: se-mail01w.axis.com (10.20.40.7) To se-mail01w.axis.com (10.20.40.7) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, 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 On Sat, Jun 17, 2023 at 13:55 +0100 Jonathan Cameron wrote: > On Fri, 16 Jun 2023 17:10:42 +0200 > Waqar Hameed wrote: > >> Murata IRS-D200 is a PIR sensor for human detection. It uses the I2C bus >> for communication with interrupt support. Add devicetree bindings >> requiring the compatible string, I2C slave address (reg) and interrupts. >> >> Signed-off-by: Waqar Hameed > > This device will have some power supplies, so I'd expect those to be both > listed and marked as required (maybe some are optional?) Right, will add that here (and call `devm_regulator_get_enable()` in driver's probe). [...] >> +required: >> + - compatible >> + - reg >> + - interrupts > > If it is possible to remove interrupts from requires - and hence have > at least a partly functional driver doing basic reading of the sensor > then that is usually a good idea. Far too many board designers seem > to decide that they don't need to wire up interrupt lines. > > If it's really hard then don't worry too much. I see. It would be possible, but would also require some work. Let's leave it for now then?