Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1740252
| From | Scott Branden <scott.branden@broadcom.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v5 2/2] thermal: add brcmstb AVS TMON driver |
| Date | 2017-09-27 00:20 +0200 |
| Message-ID | <uu6mS-2b8-7@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <uu5Au-1Es-7@gated-at.bofh.it> <uu5Ka-1HA-33@gated-at.bofh.it> <uu5TP-1KX-5@gated-at.bofh.it> <uu6db-27Y-11@gated-at.bofh.it> <uu6mR-2b8-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 17-09-26 03:14 PM, Florian Fainelli wrote: > On 09/26/2017 03:08 PM, Scott Branden wrote: >> >> On 17-09-26 02:38 PM, Markus Mayer wrote: >>> On 26 September 2017 at 14:32, Scott Branden >>> <scott.branden@broadcom.com> wrote: >>>> Hi Markus, >>>> >>>> >>>> On 17-09-26 02:27 PM, Markus Mayer wrote: >>>>> From: Brian Norris <computersforpeace@gmail.com> >>>>> >>>>> The AVS TMON core provides temperature readings, a pair of configurable >>>>> high- and low-temperature threshold interrupts, and an emergency >>>>> over-temperature chip reset. The driver utilizes the first two to >>>>> provide temperature readings and high-temperature notifications to >>>>> applications. The over-temperature reset is not exposed to >>>>> applications; this reset threshold is critical to the system and should >>>>> be set with care within the bootloader. >>>>> >>>>> Applications may choose to utilize the notification mechanism, the >>>>> temperature reading mechanism (e.g., through polling), or both. >>>>> >>>>> Signed-off-by: Brian Norris <computersforpeace@gmail.com> >>>>> Signed-off-by: Doug Berger <opendmb@gmail.com> >>>>> Signed-off-by: Markus Mayer <mmayer@broadcom.com> >>>>> --- >>>>> drivers/thermal/Kconfig | 2 +- >>>>> drivers/thermal/broadcom/Kconfig | 7 + >>>>> drivers/thermal/broadcom/Makefile | 1 + >>>>> drivers/thermal/broadcom/brcmstb_thermal.c | 387 >>>>> +++++++++++++++++++++++++++++ >>>>> 4 files changed, 396 insertions(+), 1 deletion(-) >>>>> create mode 100644 drivers/thermal/broadcom/brcmstb_thermal.c >>>>> >>>>> diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig >>>>> index 07002df..96774a7 100644 >>>>> --- a/drivers/thermal/Kconfig >>>>> +++ b/drivers/thermal/Kconfig >>>>> @@ -408,7 +408,7 @@ config MTK_THERMAL >>>>> controller present in Mediatek SoCs >>>>> menu "Broadcom thermal drivers" >>>>> -depends on ARCH_BCM || COMPILE_TEST >>>>> +depends on ARCH_BCM || ARCH_BRCMSTB || COMPILE_TEST >>>> No need for this additional depends. ARCH_BCM is always defined before >>>> ARCH_BRCMSTB can be selected. >>> ARCH_BCM does not exist in arch/arm64/configs/defconfig. ARCH_BRCMSTB >>> does. So, we do need both or the driver won't be built on ARM64. >>> (After internal discussions we went with that approach rather than >>> defining ARCH_BCM on ARM64.) >> Got it. Looking at our internal iproc tree I see we've done exactly the >> same with ARCH_BCM_IPROC needing to be added. We haven't upstreamed >> the thermal driver needing it yet. >> >> Perhaps we should add ARCH_BCM to ARM64.... > If it is just added to satisfy dependencies, I don't see much value in > doing that. It does make sense in the ARM v7 multiplatform context, but > outside of that, not so sur. OK - we'll just continue to add ARCH_BCM_IPROC || ARCH_BRCMSTB everywhere as needed.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v5 2/2] thermal: add brcmstb AVS TMON driver Markus Mayer <code@mmayer.net> - 2017-09-26 23:30 +0200
Re: [PATCH v5 2/2] thermal: add brcmstb AVS TMON driver Scott Branden <scott.branden@broadcom.com> - 2017-09-26 23:40 +0200
Re: [PATCH v5 2/2] thermal: add brcmstb AVS TMON driver Markus Mayer <code@mmayer.net> - 2017-09-26 23:50 +0200
Re: [PATCH v5 2/2] thermal: add brcmstb AVS TMON driver Scott Branden <scott.branden@broadcom.com> - 2017-09-27 00:10 +0200
Re: [PATCH v5 2/2] thermal: add brcmstb AVS TMON driver Florian Fainelli <f.fainelli@gmail.com> - 2017-09-27 00:20 +0200
Re: [PATCH v5 2/2] thermal: add brcmstb AVS TMON driver Scott Branden <scott.branden@broadcom.com> - 2017-09-27 00:20 +0200
csiph-web