Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp373463rdg; Tue, 10 Oct 2023 12:51:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG3V9lfA+gFBqwCuvM/OEzkiFwDkx9PPEGpfCcfndY3BwPHmNRvXGNfOQ2KN4KKjWnelidr X-Received: by 2002:a05:6808:1441:b0:3af:583d:3c5d with SMTP id x1-20020a056808144100b003af583d3c5dmr25365321oiv.52.1696967509257; Tue, 10 Oct 2023 12:51:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696967509; cv=none; d=google.com; s=arc-20160816; b=Pa1IfQUbpXN9bxcLicyP84zcPRDo1R8NeNwfwhHWZ0uf3YV60KH8maU6RRiyOICH4+ 4p982PIn5TTDtmrKIGQ2/nOjlj0vvytatdYNhHzDx55j7/FDGkRnj4OTcjpbVn2QzyVn R/dIQuw0KyCUlc2XfQoD90RQMJUwcIHedEaVusC4Ik53OszM2CRi8R9fxhV1MolzEHpW Y8PDHxmvqnXFZ44lN0z0gERQEsPZEzcbwdIEyPf73ENnrsk3BpjYylB+6RLqkRXqkPuc oHktrHbKgEvQiwAi+TXYu3xpuXDoauMtwlUi5XujjVP6cfrbajJMCdesKihECeYDYPBY wIrQ== 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=0t/gb0HX/wguZBehJ5edd61GQW9F6FisjpeCFW72vEs=; fh=z2Gzc8RzybWbenX/dbHZ2oZmmNLcdmTAwqgijKH2cLc=; b=J7XRvNKBACNGr5fdA2d6x7fc6Tn1Ciu9ga0n/TskPOam6zoZHNDODIiwylRYuqdbAh HnUtUICgsO38Q6NTBeZP0rCFXJ2p8Usl3SX6F6FRThUK3/HVvAOlgASEs5g564+XW/dP /Wn7vd/fLK0wvfKtCsVWTOZAqB+l/16P+JhcFx2rMK3P5/X7mQISOcc+34OD2nYfzxri xFNVOku5OyUB7PUs68+/GvvM3IjkZPtJCnFbebgD0H2JvsZaRP5aUiSOKsZC28G4ovPE l/bYGfIdsbxTidgmKC6kNrA/Zp3mQlbBmSxUpYx5KKKXmR74V0P5bymoghHb16VQzk/v ok0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=D5XtSMeX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id l186-20020a6388c3000000b005775e17f552si12671486pgd.249.2023.10.10.12.51.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 12:51:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=D5XtSMeX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (Postfix) with ESMTP id 0129F8221104; Tue, 10 Oct 2023 12:51:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343602AbjJJTvb (ORCPT + 99 others); Tue, 10 Oct 2023 15:51:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234064AbjJJTvb (ORCPT ); Tue, 10 Oct 2023 15:51:31 -0400 Received: from mail-yw1-x112b.google.com (mail-yw1-x112b.google.com [IPv6:2607:f8b0:4864:20::112b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3070B94 for ; Tue, 10 Oct 2023 12:51:30 -0700 (PDT) Received: by mail-yw1-x112b.google.com with SMTP id 00721157ae682-5a7be61fe74so14460897b3.2 for ; Tue, 10 Oct 2023 12:51:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696967489; x=1697572289; 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=0t/gb0HX/wguZBehJ5edd61GQW9F6FisjpeCFW72vEs=; b=D5XtSMeXbmeae1DUwD0ohuJzaEE1w/skR4ngNwV2PfvtZL5hnVBR90UKzxAiQZ988e sj1D9LpxikgFTp7OMDGxcVM/b3Ku7oXMv8xfErTqX85QIq3ZfPeOZzt2N0cXFY1OdXK7 6GVSLQ9esRI2tHfwoWLxKW0qTHua+dcy5ILVNr3ClO23oxDxhjG/OlpyU+RbMPJFwt9a +XJKxRV4ytVviTilxX66QQJdO9ikggHyH6xHloWKH6DZ4KBMNrPifZbwQEvY49iIInEs Wywllt/DmCGBZLGHLk/SppXOElDSUxXQfXepPBVUZbMBNZMLbb0jUmwnU0mwcMP41XxG qlNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696967489; x=1697572289; 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=0t/gb0HX/wguZBehJ5edd61GQW9F6FisjpeCFW72vEs=; b=CUK6FUrSjc36/uXXNOS2mtILKFCvqLW5IvUmGBvNuSwF4M8Y5ZodLHiwKZV4ZwPS60 z74WD1KNEY2PySkD3QahDFQt9aWPGLTISeA57xiW5bxZECqjrOjQHnydLDkVsTZy2w0x AOQvpkDCxm6ATP+HI+PIWh14iGcx2btbSCST81p9tAvwEItnYAbqznkrhqdRu40GCj6s LfcU79SnzuOS7fChACjWkw1eHXIKW4cVCzUt5Cw/uyDmodACvXYHweTnaOOOFonXK+LL wH+1eHkQ3rzB8Ra6kcu44Khd1edwHcJgdoZVn4pKHYpL3f74y5dkO2EWs3AFMngOqwmU nJqw== X-Gm-Message-State: AOJu0YyufbMKdtzKlD4GMKAP2YSE3/BrvnlIpSil19dDtiH5ZS3O0j8q B8POgZEsET7Qea+/EMHgFDKIDnllrkmSnYVj5wD4Mg== X-Received: by 2002:a81:b40c:0:b0:592:2a17:9d88 with SMTP id h12-20020a81b40c000000b005922a179d88mr21125891ywi.47.1696967489365; Tue, 10 Oct 2023 12:51: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> <20231010154216.6032a1c2@jic23-huawei> In-Reply-To: <20231010154216.6032a1c2@jic23-huawei> From: Linus Walleij Date: Tue, 10 Oct 2023 21:51:17 +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 morse.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 (morse.vger.email [0.0.0.0]); Tue, 10 Oct 2023 12:51:47 -0700 (PDT) X-Spam-Level: ** On Tue, Oct 10, 2023 at 4:42=E2=80=AFPM Jonathan Cameron = wrote: > We kind of lost the question along the way. Wasn't so much about whether > there was a generic binding but more about whether it is worth providing > separate controls for the two IRQ pins? Or just assume no one is crazy > enough to play that level of mix and match. Ugh no, that's upfront design for a nonexistent use case. - First, to even consider open drain the designer need to be really short of IRQ lines/rails, and, despite knowing it's a bad idea, decide to share this line between several peripherals, even though it will require I2C traffic to just determine which one even fired the IRQ. - Second, be interested in using two IRQs to distinguish between different events? When we just faced the situation that we had too few IRQ lines so we need to start sharing them with open drain...? It's not gonna happen. Stay with just drive-open-drain; and configure them all as that if that property is set. Yours, Linus Walleij