Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp2381744rdb; Tue, 10 Oct 2023 02:07:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGsqBJ72dQCZclBiM2C79hhsEgJdkGvd53MR6R3ivdzQ2/6bH803MwVbyPD5N9R+fPrn2O6 X-Received: by 2002:a05:6e02:16c6:b0:34f:6d6c:79bd with SMTP id 6-20020a056e0216c600b0034f6d6c79bdmr20132043ilx.28.1696928844726; Tue, 10 Oct 2023 02:07:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696928844; cv=none; d=google.com; s=arc-20160816; b=iQmA1NCNnU4og0mJxOnr6rVPqJA67xNoiP97BgUhE2xyXtYoN2yiZbJDnUSBtSD8/h GFzVhpVXwR6rW9qeWLPRK9rW8188kslG2rLPLewboQYjlt2QAGU0eWcGAfDKJTx/lSK4 sSSANfsnSh8qsqbMtrwc9vRuwY5L41tLU+yPqAGdHuq4iePBkLyiUcPlmdD6BZFCpNJk dFHH0OAwg0khtsAqplZUOecksNiOvhPZkSL3qV8+I4JaUJ787meVtba5HM5HOBlY3BKP vTaIqe7O6LjxSCfUziiaq0G6mDbFMpzHGSYbH2Y6cPZrANPiBafhWHRGMrnnPc8j203k 0gVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=fQlK5iZ1kMr7qlK2HcfibQa/huVAuMoMy3NGT8PTdgA=; fh=z2Gzc8RzybWbenX/dbHZ2oZmmNLcdmTAwqgijKH2cLc=; b=s3poXThrJMGUB76vCgdzuGAeGQGsAo/mKKKOWipW35JWI79ClPQqpqu4U3l+pn6CNR LvdC9tD5EdmZ0O7u+FHNkKNwB4TdNlhPwou1ZBAggTpnleg56H5Z5oP8cnpSjRoDZGXH 4bIe+3wZDxhjjayWjbHjtaxfuW45RW71hejbWdW/TpU9ilmP3+bXQmRuu5IeCMETb4t3 1W4zErrMH30K65zY4l+JeQPhwu8D/YnZgPU4WCcBccm9d6TB5Xuv2ZShRERkSVbw5qC/ PRmGMsK+0snzViWMWZJKNPW8y+V0Pk7HVTmHn7lrGIXK3Y2mzWfn/K4uk1KC+RfxRt0f KDog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nrfdbGBF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id n21-20020a638f15000000b00578dfa34d95si11819439pgd.574.2023.10.10.02.07.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 02:07:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nrfdbGBF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id B46BF803098C; Tue, 10 Oct 2023 02:07:06 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229775AbjJJJG4 (ORCPT + 99 others); Tue, 10 Oct 2023 05:06:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229993AbjJJJGn (ORCPT ); Tue, 10 Oct 2023 05:06:43 -0400 Received: from mail-yw1-x112a.google.com (mail-yw1-x112a.google.com [IPv6:2607:f8b0:4864:20::112a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D62A4112 for ; Tue, 10 Oct 2023 02:06:30 -0700 (PDT) Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-5a7bbcc099fso7736857b3.3 for ; Tue, 10 Oct 2023 02:06:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696928790; x=1697533590; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=fQlK5iZ1kMr7qlK2HcfibQa/huVAuMoMy3NGT8PTdgA=; b=nrfdbGBF691pPbC65Jvl7Omxzcr4BmueAGhbLpRgAeqHhtOtl+nt0+JFWGYnUeYS/v fG+lNOzUTERUMWlnzUjluSomckfL7AptYBRCASGqAHpe82//ulC/NpwrwnIoUMl0TApY 8PfxFp/5Fr4hr6q3JhivWPTo/7ICz65pKwYsvvaemEG1G5nHGDOeuHoBS3RVHPkbZCBF bMNPQQP5RTDZs+kFCIn+DLWKimvSZjK+Qo3qqVJONQPvp48uKO3XJe7SED/KZE49s4wV /kyMkfQC6aga8npPUNy3RFppSfED8TMN6B0dtX12mHXmPiUaRoCHq/wwF5yM4OkPVLDp 6g9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696928790; x=1697533590; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fQlK5iZ1kMr7qlK2HcfibQa/huVAuMoMy3NGT8PTdgA=; b=jr7F033m5WKzmItVX+VeQJkPyAHVIdwrY8+6LnCm8SW5zxdWkRoyesjZ205bYNsPAP 9L27Jdn9j66V50DDw863VnofToeO1QMzzkeS0uZrq4j5e0crxS4H3hQjX9Oea6EDiRdE 78RZXtdubwWZYTkFEeU8N77Xvh5AL3bG1TK1TVZK0BNs+VHNZL3wMR9qkkyC7Vsdck4t IixSSwFVJkiTAetZDMA6ux6TXnIy/MTwfUgGD5XtP5rC+gogkHU/W47akP0oX6yeLo5G oXk6qpZveQekzGdgTOJi+jpRPWnHaXW/uKEX+bao8DSWKVwRpfTnKIgZIve0vLtSgyq1 IaqQ== X-Gm-Message-State: AOJu0YxlAEncm43u/I+4S7cU9XcGha3yodBZKWncx1CXDf5gLLRGnBpr HmcINZwKtNU8349pJJQC51gsZiBIzx36RXT2SGQWgw== X-Received: by 2002:a81:9149:0:b0:5a7:b8d4:60e1 with SMTP id i70-20020a819149000000b005a7b8d460e1mr2276265ywg.9.1696928789974; Tue, 10 Oct 2023 02:06:29 -0700 (PDT) MIME-Version: 1.0 References: <20230918080314.11959-1-jagathjog1996@gmail.com> <20230918080314.11959-2-jagathjog1996@gmail.com> <20230924143710.7c6edc4a@jic23-huawei> <20230930170530.0b8f185c@jic23-huawei> <20231010100002.0163d681@jic23-huawei> In-Reply-To: <20231010100002.0163d681@jic23-huawei> From: Linus Walleij Date: Tue, 10 Oct 2023 11:06:18 +0200 Message-ID: Subject: Re: [RFC 1/2] dt-bindings: iio: imu: Add DT binding doc for BMI323 To: Jonathan Cameron Cc: Jagath Jog J , andriy.shevchenko@linux.intel.com, lars@metafoo.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 10 Oct 2023 02:07:06 -0700 (PDT) X-Spam-Level: ** On Tue, Oct 10, 2023 at 10:59=E2=80=AFAM Jonathan Cameron wrote: > Jagath Jog J wrote: > > Regarding your earlier suggestion to have two different controls for > > drive-open-drain, do I need to define sensor-specific drive controls > > in bindings for both interrupt pins? > > for ex: bosch,irq{1,2}-open-drain > > Hmm. We do have precedence for a single control e.g. > nxp,fxls8962af.yaml as drive-open-drain. So perhaps just go with that > and if anyone is needs different values we can figure it out later. > pin control (which is where that binding item comes from) seems to have > examples doing much the same. Sets of pins with a single drive-open-drai= n > entry. > > Linus, any comments on this as you've dealt with far more similar cases > than me! Also st,st-sensors use drive-open-drain. And that in turn is used because the pin control subsystem use that exact property. (See Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml) So use that. (I'm so happy to be able to provide a definitive answer for once!) Yours, Linus Walleij