Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp913204ybl; Fri, 30 Aug 2019 08:58:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqywSyIDLzeX2C9snBpFkz7Flc4R78DR/g0lmvyKkD+//nLoBm3yY9Ea61qHT2jEd1UwKvxx X-Received: by 2002:a65:41c6:: with SMTP id b6mr13505122pgq.269.1567180684075; Fri, 30 Aug 2019 08:58:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567180684; cv=none; d=google.com; s=arc-20160816; b=cqG6HeY4acd8HvSjdOL442SAgeRNzZKZc7wwVCTzrMSbeByfFKz6EKhjlzF44CMzzD 0+9rVjqjm+DOpzSiAM9NOyqrtAKIhvBXX1dfjQSyXPJGFKtf/ltfSv5bAXD/JWdAUPjO AH0sNuq6PSroHTnmf3GiBPicviZDvLXuwnw3BukSpIesyj/Ikb1P1q5vwywOgeTeuswA n4rpTX4aQAiv2l/n5SLidPBLtxNN3TD4qF9jRxbyHkMcPmvX1GclmZ3hl4Z6Gc/BzoR4 dqvUJd0WeVJnNfc+lbiaBAe2YMmjEJxRUB6WjpbXUczW36/5ioBATXLiq8SJI2XLCPZu 07bQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:user-agent:from:to:subject:cc :references:in-reply-to:content-transfer-encoding:mime-version :message-id:dkim-signature; bh=k6Dxd85KwIwNu5WFF2tT64CAPd/DYpSO5fdfBDFg7GU=; b=H4T10yuT9xS+b7fFztfEkBiHS7y0ZJYWDdrrN/XeCzrzx8aqWDkG6cfrFT3JwJBZN8 eVApF74Vh8m1fwZemJLwDc7dsfMj2pQ33RvIRquCt4FYK6FfclTGQ1P/vafINiB9ZmnE NUhVkS16UduZxiNuqQ776LXKD14SZQSGzvVQKXrv26WMbajtT34xJjBTYGsOqobnJBkc fhw3yqW1FaL4JaMtAceW1s77u+g+MuG7jiSVBVjL7LjZ7aqg8u/ryk2GhRKOTF/rkzhV s164WmVTsfM2fl6qM5U5MSVY4OvJDdE4Ym55RDvgacjekpIjvlxPRhk5ZP3gU00+zauJ XxXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=S5qbrM5g; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x139si4675251pgx.251.2019.08.30.08.57.48; Fri, 30 Aug 2019 08:58:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=S5qbrM5g; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728180AbfH3Pzk (ORCPT + 99 others); Fri, 30 Aug 2019 11:55:40 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:37971 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727434AbfH3Pzj (ORCPT ); Fri, 30 Aug 2019 11:55:39 -0400 Received: by mail-pf1-f194.google.com with SMTP id o70so4910972pfg.5 for ; Fri, 30 Aug 2019 08:55:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=message-id:mime-version:content-transfer-encoding:in-reply-to :references:cc:subject:to:from:user-agent:date; bh=k6Dxd85KwIwNu5WFF2tT64CAPd/DYpSO5fdfBDFg7GU=; b=S5qbrM5gPf2x9uK/Eo2lo06mXjTKn3hbUNHcIY4qU8ukD4NW2tD4jeCK/EstX4U53W c4cRGnGohdYxife6HVJSiZnuwSqg//QxDuQwiE7K+7MVm+6pZBo3GhLHOFh+dW4FdXwd OKmfZHI2k8iQm0UDRn+WdD8cVazF6sCYFsOQU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:mime-version :content-transfer-encoding:in-reply-to:references:cc:subject:to:from :user-agent:date; bh=k6Dxd85KwIwNu5WFF2tT64CAPd/DYpSO5fdfBDFg7GU=; b=GDkVxnP9B0EQ/4I1zKxVAeGifr/fja/Q3Vitra8N4zSjtCd7yFPAN3MCpPo5mDU/Dk 9F+c2ZHv6qKSYbahjeynSiPDycxtW4TNLMyY7n5V0J3oTUDbZ/f4UWySTw+JcY6yTYvT EtDYvvsjUyP0riJFOJzLBeGuZ5C5WMCKa4b8DeuOYtd2lA+rZmEk47b6+nWXblpqo0aC 04IxGd7gPSPUQrMXyhnuGAHbwTN8rrMbbqJdHk/bejltsUhgj6I3ZUtYngbKPuaKK5lc 313DB6B+dLaMs3XQDeIs6DiEFEzVbECD3ePkOlfbitYLFMYhvqqZPgaQlZ1gymkdQ1F9 pEew== X-Gm-Message-State: APjAAAVQV3M0OqRph9l4DNNvl4boTlTcO7/d+DYZEjFh9NAuKlSUCRFM /yBKZHbtBH9ihRg9h5stY2NqLw== X-Received: by 2002:a62:3681:: with SMTP id d123mr18860617pfa.147.1567180538822; Fri, 30 Aug 2019 08:55:38 -0700 (PDT) Received: from chromium.org ([2620:15c:202:1:fa53:7765:582b:82b9]) by smtp.gmail.com with ESMTPSA id k5sm10653817pfg.167.2019.08.30.08.55.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Aug 2019 08:55:38 -0700 (PDT) Message-ID: <5d6946fa.1c69fb81.44ab7.8d72@mx.google.com> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: References: <66ac3d3707d6296ef85bf1fa321f7f1ee0c02131.1566907161.git.amit.kucheria@linaro.org> <5d65cbe9.1c69fb81.1ceb.2374@mx.google.com> <5d67e6cf.1c69fb81.5aec9.3b71@mx.google.com> Cc: Daniel Lezcano , Mark Rutland , Rob Herring , Zhang Rui , Andy Gross , Bjorn Andersson , Eduardo Valentin , linux-arm-msm , Linux Kernel Mailing List , Marc Gonzalez , Brian Masney , Linux PM list , DTML Subject: Re: [PATCH v2 07/15] dt: thermal: tsens: Document interrupt support in tsens driver To: Amit Kucheria From: Stephen Boyd User-Agent: alot/0.8.1 Date: Fri, 30 Aug 2019 08:55:37 -0700 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Amit Kucheria (2019-08-30 04:32:54) > On Thu, Aug 29, 2019 at 10:04 PM Amit Kucheria = wrote: > > > > On Thu, Aug 29, 2019 at 8:23 PM Stephen Boyd wrot= e: > > > > > > Can we get a known quantity of interrupts for a particular compatible > > > string instead? Let's be as specific as possible. The index matters t= oo, > > > so please list them in the order that is desired. > > > > I *think* we can predict what platforms have uplow and critical > > interrupts based on IP version currently[1]. For newer interrupt > > types, we might need more fine-grained platform compatibles. > > > > [1] Caveat: this is based only on the list of platforms I've currently > > looked at, there might be something internally that breaks these > > rules. >=20 > What do you think if we changed the wording to something like the followi= ng, >=20 > - interrupt-names: Must be one of the following depending on IP version: > For compatibles qcom,msm8916-tsens, qcom,msm8974-tsens, > qcom,qcs404-tsens, qcom,tsens-v1, use > interrupt-names =3D "uplow"; > For compatibles qcom,msm8996-tsens, qcom,msm8998-tsens, > qcom,sdm845-tsens, qcom,tsens-v2, use > interrupt-names =3D "uplow", "critical"; Ok. I would still prefer YAML/JSON schema for this binding so that it's much more explicit about numbers and the order of interrupts, etc.