Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp967227ybl; Fri, 30 Aug 2019 09:42:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqyTPHFmi86gQSQE+oGonJd0PZFJ8Pe8hEvxvybGCVrdFvGrVWn3etMtwh27P/Ds1fNeDHQ7 X-Received: by 2002:a17:90a:d598:: with SMTP id v24mr16946282pju.8.1567183356753; Fri, 30 Aug 2019 09:42:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567183356; cv=none; d=google.com; s=arc-20160816; b=FbF9siIaVIZG4TiCOEc3GMqGoxkjvkD1+/gCdohjIHaWNBNw1+zzxMd53fQnMbyr0K fvuvDJNBOK+I8MSjpNZ/oRTom7eY06SwUFnmChIHHg9MnVbkcNWwXI/MjT7sW1oobqIo QRDyh3ODcPAaWjpfSKSi+GaHu5MtP0g+yfT9xDM23KtrcJ2mVHGzmf4CZ35x+4Jslrl5 MXOS8UtVRZW+gde8sRoGvHyS1aVUYf5+Ls6oMIBB1EByk6CmkI6cZJ80UD0CDLfXYRo3 GOkHT5k34rSqZOxMhSVt19JW/zmNRn8X9xLspROi/lGu5OdWnKHOpPau8v/gugIWHuEC 1rAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=FFEm8wnPyI70hvEmm2P3x6q7Jm7rJLu+QxiBEYWlIyU=; b=03xYNKjgvsr1QPzZCLt1L3HSTpkZSgoCUGHd6O8uDkEynKEW81vX5F192pzmo4d50x kdzZ6rbcnvZzlU0c8BCaUlj808x0G6D+hyMV9ahuEABVtZEx/oeW/J/jbADMERyKLwQ7 AizGU8jCiBpr8ARWIyn4HLaVY49Itcea1sGF2mGZ5O8aZPNdzpUoiJdYwieSV2t+WONb csOWyghoUOf+9X182O4VNS4K9+rrzLwfD/UeOlL0FGIpm45Iw3Jz+f1UEoURUBVG5HLN BAWhQL3QQ3oi4sApLBMc7Il8+hb5n5bkQ6n6wjH0+kDiHdpQhokc+GjjNv4B71j5EvPl TX4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Az1Gi5Tn; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 14si4812430pgy.255.2019.08.30.09.42.21; Fri, 30 Aug 2019 09:42:36 -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=@linaro.org header.s=google header.b=Az1Gi5Tn; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728415AbfH3Qki (ORCPT + 99 others); Fri, 30 Aug 2019 12:40:38 -0400 Received: from mail-vs1-f66.google.com ([209.85.217.66]:46701 "EHLO mail-vs1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728288AbfH3Qkh (ORCPT ); Fri, 30 Aug 2019 12:40:37 -0400 Received: by mail-vs1-f66.google.com with SMTP id x20so5113702vsx.13 for ; Fri, 30 Aug 2019 09:40:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=FFEm8wnPyI70hvEmm2P3x6q7Jm7rJLu+QxiBEYWlIyU=; b=Az1Gi5TnAI4hFvybyYWbK+kY5uHpzIYo+o2d4fFMkAR8JxEWt1+SHjs8JUveORST6i Gd64ynQza92S8iVFSgaTo8l3iE4CvAdDU2coF4oOsqwwJfBiYQJKYwbUX8LujJTsiWTN wi/cOSOreMTOdb7b3mAoHJSXPGD6fzpyWxLIT329lNx6TGkuBvPre2rtLkRs/tnbRsd1 +yM5KS/siWcWBOs/K2sslc+UzXBGW+Zc0vw3iaR0/r09ZilQiD9lJiKOkOw3ErAyZMNg K/AIETEuQOm1nWHlRnf0RDYI2pN+ijMN3IZ8pd95grX2lJr0DFw7Bg6DqEyWjwEnWykb pryQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FFEm8wnPyI70hvEmm2P3x6q7Jm7rJLu+QxiBEYWlIyU=; b=b56oX76IS1mGlt+uXhOSHAjJFjZq7itCfSjjsOUoo1UoVS3WsWKwNhUs6nSMr4kRYs sD7xks+MSNaVVQ22pY67iamZBuif8GY/ruFg5ui+4C50PZrffevYYnalIPcVm3k/FaQJ ta2heelkUJsxKnyCnpr8R5K/5zEu94bjMPffXs4enaZiNrjd99EEDR8Ru7YO0XqicFgh a5MVfq8JiC979ETtjVRrUo4F+JMqqaE80o1ED4zNumNyBoFvy8yJQtoyb6bUomtTOPm8 QxLTeaqHvsgTrIob2UokyYYQD2wg2cSX06DnOOjZDOlxZGolCah91uyz/3eXJGaQmKrY dF1Q== X-Gm-Message-State: APjAAAX4QGnpYYxLLG22uC/LG1wgnOw7l4RohKEw9yFhdRfC/3GSwT2M 4YOPlGvD6skClbKmyXr5UGvoJfAdcMECpQrLtVNpUA== X-Received: by 2002:a67:b445:: with SMTP id c5mr4384433vsm.182.1567183236380; Fri, 30 Aug 2019 09:40:36 -0700 (PDT) MIME-Version: 1.0 References: <66ac3d3707d6296ef85bf1fa321f7f1ee0c02131.1566907161.git.amit.kucheria@linaro.org> <5d65cbe9.1c69fb81.1ceb.2374@mx.google.com> <5d67e6cf.1c69fb81.5aec9.3b71@mx.google.com> <5d6946fa.1c69fb81.44ab7.8d72@mx.google.com> In-Reply-To: <5d6946fa.1c69fb81.44ab7.8d72@mx.google.com> From: Amit Kucheria Date: Fri, 30 Aug 2019 22:10:24 +0530 Message-ID: Subject: Re: [PATCH v2 07/15] dt: thermal: tsens: Document interrupt support in tsens driver To: Stephen Boyd 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 30, 2019 at 9:25 PM Stephen Boyd wrote: > > 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 wrote: > > > > > > > > Can we get a known quantity of interrupts for a particular compatible > > > > string instead? Let's be as specific as possible. The index matters too, > > > > 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. > > > > What do you think if we changed the wording to something like the following, > > > > - 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 = "uplow"; > > For compatibles qcom,msm8996-tsens, qcom,msm8998-tsens, > > qcom,sdm845-tsens, qcom,tsens-v2, use > > interrupt-names = "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. OK, I'll look around for some examples.