From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dy1-f175.google.com (mail-dy1-f175.google.com [74.125.82.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 988CE47043A for ; Mon, 12 Oct 2026 22:03:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791842601; cv=none; b=AN77UEuL03h4X2B8AFfm0aAAZ/RWxk+EF3CDpGMeyXzuVXOiydYVvZolbl8xIP228ig8hgAUpOgHO3c/lySWie2IWjPZbDw0WWEGXVtUN2zOoqGFDvdVNFvX0yrKWkc6Ip7L1mbEshTI8oiyX7nZgNfOEHjR6F4dB1lhQvQTX3Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791842601; c=relaxed/simple; bh=ccgkcMBRb8nQz4mhj6wRp6JfLsMEvJb70e/Z6xow5TU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=VqhYZR+/08jcGU/1ezbdlHWO9/Wot45AQq2aTE82c4hcGGUKgYfD4AW/rarRehphZBLCZs7GgVjxdSihtJZvPWPEyiVA6ytl+NGktrgT/iXaxA6mroP6lwvzID36ByTuqzG4hOPGRGu5aAbNHKhE7nxQwyKQvK+BggvJeObhS3s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=VFtjTjSP; arc=none smtp.client-ip=74.125.82.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="VFtjTjSP" Received: by mail-dy1-f175.google.com with SMTP id 5a478bee46e88-353804b591eso3918079eec.0 for ; Mon, 12 Oct 2026 15:03:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1791842600; x=1792447400; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:message-id:subject:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to:content-type; bh=NJs555dn0Hiily+4pUme4Llz0sW3A4Uyn/JQ8PM2fk0=; b=VFtjTjSP7l5j2UcUmy2yqHKzg8gTccWrP0jJemfQwFfn06TW4iyHY5WMXmn7P+AIJk kUNE7hgjFnseNrDmb8lgxKixeJYIHpWkQYbsAP1AdG+xq+otdvPIjfSi9RymNG4pT3R9 8Cx3HuYUlzgpmenu8TGnfNRYAB+Zuc2kWxKvtd9vYpgzsg8ijLqtc87EMQqqte8ARNpL PQpXsD2pW2OZyOGQIGW6MP8I2gE5w9mSWG/iHACrR0NFvV589dijuQ+1Gv+Bb+bHZgJT b6OAZRyIqIRPHcPZiKm69rw9uOoub5GHceZGvLHxs4NDYs2j0fDgjZ8ZPkD7a6pWSwct VIiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1791842600; x=1792447400; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:message-id:subject:cc:to:from :date:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to:content-type; bh=NJs555dn0Hiily+4pUme4Llz0sW3A4Uyn/JQ8PM2fk0=; b=ZJZi7wMfewjFZjUP52IML/eHQQ+hoMINUt7uJihOL5rNv4PJZxpnGBKkus+3r9TtRi 1K9ugwgKmRWQ2Atk2l6kULw68YjgzWE3xshlqkXwyb17CwvXL+E16XEUtd5XGsS6EsLf 0MUd1ytQCnMlwPDoNG50iXS71w6DDOvsGKUYJFTfS9xVpsoQ6TW6bUfZjOcvbGXb2gra 5XZwp/HgRqTNKiPNzyG21bRu4jcX9ivm0UqF5mWcX3B1tZ6m4oVSQfpxOUje2rkDHc57 o4Vwp94X0w9IdcDWjGxwfCythlYrs5O47/pSxW4UWccWkEuvs8sIUVl1mSeQCfEm72Ox ntTg== X-Forwarded-Encrypted: i=1; AKwUvBzo8m/EAY0gGCXFN8AgGojev1MH6XU9nBOd2DwZDiwcO9nk5dsjgxeMoBR5DEpGTzLvTbj0mscRgn0zsQ4=@vger.kernel.org X-Gm-Message-State: AFq9FYJoj3gdysMjerkETzu3Z/peOMpwuwVin/2VFbVOWxmPfK7pmh6F QSY1MzYmw/hzhAhoMQ3qIKLwpiVyRGWZ4iJRTwE8ADmIJMnBXNkQvVRO X-Gm-Gg: AYBFou3EGJvia00/1jIljuv+X8r891F4D7bfA7AI3tRRANH9YnjOakb2VTpgKGSStL9 BNp9QwLUYgkM626A1z96Zu8BVvRsljIbFp7dd+DbnP8OsSVIexkc3eksRedANDbb1QA2qjpgoyV 01npGX40mDhItI1R+nqssZu0BcBVkjiy2ArwXanrQlEgm03QGeE+QcSPhc6SdvfrgsG+an3N6K5 OBt/psz/f5vMcZyveQccrQD3gpgt6IhMyFKAjUyJ5pM3mjtt3T555Igrced/2SZt0YNdop1x8mQ P3tJiJM3iM35F3JbHN1grBN1EUTVUs/4UU29cA3/IOVqAi59BeOM5aYlBjNX6dkRAiw8rqqgvIS GjP7znF8p+GGRErKHsnoZtM0Z5AIEt3OQ4SrNstJO5bMSsZjV42bVJWwbW4nmWwGW12j9Y0pRHI WjSB3sg9ue0M2+CtV/xAL6OY/WTMEoXPZNtt+X0VnH3S9ZiaqnUvXlCQ5Dl1bV7kMPXPv3itmvb FW75w== X-Received: by 2002:a05:701b:42c5:20b0:151:2e62:fe4b with SMTP id a92af1059eb24-16a5c8d48ecmr14556937c88.23.1791842599340; Mon, 12 Oct 2026 15:03:19 -0700 (PDT) Received: from localhost ([2804:30c:96c:bf00:7844:c38c:894:4054]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-169a2d2db98sm31002276c88.10.2026.10.12.15.03.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Oct 2026 15:03:18 -0700 (PDT) Date: Mon, 12 Oct 2026 19:03:40 -0300 From: Marcelo Schmitt To: Krzysztof Kozlowski Cc: Kanak Shilledar , "andy@kernel.org" , "robh@kernel.org" , Kernel , "macromorgan@hotmail.com" , "linux-kernel@vger.kernel.org" , "conor+dt@kernel.org" , "joshua.crofts1@gmail.com" , "devicetree@vger.kernel.org" , "jean-baptiste.maneyrol@tdk.com" , "dlechner@baylibre.com" , "nuno.sa@analog.com" , "krzk+dt@kernel.org" , "jic23@kernel.org" , Henrik Grimler , "linux-iio@vger.kernel.org" Subject: Re: [PATCH v6 1/6] dt-bindings: iio: imu: icm42600: Add ICM-42670-P Message-ID: References: <20261009-b4-inv_icm42370p-v6-0-e53884f185ff@axis.com> <20261009-b4-inv_icm42370p-v6-1-e53884f185ff@axis.com> <20261012-adventurous-corgi-of-fury-01219b@quoll> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Hi Krzysztof, On 10/12, Krzysztof Kozlowski wrote: > On 12/10/2026 12:43, Kanak Shilledar wrote: > > Hi Krzystztof, > > > > On Mon, 2026-10-12 at 10:58 +0200, Krzysztof Kozlowski wrote: > >> On Fri, Oct 09, 2026 at 04:12:06PM +0200, Kanak Shilledar wrote: > >>>    It has a configurable host interface that supports I3C, I2C and > >>> SPI serial > >>> -  communication, features a 2kB FIFO and 2 programmable interrupts > >>> with > >>> +  communication, features up to 2.25kB FIFO and 2 programmable > >>> interrupts with > >>>    ultra-low-power wake-on-motion support to minimize system power > >>> consumption. > >>>   > >>>    Other industry-leading features include InvenSense on-chip APEX > >>> Motion > >>> @@ -28,6 +29,7 @@ properties: > >>>    compatible: > >>>      oneOf: > >>>        - enum: > >>> +          - invensense,icm42370p > >>>            - invensense,icm42600 > >>>            - invensense,icm42602 > >>>            - invensense,icm42605 > >> > >> Why aren't the interrupts required? > > > > The interrupts are only required if using the device is used in > > buffered mode. Which will be added later and the dt-binding will be > > updated when the buffer support is added. Currently, the device works > > without any interrupts. > > > > That's misleading or confusing. Either the device works or does not > without interrupt hooked up. Consult hardware datasheet if in doubts. > > Driver support is different thing here and you cannot make it required > later, because that would be unjustified ABI break. I looked into icm42605 data sheet and saw no clear statement about the interrupts being required. The timing diagrams only show protocol specific lines and it looks like the interrupt sources can even be disabled (not routed out to any interrupt pin). Maybe I'm missing something and the interrupts are required for some sort of reset function or so? Otherwise, I don't see how the interrupts are required. Kanak, do you have access to any of those other chips to test whether they work without interrupts? If possible, can you also check the data sheets for the other parts besides icm42370p and icm42605? Maybe - if: properties: compatible: contains: enum: - invensense,icm42600 - invensense,icm42602 - invensense,icm42605 - invensense,icm42622 - invensense,icm42631 - invensense,icm42686 - invensense,icm42688 then: required: - interrupts was a documentation mistake? With best regards, Marcelo