From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.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 C152427B325 for ; Sat, 20 Sep 2025 21:44:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758404652; cv=none; b=gzBg0uSIdD8gAAE/iugex0jeH/sWwJ3GK5leQMeU1H+JGHUd8swQdy9l5s8NtqHAsjaHmbG9uRjXQhCGV3977Io2CKRnDmKfnmlywVLH4vxFmM7EnaavGIMM9YOhnl84jju5qIYr1QY+TSkIN01Xid1lIwBofITTs5BHVUvXx+M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758404652; c=relaxed/simple; bh=DVCcp2q5VKcd7KC9g3EJSBxxRQgEDpwWkfmRLnIh1Xk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=pCFRKmHSGQkBcsogHv430SsjTgLHjLxQh5/aVFgUfKiOPR7Roq+jd+k0ywAG/IQxZ1a16kTjd1gQaIWQyBhc0s/ee/Ga+rj6eUhw5qXm26aKyVY4m2LdRKoxOKz+ftZV96hGlSG5G4jiyyXCguVTS9/E4TWKqJYHx58ljcyWD/I= 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=JGCB6x6m; arc=none smtp.client-ip=209.85.214.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="JGCB6x6m" Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-26685d63201so30490065ad.0 for ; Sat, 20 Sep 2025 14:44:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1758404650; x=1759009450; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=/XaK3Ga5I4OskdvUpK/KRvj93+5lScsBFICoRwq2vUw=; b=JGCB6x6mP5ozvGnpZuiO6YO8WAsnhGdkS9KRxIH7POkfsJWk5CaOfkPNjZBn3O0XEx pKPPFuqlsQgeKTF1hdV7pMDq7KQCjytDu4LvIz/6/ULoBqtmvaPDJO4RonWCR83c0Q+7 vIhdj8tAT8DEmV3ewr4TV16zU0s8glyt9e3NxNkSR8kA+tk+LCY280X+XpuSvT6gmvbt qK0SO84rHCxd0DB7KyykFpXgdZil341JV7mnp9GtFu1QtGgdDkV4Uh03bqJprT66H7rn 1Jhp+EZPomENlrqzed0ABy6MSgX/szhR4Ajw7uKKMZsxWG6K2+1TE/cneO98Xg6w+TBu Pwjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758404650; x=1759009450; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=/XaK3Ga5I4OskdvUpK/KRvj93+5lScsBFICoRwq2vUw=; b=l5g0fJxPzaC+IJDSpqkJPIFOLwYU8WvsFy1saQoePvRIC8f9S84utpNHg7sTWy0sWC MJxHWDqxo43Yrk6HJfFWlq/D/qNcIHYYarzmC5eFhlRQlAND4hMWgClcQqoZPsfVy45r 1Oxf7ZrQeB6EvXTpcILIF9H7+IdzXYBPm67ioyW4JNPJCrWv/nmkWyORFqpZbL0BQTA9 qnbYk6n5bHUR6ptqZRPPrpHSJqvyb2Bf29bEkpXIl09KA4v87rfN4sWsuP0lvHw9oP0V PRJ1zVRsKmx2X20ZATKUhtqEhAh/vt4i4euGbTRbi3cuc5G70OAmYXwqkgyTZ3d0+2k2 s6yg== X-Forwarded-Encrypted: i=1; AJvYcCWUVN+nSrvFIE/CM7FHCo3Z2eOY2r7S+2NqrLWWR9QB6169nFxIBRvtDxCWNEL093LzscuyE7p1+NFDVnI=@vger.kernel.org X-Gm-Message-State: AOJu0Yz6qBe1dXioWn9wO5ITfgrTDMKzr0wdge/PL+sUbPMlGYBTlLtZ wgPcy0VyZuTGyitUI6DklbCb024+nBuqhYQTiRNvzIpg3BO8Knk0rlip X-Gm-Gg: ASbGncvc2Pu7OlbRnMyacoCfGSfoKznj9aUSbpV3FfFYiGLsf5+WrwfUMmcxx+i1UG4 nYKy8Oy+4hJQ6JLZpk+CX1NhNn6HUrqOcS2/5hcqDvOsrMLrsumnwlx3tpNu1m/YuTr0KINT+hB aryfsAwLXdmYEM3+8yyk+MewSe8SdIKUof7Wbg9zxRDHYw1UTAmHzGF/gKtd//UApxTX30grfKI ifG1i4YgUrmEI3HDAf0LSbSHbHmytyPgW15Iwtp8zpTf/j5jyYd5LfnXM7cJ5PWYuo5GaOY9QuU QGQ9aHiZcdXe3eY6+GAvdjuUSq+ednUyyha47a6chNYFNGqvfirhIWTc9pqRyUfIiHqDMWRokP1 7dhdqDNapy9bhBZTIll7zioHtlM4VqDo= X-Google-Smtp-Source: AGHT+IGstBVeN4BQ2EHAw6pn8u8U0MiwUr1OFBQKcuOmxzx9i3nxQXrFoOaA2+s/lnUkyZn6bVvZmQ== X-Received: by 2002:a17:903:2284:b0:269:9adf:839 with SMTP id d9443c01a7336-269ba427cb8mr100761545ad.19.1758404649948; Sat, 20 Sep 2025 14:44:09 -0700 (PDT) Received: from localhost ([2804:30c:b65:6a00:ceaa:2ed0:e81e:8f51]) by smtp.gmail.com with UTF8SMTPSA id 98e67ed59e1d1-330606509e9sm9225974a91.9.2025.09.20.14.44.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Sep 2025 14:44:08 -0700 (PDT) Date: Sat, 20 Sep 2025 18:44:52 -0300 From: Marcelo Schmitt To: Conor Dooley Cc: David Lechner , Marilene Andrade Garcia , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Kim Seer Paller , Lars-Peter Clausen , Michael Hennerich , Jonathan Cameron , Nuno =?iso-8859-1?Q?S=E1?= , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Marcelo Schmitt , Ceclan Dumitru , Jonathan Santos , Dragos Bogdan Subject: Re: [PATCH v11 1/3] dt-bindings: iio: adc: add max14001 Message-ID: References: <30f33a64da0339eccc1474406afb2b1d02a0cd6b.1757971454.git.marilene.agarcia@gmail.com> <8e88b601-1329-4cdb-bbd7-feb998c552e8@baylibre.com> <20250916-alto-vaseline-f8dafbab03e9@spud> 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=us-ascii Content-Disposition: inline In-Reply-To: <20250916-alto-vaseline-f8dafbab03e9@spud> ... > > > > + interrupts: > > > + minItems: 1 > > > + items: > > > + - description: | > > > + Asserts high when ADC readings exceed the upper threshold and low > > > + when below the lower threshold. Must be connected to the COUT pin. > > > + - description: | > > > + Alert output that asserts low during a number of different error > > > + conditions. The interrupt source must be attached to FAULT pin. > > These descriptions read wrong to me. They __are__ the COUT and FAULT > pins, given what David responded to above, not something that can be > connected to these pins (if they were, they would be represented as > -gpios rather than interrupts most likely). Unless you mean that these > pins can have some other use and are only available on the COUT/FAULT > pins when some register value is set - but even in that case saying > "must be" doesn't fit since the interrupt property could be used to > configure the device accordingly. COUT and FAULT are just two pins on the ADC chip that can be used to generate interrupts. Would a description like the one below sound better? interrupts: minItems: 1 items: - description: | cout: Comparator output signal that asserts high when ADC readings exceed the upper threshold and low when readings fall below the lower threshold. - description: | fault: When fault reporting is enabled, the FAULT pin is asserted low whenever one of the monitored fault conditions occurs. Best regards, Marcelo