Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6233279rwd; Mon, 19 Jun 2023 04:32:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7C0PVG/BTiR6yekncVV1igc/YjZZYbY4u6PNnwAI0dJypEPfj11f2h4SRxoCnKVJQ2D5qL X-Received: by 2002:a05:6358:9f88:b0:130:e3dd:a8f3 with SMTP id fy8-20020a0563589f8800b00130e3dda8f3mr1173840rwb.24.1687174326463; Mon, 19 Jun 2023 04:32:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687174326; cv=none; d=google.com; s=arc-20160816; b=iBCWlSfv8sHbDhbWrg93lT8G5jAywqhcexHuWZHQ3P8YbXgPBuBctKvDiOE/wT2Acw tyAufYqGUSGPzAwSskiBeOv703IYixGnFhwuJI0f84cH/zcw80T9eM1ATnvWHgeGpqDw c0lioS+tfzeWdiNIIIKWaQFntpNWWY6iLXLvI/aMwV210HGZbrxnrZNM+L8zOp/a0xpG +V3ZHp4a9cuYCANyWfMJqBqIBwTq4aNrt/Zae9gc+uRXtZ2y4g9TNMuxaBRfhtq64mu9 e0UlZQ/yJWndBcfEhDTAFhMT6QVxrK+tsxsw6u7p0E1+OMZpoZql+OjtaM+cRRgFpBBe hPYg== 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=OewUY+h+NqSunDCbp/3i5bjZFxCaSZWPGqN3nwT0Q/g=; b=kWV8QvBa9N1QsNaEwI+3gum0Z2yZ77PR8/DK6fWPBqhG9n3ivoJP6FVZOfkWLVYtRq 9NES/yjWi6cASOyZc9OfiCFAUwc31gP/3S5b/9l1UOPY2aWNIHicPeqstxm/V75imIyR nscroZmetxMjsGUPA+OkukD8/Vo24NhlLL6ndlrmcTRwK1ACuxJpzyy0yftRt9U/xGe3 D5Dw0gb7R+isuT+nZ5hbPsEZ7lvLwW2iSBvpJKiq+8YR4lB1wU7SYHDbob17HGoVfJEc a/qmyvG2jtaLbYAwAW4v+lgAV7rCpS+38T143gSubG7yhNYl1C1SsUJMBZGwgVMZUf6w mD/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@axis.com header.s=axis-central1 header.b=cR+uB2fv; 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 t7-20020a63b247000000b0054ff3c3babcsi9314332pgo.785.2023.06.19.04.31.54; Mon, 19 Jun 2023 04:32:06 -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=cR+uB2fv; 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 S230039AbjFSLX4 (ORCPT + 99 others); Mon, 19 Jun 2023 07:23:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229471AbjFSLXy (ORCPT ); Mon, 19 Jun 2023 07:23:54 -0400 Received: from smtp1.axis.com (smtp1.axis.com [195.60.68.17]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFD2BB1; Mon, 19 Jun 2023 04:23:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; q=dns/txt; s=axis-central1; t=1687173832; x=1718709832; h=references:from:to:cc:subject:date:in-reply-to: message-id:mime-version; bh=OewUY+h+NqSunDCbp/3i5bjZFxCaSZWPGqN3nwT0Q/g=; b=cR+uB2fvb/Kezbw6T2inPYB3A6Qa+dyTWOgiDqgFGz4pd5NNMfB6Or3s /u6nXsSveoFZf9i6efS0cU8fEvR06AcrULWKW23K/swW+BZZmVe3zi5Pp UWwT70l0KpwggSEAA2+N5eayfCe7v5vXqKYyZBU3Wuz2ibYFa4zOv0+p7 CezQbUGaUXesdZGzAKW9z8jLesOTkkTIfvJdR5v3zHGmsE5gIfe3o4a5b Pw2MVbrrk1GUEwETQfu0tlTUfe/D7BEH77V8w1hrYcn/R1PjCI9DF2+HQ Kx1NM0KdPmERdaMMPmuibePtJictxE37KU+HA8eTbUt9mbukXkelSwZzp g==; References: <9487391b0565434761055b39ba04900bd839580a.1686926857.git.waqarh@axis.com> <07a6766e-7e2b-22fa-6f20-3a8ab7019635@linaro.org> User-agent: a.out From: Waqar Hameed To: Krzysztof Kozlowski CC: Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , , , , Subject: Re: [PATCH 1/2] dt-bindings: iio: proximity: Add bindings for Murata IRS-D200 Date: Mon, 19 Jun 2023 12:40:39 +0200 In-Reply-To: <07a6766e-7e2b-22fa-6f20-3a8ab7019635@linaro.org> 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 10:55 +0200 Krzysztof Kozlowski wrote: > On 16/06/2023 17:10, 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. > > Thank you for your patch. There is something to discuss/improve. I have > actually only remark about DTS example, but since I expect resend two > more nits as well. > > > A nit, subject: drop second/last, redundant "bindings for". The > "dt-bindings" prefix is already stating that these are bindings. Alright, will change to "dt-bindings: iio: proximity: Add Murata IRS-D200". [...] >> +maintainers: >> + - Waqar Hameed >> + >> +description: | > > Nit, do not need '|' unless you need to preserve formatting. Yes, will remove (a remnant from previous version that had multiple lines... Sorry!). [...] >> +examples: >> + - | >> + #include >> + >> + i2c { >> + #address-cells = <1>; >> + #size-cells = <0>; >> + >> + pir@48 { > > Node names should be generic. See also explanation and list of examples > in DT specification: > https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation > > so I guess: proximity@? On that list there is "temperature-sensor". Would it make sense then to call it "proximity-sensor"?