Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3787703yba; Mon, 29 Apr 2019 08:31:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqxipwNILCfboClRyL24dTh2ygXSvDpQ4PYjQ3GtXZ4RtWXU2+i53EpJT7XSPHeVJ8vG+GHy X-Received: by 2002:a62:a503:: with SMTP id v3mr31545782pfm.32.1556551882244; Mon, 29 Apr 2019 08:31:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556551882; cv=none; d=google.com; s=arc-20160816; b=1IXHGRx6KC1M4xvfwAz3orh0yX1Oe8BKOC5DnyNZrdpnz3B0cvCPJ6hihdCRPQr6OU zCErepaprRnCQbX5rgwKoauYKHVbk9dLIi0WOhc19Oqlm0PLKkCl1NUj5miHTDS0m7w8 Pnw6GmwQKvBKUc++zTDgpru9eesOB0U63tLPh/tgpFyOgywEt5bgBvNMXLflHfPUzIOD EBFIo724r+Pfsi4v2l4ytEoB7aOSgz43+2ugpG55q6ZNZs09nX3RtnbbtFz/6+WwMQuk 0LLBCCuVXqscOatgU7Wo7ye84lvzuvSwqDNVcRLxiA9Mmk9H4gK13ds7BM2KF+IsZdCC g9uA== 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=II8KXmgk5i2NI+d+OagAFbqz1kgwsgIr5Q0TCse/uaE=; b=py0Mh/w0LB8KZbs2IKaJJyDURarFaqmHhXGulPLqJwCPjJ0Ts+mZIS0hSgwyU/D3rw Pjnxivmu5oI3RavsTT9cpq5sgnEITf7ZbDlUcPpwpFucZ8R4JrzZcKvoRXzkALk8wCsp 6hHbccGY0rm+ob+5TnGT2mXkuPVtFRl0354LE/NMamkM6xb3dQxbHaZEQnbAx9DjQUrH 9pqxENBzHv4C9lF8UDc8qZ0TquA16Wv5J/HQJ19+T+5wn5FDBv4awY/wc3JW6RSUE9SX VJ6gkITGc4cNUgPqRY66iQ2EKFlkSMhDrBko2KjNxrNvkHGn5plj8sDPUHM05mgc4bAb naSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=CTLGlgkP; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n21si24945041pgl.233.2019.04.29.08.31.06; Mon, 29 Apr 2019 08:31:22 -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=@broadcom.com header.s=google header.b=CTLGlgkP; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728639AbfD2P2k (ORCPT + 99 others); Mon, 29 Apr 2019 11:28:40 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:53801 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728469AbfD2P2k (ORCPT ); Mon, 29 Apr 2019 11:28:40 -0400 Received: by mail-wm1-f66.google.com with SMTP id 26so14751366wmj.3 for ; Mon, 29 Apr 2019 08:28:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=II8KXmgk5i2NI+d+OagAFbqz1kgwsgIr5Q0TCse/uaE=; b=CTLGlgkPaxWr00QsI3EOFLETyybraZIKbHkfyMUTo/ZDocD4Sw2Nqc39Xgs1UNJ1hg hheR5rMt/LQfKRWtrvhjdLaUri/Lf/GpPsDs5SFlS+Np5vWAn5wSLozHtB0M4L5/g7LI WzbHpOfFSGEL1cqLgs3AhBIS+hhXqXVyFX0+g= 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=II8KXmgk5i2NI+d+OagAFbqz1kgwsgIr5Q0TCse/uaE=; b=QBosZR7tnl2UostzXWj5BTxsTEAK2UBtu65Sew77DkZXYAj9IjpG0izaIbWVzYgy4a YfGxORtdY18JLr+IVBF1w43Y28biFddSYHXqieDmb/wDH0UsQgA0yF+9HN7s95S0ORIA 5cjZtT5wRNGE7WhJw5kSnZjgtvUhpjR7/ifVOZT8Mli2iks5DUCDwv6TDZpOw2xBISXq DmsjLVUaH6e025SSudBjCV3YYMMsdaJ+1C/m2ffH8u8l/zTc7RRhzcRpOIuFHo07yw9C Z+Ghxj6R2T96EPiw0+3KDJv70QbzF2Tht3n9m3HGjDKxs9uPBZKuRxi92pN4DnhgUS4T jCvA== X-Gm-Message-State: APjAAAVKoT6DRqNyesIRO9aysPZB8JdHuD0fFoeTwXDk2Z4gWrx6SB95 StobvC7QBgdcTDVBvRE+8hHfnZmDlDw6jqI0wA/FRA== X-Received: by 2002:a1c:1a85:: with SMTP id a127mr4020287wma.139.1556551718099; Mon, 29 Apr 2019 08:28:38 -0700 (PDT) MIME-Version: 1.0 References: <1527486084-4636-1-git-send-email-srinath.mannam@broadcom.com> <1527486084-4636-4-git-send-email-srinath.mannam@broadcom.com> <20190429152422.GC17516@e107155-lin> In-Reply-To: <20190429152422.GC17516@e107155-lin> From: Srinath Mannam Date: Mon, 29 Apr 2019 20:58:26 +0530 Message-ID: Subject: Re: [PATCH 3/3] thermal: broadcom: Add Stingray thermal driver To: Sudeep Holla Cc: David Woodhouse , Zhang Rui , Eduardo Valentin , Rob Herring , Mark Rutland , devicetree@vger.kernel.org, Linux Kernel Mailing List , BCM Kernel Feedback , Pramod Kumar 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 Hi David, Thank you for notifying.. Hi Sudeep, I will send a patch to remove ACPI support. Regards, Srinath. On Mon, Apr 29, 2019 at 8:54 PM Sudeep Holla wrote: > > On Mon, Apr 29, 2019 at 06:07:12PM +0300, David Woodhouse wrote: > > On Mon, 2018-05-28 at 11:11 +0530, Srinath Mannam wrote: > > > From: Pramod Kumar > > > > > > This commit adds stingray thermal driver to monitor six > > > thermal zones temperature and trips at critical temperature. > > > > This matches an ACPI "BRCM0500" device but then calls > > devm_thermal_zone_of_sensor_register(), which AFAICT is going to fail > > on an ACPI system because the first thing that does is call > > of_find_node_by_name(NULL, "thermal-zones") which isn't going to find a > > match. > > > > Thanks David for bringing this up. I hadn't noticed that this driver is > cheekily trying to do thermal management in ACPI using crafty > acpi_device_id match. ACPI thermal objects/methods must be used in the > firmware to do thermal management. > > Pramod, can you remove the ACPI support or I can go ahead and post the > patch to do the same ? > > > How does this work in the ACPI case? > > It can't and shouldn't work if one can make it happen :) > > -- > Regards, > Sudeep